diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-09-05 12:46:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-05 12:46:28 +0000 |
commit | ddd9674fc7595788c58acdc564573cb228658b84 (patch) | |
tree | 05b6d149bf7f54c20b0738cbf302ba7f2609642d /core | |
parent | 8363f8c6387449186b5656af5a5fc44bedc906b1 (diff) | |
parent | 4ba781b2b5e1547d6d06e4526f7e12ecddd35dfb (diff) |
Merge "multi VM: Fix p2p deployment"
Diffstat (limited to 'core')
-rw-r--r-- | core/vnf_controller.py | 5 |
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) |