openstack.network.v2.metering_label_rule

openstack.network.v2.metering_label_rule

The MeteringLabelRule Class

The MeteringLabelRule class inherits from Resource.

class openstack.network.v2.metering_label_rule.MeteringLabelRule(_synchronized=False, **attrs)

The base resource

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

ingress or egress: The direction in which metering label rule is applied. Default: "ingress"

is_excluded = None

Specify whether the remote_ip_prefix will be excluded or not from traffic counters of the metering label, ie: to not count the traffic of a specific IP address of a range. Default: False, Type: bool

metering_label_id = None

The metering label ID to associate with this metering label rule.

project_id = None

The ID of the project this metering label rule is associated with.

remote_ip_prefix = None

The remote IP prefix to be associated with this metering label rule.

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.