Created domain classes for security groups. 03/37203/2
authorspisarski <s.pisarski@cablelabs.com>
Tue, 11 Jul 2017 18:08:53 +0000 (12:08 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Tue, 11 Jul 2017 18:54:46 +0000 (12:54 -0600)
commit589f587b9139b84437d1b7e8cb017018fc9a4e06
tree3064f18ec710d09fa22daf133036d1607a979f7a
parent5f3fe6856f07bd1289bac532264eccf6cba68d77
Created domain classes for security groups.

Created SecurityGroup and SecurityGroupRule classes so the neutron_utils
for security groups will be returning objects of these types instead of
the OpenStack objects returned by the API calls.

JIRA: SNAPS-116

Change-Id: I76ed1f85f7d54b984fc6f6ac28cee7680a1109e5
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
snaps/domain/network.py [new file with mode: 0644]
snaps/domain/test/network_tests.py [new file with mode: 0644]
snaps/openstack/create_instance.py
snaps/openstack/create_security_group.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/nova_utils.py
snaps/openstack/utils/tests/neutron_utils_tests.py
snaps/test_suite_builder.py