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 = {'instance_uuid': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'virtual_interface_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'network_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'allocated': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'leased': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'default_route': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'virtual_interface': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'instance': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'network': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'floating_ips': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'reserved': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'address': IPV4AndV6Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
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)
obj_relationships = {'network': [('1.0', '1.2')], 'floating_ips': [('1.5', '1.7'), ('1.11', '1.8'), ('1.12', '1.9'), ('1.13', '1.10'), ('1.14', '1.11')], 'virtual_interface': [('1.1', '1.0')], 'instance': [('1.0', '1.13'), ('1.2', '1.14'), ('1.3', '1.15'), ('1.6', '1.16'), ('1.7', '1.17'), ('1.8', '1.18'), ('1.9', '1.19'), ('1.10', '1.20'), ('1.11', '1.21'), ('1.12', '1.22'), ('1.13', '1.23')]}
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)
obj_relationships = {'objects': [('1.0', '1.0'), ('1.1', '1.1'), ('1.2', '1.2'), ('1.3', '1.3'), ('1.4', '1.4'), ('1.5', '1.5'), ('1.6', '1.6'), ('1.7', '1.7'), ('1.8', '1.8'), ('1.9', '1.9'), ('1.10', '1.10'), ('1.11', '1.11'), ('1.12', '1.12'), ('1.13', '1.13'), ('1.14', '1.14')]}
objects

Previous topic

The nova.objects.fields Module

Next topic

The nova.objects.flavor Module

Project Source

This Page