projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing flake8 tests
[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
6ef91af
..
7822cf7
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
@@
-148,10
+148,10
@@
class UnderlayApi:
# Aux methods to avoid code duplication of name conventions
def get_vpg_name(self, switch_id, switch_port):
# Aux methods to avoid code duplication of name conventions
def get_vpg_name(self, switch_id, switch_port):
- return "{}_{}".format(switch_id, switch_port).replace(":","_")
+ return "{}_{}".format(switch_id, switch_port).replace(":",
"_")
def get_vmi_name(self, switch_id, switch_port, vlan):
def get_vmi_name(self, switch_id, switch_port, vlan):
- return "{}_{}-{}".format(switch_id, switch_port, vlan).replace(":","_")
+ return "{}_{}-{}".format(switch_id, switch_port, vlan).replace(":",
"_")
# Virtual network operations
# Virtual network operations