summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vnf_controller.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/vnf_controller.py b/core/vnf_controller.py
index 29700661..3e472f04 100644
--- a/core/vnf_controller.py
+++ b/core/vnf_controller.py
@@ -53,8 +53,9 @@ class VnfController(object):
else:
vm_number = 2
else:
- raise RuntimeError('Deployment {} is not supported by '
- 'VnfController.'.format(self._deployment))
+ # VnfController is created for all deployments, including deployments
+ # without VNFs like p2p
+ vm_number = 0
if vm_number:
self._logger.debug('Check configuration for %s guests.', vm_number)