Refactoring of SecurityGroupSettings to extend SecurityGroupConfig 33/47533/2
authorspisarski <s.pisarski@cablelabs.com>
Mon, 20 Nov 2017 21:56:44 +0000 (14:56 -0700)
committerspisarski <s.pisarski@cablelabs.com>
Tue, 21 Nov 2017 16:31:20 +0000 (09:31 -0700)
commit0e377731a20617c9cdb886a597395c61ae490e38
treeae58c1cf1cabbfcbcc0b483d62be31926a24f0e2
parent594e4d2b15dcf59fc7dc1b8380b096382a0b1cb1
Refactoring of SecurityGroupSettings to extend SecurityGroupConfig

SecurityGroupSettings, SecurityGroupSettings and neutron_utils have a
runtime cyclical dependency. This patch reduces this dependency and
deprecates the SecurityGroupSettings and SecurityGroupRuleSettings class with
snaps.config.security_group SecurityGroupConfig and SecurityGroupRuleConfg classes

JIRA: SNAPS-224

Change-Id: I6cd82ed5be31f4a24449be767b203e86489b1962
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
15 files changed:
docs/how-to-use/UnitTests.rst
examples/launch.py
snaps/config/security_group.py [new file with mode: 0644]
snaps/config/tests/security_group_tests.py [new file with mode: 0644]
snaps/openstack/create_security_group.py
snaps/openstack/create_stack.py
snaps/openstack/tests/create_instance_tests.py
snaps/openstack/tests/create_project_tests.py
snaps/openstack/tests/create_security_group_tests.py
snaps/openstack/utils/neutron_utils.py
snaps/openstack/utils/settings_utils.py
snaps/openstack/utils/tests/neutron_utils_tests.py
snaps/openstack/utils/tests/settings_utils_tests.py
snaps/provisioning/tests/ansible_utils_tests.py
snaps/test_suite_builder.py