X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-odl_openflow%2Fosm_rosdn_odlof%2Fsdnconn_odlof.py;h=31f920552f68acc83b579541993a759912303c04;hb=409d5af00f8c508db5906b696831dd209a2fc633;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..31f92055 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,16 @@ """ 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"],