GGabriele
c6c0ff42ed
Fix error handling
8 years ago
GGabriele
47ce78de3e
Adding nxos_smu
8 years ago
GGabriele
b55a2e49e2
Adding nxos_portchannel
8 years ago
GGabriele
ffa9064c01
Adding nxos_pim_rp_address
8 years ago
GGabriele
689a117257
Adding nxos_pim module
8 years ago
GGabriele
7e78c5aad7
Fixing module description
8 years ago
GGabriele
9cf9e61da4
Addin nxos_overlay_global
8 years ago
GGabriele
28e3e30d41
Adding nxos_interface_ospf
8 years ago
GGabriele
cb9f28c0d6
Fix error handling
8 years ago
GGabriele
ffb613febe
Adding nxos_hsrp
8 years ago
GGabriele
d92d1feeaa
Fix typo
8 years ago
GGabriele
53121eb647
Fix try/except
8 years ago
GGabriele
0f606122bc
Fix error handling
8 years ago
GGabriele
3b266bf1e2
Adding nxos_file_copy
8 years ago
GGabriele
90cd9485ec
Adding nxos_evpn_vni
8 years ago
GGabriele
1f3d7681e2
Fixed DOCSTRING
8 years ago
GGabriele
bb9d8c6385
Adding nxos_bgp_neighbor_af module
8 years ago
GGabriele
fc527220a8
Adding nxos_bgp_neighbor module
8 years ago
GGabriele
0b7038d65b
Fixing DOCSTRING yaml format
8 years ago
GGabriele
710962824e
Fixing DOCSTRING yaml format
8 years ago
GGabriele
687c2198d0
Fixing DOCSTRING
8 years ago
GGabriele
5ba6a45d65
Adding nxos_bgp_af module
8 years ago
GGabriele
00f6276eaf
Adding python object for 2.1 support
8 years ago
GGabriele
4b20a89739
Adding python object for 2.1 support
8 years ago
GGabriele
1c48fe9bc3
Adding python object for 2.1 support
8 years ago
GGabriele
fe11b09b8d
Adding python object for 2.1 support
8 years ago
GGabriele
8518cb4e97
Adding python objects for 2.1 support
8 years ago
GGabriele
2579ca43bf
Fixing docstring
8 years ago
GGabriele
71067b1d4e
Removing delete for bollean, fixing argparse, embedding python object
8 years ago
GGabriele
7f02615fd9
Fixing DOC string
8 years ago
GGabriele
1358e0fd91
Fixing RETURN string
8 years ago
GGabriele
84de0c5c57
Fixing RETURN string
8 years ago
GGabriele
e1e0e2b045
Adding nxos_ospf_vrf module
8 years ago
GGabriele
69000b82b5
Adding nxos_ospf module
8 years ago
GGabriele
84d957beaa
Adding nxos_evpn_global module
8 years ago
GGabriele
7af4081401
Fixing typo
8 years ago
GGabriele
224a47b718
Adding nxos_acl_interface_module
8 years ago
GGabriele
d2135c7098
Adding RETURN string
8 years ago
GGabriele
7d7357bbb6
Fixing DOCSTRING
8 years ago
GGabriele
cf32ae0290
Adding nxos_acl module
8 years ago
GGabriele
166c2d0272
Fixing string case
8 years ago
Peter Sprygada
6543bb4bdd
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)
8 years ago
GGabriele
1083a9e7ea
Fixing conditional format
8 years ago
GGabriele
17dfe863ec
Fixing DOC
8 years ago
GGabriele
228269f093
Fixing DOC
8 years ago
GGabriele
405d3bfc5b
Adding nxos_bgp.py
8 years ago
Peter Sprygada
277f8cfa5c
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)
8 years ago
Peter Sprygada
97b231561b
Merge pull request #4569 from privateip/nxos_template
...
update nxos_template module with network shared module changes
8 years ago
Peter Sprygada
78b58f4fa9
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)
8 years ago
Jason Edelman
22772e75cf
removed feature check for nxos_interface
8 years ago
Peter Sprygada
2ca2223af2
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)
8 years ago
Peter Sprygada
18e53bc804
fix example in nxos_command module
8 years ago
Peter Sprygada
7c4618d8c2
Merge pull request #4485 from privateip/nxos_config
...
update nxos_config with new arguments
8 years ago
Peter Sprygada
23f067a0ec
Merge pull request #4484 from privateip/nxos_command
...
added new functionality to nxos_command
8 years ago
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.
8 years ago
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
8 years ago
Jason Edelman
5dc29dbc8b
added a period
8 years ago
Jason Edelman
d49d61784f
make aliases a list in the docstring
8 years ago
Jason Edelman
164021a6a8
remove commented out code, add alias, and doc
8 years ago
Jason Edelman
c009fe7e66
updated version_added for new param
8 years ago
Jason Edelman
996a34fbf7
fixed error handling
8 years ago
Jason Edelman
b8f6e130ed
fixed docs
8 years ago
Jason Edelman
160fd0126f
improve functionality for vlan trunks based on #4082
8 years ago
John Barker
d319328d03
NXOS Docs update
8 years ago
Nathaniel Case
104d753730
Quick fix to nxos_command and minify imports
8 years ago
Gabriele
8cb463d250
Fixing bug, added missing param ( #3737 )
9 years ago
Michael Scherer
cc99fe24fc
Convert the network subfolder to py3/py2.4 syntax ( #3690 )
9 years ago
Johannes Meixner
24549ee80a
network/*/*_config.py: Correct typo.
...
- Replace syntanx with syntax in all things network.
9 years ago
jedelman8
3ebb693777
add nxos_interface
9 years ago
Nathaniel Case
b466f7bbe2
Remove unnecessary exception from nxos_command ( #3521 )
9 years ago
Peter Sprygada
426e9a357d
Merge pull request #3473 from networktocode/nxos_ping
...
nxos_ping
9 years ago
Peter Sprygada
7a475d06f0
Merge pull request #3477 from networktocode/nxos_vrrp
...
nxos_vrrp
9 years ago
Peter Sprygada
d526770ca9
Merge pull request #3475 from networktocode/nxos_vrf_interface
...
nxos_vrf_interface
9 years ago
Peter Sprygada
0cb22ea123
Merge pull request #3476 from networktocode/nxos_vrf
...
nxos_vrf
9 years ago
Peter Sprygada
b66766bf19
Merge pull request #3516 from networktocode/nxos_ip_interface
...
nxos_ip_interface
9 years ago
Peter Sprygada
66a43b0695
Merge pull request #3468 from networktocode/nxos_switchport
...
add nxos_switchport module
9 years ago
Peter Sprygada
2a6173feef
Merge pull request #3470 from networktocode/nxos_feature
...
nxos_feature
9 years ago
Peter Sprygada
0cdd12cf22
Merge pull request #3467 from networktocode/nxos_vlan
...
add nxos_vlan module
9 years ago
Peter Sprygada
ea3c4a9466
Merge pull request #3471 from networktocode/nxos_get_facts
...
nxos_get_facts
9 years ago
GGabriele
b6b75720ec
Fixed doc
9 years ago
GGabriele
3c91dc1f79
Removed old file
9 years ago
GGabriele
7408c8ab14
Changed module name to nxos_facts
9 years ago
GGabriele
0f57bb1513
Fixing bugs
9 years ago
GGabriele
c25610777f
Adding nxos_ip_interface
9 years ago
GGabriele
1977be60b2
Adding nxos_vrrp
9 years ago
GGabriele
e7fbafce14
Adding nxos_ping
9 years ago
jedelman8
ef904f67a6
fix index for portchannel
9 years ago
GGabriele
bbe85bf1fa
fix conditional for py24
9 years ago
GGabriele
2466e407f4
fix conditional for py24
9 years ago
GGabriele
14e334285f
fix conditional for py24
9 years ago
GGabriele
67d416576f
fix conditional for py24
9 years ago
jedelman8
1e5dd9674e
fix docstring
9 years ago
jedelman8
8a8025ba2d
fix conditional for py24
9 years ago
jedelman8
30a6984983
force travis build
9 years ago
jedelman8
f9f894ef95
fix conditional for py24
9 years ago
jedelman8
8a53755a61
minor test
9 years ago
jedelman8
ed421149e6
update return doc string
9 years ago
jedelman8
ea5ed26e04
update return doc string
9 years ago
GGabriele
091c5b6a4e
Fixed RETURN string
9 years ago
GGabriele
026ddfcc46
Fixed RETURN string
9 years ago
GGabriele
6afeb471ad
Fixed RETURN string and added notes
9 years ago
GGabriele
36942ec24b
Fixed RETURN string
9 years ago
GGabriele
fff9c9ed44
Fixing nxos_vrf
9 years ago
GGabriele
6a412e55e9
Adding nxos_vrf_interface
9 years ago
GGabriele
3c51d11244
Adding nxos_vrf
9 years ago
GGabriele
da0ed0ce9b
Adding nxos_get_facts
9 years ago
GGabriele
101ce75342
Addng nxos_feature
9 years ago
jedelman8
5531b1c3fc
add nxos_vlan
9 years ago
jedelman8
4672809bf3
add nxos_switchport
9 years ago
Patrick Ogenstad
5409ed1b28
Fix documentation example, missing ")"
9 years ago
John Barker
531eed80b3
Replace BOOLEANS with true/false
9 years ago
Peter Sprygada
25baca1eb8
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
9 years ago
Peter Sprygada
639e324fdb
refactors nxos_config and removes diff functions
...
this refactors the nxos_config module removing the diff functions and
replacing with the netcfg shared module
9 years ago
Peter Sprygada
11c00c2278
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
9 years ago
Peter Sprygada
bff7cb6cad
fixes #3274
9 years ago
Peter Sprygada
eef9c54874
update to nxos_command with additional exception handling
...
This update adds exception handling to catch errors when trying to parse
command output to json. It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
9 years ago
Peter Sprygada
a7f67921fd
bugfix for handling match=strict in nxos_config
...
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
9 years ago
chouseknecht
573ba42b03
Moved Conditional class to netcfg.
9 years ago
Peter Sprygada
d8615683e5
update nxos_config doc strings and return values
...
This commit unifys the return values for the nxos_config module to always
return updates and responses
9 years ago
Peter Sprygada
ef89e0eee6
update nxos_template doc strings and return values
...
This updates the nxos_template doc string to unify the return values
across all network modules. This change now returns stdout, stdout_lines
and failed_conditionals
9 years ago
Peter Sprygada
c566cb3277
update nxos_command doc strings and return values
...
This modifies the return values to make them consistent across all
network command modules. The module now returns stdout, stdout_lines
and failed_conditionals
9 years ago
chouseknecht
f5a92e3565
Adding nxos_nxapi module.
9 years ago
Peter Sprygada
fca78058db
fixup docstring in nxos_config module
9 years ago
Peter Sprygada
82a051d150
Merge pull request #2897 from privateip/module_nxos_command
...
initial add of new module nxos_command
9 years ago
Peter Sprygada
6cddd47e67
Merge pull request #2942 from privateip/module_nxos_template
...
initial add of nxos_template module
9 years ago
Peter Sprygada
ef8df6c0ec
initial add of new nxos_config module
...
This adds a new module for managing configuraiton files for Cisco NXOS
devices. It provides configuration file management including templating
and backing up the current configuration.
This PR has a dependency on ansible/ansible PR # 14012
9 years ago
Peter Sprygada
25dee10814
initial add of nxos_template module
...
The nxos_template module worksw by allowing configurations to be pushed
to Cisco NXOS devices over CLI or NXAPI and templated using the Ansible
Jinja2 template engine
9 years ago
Peter Sprygada
32e238a8f0
initial add of new module nxos_command
...
This adds a new module nxos_command that can be used to send arbitrary
commands to NXOS devices. The module includes an argument that allows
the responses to be evaluated and causes the module not to return
control to the playbook until a set of conditions has been met.
9 years ago