def __reset_ipmi_obmsettings(self):
     obm_setting = obmSettings()
     for node in self.__nodes:
         obmSettings()._set_ipmi(node['id'])
 def __reset_ipmi_obmsettings(self):
     for node in self.__get_used_nodes():
         obmSettings()._set_ipmi(node['id'])
 def __reset_ipmi_obmsettings(self):
     obm_setting = obmSettings()
     for node in self.__nodes:
         obmSettings()._set_ipmi(node['id'])
Beispiel #4
0
 def test_setup_snmp_obm_api2(self):
     # """ Setup SNMP OBM settings with PATCH:/nodes """
     self.assertEqual(len(obmSettings().setup_nodes(service_type='snmp-obm-service')), 0)
Beispiel #5
0
 def test_check_snmp_obm_settings(self):
     # """ Checking SNMP OBM settings GET:/nodes """
     self.assertEqual(len(obmSettings().check_nodes(service_type='snmp-obm-service')), 0,
                      msg='There are missing SNMP OBM settings!')
Beispiel #6
0
 def test_setup_ipmi_obm_api2(self):
     # """ Setup IPMI OBM settings with PATCH:/nodes """
     self.assertEqual(len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)
Beispiel #7
0
 def test_check_ipmi_obm_api2_settings(self):
     # """ Checking IPMI OBM settings GET:/nodes """
     self.assertEqual(len(obmSettings().check_nodes(service_type='ipmi-obm-service')), 0,
                      msg='There are missing IPMI OBM settings!')
Beispiel #8
0
 def check_snmp_obm_settings(self):
     """ Checking SNMP OBM settings GET:/nodes """
     assert_not_equal(len(
         obmSettings().check_nodes(service_type='snmp-obm-service')),
                      0,
                      message='there are missing SNMP OBM settings!')
 def __reset_ipmi_obmsettings(self):
     for node in self.__get_used_nodes():
         obmSettings()._set_ipmi(node['id'])
Beispiel #10
0
 def check_ipmi_obm_settings(self):
     """ Checking IPMI OBM settings GET:/nodes """
     assert_equal(len(
         obmSettings().check_nodes(service_type='ipmi-obm-service')),
                  0,
                  message='there are missing IPMI OBM settings!')
Beispiel #11
0
 def setup_snmp_obm(self):
     """ Setup SNMP OBM settings with PATCH:/nodes """
     assert_equal(
         len(obmSettings().setup_nodes(service_type='snmp-obm-service')), 0)
Beispiel #12
0
 def setup_ipmi_obm(self):
     """ Setup IPMI OBM settings with PATCH:/nodes """
     assert_equal(
         len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)
Beispiel #13
0
 def check_snmp_obm_settings(self):
     """ Checking SNMP OBM settings GET:/nodes """
     assert_not_equal(len(obmSettings().check_nodes(service_type='snmp-obm-service')), 0,
             message='there are missing SNMP OBM settings!')
Beispiel #14
0
 def setup_snmp_obm(self):
     """ Setup SNMP OBM settings with PATCH:/nodes """
     assert_equal(len(obmSettings().setup_nodes(service_type='snmp-obm-service')), 0)
Beispiel #15
0
 def check_ipmi_obm_settings(self):
     """ Checking IPMI OBM settings GET:/nodes """
     assert_equal(len(obmSettings().check_nodes(service_type='ipmi-obm-service')), 0, 
             message='there are missing IPMI OBM settings!')
Beispiel #16
0
 def setup_ipmi_obm(self):
     """ Setup IPMI OBM settings with PATCH:/nodes """
     assert_equal(len(obmSettings().setup_nodes(service_type='ipmi-obm-service')), 0)