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 = {'host': String(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), 'id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'fixed_ip': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'project_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'fixed_ip_id': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'pool': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': Boolean(default=False,nullable=False), 'address': IPAddress(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'auto_assigned': Boolean(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)
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)
objects

Previous topic

The nova.objects.flavor Module

Next topic

The nova.objects.host_mapping Module

Project Source

This Page