Build VPP startup configuration file
[yardstick.git] / yardstick / network_services / traffic_profile / fixed.py
index a456c2b..b7cd037 100644 (file)
 from __future__ import absolute_import
 
 from yardstick.network_services.traffic_profile.base import TrafficProfile
-from stl.trex_stl_lib.trex_stl_streams import STLTXCont
-from stl.trex_stl_lib.trex_stl_client import STLStream
-from stl.trex_stl_lib.trex_stl_packet_builder_scapy import STLPktBuilder
-from stl.trex_stl_lib import api as Pkt
+from trex_stl_lib.trex_stl_streams import STLTXCont
+from trex_stl_lib.trex_stl_client import STLStream
+from trex_stl_lib.trex_stl_packet_builder_scapy import STLPktBuilder
+from trex_stl_lib import api as Pkt
 
 
 class FixedProfile(TrafficProfile):
@@ -43,7 +43,8 @@ class FixedProfile(TrafficProfile):
                     self._create_stream(src_ip, dst_ip),
                     ports=[ports])
 
-            traffic_generator.client.start(ports=traffic_generator.my_ports)
+            traffic_generator.client.start(ports=traffic_generator.my_ports,
+                                           force=True)
             self.first_run = False
 
     def _create_stream(self, src_ip, dst_ip):