The openstack_dashboard.api.lbaas ModuleΒΆ

class openstack_dashboard.api.lbaas.Member(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron load balancer member.

class openstack_dashboard.api.lbaas.Pool(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron load balancer pool.

class openstack_dashboard.api.lbaas.PoolMonitor(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron load balancer pool health monitor.

class openstack_dashboard.api.lbaas.PoolStats(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron load balancer pool stats.

class openstack_dashboard.api.lbaas.Vip(apiresource)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron load balancer vip.

openstack_dashboard.api.lbaas.member_create(request, **kwargs)[source]

Create a load balance member

Parameters:
  • request – request context
  • pool_id – pool_id of pool for member
  • address – IP address
  • protocol_port – transport layer port number
  • weight – weight for member
  • admin_state_up – admin_state
openstack_dashboard.api.lbaas.member_delete(request, mem_id)[source]
openstack_dashboard.api.lbaas.member_get(request, member_id)[source]
openstack_dashboard.api.lbaas.member_list(request, **kwargs)[source]
openstack_dashboard.api.lbaas.member_update(request, member_id, **kwargs)[source]
openstack_dashboard.api.lbaas.pool_create(request, **kwargs)[source]

Create a pool for specified protocol

Parameters:
  • request – request context
  • name – name for pool
  • description – description for pool
  • subnet_id – subnet_id for subnet of pool
  • protocol – load balanced protocol
  • lb_method – load balancer method
  • admin_state_up – admin state (default on)
openstack_dashboard.api.lbaas.pool_delete(request, pool)[source]
openstack_dashboard.api.lbaas.pool_get(request, pool_id)[source]
openstack_dashboard.api.lbaas.pool_health_monitor_create(request, **kwargs)[source]

Create a health monitor

Parameters:
  • request – request context
  • type – type of monitor
  • delay – delay of monitor
  • timeout – timeout of monitor
  • max_retries – max retries [1..10]
  • http_method – http method
  • url_path – url path
  • expected_codes – http return code
  • admin_state_up – admin state
openstack_dashboard.api.lbaas.pool_health_monitor_delete(request, mon_id)[source]
openstack_dashboard.api.lbaas.pool_health_monitor_get(request, monitor_id)[source]
openstack_dashboard.api.lbaas.pool_health_monitor_list(request, **kwargs)[source]
openstack_dashboard.api.lbaas.pool_health_monitor_update(request, monitor_id, **kwargs)[source]
openstack_dashboard.api.lbaas.pool_list(request, **kwargs)[source]
openstack_dashboard.api.lbaas.pool_monitor_association_create(request, **kwargs)[source]

Associate a health monitor with pool

Parameters:
  • request – request context
  • monitor_id – id of monitor
  • pool_id – id of pool
openstack_dashboard.api.lbaas.pool_monitor_association_delete(request, **kwargs)[source]

Disassociate a health monitor from pool

Parameters:
  • request – request context
  • monitor_id – id of monitor
  • pool_id – id of pool
openstack_dashboard.api.lbaas.pool_stats(request, pool_id, **kwargs)[source]
openstack_dashboard.api.lbaas.pool_update(request, pool_id, **kwargs)[source]
openstack_dashboard.api.lbaas.vip_create(request, **kwargs)[source]

Create a vip for a specified pool.

Parameters:
  • request – request context
  • address – virtual IP address
  • name – name for vip
  • description – description for vip
  • subnet_id – subnet_id for subnet of vip
  • protocol_port – transport layer port number for vip
Returns:

Vip object

openstack_dashboard.api.lbaas.vip_delete(request, vip_id)[source]
openstack_dashboard.api.lbaas.vip_get(request, vip_id)[source]
openstack_dashboard.api.lbaas.vip_list(request, **kwargs)[source]
openstack_dashboard.api.lbaas.vip_update(request, vip_id, **kwargs)[source]

Previous topic

The openstack_dashboard.api.swift Module

Next topic

The openstack_dashboard.api.cinder Module

This Page