3 ##############################################################################
4 # Copyright (c) 2015 Ericsson AB and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Apache License, Version 2.0
8 # which accompanies this distribution, and is available at
9 # http://www.apache.org/licenses/LICENSE-2.0
10 ##############################################################################
12 # Unittest for yardstick.benchmark.scenarios.networking.iperf3.Iperf
17 from yardstick.benchmark.scenarios.networking import vtc_instantiation_validation_noisy
20 class VtcInstantiationValidationiNoisyTestCase(unittest.TestCase):
24 scenario['options'] = dict()
25 scenario['options']['default_net_name'] = ''
26 scenario['options']['default_subnet_name'] = ''
27 scenario['options']['vlan_net_1_name'] = ''
28 scenario['options']['vlan_subnet_1_name'] = ''
29 scenario['options']['vlan_net_2_name'] = ''
30 scenario['options']['vlan_subnet_2_name'] = ''
31 scenario['options']['vnic_type'] = ''
32 scenario['options']['vtc_flavor'] = ''
33 scenario['options']['packet_size'] = ''
34 scenario['options']['vlan_sender'] = ''
35 scenario['options']['vlan_receiver'] = ''
36 scenario['options']['num_of_neighbours'] = '1'
37 scenario['options']['amount_of_ram'] = '1G'
38 scenario['options']['number_of_cores'] = '1'
40 self.vt = vtc_instantiation_validation_noisy.VtcInstantiationValidationNoisy(scenario, '')
42 def test_run_for_success(self):
50 if __name__ == '__main__':