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:
0a48054
)
fix issue creating instance of only networks without scenario
69/7069/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Tue, 18 Dec 2018 15:19:27 +0000
(15:19 +0000)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Tue, 18 Dec 2018 15:19:59 +0000
(15:19 +0000)
Change-Id: Ibeb3a9f6176c7bc5b9178661d88f37bf204d11e0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/nfvo.py
patch
|
blob
|
history
diff --git
a/osm_ro/nfvo.py
b/osm_ro/nfvo.py
index
7225da5
..
1290690
100644
(file)
--- a/
osm_ro/nfvo.py
+++ b/
osm_ro/nfvo.py
@@
-3253,7
+3253,7
@@
def create_instance(mydb, tenant_id, instance_dict):
lookfor_network = True
lookfor_filter["name"] = sce_net.get("vim_network_name")
elif sce_net["external"]:
- if sce_net
['vim_id'] is not None
:
+ if sce_net
.get('vim_id')
:
# there is a netmap at datacenter_nets database # TODO REVISE!!!!
create_network = False
lookfor_network = True