Replace neutron create security group full with shade. 15/59115/1
authorShobhi Jain <shobhi.jain@intel.com>
Fri, 16 Mar 2018 11:56:09 +0000 (11:56 +0000)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 27 Jun 2018 15:52:51 +0000 (16:52 +0100)
commitf3aab4c79283b34d80804d35eedd565206859b74
treef1b38e19a59157c909634360beade24b243cddc1
parent2ab8157726c651c44be4d2f3ba54157ce778a536
Replace neutron create security group full with shade.

Function create_security_group_full now uses shade client.

Remove openstack util's private 'get_security_groups',
'get_security_group_id' & 'create_security_group' functions as
'create_security_group_full' now uses 'get_security_group' &
'create_security_group' function defined in shade client library.

JIRA: YARDSTICK-890

Change-Id: Ibd5b9ca9b7ce99b3e40c5dcc545f2af672ce2203
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit c00e2c606806b46111b108818235d236ba409515)
yardstick/benchmark/scenarios/lib/create_sec_group.py
yardstick/common/exceptions.py
yardstick/common/openstack_utils.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_sec_group.py
yardstick/tests/unit/common/test_openstack_utils.py