tacker.vnfm.monitor_drivers.ping.ping module¶
-
class
tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing¶ Bases:
tacker.vnfm.monitor_drivers.abstract_driver.VNFMonitorAbstractDriver-
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(**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_url(plugin, context, vnf)¶ Return the url of vnf to monitor.
- Parameters
plugin –
context –
vnf –
- Returns
string
- Returns
url of vnf to monitor
-
-
tacker.vnfm.monitor_drivers.ping.ping.config_opts()¶