Merge "BugFIX: NSB-setup build script fix for BM"
[yardstick.git] / yardstick / network_services / traffic_profile / base.py
index 9064985..ad256b4 100644 (file)
@@ -22,6 +22,8 @@ class TrafficProfile(object):
     This class defines the behavior
 
     """
+    UPLINK = "uplink"
+    DOWNLINK = "downlink"
 
     @staticmethod
     def get(tp_config):
@@ -44,7 +46,7 @@ class TrafficProfile(object):
         # IMIX = {"10K": 0.1, "100M": 0.5}
         self.params = tp_config
 
-    def execute(self, traffic_generator):
+    def execute_traffic(self, traffic_generator):
         """ This methods defines the behavior of the traffic generator.
         It will be called in a loop until the traffic generator exits.