Atom feed of this document
  
 

 Basic L3 metering operations

Only administrators can manage the L3 metering labels and rules.

This table shows example neutron commands that enable you to complete basic L3 metering operations:

Table 7.41. Basic L3 operations
Operation Command

Creates a metering label.

$ neutron meter-label-create label1 --description "description of label1"

Lists metering labels.

$ neutron meter-label-list

Shows information for a specified label.

$ neutron meter-label-show label-uuid
$ neutron meter-label-show label1

Deletes a metering label.

$ neutron meter-label-delete label-uuid
$ neutron meter-label-delete label1

Creates a metering rule.

$ neutron meter-label-rule-create label-uuid cidr --direction direction --excluded
$ neutron meter-label-rule-create label1 10.0.0.0/24 --direction ingress
$ neutron meter-label-rule-create label1 20.0.0.0/24 --excluded

Lists metering all label rules.

$ neutron meter-label-rule-list

Shows information for a specified label rule.

$ neutron meter-label-rule-show rule-uuid
Deletes a metering label rule.
$ neutron meter-label-rule-delete rule-uuid
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...