Esempio n. 1
0
 def setUp(self):
     if not lldptool.is_lldpad_service_running():
         raise SkipTest('LLDPAD service is not running.')
Esempio n. 2
0
def lldpad_service():
    requires_systemctl()
    if not lldptool.is_lldpad_service_running():
        pytest.skip('LLDPAD service is not running.')
Esempio n. 3
0
 def is_active():
     return (lldptool.is_lldpad_service_running()
             and lldptool.is_lldptool_functional())
Esempio n. 4
0
File: lldpad.py Progetto: nirs/vdsm
 def is_active():
     return (lldptool.is_lldpad_service_running() and
             lldptool.is_lldptool_functional())
Esempio n. 5
0
def lldpad_service():
    if not lldptool.is_lldpad_service_running():
        pytest.skip('LLDPAD service is not running.')
Esempio n. 6
0
 def is_active():
     return lldptool.is_lldpad_service_running()
Esempio n. 7
0
 def setUp(self):
     if not lldptool.is_lldpad_service_running():
         raise SkipTest('LLDPAD service is not running.')