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 appliedPossible values:
egress,ingress - 
--excluded <EXCLUDED>— Indicates whether to count the traffic of a specific IP address with theremote_ip_prefix,source_ip_prefix, ordestination_ip_prefixvalues. Default isfalsePossible 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>