openstack.load_balancer.v2.l7_rule

The L7Rule Class

The L7Rule class inherits from Resource.

class openstack.load_balancer.v2.l7_rule.L7Rule(_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 = 'rule'

Singular form of key for resource.

resources_key = 'rules'

Plural form of key for resource.

base_path = '/lbaas/l7policies/%(l7policy_id)s/rules'

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.

is_admin_state_up

Properties The administrative state of the l7policy Type: bool

compare_type

comparison type to be used with the value in this L7 rule.

created_at

Timestamp when the L7 rule was created.

key

The key to use for the comparison.

l7_policy_id

The ID of the associated l7 policy

operating_status

The operating status of this l7rule

project_id

The ID of the project this l7policy is associated with.

provisioning_status

The provisioning status of this l7policy

type

The type of L7 rule

updated_at

Timestamp when the L7 rule was updated.

rule_value

value to be compared with