X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=RO-SDN-odl_openflow%2Fosm_rosdn_odlof%2Fsdnconn_odlof.py;h=ce53b0dfff028c7032e8c7acb1a0d37717b7fe3d;hb=refs%2Ftags%2Fbranch-bug1511-start;hp=2850be41114b4399042b3f4ea1cbbde159a73bf7;hpb=ce1c9c84356a8aa6abad9513819a21f4c63ae4c0;p=osm%2FRO.git diff --git a/RO-SDN-odl_openflow/osm_rosdn_odlof/sdnconn_odlof.py b/RO-SDN-odl_openflow/osm_rosdn_odlof/sdnconn_odlof.py index 2850be41..ce53b0df 100644 --- a/RO-SDN-odl_openflow/osm_rosdn_odlof/sdnconn_odlof.py +++ b/RO-SDN-odl_openflow/osm_rosdn_odlof/sdnconn_odlof.py @@ -20,16 +20,14 @@ """ import logging -from osm_ro.wim.openflow_conn import SdnConnectorOpenFlow +from osm_ro_plugin.openflow_conn import SdnConnectorOpenFlow from .odl_of import OfConnOdl class SdnConnectorOdlOf(SdnConnectorOpenFlow): - 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.odlof') + """Creates a connectivity based on pro-active openflow rules""" + self.logger = logging.getLogger("ro.sdn.odlof") super().__init__(wim, wim_account, config, logger) of_params = { "of_url": wim["wim_url"],