Bases: nova.network.model.IP
Represents a Fixed IP address in Nova.
Bases: nova.network.model.Model
Represents an IP address in Nova.
Bases: dict
Defines some necessary structures for most of the network models.
calls get(key, default) on self[‘meta’].
Bases: nova.network.model.Model
Represents a Network in Nova.
Bases: list
Stores and manipulates network information for a Nova instance.
Returns all fixed_ips without floating_ips attached.
Returns all floating_ips.
Return the legacy network_info representation of self
Bases: nova.network.model.Model
Represents an IP Route in Nova.
Bases: nova.network.model.Model
Represents a Subnet in Nova.
Convience function to get cidr as a netaddr object.
Bases: nova.network.model.Model
Represents a Virtual Interface in Nova.
Returns the list of all IPs
The return value looks like this flat structure:
{'network_label': 'my_network',
'network_id': 'n8v29837fn234782f08fjxk3ofhb84',
'ips': [{'address': '123.123.123.123',
'version': 4,
'type: 'fixed',
'meta': {...}},
{'address': '124.124.124.124',
'version': 4,
'type': 'floating',
'meta': {...}},
{'address': 'fe80::4',
'version': 6,
'type': 'fixed',
'meta': {...}}]
Bases: nova.network.model.Model
Represents the parameters for a 802.1qbg VIF.
Bases: nova.network.model.Model
Represents the parameters for a 802.1qbh VIF.