From: garciadeblas Date: Mon, 22 Jun 2020 08:18:35 +0000 (+0000) Subject: juniper_contrail, sdn_api.py: fix vmi creation to use valid chars in local_link_infor... X-Git-Tag: v7.1.2^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F9133%2F1;p=osm%2FRO.git juniper_contrail, sdn_api.py: fix vmi creation to use valid chars in local_link_information Change-Id: I5e2b4a6f190df6016e2cc50c470e0803ac4444e6 Signed-off-by: garciadeblas --- diff --git a/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py b/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py index 55773995..4feda954 100644 --- a/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py +++ b/RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py @@ -250,8 +250,8 @@ class UnderlayApi: profile_dict = { "local_link_information": [ { - "port_id": switch_port, - "switch_id": switch_port, + "port_id": switch_port.replace(":","_"), + "switch_id": switch_port.replace(":","_"), "switch_info": switch_id, "fabric": self.fabric }