diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py index 633c83b..45dc4d8 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_qos.py @@ -1007,12 +1007,6 @@ class QosTestExternalNetwork(QosBaseTest): def setUp(self): super(QosTestExternalNetwork, self).setUp() self.ensure_external_network_is_shared() - ext_vm = self._create_server( - network=self.external_network, - create_floating_ip=False) - self.ext_vm_ssh_client = ssh.Client( - ext_vm['port']['fixed_ips'][0]['ip_address'], self.username, - pkey=self.keypair['private_key']) @testtools.skipUnless( CONF.compute.min_compute_nodes > 1, @@ -1032,37 +1026,6 @@ class QosTestExternalNetwork(QosBaseTest): self._test_both_bwlimit_dscp( vms, max_kbps, dscp_mark, CONF.network.public_network_id) - LOG.debug('testing BW limit from a VM instances connected to the ' - 'external network (receiver) to an Ext VM') - # we need to test ingress from the Ext VM PoV because the BW limit - # egress rule is associated to the receiver VM instance - self._validate_bw_limit({'ssh_client': self.ext_vm_ssh_client}, - vms['receiver'], egress=False, - bw_limit=max_kbps * 1000, - protocol=constants.PROTO_NAME_TCP) - - server_port = self.client.list_ports( - device_id=vms['receiver']['id'])['ports'][0] - server_ip = server_port['fixed_ips'][0]['ip_address'] - LOG.debug('testing DSCP mark from the test device (undercloud) to ' - 'a VM instance connected to the external network') - # undercloud's interface towards the receiver IP - interface = utils.get_route_interface( - self.ext_vm_ssh_client, server_ip) - # tcpdump filter to capture marked ping reply - filtrs = '"(ip and (ip[1] & 0xfc) >> 2 == {}) and src host {}"'.format( - dscp_mark, server_ip) - remote_capture = capture.TcpdumpCapture( - self.ext_vm_ssh_client, interface, filtrs) - self.useFixture(remote_capture) - time.sleep(10) - self.check_remote_connectivity( - self.ext_vm_ssh_client, server_ip, ping_count=1) - time.sleep(5) - remote_capture.stop() - msg = 'Not found packets with expected DSCP value' - self.assertFalse(remote_capture.is_empty(), msg) - class QosTestSriovBaseTest(QosBaseTest):