openstack.load_balancer.v2.l7_policy

The L7Policy Class

The L7Policy class inherits from Resource.

class openstack.load_balancer.v2.l7_policy.L7Policy(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'l7policy'

Singular form of key for resource.

resources_key = 'l7policies'

Plural form of key for resource.

base_path = '/lbaas/l7policies'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_list = True

Allow list operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = True

Allow delete operation for this resource.

action

Properties The action to be taken l7policy is matched

created_at

Timestamp when the L7 policy was created.

description

The l7policy description

is_admin_state_up

The administrative state of the l7policy Type: bool

listener_id

The ID of the listener associated with this l7policy

name

The l7policy name

operating_status

Operating status of the member.

position

Sequence number of this l7policy

project_id

The ID of the project this l7policy is associated with.

provisioning_status

The provisioning status of this l7policy

redirect_pool_id

The ID of the pool to which the requests will be redirected

redirect_prefix

The URL prefix to which the requests should be redirected

redirect_url

The URL to which the requests should be redirected

rules

The list of L7Rules associated with the l7policy

updated_at

Timestamp when the member was last updated.