Remove nova.api.extensions.server.extensions usage

nova.api.extensions.server.extensions is not used anymore and
we don't need to keep those incorrect comments anymore.

Change-Id: I2f02ac8b5bc4bd8d2baffacb32b5ceda9f68168d
This commit is contained in:
jichenjc 2017-07-06 10:58:33 +08:00
parent aa74748d9f
commit 7ef83e2a77
3 changed files with 0 additions and 6 deletions

View File

@ -28,8 +28,6 @@ ATTRIBUTE_NAME = "block_device_mapping_v2"
LEGACY_ATTRIBUTE_NAME = "block_device_mapping"
# use nova.api.extensions.server.extensions entry point to modify
# server create kwargs
# NOTE(gmann): This function is not supposed to use 'body_deprecated_param'
# parameter as this is placed to handle scheduler_hint extension for V2.1.
def server_create(server_dict, create_kwargs, body_deprecated_param):

View File

@ -42,8 +42,6 @@ class BlockDeviceMappingV1(extensions.V21APIExtensionBase):
return []
# use nova.api.extensions.server.extensions entry point to modify
# server create kwargs
# NOTE(gmann): This function is not supposed to use 'body_deprecated_param'
# parameter as this is placed to handle scheduler_hint extension for V2.1.
def server_create(server_dict, create_kwargs, body_deprecated_param):

View File

@ -320,8 +320,6 @@ class Controller(wsgi.Controller):
self._add_key_name(req, servers)
# use nova.api.extensions.server.extensions entry point to modify
# server create kwargs
# NOTE(gmann): This function is not supposed to use 'body_deprecated_param'
# parameter as this is placed to handle scheduler_hint extension for V2.1.
def server_create(server_dict, create_kwargs, body_deprecated_param):