8 Commits

Author SHA1 Message Date
Sam Betts
95e1e4e35a Consolidate IPA configuration into a config module
This patch moves the IPA oslo configs out of the agent cmd into their
own module so that it is safe to import them from other places in the
application without causing circular imports.

Change-Id: I100792bd0d1f369763afaa6f93e144e9967c3048
2016-05-31 15:24:23 +01:00
ZhiQiang Fan
9e75ba5460 Use oslo.log instead of original logging
We are using oslo.log now, but some of the modules still use logging.
We should use oslo.log to keep consistency, besides, oslo.log can
provide fine wrapper for OpenStack projects.

Change-Id: Ibe57e503b88b39e284a9e4b11a1886cd4e8d4ccf
2015-10-24 03:22:36 -06:00
Lucas Alvares Gomes
06eed473fb Add Python3 support
This patch add Python 3 support for IPA. We still need to enable it on
gate to avoid code breaking the support from sneaking in.

Partial-Bug: #1474896
Depends-On: I5a774eaa8d978f4d50faca4dc1b03a87fb194ce2
Change-Id: If47c0797b63d2914b3c47aba62ec5201301b6c33
2015-07-15 17:12:08 +01:00
Lucas Alvares Gomes
c6cd3a8190 Move _get_agent_params() to a common place
The function _get_agent_params() parse the parameters passed to the agent
via kernel cmdline or vmedia. Other parts of the code needs to access
these parameters as well, so this patch is moving _get_agent_params()
and the related functions to a common place (utils.py).

Change-Id: I860f84d1d13511fff56d4aa56358ee597a9760d5
2015-03-10 17:43:17 +00:00
Josh Gachnang
65fe55a81f Fix incorrect IPA log message
Change-Id: I520250287ae64495604e575b13a11481d03b79b2
2015-03-03 12:54:35 -08:00
jiangfei
7d1cc976cd use oslo_config replace oslo.config
oslo.conifg 1.6.0 has moved its namespace from old
oslo.config to oslo_config

requirements has updated to oslo.conifg 1.6.0

Change-Id: I16b8dc680f8a7697b7fbbd888f5162d924b4c0fe
2015-02-07 14:09:44 +08:00
Josh Gachnang
88c2bca93c Fix missing string format symbol
Change-Id: I94ec7299a5c918b3569e1e6f64a9bfa0c70d28d4
2014-12-15 16:40:35 -08:00
Jim Rollenhagen
15aaa03833 Use LLDP to get switch port mapping
Provides a function to listen for LLDP packets on the network.
Listens on one or all of the network interfaces, and then parses the found
packets.

Change-Id: I1545a41f46cd0916aab9c43ce036865454fa66e0
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
2014-12-09 11:59:00 -08:00