The nova.objects.network Module

class Network(context=None, **kwargs)

Bases: nova.objects.base.NovaPersistentObject, nova.objects.base.NovaObject, nova.objects.base.NovaObjectDictCompat

VERSION = '1.2'
classmethod associate(context, *args, **kwargs)
bridge
bridge_interface
broadcast
cidr
cidr_v6
create(*args, **kwargs)
created_at
deleted
deleted_at
destroy(*args, **kwargs)
dhcp_server
dhcp_start
classmethod disassociate(context, *args, **kwargs)
dns1
dns2
enable_dhcp
fields = {'gateway_v6': IPV6Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vlan': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'vpn_private_address': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'dhcp_server': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'bridge': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'injected': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'enable_dhcp': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'gateway': IPV4Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'rxtx_base': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'label': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'netmask': IPV4Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'broadcast': IPV4Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'netmask_v6': IPV6Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'cidr': IPV4Network(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'priority': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'dhcp_start': IPV4Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vpn_public_port': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vpn_public_address': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'share_address': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'bridge_interface': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'cidr_v6': IPV6Network(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'project_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'dns1': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'dns2': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'multi_host': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'mtu': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
gateway
gateway_v6
classmethod get_by_cidr(context, *args, **kwargs)
classmethod get_by_id(context, *args, **kwargs)
classmethod get_by_uuid(context, *args, **kwargs)
host
id
classmethod in_use_on_host(context, *args, **kwargs)
injected
label
mtu
multi_host
netmask
netmask_v6
obj_make_compatible(primitive, target_version)
priority
project_id
rxtx_base
save(*args, **kwargs)
share_address
updated_at
uuid
vlan
vpn_private_address
vpn_public_address
vpn_public_port
class NetworkList(*args, **kwargs)

Bases: nova.objects.base.ObjectListBase, nova.objects.base.NovaObject

VERSION = '1.2'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(context, *args, **kwargs)
classmethod get_by_host(context, *args, **kwargs)
classmethod get_by_project(context, *args, **kwargs)
classmethod get_by_uuids(context, *args, **kwargs)
objects

Previous topic

The nova.objects.monitor_metric Module

Next topic

The nova.objects.network_request Module

Project Source

This Page