The openstack_dashboard.api.network ModuleΒΆ

Abstraction layer for networking functionalities.

Currently Nova and Neutron have duplicated features. This API layer is introduced to abstract the differences between them for seamless consumption by different dashboard implementations.

class openstack_dashboard.api.network.NetworkClient(request)[source]

Bases: object

openstack_dashboard.api.network.floating_ip_associate(request, floating_ip_id, port_id)[source]
openstack_dashboard.api.network.floating_ip_disassociate(request, floating_ip_id)[source]
openstack_dashboard.api.network.floating_ip_pools_list(request)[source]
openstack_dashboard.api.network.floating_ip_simple_associate_supported(request)[source]
openstack_dashboard.api.network.floating_ip_supported(request)[source]
openstack_dashboard.api.network.floating_ip_target_get_by_instance(request, instance_id, cache=None)[source]
openstack_dashboard.api.network.floating_ip_target_list(request)[source]
openstack_dashboard.api.network.floating_ip_target_list_by_instance(request, instance_id, cache=None)[source]
openstack_dashboard.api.network.security_group_backend(request)[source]
openstack_dashboard.api.network.security_group_create(request, name, desc)[source]
openstack_dashboard.api.network.security_group_delete(request, sg_id)[source]
openstack_dashboard.api.network.security_group_get(request, sg_id)[source]
openstack_dashboard.api.network.security_group_list(request)[source]
openstack_dashboard.api.network.security_group_rule_create(request, parent_group_id, direction, ethertype, ip_protocol, from_port, to_port, cidr, group_id)[source]
openstack_dashboard.api.network.security_group_rule_delete(request, sgr_id)[source]
openstack_dashboard.api.network.security_group_update(request, sg_id, name, desc)[source]
openstack_dashboard.api.network.server_security_groups(request, instance_id)[source]
openstack_dashboard.api.network.server_update_security_groups(request, instance_id, new_security_group_ids)[source]
openstack_dashboard.api.network.servers_update_addresses(request, servers, all_tenants=False)[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.network.tenant_floating_ip_allocate(request, pool=None)[source]
openstack_dashboard.api.network.tenant_floating_ip_get(request, floating_ip_id)[source]
openstack_dashboard.api.network.tenant_floating_ip_list(request)[source]
openstack_dashboard.api.network.tenant_floating_ip_release(request, floating_ip_id)[source]

Previous topic

The openstack_dashboard.api.base Module

Next topic

The openstack_dashboard.api.lbaas Module

Project Source

This Page