projects
/
osm
/
RO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26fc7a
)
adding region=datacenter to sdn networks
91/1891/4
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Tue, 30 May 2017 09:35:46 +0000
(11:35 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 5 Jun 2017 14:31:03 +0000
(16:31 +0200)
Change-Id: Ifc702841fff85c484dc7dabb76c5e2a620b495bf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/vim_thread.py
patch
|
blob
|
history
diff --git
a/osm_ro/vim_thread.py
b/osm_ro/vim_thread.py
index
67bef44
..
9f396a2
100644
(file)
--- a/
osm_ro/vim_thread.py
+++ b/
osm_ro/vim_thread.py
@@
-412,7
+412,7
@@
class vim_thread(threading.Thread):
sdn_net_id = None
sdn_controller = self.vim.config.get('sdn-controller')
if sdn_controller and (net_type == "data" or net_type == "ptp"):
- network = {"name": net_name, "type": net_type}
+ network = {"name": net_name, "type": net_type
, "region": self.vim["config"]["datacenter_id"]
}
vim_net = self.vim.get_network(net_id)
if vim_net.get('encapsulation') != 'vlan':