The nova.objects.fixed_ip Module

class FixedIP(context=None, **kwargs)

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

VERSION = '1.14'
address
allocated
classmethod associate(context, *args, **kwargs)
classmethod associate_pool(context, *args, **kwargs)
create(*args, **kwargs)
created_at
default_route
deleted
deleted_at
disassociate(*args, **kwargs)
classmethod disassociate_all_by_timeout(context, host, time)
classmethod disassociate_by_address(context, *args, **kwargs)
fields = {'reserved': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'network': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'leased': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'floating_ips': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'virtual_interface': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'default_route': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'virtual_interface_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'address': IPV4AndV6Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'network_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'instance': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'allocated': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
floating_ips
classmethod get_by_address(context, *args, **kwargs)
classmethod get_by_floating_address(context, *args, **kwargs)
classmethod get_by_id(context, *args, **kwargs)
classmethod get_by_network_and_host(context, *args, **kwargs)
host
id
instance
instance_uuid
leased
network
network_id
obj_make_compatible(primitive, target_version)
reserved
save(*args, **kwargs)
updated_at
virtual_interface
virtual_interface_id
class FixedIPList(*args, **kwargs)

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

VERSION = '1.14'
classmethod bulk_create(context, *args, **kwargs)
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_instance_uuid(context, *args, **kwargs)
classmethod get_by_network(context, *args, **kwargs)
classmethod get_by_virtual_interface_id(context, *args, **kwargs)
objects

Previous topic

The nova.objects.fields Module

Next topic

The nova.objects.flavor Module

Project Source

This Page