summaryrefslogtreecommitdiffstats
path: root/baro_tests/collectd.py
diff options
context:
space:
mode:
authorSharada Shiddibhavi <sharada.shiddibhavi@intel.com>2017-09-20 11:33:46 +0000
committerSharada Shiddibhavi <sharada.shiddibhavi@intel.com>2017-09-21 19:45:05 +0000
commit4a173083f549e8a30292b9af9b33b7d7a4efece0 (patch)
treefb9d338d6b4b02b9b071e33b9b3ffd8572234098 /baro_tests/collectd.py
parente58011611ccaa6ddce6f84cb0dc2b613b8545ffb (diff)
Adding improvements to SNMP testcases
This patch contains improvements to testcases for Hugepages, Intel_RDT and mcelog verification using SNMP Change-Id: I3451e0acd9c791e6145bb15e7ba8f3525bc0f0e8 Signed-off-by: Sharada Shiddibhavi <sharada.shiddibhavi@intel.com> (cherry picked from commit b104e2981f0b0ec19f109e220cddc76d97d0ed1a)
Diffstat (limited to 'baro_tests/collectd.py')
-rw-r--r--baro_tests/collectd.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/baro_tests/collectd.py b/baro_tests/collectd.py
index b9ea5acd..4a7aacbd 100644
--- a/baro_tests/collectd.py
+++ b/baro_tests/collectd.py
@@ -323,14 +323,14 @@ def _print_final_result_of_plugin(
elif (id, out_plugin, plugin, False) in results:
print_line += ' FAIL |'
else:
- print_line += ' NOT EX |'
+ print_line += ' FAIL |'
elif out_plugin == 'SNMP':
if (id, out_plugin, plugin, True) in results:
print_line += ' PASS |'
elif (id, out_plugin, plugin, False) in results:
print_line += ' FAIL |'
else:
- print_line += ' NOT EX |'
+ print_line += ' FAIL |'
elif out_plugin == 'CSV':
if (id, out_plugin, plugin, True) in results:
print_line += ' PASS |'
@@ -608,6 +608,7 @@ def create_ovs_bridge():
APEX_USER_STACK,
APEX_PKEY)
nodes = handler.get_nodes()
+ logger.info("Creating OVS bridges on computes nodes")
for node in nodes:
if node.is_compute():
node.run_cmd('sudo ovs-vsctl add-br br0')
@@ -617,7 +618,7 @@ def create_ovs_bridge():
def mcelog_install():
"""Install mcelog on compute nodes."""
- _print_label('Enabling mcelog on compute nodes')
+ _print_label('Enabling mcelog and OVS bridges on compute nodes')
handler = factory.Factory.get_handler('apex',
APEX_IP,
APEX_USER_STACK,
@@ -773,8 +774,7 @@ def main(bt_logger=None):
compute_node))
aodh_running = (
aodh_running and conf.check_aodh_plugin_included(compute_node))
- # snmp_running = (
- # snmp_running or conf.check_snmp_plugin_included(compute_node))
+ logger.info("SNMP enabled on {}" .format(node_name))
if gnocchi_running:
out_plugins[node_id].append("Gnocchi")
if aodh_running: