Merge "Use the dedicated virtual IP for Nagios UI"
This commit is contained in:
commit
5517dcbada
@ -38,7 +38,11 @@ class InfraAlertingPluginApi(base_test.PluginApi):
|
||||
self.settings.name, self.settings.version, options)
|
||||
|
||||
def get_plugin_vip(self):
|
||||
return self.helpers.get_plugin_vip(self.settings.vip_name)
|
||||
try:
|
||||
return self.helpers.get_plugin_vip(
|
||||
'infrastructure_alerting_mgmt_vip')
|
||||
except Exception:
|
||||
return self.helpers.get_plugin_vip(self.settings.vip_name)
|
||||
|
||||
def check_plugin_online(self):
|
||||
logger.info("Check that the Nagios server is running")
|
||||
|
@ -17,7 +17,7 @@ from stacklight_tests import settings
|
||||
|
||||
name = 'lma_infrastructure_alerting'
|
||||
role_name = ['infrastructure_alerting']
|
||||
vip_name = 'infrastructure_alerting_mgmt_vip'
|
||||
vip_name = 'infrastructure_alerting_ui'
|
||||
plugin_path = settings.LMA_INFRA_ALERTING_PLUGIN_PATH
|
||||
version = helpers.get_plugin_version(plugin_path)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user