diff options
author | 2017-11-17 13:11:09 -0700 | |
---|---|---|
committer | 2017-11-20 09:50:55 -0700 | |
commit | 6dd10aa17c12bac0c3c185b15a444a5437563c14 (patch) | |
tree | be09480cfc492d8d82986b154ae401dcaf69f034 /examples/launch.py | |
parent | 0812d4eca28734872a5565afe9288e002721794b (diff) |
Refactoring of QoSSettings to extend QoSConfig
QoSSettings and cinder_utils have a runtime cyclical
dependency. This patch reduces this dependency and
deprecates the QoSSettings class.
JIRA: SNAPS-222
Change-Id: I6385717b78db413c496b15b8c4b76ffabe9797c1
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Diffstat (limited to 'examples/launch.py')
-rw-r--r-- | examples/launch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/launch.py b/examples/launch.py index dfdf57f..b0e87ba 100644 --- a/examples/launch.py +++ b/examples/launch.py @@ -30,6 +30,7 @@ from snaps.config.flavor import FlavorConfig from snaps.config.image import ImageConfig from snaps.config.keypair import KeypairConfig from snaps.config.project import ProjectConfig +from snaps.config.qos import QoSConfig from snaps.config.router import RouterConfig from snaps.config.user import UserConfig from snaps.openstack.create_flavor import OpenStackFlavor @@ -39,7 +40,7 @@ from snaps.openstack.create_keypairs import OpenStackKeypair from snaps.openstack.create_network import ( PortSettings, NetworkSettings, OpenStackNetwork) from snaps.openstack.create_project import OpenStackProject -from snaps.openstack.create_qos import QoSSettings, OpenStackQoS +from snaps.openstack.create_qos import OpenStackQoS from snaps.openstack.create_router import OpenStackRouter from snaps.openstack.create_security_group import ( OpenStackSecurityGroup, SecurityGroupSettings) @@ -646,7 +647,7 @@ def main(arguments): # Create QoS specs qos_dict = __create_instances( - os_creds_dict, OpenStackQoS, QoSSettings, + os_creds_dict, OpenStackQoS, QoSConfig, os_config.get('qos_specs'), 'qos_spec', clean, users_dict) creators.append(qos_dict) |