Merge "Restore correct alias for network-gateway extension"

This commit is contained in:
Jenkins 2013-05-22 04:10:25 +00:00 committed by Gerrit Code Review
commit b353fcbd5e
1 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,9 @@ from quantum import quota
RESOURCE_NAME = "network_gateway"
COLLECTION_NAME = "%ss" % RESOURCE_NAME
EXT_ALIAS = RESOURCE_NAME
# Use dash for alias and collection name
EXT_ALIAS = RESOURCE_NAME.replace('_', '-')
COLLECTION_NAME = "%ss" % EXT_ALIAS
DEVICE_ID_ATTR = 'id'
IFACE_NAME_ATTR = 'interface_name'