Commit Graph

8 Commits (b76b3de28ef810fc09ada4e4ac76ec8f4caa68d7)

Author SHA1 Message Date
Peter Sprygada 256730e997 add new functionality to junos_command module
* commands argument now accepts a dict arguments
* rpcs argument now accepts a dict argument
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
9 years ago
codyrat 50133f1ed6 re.match for numeric only for kwargs[key] = int(value) (#4495) 9 years ago
John Barker bd08631e58 junos: Docs update 10 years ago
Michael Scherer cc99fe24fc Convert the network subfolder to py3/py2.4 syntax (#3690) 10 years ago
Peter Sprygada 2d9c3c02e5 fixes docstring format in junos_command 10 years ago
Peter Sprygada 8c63a02cc8 add support to junos_command module for netconf transport
This adds support for using netconf to the junos_command option and removes
the use of cli as a transport
10 years ago
Peter Sprygada af40116e23 update junos_command module return values
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
10 years ago
Peter Sprygada 8c46a08379 initial add of junos_command module
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices.   The junos_command module is implemented
over a cli transport
10 years ago