summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorRyu Ishimoto <ryu@midokura.jp>2011-08-16 17:51:45 +0900
committerRyu Ishimoto <ryu@midokura.jp>2011-08-16 17:51:45 +0900
commit92c6ee9dc7eeaa44bf6162387b5815fc0cdb1c71 (patch)
tree9e5086a08f49608e61e675e3f669fa7a55c2b134 /nova/api
parent9d6b9c01a5652cea1aa51aa56eafada92fa82f7a (diff)
downloadnova-92c6ee9dc7eeaa44bf6162387b5815fc0cdb1c71.tar.gz
nova-92c6ee9dc7eeaa44bf6162387b5815fc0cdb1c71.tar.xz
nova-92c6ee9dc7eeaa44bf6162387b5815fc0cdb1c71.zip
Fixed the naming of the extension
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/contrib/virtual_interfaces.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/api/openstack/contrib/virtual_interfaces.py b/nova/api/openstack/contrib/virtual_interfaces.py
index 3466d31c7..38246aeb5 100644
--- a/nova/api/openstack/contrib/virtual_interfaces.py
+++ b/nova/api/openstack/contrib/virtual_interfaces.py
@@ -72,13 +72,13 @@ class ServerVirtualInterfaceController(object):
entity_maker=_translate_vif_summary_view)
-class VirtualInterfaces(extensions.ExtensionDescriptor):
+class Virtual_interfaces(extensions.ExtensionDescriptor):
def get_name(self):
- return "VirtualInterfaces"
+ return "Virtual_interfaces"
def get_alias(self):
- return "os-virtual_interfaces"
+ return "os-virtual-interfaces"
def get_description(self):
return "Virtual interface support"
@@ -92,7 +92,7 @@ class VirtualInterfaces(extensions.ExtensionDescriptor):
def get_resources(self):
resources = []
- res = extensions.ResourceExtension('os-virtual_interfaces',
+ res = extensions.ResourceExtension('os-virtual-interfaces',
ServerVirtualInterfaceController(),
parent=dict(
member_name='server',