Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2022039
test-apc5.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
389 B
Referenced Files
None
Subscribers
None
test-apc5.py
View Options
#!/usr/bin/python
from
fence_testing
import
test_action
def
main
():
DEVICE
=
"devices.d/apc-v5.cfg"
ACT_STATUS
=
"actions.d/status.cfg"
ACT_ONOFF
=
"actions.d/power-on-off.cfg"
ACT_LIST
=
"actions.d/list.cfg"
test_action
(
DEVICE
,
ACT_STATUS
,
"getopt"
,
verbose
=
1
)
# test_action(DEVICE, ACT_ONOFF, "stdin")
test_action
(
DEVICE
,
ACT_LIST
,
"getopt"
)
if
__name__
==
"__main__"
:
main
()
File Metadata
Details
Attached
Mime Type
text/x-script.python
Expires
Mon, Dec 23, 10:19 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025604
Default Alt Text
test-apc5.py (389 B)
Attached To
Mode
rF Fence Agents
Attached
Detach File
Event Timeline
Log In to Comment