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
14 from __future__ import absolute_import
18 from yardstick.benchmark.scenarios.networking import vtc_throughput
21 class VtcThroughputTestCase(unittest.TestCase):
25 scenario['options'] = dict()
26 scenario['options']['default_net_name'] = ''
27 scenario['options']['default_subnet_name'] = ''
28 scenario['options']['vlan_net_1_name'] = ''
29 scenario['options']['vlan_subnet_1_name'] = ''
30 scenario['options']['vlan_net_2_name'] = ''
31 scenario['options']['vlan_subnet_2_name'] = ''
32 scenario['options']['vnic_type'] = ''
33 scenario['options']['vtc_flavor'] = ''
34 scenario['options']['packet_size'] = ''
35 scenario['options']['vlan_sender'] = ''
36 scenario['options']['vlan_receiver'] = ''
38 self.vt = vtc_throughput.VtcThroughput(scenario, '')
40 def test_run_for_success(self):
48 if __name__ == '__main__':