diff options
Diffstat (limited to 'core/component_factory.py')
-rw-r--r-- | core/component_factory.py | 2 |
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)) |