- class novaclient.v2.networks.Network(manager, info, loaded=False, resp=None)¶
A network as defined in the Networking (Neutron) API.
Populate and bind to a manager.
manager – BaseManager object
info – dictionary representing resource attributes
loaded – prevent lazy-loading if set to True
resp – Response or list of Response objects
- HUMAN_ID = True¶
- NAME_ATTR = 'name'¶
- class novaclient.v2.networks.NeutronManager(api)¶
A manager for name -> id lookups for neutron networks.
This uses neutron directly from service catalog. Do not use it for anything else besides that. You have been warned.
Find a network by name (user provided input).