Skip to content

Instantly share code, notes, and snippets.

@bodepd
Created June 5, 2015 19:19
Show Gist options
  • Save bodepd/fcc022995a1186787ab9 to your computer and use it in GitHub Desktop.
Save bodepd/fcc022995a1186787ab9 to your computer and use it in GitHub Desktop.
-> project_id = str(uuid.UUID(port_q['tenant_id']))
(Pdb) pp port_q
{'admin_state_up': True,
'binding:host_id': None,
'binding:profile': None,
'binding:vnic_type': 'normal',
'device_id': u'',
'device_owner': u'',
'fixed_ips': None,
'mac_address': None,
'name': u'',
'network_id': 'ada736cd-62f9-46f1-8a5b-0b0444d2ff47',
'port_security_enabled': None,
'security_groups': None,
'tenant_id': '070e41f4339b4b9e914336350d5ccb7f'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment