octavia.api.v2.controllers package

octavia.api.v2.controllers package

Submodules

octavia.api.v2.controllers.base module

class BaseController[source]

Bases: pecan.rest.RestController

RBAC_TYPE = None

octavia.api.v2.controllers.health_monitor module

class HealthMonitorController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:healthmonitor:'
delete(*args, **kwargs)[source]

Deletes a health monitor.

get_all(*args, **kwargs)[source]

Gets all health monitors.

get_one(*args, **kwargs)[source]

Gets a single healthmonitor’s details.

post(*args, **kwargs)[source]

Creates a health monitor on a pool.

put(*args, **kwargs)[source]

Updates a health monitor.

octavia.api.v2.controllers.l7policy module

class L7PolicyController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:l7policy:'
delete(*args, **kwargs)[source]

Deletes a l7policy.

get(*args, **kwargs)[source]

Gets a single l7policy’s details.

get_all(*args, **kwargs)[source]

Lists all l7policies of a listener.

post(*args, **kwargs)[source]

Creates a l7policy on a listener.

put(*args, **kwargs)[source]

Updates a l7policy.

octavia.api.v2.controllers.l7rule module

class L7RuleController(l7policy_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:l7rule:'
delete(*args, **kwargs)[source]

Deletes a l7rule.

get(*args, **kwargs)[source]

Gets a single l7rule’s details.

get_all(*args, **kwargs)[source]

Lists all l7rules of a l7policy.

post(*args, **kwargs)[source]

Creates a l7rule on an l7policy.

put(*args, **kwargs)[source]

Updates a l7rule.

octavia.api.v2.controllers.listener module

class ListenersController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:listener:'
delete(*args, **kwargs)[source]

Deletes a listener from a load balancer.

get_all(*args, **kwargs)[source]

Lists all listeners.

get_one(*args, **kwargs)[source]

Gets a single listener’s details.

post(*args, **kwargs)[source]

Creates a listener on a load balancer.

put(*args, **kwargs)[source]

Updates a listener on a load balancer.

class StatisticsController(listener_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController, octavia.common.stats.StatsMixin

RBAC_TYPE = 'os_load-balancer_api:listener:'
get(*args, **kwargs)[source]

octavia.api.v2.controllers.load_balancer module

class LoadBalancersController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:loadbalancer:'
delete(*args, **kwargs)[source]

Deletes a load balancer.

get_all(*args, **kwargs)[source]

Lists all load balancers.

get_one(*args, **kwargs)[source]

Gets a single load balancer’s details.

post(*args, **kwargs)[source]

Creates a load balancer.

put(*args, **kwargs)[source]

Updates a load balancer.

class StatisticsController(lb_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController, octavia.common.stats.StatsMixin

RBAC_TYPE = 'os_load-balancer_api:loadbalancer:'
get(*args, **kwargs)[source]
class StatusController(lb_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:loadbalancer:'
get(*args, **kwargs)[source]

octavia.api.v2.controllers.member module

class MembersController(pool_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:member:'
delete(*args, **kwargs)[source]

Deletes a pool member.

get(*args, **kwargs)[source]

Gets a single pool member’s details.

get_all(*args, **kwargs)[source]

Lists all pool members of a pool.

post(*args, **kwargs)[source]

Creates a pool member on a pool.

put(*args, **kwargs)[source]

Updates a pool member.

octavia.api.v2.controllers.pool module

class PoolsController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:pool:'
delete(*args, **kwargs)[source]

Deletes a pool from a load balancer.

get(*args, **kwargs)[source]

Gets a pool’s details.

get_all(*args, **kwargs)[source]

Lists all pools.

post(*args, **kwargs)[source]

Creates a pool on a load balancer or listener.

Note that this can optionally take a listener_id with which the pool should be associated as the listener’s default_pool. If specified, the pool creation will fail if the listener specified already has a default_pool.

put(*args, **kwargs)[source]

Updates a pool on a load balancer.

octavia.api.v2.controllers.quotas module

class QuotasController[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:quota:'
delete(*args, **kwargs)[source]

Reset a project’s quotas to the default values.

get(*args, **kwargs)[source]

Get a single project’s quota details.

get_all(*args, **kwargs)[source]

List all non-default quotas.

put(*args, **kwargs)[source]

Update any or all quotas for a project.

class QuotasDefaultController(project_id)[source]

Bases: octavia.api.v2.controllers.base.BaseController

RBAC_TYPE = 'os_load-balancer_api:quota:'
get(*args, **kwargs)[source]

Get a project’s default quota details.

Module contents

class BaseV2Controller[source]

Bases: octavia.api.v2.controllers.base.BaseController

get(*args, **kwargs)[source]
healthmonitors = None
l7policies = None
listeners = None
loadbalancers = None
pools = None
quotas = None
class V2Controller[source]

Bases: octavia.api.v2.controllers.BaseV2Controller

lbaas = None
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.