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:
c50b435
)
fix bug parsing instance-scenario-create descriptor
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Wed, 14 Sep 2016 14:02:49 +0000
(16:02 +0200)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Wed, 14 Sep 2016 14:02:49 +0000
(16:02 +0200)
Change-Id: Ib4541d1ea63f8f2b896b446ac44ad63e2db019af
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
nfvo.py
patch
|
blob
|
history
diff --git
a/nfvo.py
b/nfvo.py
index
da2cfa0
..
4da9f55
100644
(file)
--- a/
nfvo.py
+++ b/
nfvo.py
@@
-1727,7
+1727,7
@@
def create_instance(mydb, tenant_id, instance_dict):
ipprofile['dhcp_count'] = ipprofile['dhcp'].get('count',None)
del ipprofile['dhcp']
update(scenario_net['ip_profile'],ipprofile)
- for interface in net_instance_desc
['interfaces']
:
+ for interface in net_instance_desc
.get('interfaces', () )
:
if 'ip_address' in interface:
for vnf in scenarioDict['vnfs']:
if interface['vnf'] == vnf['name']: