A device control agent based on Python gevent aims at control multiple types of remote network devices in a uniform way
Deploy all the python files on both master and agent ends.
- start master.py, agent.py on each end respectively
- Use cfg_cmd(self, ip, command) to configure command mapping on master
- Use exec_cmd(self, abs_cmd, identity, protocol) or exec_script(self, script_name) to execute a specific command or script remotely on agent
- Get execution result from agent which is actuall from the corresponding network device
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
08/21/2015: First version released. Support command configuration, comamnd and script translation, comamnd and script execution