create_server method full removal

As tempest.scenario.manager was announced stable interface in Tempest 27.0.0[1] it can be now reused in plugins.

There is no need to have create_server definition in ironic scenario manager

Replaced methods:
	* create_server

Etherpad concerning this effort:
https://etherpad.opendev.org/p/tempest-scenario-manager-cleanup

[1] https://docs.openstack.org/releasenotes/tempest/v27.0.0.html#release-notes-27-0-0

Change-Id: I781cbf90e283bd8a3be4ad3e6aa7c13f280444e0
This commit is contained in:
Roman Popelka 2022-03-17 10:55:23 +01:00
parent 37d61a4acf
commit 7334c06230
1 changed files with 0 additions and 11 deletions

View File

@ -84,17 +84,6 @@ class ScenarioTest(tempest.scenario.manager.ScenarioTest):
# The create_[resource] functions only return body and discard the
# resp part which is not used in scenario tests
def create_server(self, name=None, image_id=None, flavor=None,
validatable=False, wait_until='ACTIVE',
clients=None, **kwargs):
return super().create_server(name=name,
image_id=image_id,
flavor=flavor,
validatable=validatable,
wait_until=wait_until,
clients=clients,
**kwargs)
def get_remote_client(self, ip_address, username=None, private_key=None):
"""Get a SSH client to a remote server