Normalize objects file name
* change objects/server_nics to objects/server_nic * change api/availability_zone to api/availability_zones Change-Id: I923bc5ee78eacc92e6eb1f75cbfea9e8905b674d
This commit is contained in:
parent
2d1379a72d
commit
a1836f6c67
@ -26,7 +26,7 @@ from wsme import types as wtypes
|
||||
from mogan.api.controllers import base
|
||||
from mogan.api.controllers import link
|
||||
from mogan.api.controllers.v1 import aggregates
|
||||
from mogan.api.controllers.v1 import availability_zone
|
||||
from mogan.api.controllers.v1 import availability_zones
|
||||
from mogan.api.controllers.v1 import flavors
|
||||
from mogan.api.controllers.v1 import keypairs
|
||||
from mogan.api.controllers.v1 import nodes
|
||||
@ -116,7 +116,7 @@ class Controller(rest.RestController):
|
||||
|
||||
flavors = flavors.FlavorsController()
|
||||
servers = servers.ServerController()
|
||||
availability_zones = availability_zone.AvailabilityZoneController()
|
||||
availability_zones = availability_zones.AvailabilityZoneController()
|
||||
keypairs = keypairs.KeyPairController()
|
||||
aggregates = aggregates.AggregateController()
|
||||
nodes = nodes.NodeController()
|
||||
|
@ -27,7 +27,7 @@ def register_all():
|
||||
# need to receive it via RPC.
|
||||
__import__('mogan.objects.flavor')
|
||||
__import__('mogan.objects.server')
|
||||
__import__('mogan.objects.server_nics')
|
||||
__import__('mogan.objects.server_nic')
|
||||
__import__('mogan.objects.server_fault')
|
||||
__import__('mogan.objects.keypair')
|
||||
__import__('mogan.objects.aggregate')
|
||||
|
Loading…
Reference in New Issue
Block a user