diff options
author | yayogev <yaronyogev@gmail.com> | 2017-08-11 00:35:14 +0300 |
---|---|---|
committer | yayogev <yaronyogev@gmail.com> | 2017-08-11 00:35:14 +0300 |
commit | 9d51c29acfb81ae16c72a1675d7b021d032dbdfb (patch) | |
tree | a815ba52d062fb37c33e6ac99cfb3a6ae11a514a /app/monitoring | |
parent | 2414c92d87a4b807d8480328681ef066ba08e305 (diff) |
US2853 rename pnic to host_pnic & switch_pnic
fixed clique finder to work with switch-switch link type
Change-Id: I4f815f77e6b4ea36669dfb58bb5f5e914fe3e1ac
Signed-off-by: yayogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/monitoring')
-rw-r--r-- | app/monitoring/setup/monitoring_pnic.py | 3 | ||||
-rw-r--r-- | app/monitoring/setup/monitoring_setup_manager.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/monitoring/setup/monitoring_pnic.py b/app/monitoring/setup/monitoring_pnic.py index d64c8ff..fdc1c94 100644 --- a/app/monitoring/setup/monitoring_pnic.py +++ b/app/monitoring/setup/monitoring_pnic.py @@ -17,5 +17,4 @@ class MonitoringPnic(MonitoringSimpleObject): # add monitoring setup for remote host def create_setup(self, o): - if o.get("pnic_type") != "switch": - self.setup('pnic', o) + self.setup('host_pnic', o) diff --git a/app/monitoring/setup/monitoring_setup_manager.py b/app/monitoring/setup/monitoring_setup_manager.py index d6ada33..9faf5b8 100644 --- a/app/monitoring/setup/monitoring_setup_manager.py +++ b/app/monitoring/setup/monitoring_setup_manager.py @@ -30,7 +30,7 @@ class MonitoringSetupManager(MonitoringHandler): "host": MonitoringHost(env), "otep": MonitoringOtep(env), "vedge": MonitoringVedge(env), - "pnic": MonitoringPnic(env), + "host_pnic": MonitoringPnic(env), "vnic": MonitoringVnic(env), "vservice": MonitoringVservice(env), "vnic-vconnector": MonitoringLinkVnicVconnector(env)} |