projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
juniper_contrail, sdn_api.py: fix vmi creation to use valid chars in local_link_infor...
[osm/RO.git]
/
RO-SDN-juniper_contrail
/
osm_rosdn_juniper_contrail
/
sdn_api.py
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
7822cf7
..
151bf6c
100644
(file)
--- a/
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py
+++ b/
RO-SDN-juniper_contrail/osm_rosdn_juniper_contrail/sdn_api.py
@@
-248,8
+248,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
}