projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 1849: LTS Support
[osm/RO.git]
/
RO-SDN-onos_openflow
/
osm_rosdn_onosof
/
sdnconn_onosof.py
diff --git
a/RO-SDN-onos_openflow/osm_rosdn_onosof/sdnconn_onosof.py
b/RO-SDN-onos_openflow/osm_rosdn_onosof/sdnconn_onosof.py
index
e33994a
..
6144a3f
100644
(file)
--- a/
RO-SDN-onos_openflow/osm_rosdn_onosof/sdnconn_onosof.py
+++ b/
RO-SDN-onos_openflow/osm_rosdn_onosof/sdnconn_onosof.py
@@
-20,16
+20,16
@@
"""
import logging
"""
import logging
-from osm_ro.wim.openflow_conn import SdnConnectorOpenFlow
+
+from osm_ro_plugin.openflow_conn import SdnConnectorOpenFlow
+
from .onos_of import OfConnOnos
class SdnConnectorOnosOf(SdnConnectorOpenFlow):
from .onos_of import OfConnOnos
class SdnConnectorOnosOf(SdnConnectorOpenFlow):
-
def __init__(self, wim, wim_account, config=None, logger=None):
def __init__(self, wim, wim_account, config=None, logger=None):
- """Creates a connectivity based on pro-active openflow rules
- """
- self.logger = logging.getLogger('openmano.sdnconn.onosof')
+ """Creates a connectivity based on pro-active openflow rules"""
+ self.logger = logging.getLogger("ro.sdn.onosof")
super().__init__(wim, wim_account, config, logger)
of_params = {
"of_url": wim["wim_url"],
super().__init__(wim, wim_account, config, logger)
of_params = {
"of_url": wim["wim_url"],
@@
-39,5
+39,8
@@
class SdnConnectorOnosOf(SdnConnectorOpenFlow):
}
self.openflow_conn = OfConnOnos(of_params)
super().__init__(wim, wim_account, config, logger, self.openflow_conn)
}
self.openflow_conn = OfConnOnos(of_params)
super().__init__(wim, wim_account, config, logger, self.openflow_conn)
- self.logger.debug("Init sdn plugin '{}' dpid={} user={}".format(of_params["of_url"], of_params["of_dpid"],
- of_params["of_user"]))
+ self.logger.debug(
+ "Init sdn plugin '{}' dpid={} user={}".format(
+ of_params["of_url"], of_params["of_dpid"], of_params["of_user"]
+ )
+ )