X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-odl_openflow%2Fosm_rosdn_odlof%2Fodl_of.py;h=7cf7ee26b6aea404060ec628036ad4264b1b3210;hp=ed1bca4b99853bf3400058eca2f99e0126efbc80;hb=e493e9b91720e5116e00b4c06cf66c767bccce2f;hpb=1ec592d80c7f07874b08a14984deb21fddb31441 diff --git a/RO-SDN-odl_openflow/osm_rosdn_odlof/odl_of.py b/RO-SDN-odl_openflow/osm_rosdn_odlof/odl_of.py index ed1bca4b..7cf7ee26 100644 --- a/RO-SDN-odl_openflow/osm_rosdn_odlof/odl_of.py +++ b/RO-SDN-odl_openflow/osm_rosdn_odlof/odl_of.py @@ -65,7 +65,7 @@ class OfConnOdl(OpenflowConn): url = "http://" + url if not url.endswith("/"): url = url + "/" - self.url = url + "onos/v1/" + self.url = url # internal variables self.name = "OpenDayLight" @@ -82,7 +82,7 @@ class OfConnOdl(OpenflowConn): self.auth = self.auth.decode() self.headers['authorization'] = 'Basic ' + self.auth - self.logger = logging.getLogger('openmano.sdnconn.onosof') + self.logger = logging.getLogger('ro.sdn.onosof') # self.logger.setLevel(getattr(logging, params.get("of_debug", "ERROR"))) self.logger.debug("odlof plugin initialized")