Guest User

Untitled

a guest
Aug 18th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. $ tacker vnf-show --show-details vnf1
  2. +-------+-----------------------------------------------------------------------------+
  3. | Field | Value |
  4. +-------+-----------------------------------------------------------------------------+
  5. | CP1 | {"type": "OS::Neutron::Port", "id": "1171fb75-5c8a-4388-b641-520dc503f5ec"} |
  6. | CP2 | {"type": "OS::Neutron::Port", "id": "19dad3b5-35c0-4c6e-adc2-1424fcadba23"} |
  7. | CP3 | {"type": "OS::Neutron::Port", "id": "55700416-e84d-410d-8169-ff5a37c60903"} |
  8. | VDU1 | {"type": "OS::Nova::Server", "id": "acc9d87a-7243-4162-a492-6079afca6139"} |
  9. +-------+-----------------------------------------------------------------------------+
  10.  
  11. Calling get_vnf_details from plugin.py L618 returns
  12. vnf_details = {'resource_details': {u'VDU1': {'type': u'OS::Nova::Server', 'id': u'acc9d87a-7243-4162-a492-6079afca6139'}, u'CP1': {'type': u'OS::Neutron::Port', 'id': u'1171fb75-5c8a-4388-b641-520dc503f5ec'}, u'CP2': {'type': u'OS::Neutron::Port', 'id': u'19dad3b5-35c0-4c6e-adc2-1424fcadba23'}, u'CP3': {'type': u'OS::Neutron::Port', 'id': u'55700416-e84d-410d-8169-ff5a37c60903'}}}
Add Comment
Please, Sign In to add comment