aboutsummaryrefslogtreecommitdiffstats
path: root/core/component_factory.py
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-06-26 18:42:33 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-06-28 15:30:27 +0530
commit27999d960e8849ef3d689e405a5aa5cb7fe7f6b6 (patch)
treef23ef17fc75df3d87064470bd220f22913185d7c /core/component_factory.py
parentd5c0a03054f720da2a5ff9eba74feee57fb0296d (diff)
BUGFIXES: From Kali pre-release testing.
Multiple bug-fixes from thorough testing. More fixes added. Fix for Non-BLocking Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Idd2fb214ab6dc4eba8a834ab13ecaa29ff09445e
Diffstat (limited to 'core/component_factory.py')
-rw-r--r--core/component_factory.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/component_factory.py b/core/component_factory.py
index f13bfb5b..618c7f5a 100644
--- a/core/component_factory.py
+++ b/core/component_factory.py
@@ -81,6 +81,8 @@ def create_vswitch(deployment_scenario, vswitch_class, traffic,
return VswitchControllerPtunP(deployment, vswitch_class, traffic)
elif deployment.startswith("clean"):
return VswitchControllerClean(deployment, vswitch_class, traffic)
+ elif deployment.startswith("pc"):
+ return VswitchControllerP2P(deployment, vswitch_class, traffic)
else:
raise RuntimeError("Unknown deployment scenario '{}'.".format(deployment))