X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-ietfl2vpn%2Fosm_rosdn_ietfl2vpn%2Fwimconn_ietfl2vpn.py;fp=RO-SDN-ietfl2vpn%2Fosm_rosdn_ietfl2vpn%2Fwimconn_ietfl2vpn.py;h=1a581bc6aecf37cb343b130710c5ee88482139af;hp=c9c05a7207599a5e5aea09b4e3df6722f31d0463;hb=dfad9cde8fb089f926f66198671295610321930f;hpb=368e566522cc1760d4700745d22885f52d2b1275 diff --git a/RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn/wimconn_ietfl2vpn.py b/RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn/wimconn_ietfl2vpn.py index c9c05a72..1a581bc6 100644 --- a/RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn/wimconn_ietfl2vpn.py +++ b/RO-SDN-ietfl2vpn/osm_rosdn_ietfl2vpn/wimconn_ietfl2vpn.py @@ -172,7 +172,7 @@ class WimconnectorIETFL2VPN(SdnConnectorBase): if len(connection_points) < 2: raise SdnConnectorError("Connections must be of at least 2 endpoints") - """ First step, create the vpn service """ + """First step, create the vpn service""" uuid_l2vpn = str(uuid.uuid4()) vpn_service = {} vpn_service["vpn-id"] = uuid_l2vpn @@ -214,7 +214,7 @@ class WimconnectorIETFL2VPN(SdnConnectorBase): http_code=response_service_creation.status_code, ) - """ Second step, create the connections and vpn attachments """ + """Second step, create the connections and vpn attachments""" for connection_point in connection_points: connection_point_wan_info = self.search_mapp(connection_point) site_network_access = {} @@ -225,7 +225,7 @@ class WimconnectorIETFL2VPN(SdnConnectorBase): connection_point["service_endpoint_encapsulation_type"] == "dot1q" ): - """ The connection is a VLAN """ + """The connection is a VLAN""" connection["encapsulation-type"] = "dot1q-vlan-tagged" tagged = {} tagged_interf = {} @@ -383,7 +383,7 @@ class WimconnectorIETFL2VPN(SdnConnectorBase): if connection_point["service_endpoint_encapsulation_type"] != "none": if connection_point["service_endpoint_encapsulation_type"] == "dot1q": - """ The connection is a VLAN """ + """The connection is a VLAN""" connection["encapsulation-type"] = "dot1q-vlan-tagged" tagged = {} tagged_interf = {}