Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 394 Bytes

README.md

File metadata and controls

24 lines (12 loc) · 394 Bytes

xmd

simple wrapper to run local/remote unix/windows command in same interface

#How to use

Remote:

factory=RemoteFactory(is_local, is_win, hostname=, username, password)

Local:

factory=LocalFactory(is_local, is_win, hostname, username, password)

connector=Commander(factory)

connector.run(['ifconfig'])

print connector.out_put

print connector.command

print connector.status_code