Code Review
/
vswitchperf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add a simple performance test that sends a continuous stream
[vswitchperf.git]
/
core
/
component_factory.py
diff --git
a/core/component_factory.py
b/core/component_factory.py
index
eb963d6
..
c101f5d
100644
(file)
--- a/
core/component_factory.py
+++ b/
core/component_factory.py
@@
-38,14
+38,13
@@
def create_traffic(traffic_type, trafficgen_class):
traffic_types: 'rfc2544_throughput'
traffic_types: 'rfc2544_throughput'
- :param traffic_type: Name of traffic type
+ :param traffic_type: Name of traffic type
:param trafficgen_class: Reference to traffic generator class to be used.
:return: A new ITrafficController
"""
:param trafficgen_class: Reference to traffic generator class to be used.
:return: A new ITrafficController
"""
- #TODO - full mapping from all traffic_types to
- #correct controller class
return TrafficControllerRFC2544(trafficgen_class)
return TrafficControllerRFC2544(trafficgen_class)
+
def create_vswitch(deployment_scenario, vswitch_class):
"""Return a new IVSwitchController for the deployment_scenario.
def create_vswitch(deployment_scenario, vswitch_class):
"""Return a new IVSwitchController for the deployment_scenario.