blob: 75c24c51e5cad90f5300f139020a1ac32dc85d8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/python
from fence_testing import test_action
def main():
DRAC4 = "devices.d/dell-drac-4I.cfg"
ACT_STATUS = "actions.d/status.cfg"
ACT_ONOFF = "actions.d/power-on-off.cfg"
test_action(DRAC4, ACT_STATUS, "getopt")
test_action(DRAC4, ACT_ONOFF, "stdin")
if __name__ == "__main__":
main()
|