NFP - Added periodic HM functionality

Adds support for periodic health monitor. When a service vm is launched,
Health monitor identifies health of the service VM and notifies the
status to under the cloud NFP orchestrator.

Change-Id: I416e6287a0e0155be69fe7f83a4ea9e6dd62f671
Co-Authored-By: ashutosh mishra <mca.ashu4@gmail.com>
Closes-Bug: 1654254
This commit is contained in:
Shishir Kumar Singh
2017-01-06 17:25:08 +05:30
committed by Mahesh Kurund
parent 811fcbb6e2
commit dcfcef56c0
12 changed files with 260 additions and 65 deletions

View File

@@ -341,7 +341,8 @@ class DeviceOrchestratorTestCase(unittest.TestCase):
'key': self.event.key}
orig_event_data['tenant_id'] = self.event.data[
'resource_owner_context']['admin_tenant_id']
ndo_handler.perform_health_check(self.event)
orig_event_data['periodicity'] = 'initial'
ndo_handler.perform_initial_health_check(self.event)
ndo_handler.configurator_rpc.create_network_function_device_config.\
assert_called_with(orig_event_data, param_req)