Restore correct alias for network-gateway extension
Bug 1182682 Change-Id: I85a93e6ccac32515c7ebb2dfe41ba67cf11c9d9f
This commit is contained in:
parent
08c49053c1
commit
64a523714d
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user