Merge "Disallow specifying name for meter-label-rule"

This commit is contained in:
Jenkins
2016-11-29 06:31:33 +00:00
committed by Gerrit Code Review

View File

@@ -77,6 +77,7 @@ class ShowMeteringLabelRule(neutronv20.ShowCommand):
"""Show information of a given metering label rule."""
resource = 'metering_label_rule'
allow_names = False
class CreateMeteringLabelRule(neutronv20.CreateCommand):
@@ -117,3 +118,4 @@ class DeleteMeteringLabelRule(neutronv20.DeleteCommand):
"""Delete a given metering label."""
resource = 'metering_label_rule'
allow_names = False