diff options
author | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | 2014-05-03 14:22:02 +0900 |
---|---|---|
committer | Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp> | 2014-05-06 09:08:59 +0900 |
commit | 523e52f2f754f35b1e2453190f935d1a990464fb (patch) | |
tree | cafae089b3962a24365b9859c7d632124a69c88c /nova/api | |
parent | a1a9d7b78ff55e4760be23b9d12aa983e2787927 (diff) | |
download | nova-523e52f2f754f35b1e2453190f935d1a990464fb.tar.gz |
Fix v3 API extension names for camelcase
Most v3 API names are camelcase, but few APIs are not.
This patch changes them to camelcase for the consistency.
Change-Id: I0dc6c23ffcdcf97fc52d3575d521692805ffd9e3
Closes-Bug: #1315597
Diffstat (limited to 'nova/api')
5 files changed, 5 insertions, 5 deletions
diff --git a/nova/api/openstack/compute/plugins/v3/extension_info.py b/nova/api/openstack/compute/plugins/v3/extension_info.py index 8de7f6773e..8e62d6f019 100644 --- a/nova/api/openstack/compute/plugins/v3/extension_info.py +++ b/nova/api/openstack/compute/plugins/v3/extension_info.py @@ -75,7 +75,7 @@ class ExtensionInfoController(object): class ExtensionInfo(extensions.V3APIExtensionBase): """Extension information.""" - name = "extensions" + name = "Extensions" alias = "extensions" version = 1 diff --git a/nova/api/openstack/compute/plugins/v3/flavors.py b/nova/api/openstack/compute/plugins/v3/flavors.py index 6faf86f73a..d29156b03b 100644 --- a/nova/api/openstack/compute/plugins/v3/flavors.py +++ b/nova/api/openstack/compute/plugins/v3/flavors.py @@ -115,7 +115,7 @@ class FlavorsController(wsgi.Controller): class Flavors(extensions.V3APIExtensionBase): """Flavors Extension.""" - name = "flavors" + name = "Flavors" alias = "flavors" version = 1 diff --git a/nova/api/openstack/compute/plugins/v3/ips.py b/nova/api/openstack/compute/plugins/v3/ips.py index 631cc75db5..ded2524fbc 100644 --- a/nova/api/openstack/compute/plugins/v3/ips.py +++ b/nova/api/openstack/compute/plugins/v3/ips.py @@ -66,7 +66,7 @@ class IPsController(wsgi.Controller): class IPs(extensions.V3APIExtensionBase): """Server addresses.""" - name = "ips" + name = "Ips" alias = "ips" version = 1 diff --git a/nova/api/openstack/compute/plugins/v3/pci.py b/nova/api/openstack/compute/plugins/v3/pci.py index fdce310898..58e486b8b2 100644 --- a/nova/api/openstack/compute/plugins/v3/pci.py +++ b/nova/api/openstack/compute/plugins/v3/pci.py @@ -133,7 +133,7 @@ class PciController(object): class Pci(extensions.V3APIExtensionBase): """Pci access support.""" - name = "PCIAccess" + name = "PciAccess" alias = ALIAS version = 1 diff --git a/nova/api/openstack/compute/plugins/v3/server_metadata.py b/nova/api/openstack/compute/plugins/v3/server_metadata.py index 5f79248331..7997858336 100644 --- a/nova/api/openstack/compute/plugins/v3/server_metadata.py +++ b/nova/api/openstack/compute/plugins/v3/server_metadata.py @@ -171,7 +171,7 @@ class ServerMetadataController(wsgi.Controller): class ServerMetadata(extensions.V3APIExtensionBase): """Server Metadata API.""" - name = "Server Metadata" + name = "ServerMetadata" alias = "server-metadata" version = 1 |