The openstack_dashboard.api.neutron ModuleΒΆ

class openstack_dashboard.api.neutron.Agent(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron agents.

class openstack_dashboard.api.neutron.FloatingIp(fip)[source]

Bases: openstack_dashboard.api.base.APIDictWrapper

class openstack_dashboard.api.neutron.FloatingIpManager(request)[source]

Bases: openstack_dashboard.api.network_base.FloatingIpManager

FloatingIpManager.allocate(pool)[source]
FloatingIpManager.associate(floating_ip_id, port_id)[source]
FloatingIpManager.disassociate(floating_ip_id, port_id)[source]
FloatingIpManager.get(floating_ip_id)[source]
FloatingIpManager.get_target_id_by_instance(instance_id)[source]
FloatingIpManager.is_simple_associate_supported()[source]
FloatingIpManager.list(**search_opts)[source]
FloatingIpManager.list_pools()[source]
FloatingIpManager.list_target_id_by_instance(instance_id)[source]
FloatingIpManager.list_targets()[source]
FloatingIpManager.release(floating_ip_id)[source]
class openstack_dashboard.api.neutron.FloatingIpPool(apidict)[source]

Bases: openstack_dashboard.api.base.APIDictWrapper

class openstack_dashboard.api.neutron.FloatingIpTarget(apidict)[source]

Bases: openstack_dashboard.api.base.APIDictWrapper

class openstack_dashboard.api.neutron.Network(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron Networks.

class openstack_dashboard.api.neutron.NeutronAPIDictWrapper(apidict)[source]

Bases: openstack_dashboard.api.base.APIDictWrapper

NeutronAPIDictWrapper.items()[source]
NeutronAPIDictWrapper.name_or_id[source]
NeutronAPIDictWrapper.set_id_as_name_if_empty(length=8)[source]
class openstack_dashboard.api.neutron.Port(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron ports.

class openstack_dashboard.api.neutron.Profile(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron profiles.

class openstack_dashboard.api.neutron.Router(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron routers.

class openstack_dashboard.api.neutron.SecurityGroup(sg, sg_dict=None)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

class openstack_dashboard.api.neutron.SecurityGroupManager(request)[source]

Bases: openstack_dashboard.api.network_base.SecurityGroupManager

SecurityGroupManager.backend = 'neutron'
SecurityGroupManager.create(name, desc)[source]
SecurityGroupManager.delete(sg_id)[source]
SecurityGroupManager.get(sg_id)[source]
SecurityGroupManager.list()[source]
SecurityGroupManager.list_by_instance(instance_id)[source]

Gets security groups of an instance.

SecurityGroupManager.rule_create(parent_group_id, direction=None, ethertype=None, ip_protocol=None, from_port=None, to_port=None, cidr=None, group_id=None)[source]
SecurityGroupManager.rule_delete(sgr_id)[source]
SecurityGroupManager.update(sg_id, name, desc)[source]
SecurityGroupManager.update_instance_security_group(instance_id, new_security_group_ids)[source]
class openstack_dashboard.api.neutron.SecurityGroupRule(sgr, sg_dict=None)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

class openstack_dashboard.api.neutron.Subnet(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron subnets.

openstack_dashboard.api.neutron.agent_list(request)[source]
openstack_dashboard.api.neutron.get_ipver_str(ip_version)[source]

Convert an ip version number to a human-friendly string.

openstack_dashboard.api.neutron.is_extension_supported(*args, **kwargs)[source]
openstack_dashboard.api.neutron.is_port_profiles_supported()[source]
openstack_dashboard.api.neutron.is_quotas_extension_supported(*args, **kwargs)[source]
openstack_dashboard.api.neutron.is_security_group_extension_supported(request)[source]
openstack_dashboard.api.neutron.list_extensions(*args, **kwargs)[source]
openstack_dashboard.api.neutron.network_create(request, **kwargs)[source]

Create a subnet on a specified network. :param request: request context :param tenant_id: (optional) tenant id of the network created :param name: (optional) name of the network created :returns: Subnet object

openstack_dashboard.api.neutron.network_delete(request, network_id)[source]
openstack_dashboard.api.neutron.network_get(request, network_id, expand_subnet=True, **params)[source]
openstack_dashboard.api.neutron.network_list(request, **params)[source]
openstack_dashboard.api.neutron.network_list_for_tenant(request, tenant_id, **params)[source]

Return a network list available for the tenant. The list contains networks owned by the tenant and public networks. If requested_networks specified, it searches requested_networks only.

openstack_dashboard.api.neutron.network_update(request, network_id, **kwargs)[source]
openstack_dashboard.api.neutron.neutronclient(request)[source]
openstack_dashboard.api.neutron.port_create(request, network_id, **kwargs)[source]

Create a port on a specified network. :param request: request context :param network_id: network id a subnet is created on :param device_id: (optional) device id attached to the port :param tenant_id: (optional) tenant id of the port created :param name: (optional) name of the port created :returns: Port object

openstack_dashboard.api.neutron.port_delete(request, port_id)[source]
openstack_dashboard.api.neutron.port_get(request, port_id, **params)[source]
openstack_dashboard.api.neutron.port_list(request, **params)[source]
openstack_dashboard.api.neutron.port_update(request, port_id, **kwargs)[source]
openstack_dashboard.api.neutron.profile_bindings_list(request, type_p, **params)[source]
openstack_dashboard.api.neutron.profile_create(request, **kwargs)[source]
openstack_dashboard.api.neutron.profile_delete(request, profile_id)[source]
openstack_dashboard.api.neutron.profile_get(request, profile_id, **params)[source]
openstack_dashboard.api.neutron.profile_list(request, type_p, **params)[source]
openstack_dashboard.api.neutron.profile_update(request, profile_id, **kwargs)[source]
openstack_dashboard.api.neutron.provider_list(request)[source]
openstack_dashboard.api.neutron.router_add_gateway(request, router_id, network_id)[source]
openstack_dashboard.api.neutron.router_add_interface(request, router_id, subnet_id=None, port_id=None)[source]
openstack_dashboard.api.neutron.router_create(request, **kwargs)[source]
openstack_dashboard.api.neutron.router_delete(request, router_id)[source]
openstack_dashboard.api.neutron.router_get(request, router_id, **params)[source]
openstack_dashboard.api.neutron.router_list(request, **params)[source]
openstack_dashboard.api.neutron.router_remove_gateway(request, router_id)[source]
openstack_dashboard.api.neutron.router_remove_interface(request, router_id, subnet_id=None, port_id=None)[source]
openstack_dashboard.api.neutron.router_update(request, r_id, **kwargs)[source]
openstack_dashboard.api.neutron.servers_update_addresses(request, servers)[source]

Retrieve servers networking information from Neutron if enabled.

Should be used when up to date networking information is required, and Nova’s networking info caching mechanism is not fast enough.

openstack_dashboard.api.neutron.subnet_create(request, network_id, cidr, ip_version, **kwargs)[source]

Create a subnet on a specified network. :param request: request context :param network_id: network id a subnet is created on :param cidr: subnet IP address range :param ip_version: IP version (4 or 6) :param gateway_ip: (optional) IP address of gateway :param tenant_id: (optional) tenant id of the subnet created :param name: (optional) name of the subnet created :returns: Subnet object

openstack_dashboard.api.neutron.subnet_delete(request, subnet_id)[source]
openstack_dashboard.api.neutron.subnet_get(request, subnet_id, **params)[source]
openstack_dashboard.api.neutron.subnet_list(request, **params)[source]
openstack_dashboard.api.neutron.subnet_update(request, subnet_id, **kwargs)[source]
openstack_dashboard.api.neutron.tenant_quota_get(request, tenant_id)[source]
openstack_dashboard.api.neutron.tenant_quota_update(request, tenant_id, **kwargs)[source]

Previous topic

The openstack_dashboard.api.keystone Module

Next topic

The openstack_dashboard.api.base Module

This Page