GGabriele
882f201aa0
Fixing DOC
2016-12-08 11:24:56 -05:00
GGabriele
2b2636510d
Adding nxos_bgp.py
2016-12-08 11:24:55 -05:00
Peter Sprygada
7280b2642a
update nxos_nxapi module with minor enhancements ( #4573 )
...
* added new config argument
* added states present and absent
* update to use network shared modules
Tested on NXOS 7.3(0)D1(1)
2016-12-08 11:24:55 -05:00
Peter Sprygada
66b0a1ef2d
convert nxos_facts map from dict to frozenset
...
* key maps are now frozenset instead of dict objects
* FactsBase now includes utility functions for transforming json data structures
Tested on NXOS 7.3(0)D1(1)
2016-12-08 11:24:54 -05:00
Peter Sprygada
d0a98bc433
update nxos_template module with network shared module changes
...
This updates the nxos_template module to work with the network shared
modules introduced in Ansible 2.2
Tested on NXOS 7.3(0)D1(1)
2016-12-08 11:24:54 -05:00
Jason Edelman
3b83e676e6
removed feature check for nxos_interface
2016-12-08 11:24:53 -05:00
Peter Sprygada
751eab187f
updates nxos_facts with more fact collections
...
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset
* maintains backwards capabilitity with 2.1 facts module
Tested on NXOS 7.3(0)D1(1)
2016-12-08 11:24:53 -05:00
Peter Sprygada
12fc073f91
fix example in nxos_command module
2016-12-08 11:24:52 -05:00
Peter Sprygada
e09cfec2e9
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-12-08 11:24:51 -05:00
Peter Sprygada
543ec0f14e
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-12-08 11:24:51 -05:00
Jason Edelman
4f09d6065f
added a period
2016-12-08 11:24:51 -05:00
Jason Edelman
56d8146495
make aliases a list in the docstring
2016-12-08 11:24:51 -05:00
Jason Edelman
47164d70d3
remove commented out code, add alias, and doc
2016-12-08 11:24:51 -05:00
Jason Edelman
b8ff21fb07
updated version_added for new param
2016-12-08 11:24:51 -05:00
Jason Edelman
5d033241af
fixed error handling
2016-12-08 11:24:51 -05:00
Jason Edelman
5640711166
fixed docs
2016-12-08 11:24:51 -05:00
Jason Edelman
995083c0d9
improve functionality for vlan trunks based on #4082
2016-12-08 11:24:51 -05:00
John Barker
3f8f67e359
NXOS Docs update
2016-12-08 11:24:48 -05:00
Nathaniel Case
6857cea9e6
Quick fix to nxos_command and minify imports
2016-12-08 11:24:47 -05:00
Gabriele
1977b42956
Fixing bug, added missing param ( #3737 )
2016-12-08 11:24:31 -05:00
Michael Scherer
c0217e14a7
Convert the network subfolder to py3/py2.4 syntax ( #3690 )
2016-12-08 11:24:29 -05:00
Johannes Meixner
af634ff5c7
network/*/*_config.py: Correct typo.
...
- Replace syntanx with syntax in all things network.
2016-12-08 11:24:27 -05:00
jedelman8
28db5b7dd1
add nxos_interface
2016-12-08 11:24:24 -05:00
Nathaniel Case
75dbe9f1e8
Remove unnecessary exception from nxos_command ( #3521 )
2016-12-08 11:24:23 -05:00
GGabriele
b375f61d2b
Fixed doc
2016-12-08 11:24:22 -05:00
GGabriele
9aeaa70e32
Changed module name to nxos_facts
2016-12-08 11:24:22 -05:00
GGabriele
693f7c938e
Fixing bugs
2016-12-08 11:24:22 -05:00
GGabriele
84ecc21677
Adding nxos_ip_interface
2016-12-08 11:24:22 -05:00
GGabriele
02744e7cab
Adding nxos_vrrp
2016-12-08 11:24:22 -05:00
GGabriele
f4fd69bcff
Adding nxos_ping
2016-12-08 11:24:22 -05:00
jedelman8
be91a5622a
fix index for portchannel
2016-12-08 11:24:22 -05:00
GGabriele
10238bbb06
fix conditional for py24
2016-12-08 11:24:22 -05:00
jedelman8
cda210c3f9
fix docstring
2016-12-08 11:24:22 -05:00
jedelman8
ad9ede5d4c
force travis build
2016-12-08 11:24:21 -05:00
jedelman8
89aabffee8
minor test
2016-12-08 11:24:21 -05:00
jedelman8
01b8f7db5e
update return doc string
2016-12-08 11:24:21 -05:00
GGabriele
66eea14df2
Fixed RETURN string
2016-12-08 11:24:21 -05:00
GGabriele
0798968596
Fixed RETURN string and added notes
2016-12-08 11:24:21 -05:00
GGabriele
97577df048
Fixing nxos_vrf
2016-12-08 11:24:21 -05:00
GGabriele
62b0b48f58
Adding nxos_vrf_interface
2016-12-08 11:24:21 -05:00
GGabriele
2c43f6b35c
Adding nxos_vrf
2016-12-08 11:24:21 -05:00
GGabriele
b4d69262ed
Adding nxos_get_facts
2016-12-08 11:24:21 -05:00
GGabriele
95992b91bd
Addng nxos_feature
2016-12-08 11:24:21 -05:00
jedelman8
6ae109630e
add nxos_vlan
2016-12-08 11:24:21 -05:00
jedelman8
5ef3a6430a
add nxos_switchport
2016-12-08 11:24:21 -05:00
Patrick Ogenstad
d4d86b4bc6
Fix documentation example, missing ")"
2016-12-08 11:24:18 -05:00
John Barker
d531eb146d
Replace BOOLEANS with true/false
2016-12-08 11:24:17 -05:00
Peter Sprygada
834bc225c9
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-12-08 11:24:15 -05:00
Peter Sprygada
5a61909b4a
refactors nxos_config and removes diff functions
...
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
2016-12-08 11:24:15 -05:00
Peter Sprygada
19119a2759
cleans up nxos_command and adds some additonal info on exception
...
This cleans up some of the nxos_command module code function names to
be more consistent and adds additional information of failures
2016-12-08 11:24:15 -05:00