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