def delete_untracked_security_groups(): openstack_sfc = os_sfc_utils.OpenStackSFC() openstack_sfc.delete_all_security_groups()
import sfc.lib.openstack_utils as os_sfc_utils import sfc.lib.topology_shuffler as topo_shuffler from opnfv.utils import ovs_logger as ovs_log from opnfv.deployment.factory import Factory as DeploymentFactory from sfc.lib import config as sfc_config from sfc.lib import odl_utils as odl_utils from sfc.lib.results import Results # Disable InsecureRequestWarning errors when executing the SFC tests in XCI urllib3.disable_warnings() logger = logging.getLogger(__name__) CLIENT = "client" SERVER = "server" openstack_sfc = os_sfc_utils.OpenStackSFC() COMMON_CONFIG = sfc_config.CommonConfig() results = Results(COMMON_CONFIG.line_length) class SfcCommonTestCase(object): def __init__(self, testcase_config, supported_installers, vnfs): self.compute_nodes = None self.controller_clients = None self.compute_clients = None self.tacker_client = None self.ovs_logger = None self.network = None self.router = None