The tacker.vnfm.monitor_drivers.abstract_driver Module

class tacker.vnfm.monitor_drivers.abstract_driver.VNFMonitorAbstractDriver

Bases: tacker.api.extensions.PluginInterface

get_description()

Return description of VNF Monitor plugin.

get_name()

Return a symbolic name for the VNF Monitor plugin.

get_type()

Return one of predefined type of the hosting vnf drivers.

monitor_call(vnf, kwargs)

Monitor.

Return boolean value True if VNF is healthy or return an event string like ‘failure’ or ‘calls-capacity-reached’ for specific VNF health condition.

Parameters:
  • vnf
  • kwargs
Returns:

boolean

Returns:

True if VNF is healthy

monitor_get_config(plugin, context, vnf)

Return dict of monitor configuration data.

Parameters:
  • plugin
  • context
  • vnf
Returns:

dict

Returns:

dict of monitor configuration data

monitor_service_driver(plugin, context, vnf, service_instance)
monitor_url(plugin, context, vnf)

Return the url of vnf to monitor.

Parameters:
  • plugin
  • context
  • vnf
Returns:

string

Returns:

url of vnf to monitor