The nova.objects.floating_ip Module

class FloatingIP(context=None, **kwargs)

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

VERSION = '1.10'
address
classmethod allocate_address(context, *args, **kwargs)
classmethod associate(context, *args, **kwargs)
auto_assigned
created_at
classmethod deallocate(context, *args, **kwargs)
deleted
deleted_at
classmethod destroy(context, *args, **kwargs)
classmethod disassociate(context, *args, **kwargs)
fields = {'fixed_ip': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'fixed_ip_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'host': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'project_id': UUID(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), 'interface': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'auto_assigned': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'pool': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'address': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
fixed_ip
fixed_ip_id
classmethod get_addresses_by_instance(context, instance)
classmethod get_by_address(context, *args, **kwargs)
classmethod get_by_id(context, *args, **kwargs)
classmethod get_pool_names(context, *args, **kwargs)
host
id
interface
obj_load_attr(attrname)
obj_relationships = {'fixed_ip': [('1.0', '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.11'), ('1.8', '1.12'), ('1.9', '1.13'), ('1.10', '1.14')]}
pool
project_id
save(*args, **kwargs)
updated_at
class FloatingIPList(*args, **kwargs)

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

VERSION = '1.11'
classmethod create(context, *args, **kwargs)
classmethod destroy(context, *args, **kwargs)
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_all(context, *args, **kwargs)
classmethod get_by_fixed_address(context, *args, **kwargs)
classmethod get_by_fixed_ip_id(context, *args, **kwargs)
classmethod get_by_host(context, *args, **kwargs)
classmethod get_by_project(context, *args, **kwargs)
static make_ip_info(address, pool, interface)
obj_relationships = {'objects': [('1.0', '1.0'), ('1.1', '1.1'), ('1.2', '1.1'), ('1.3', '1.2'), ('1.4', '1.3'), ('1.5', '1.4'), ('1.6', '1.5'), ('1.7', '1.6'), ('1.8', '1.7'), ('1.9', '1.8'), ('1.10', '1.9'), ('1.11', '1.10')]}
objects

Previous topic

The nova.objects.flavor Module

Next topic

The nova.objects.host_mapping Module

Project Source

This Page