rootfs / node-fencing

Apache License 2.0
5 stars 6 forks source link

implement wrappers for agents #11

Open bronhaim opened 6 years ago

bronhaim commented 6 years ago

implement wrappers to run agents as scripts by executor job. the following are list of desired agents:

bronhaim commented 6 years ago

Current implementation uses hard-coded implementations in fence-scripts folder, in agent.go we define map entry for each agent script. This map should be loaded dynamically from specific path /usr/libexec/fence-agents/. all fence scripts should be copied to this dir for executor pod\job. when executor starts it loads all scripts and create agents map.