create_ns function of nfvo_plugin has unused variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Invalid
|
Low
|
Unassigned |
Bug Description
The create_ns function of /opt/stack/
...
ns_info = ns['ns']
name = ns_info['name']
if ns_info.
nsd = {'nsd': {
...
After that ns_info is never called again, only ns['ns'].
Changed in tacker: | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in tacker: | |
status: | In Progress → Invalid |
Look like it's the same in create_vnffg()
vnffg_info = vnffg['vnffg']
name = vnffg_info['name']
if vnffg_info. get('vnffgd_ template' ):
vnffgd_ name = utils.generate_ resource_ name(name, 'inline') 'tenant_ id'],
'name' : vnffgd_name,
'template' : {
'vnffgd' : vnffg_info[ 'vnffgd_ template' ]},
'template_ source' : 'inline',
'descripti on': vnffg_info[ 'description' ]}}
vnffg_ info['vnffgd_ id'] = \
self. create_ vnffgd( context, vnffgd).get('id')
vnffgd = {'vnffgd': {'tenant_id': vnffg_info[
After this, vnffg_infor is never used.