osc network metering metering-label-rule create

Creates an L3 metering label rule.

Normal response codes: 201

Error response codes: 400, 401, 403, 404, 409

Usage: osc network metering metering-label-rule create [OPTIONS]

Options:

  • --destination-ip-prefix <DESTINATION_IP_PREFIX>

  • --direction <DIRECTION> — Ingress or egress, which is the direction in which the metering rule is applied

    Possible values: egress, ingress

  • --excluded <EXCLUDED> — Indicates whether to count the traffic of a specific IP address with the remote_ip_prefix, source_ip_prefix, or destination_ip_prefix values. Default is false

    Possible values: true, false

  • --metering-label-id <METERING_LABEL_ID> — The metering label ID associated with this metering rule

  • --remote-ip-prefix <REMOTE_IP_PREFIX> — (deprecated) The source IP prefix that is matched by this metering rule. By source IP prefix, one should read the internal/private IPs used in OpenStack

  • --source-ip-prefix <SOURCE_IP_PREFIX>

  • --tenant-id <TENANT_ID>