summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMartin Klozik <martinx.klozik@intel.com>2016-09-05 12:46:28 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-05 12:46:28 +0000
commitddd9674fc7595788c58acdc564573cb228658b84 (patch)
tree05b6d149bf7f54c20b0738cbf302ba7f2609642d /core
parent8363f8c6387449186b5656af5a5fc44bedc906b1 (diff)
parent4ba781b2b5e1547d6d06e4526f7e12ecddd35dfb (diff)
Merge "multi VM: Fix p2p deployment"
Diffstat (limited to 'core')
-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)