Commit graph

354 commits

Author SHA1 Message Date
Peter Sprygada
5dad16e914 Merge pull request #4501 from privateip/eos_command
add new functionality to eos_command module
2016-08-23 15:21:09 -04:00
Peter Sprygada
356888a3a3 add new functionality to eos_command module
* commands argument now accepts a dict arguments[1]
* 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

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
2016-08-23 09:23:00 -04:00
Peter Sprygada
577d34d163 update eos_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge, replace or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
2016-08-22 20:18:47 -04:00
Peter Sprygada
18e53bc804 fix example in nxos_command module 2016-08-22 16:42:12 -04:00
Peter Sprygada
7c4618d8c2 Merge pull request #4485 from privateip/nxos_config
update nxos_config with new arguments
2016-08-22 15:43:53 -04:00
Peter Sprygada
c23f57c0ef Merge pull request #4482 from privateip/ios_config
merge functions from ios into ios_config
2016-08-22 15:43:36 -04:00
Peter Sprygada
23f067a0ec Merge pull request #4484 from privateip/nxos_command
added new functionality to nxos_command
2016-08-22 15:43:26 -04:00
codyrat
50133f1ed6 re.match for numeric only for kwargs[key] = int(value) (#4495) 2016-08-22 15:00:33 -04:00
Peter Sprygada
85b0bbc5c0 added new functionality to nxos_command
* commands argument now accepts a dict arguments[1]
* 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

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
2016-08-22 14:01:06 -04:00
Peter Sprygada
9e241129fe Merge pull request #4481 from privateip/ios_facts
fixes issue with duplicated commands in CommandRunner
2016-08-22 12:33:29 -04:00
Peter Sprygada
4d79b7fa00 fixes issue with duplicated commands in CommandRunner
The CommandRunner will not allow duplicate commands to be added to the
command stack.  This fix will now catch the exception and continue if
a duplicate command is attempting to be added to the runner instance.
2016-08-22 11:58:36 -04:00
Peter Sprygada
2961087f26 added new functionality to ios_command
* commands argument now accepts a dict arguments[1]
* 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

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
2016-08-22 11:46:27 -04:00
Peter Sprygada
73352bb9a3 update nxos_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
2016-08-21 08:50:59 -04:00
Peter Sprygada
f6dab64bc5 merge functions from ios into ios_config
* merge changes from ios shared module functions into ios_config.
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or withoutdefaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
2016-08-20 08:11:20 -04:00
Jason Edelman
5dc29dbc8b added a period 2016-08-18 07:21:32 -04:00
Jason Edelman
d49d61784f make aliases a list in the docstring 2016-08-18 07:00:19 -04:00
Jason Edelman
164021a6a8 remove commented out code, add alias, and doc 2016-08-18 06:53:04 -04:00
Jason Edelman
c009fe7e66 updated version_added for new param 2016-08-17 19:43:32 -04:00
Jason Edelman
996a34fbf7 fixed error handling 2016-08-17 19:19:07 -04:00
Jason Edelman
b8f6e130ed fixed docs 2016-08-17 19:15:25 -04:00
Jason Edelman
160fd0126f improve functionality for vlan trunks based on #4082 2016-08-17 19:11:50 -04:00
Roman
78adaf2116 get_url headers param values parsing (#4245) 2016-08-10 23:49:58 +02:00
Peter Sprygada
3480561254 Merge pull request #4319 from gundalow/docs-cumulus
Cumulus - consistent docs formatting
2016-08-09 07:52:59 -04:00
Peter Sprygada
4c5ad987ce Merge pull request #4303 from gundalow/docs-eos
General EOS documentation improvements
2016-08-09 07:52:26 -04:00
Peter Sprygada
0bb0c1b2d8 Merge pull request #4323 from Qalthos/ios_config_bugfix
Fix ios_config broken logic
2016-08-09 07:38:38 -04:00
Peter Sprygada
1a71fff02b Merge pull request #4341 from gundalow/docs-vyos
vyos: Docs fixes
2016-08-09 07:38:08 -04:00
Peter Sprygada
3d37d5c835 Merge pull request #4338 from gundalow/docs-openswitch
openswitch: Docs fixes
2016-08-09 07:37:22 -04:00
Peter Sprygada
56a59824b2 Merge pull request #4336 from gundalow/docs-nxos
NXOS Docs update
2016-08-09 07:36:21 -04:00
Peter Sprygada
04b200059d Merge pull request #4326 from gundalow/docs-junos
junos: Docs update
2016-08-09 07:35:26 -04:00
Alvaro Aleman
12b579f92d Make ios_command example working 2016-08-08 14:42:39 +02:00
John R Barker
d05ed8e2d8 ios & iosxr Documentation improvements (#4321) 2016-08-05 19:26:09 -04:00
John R Barker
4148b74433 Update junos_config.py 2016-08-05 17:01:52 +01:00
John R Barker
5f02f54ff9 Update junos_config.py 2016-08-05 16:38:58 +01:00
John Barker
4d0f5cc3f5 vyos: Docs fixes 2016-08-05 15:14:04 +01:00
John Barker
d45a75bc01 openswitch: Docs fixes 2016-08-05 14:40:52 +01:00
John Barker
d319328d03 NXOS Docs update 2016-08-05 13:01:13 +01:00
John Barker
bd08631e58 junos: Docs update 2016-08-04 17:16:38 +01:00
Nathaniel Case
8bb4b9818c Fix ios_config broken logic 2016-08-04 11:24:28 -04:00
John Barker
5599ab14f6 Cumulus - consistent docs formatting 2016-08-04 12:18:06 +01:00
Nathaniel Case
104d753730 Quick fix to nxos_command and minify imports 2016-08-03 18:06:33 -04:00
John R Barker
4ebcdf3efd Merge pull request #4115 from bordeltabernacle/fix/network_module_typos
Fix/network module typos
2016-08-03 10:15:05 -07:00
Kevin Kirsche
9a369b3f1f Update junos_config.py 2016-08-02 17:35:02 -04:00
Kevin Kirsche
9f8bc0158c Fix typo in "ssantaize" typo
ssantaize to santaize
2016-08-02 17:32:52 -04:00
John Barker
79c55534fc General EOS documentation improvements
Typos, formatting, choices.
2016-08-02 21:46:08 +01:00
John R Barker
280522914c State runnng v running
Fix typo
2016-08-02 18:20:13 +01:00
Rob Phoenix
aedf21b285 various typo corrections to ios network modules 2016-07-27 09:14:06 +01:00
Peter Sprygada
3d65c82d7c Merge pull request #4196 from privateip/ios_config
adds update_config argument to ios_config
2016-07-15 18:03:25 -04:00
Peter Sprygada
fb3916f002 adds update_config argument to ios_config
New argument controls whether or not configuration is applied to the
remote device.
2016-07-15 17:56:34 -04:00
Peter Sprygada
fe76a74e8c initial add of new module vyos_config
New module for sending configuration commands to remote devices running
the VyOS operating system.
2016-07-15 16:11:44 -04:00
Peter Sprygada
800bd92026 Merge pull request #4187 from privateip/vyos_facts
WIP initial add of new module vyos_facts
2016-07-15 05:25:53 -07:00