GGabriele
5de77d4e6e
Adding nxos_vrf_af
2016-09-03 01:32:46 +02:00
GGabriele
8bf651afaa
Adding nxos_portchannel
2016-09-03 01:22:02 +02:00
GGabriele
a7ea96f61e
Adding nxos_vpc
2016-09-03 01:10:07 +02:00
GGabriele
61642cce45
Adding nxos_static_route
2016-09-03 00:59:46 +02:00
GGabriele
c6c0ff42ed
Fix error handling
2016-09-03 00:52:37 +02:00
GGabriele
47ce78de3e
Adding nxos_smu
2016-09-03 00:47:55 +02:00
GGabriele
b55a2e49e2
Adding nxos_portchannel
2016-09-03 00:29:56 +02:00
GGabriele
ffa9064c01
Adding nxos_pim_rp_address
2016-09-03 00:17:11 +02:00
GGabriele
689a117257
Adding nxos_pim module
2016-09-02 23:59:31 +02:00
GGabriele
7e78c5aad7
Fixing module description
2016-09-02 23:47:19 +02:00
GGabriele
9cf9e61da4
Addin nxos_overlay_global
2016-09-02 23:42:57 +02:00
GGabriele
28e3e30d41
Adding nxos_interface_ospf
2016-09-02 19:20:31 +02:00
GGabriele
cb9f28c0d6
Fix error handling
2016-09-02 19:07:38 +02:00
GGabriele
ffb613febe
Adding nxos_hsrp
2016-09-02 19:02:23 +02:00
GGabriele
d92d1feeaa
Fix typo
2016-09-02 18:58:06 +02:00
GGabriele
53121eb647
Fix try/except
2016-09-02 18:55:17 +02:00
GGabriele
0f606122bc
Fix error handling
2016-09-02 18:51:11 +02:00
GGabriele
3b266bf1e2
Adding nxos_file_copy
2016-09-02 18:44:17 +02:00
GGabriele
90cd9485ec
Adding nxos_evpn_vni
2016-09-02 18:32:46 +02:00
GGabriele
1f3d7681e2
Fixed DOCSTRING
2016-09-02 18:15:30 +02:00
GGabriele
bb9d8c6385
Adding nxos_bgp_neighbor_af module
2016-09-02 18:10:42 +02:00
GGabriele
fc527220a8
Adding nxos_bgp_neighbor module
2016-09-02 17:52:19 +02:00
GGabriele
0b7038d65b
Fixing DOCSTRING yaml format
2016-09-02 17:43:57 +02:00
GGabriele
710962824e
Fixing DOCSTRING yaml format
2016-09-02 17:39:43 +02:00
GGabriele
687c2198d0
Fixing DOCSTRING
2016-09-02 17:35:46 +02:00
GGabriele
5ba6a45d65
Adding nxos_bgp_af module
2016-09-02 17:29:14 +02:00
GGabriele
00f6276eaf
Adding python object for 2.1 support
2016-09-02 16:59:34 +02:00
GGabriele
4b20a89739
Adding python object for 2.1 support
2016-09-02 16:51:32 +02:00
GGabriele
1c48fe9bc3
Adding python object for 2.1 support
2016-09-02 16:42:25 +02:00
GGabriele
fe11b09b8d
Adding python object for 2.1 support
2016-09-02 16:17:03 +02:00
GGabriele
8518cb4e97
Adding python objects for 2.1 support
2016-09-02 16:05:23 +02:00
GGabriele
2579ca43bf
Fixing docstring
2016-09-02 14:34:07 +02:00
GGabriele
71067b1d4e
Removing delete for bollean, fixing argparse, embedding python object
2016-09-02 14:23:54 +02:00
GGabriele
7f02615fd9
Fixing DOC string
2016-08-31 18:46:46 +02:00
GGabriele
1358e0fd91
Fixing RETURN string
2016-08-31 18:44:04 +02:00
GGabriele
84de0c5c57
Fixing RETURN string
2016-08-31 18:43:05 +02:00
GGabriele
e1e0e2b045
Adding nxos_ospf_vrf module
2016-08-31 18:38:45 +02:00
GGabriele
69000b82b5
Adding nxos_ospf module
2016-08-31 18:12:26 +02:00
GGabriele
84d957beaa
Adding nxos_evpn_global module
2016-08-31 17:54:06 +02:00
GGabriele
7af4081401
Fixing typo
2016-08-31 17:35:56 +02:00
GGabriele
224a47b718
Adding nxos_acl_interface_module
2016-08-31 17:31:09 +02:00
GGabriele
d2135c7098
Adding RETURN string
2016-08-31 16:58:04 +02:00
GGabriele
7d7357bbb6
Fixing DOCSTRING
2016-08-31 16:45:45 +02:00
GGabriele
cf32ae0290
Adding nxos_acl module
2016-08-31 16:37:09 +02:00
GGabriele
166c2d0272
Fixing string case
2016-08-31 14:58:04 +02:00
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)
2016-08-30 20:05:18 +01:00
GGabriele
1083a9e7ea
Fixing conditional format
2016-08-30 14:22:26 +02:00
GGabriele
17dfe863ec
Fixing DOC
2016-08-30 14:08:53 +02:00
GGabriele
228269f093
Fixing DOC
2016-08-30 14:02:54 +02:00
GGabriele
405d3bfc5b
Adding nxos_bgp.py
2016-08-30 13:30:38 +02:00
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)
2016-08-27 08:47:42 -04:00
Peter Sprygada
97b231561b
Merge pull request #4569 from privateip/nxos_template
...
update nxos_template module with network shared module changes
2016-08-26 21:38:20 -04:00
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)
2016-08-26 16:19:22 -04:00
Jason Edelman
22772e75cf
removed feature check for nxos_interface
2016-08-26 13:27:26 -04:00
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)
2016-08-26 09:11:50 -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
23f067a0ec
Merge pull request #4484 from privateip/nxos_command
...
added new functionality to nxos_command
2016-08-22 15:43:26 -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
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
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
John Barker
d319328d03
NXOS Docs update
2016-08-05 13:01:13 +01:00
Nathaniel Case
104d753730
Quick fix to nxos_command and minify imports
2016-08-03 18:06:33 -04:00
Gabriele
8cb463d250
Fixing bug, added missing param ( #3737 )
2016-05-27 06:56:03 +02:00
Michael Scherer
cc99fe24fc
Convert the network subfolder to py3/py2.4 syntax ( #3690 )
2016-05-18 09:08:30 -07:00
Johannes Meixner
24549ee80a
network/*/*_config.py: Correct typo.
...
- Replace syntanx with syntax in all things network.
2016-05-10 10:30:28 +03:00
jedelman8
3ebb693777
add nxos_interface
2016-04-26 05:25:48 -07:00
Nathaniel Case
b466f7bbe2
Remove unnecessary exception from nxos_command ( #3521 )
2016-04-25 13:26:06 -04:00
Peter Sprygada
426e9a357d
Merge pull request #3473 from networktocode/nxos_ping
...
nxos_ping
2016-04-25 12:34:22 -04:00
Peter Sprygada
7a475d06f0
Merge pull request #3477 from networktocode/nxos_vrrp
...
nxos_vrrp
2016-04-25 12:00:44 -04:00
Peter Sprygada
d526770ca9
Merge pull request #3475 from networktocode/nxos_vrf_interface
...
nxos_vrf_interface
2016-04-25 11:57:37 -04:00
Peter Sprygada
0cb22ea123
Merge pull request #3476 from networktocode/nxos_vrf
...
nxos_vrf
2016-04-25 11:56:15 -04:00
Peter Sprygada
b66766bf19
Merge pull request #3516 from networktocode/nxos_ip_interface
...
nxos_ip_interface
2016-04-25 11:54:06 -04:00
Peter Sprygada
66a43b0695
Merge pull request #3468 from networktocode/nxos_switchport
...
add nxos_switchport module
2016-04-25 11:51:21 -04:00
Peter Sprygada
2a6173feef
Merge pull request #3470 from networktocode/nxos_feature
...
nxos_feature
2016-04-25 11:50:13 -04:00
Peter Sprygada
0cdd12cf22
Merge pull request #3467 from networktocode/nxos_vlan
...
add nxos_vlan module
2016-04-25 11:47:57 -04:00
Peter Sprygada
ea3c4a9466
Merge pull request #3471 from networktocode/nxos_get_facts
...
nxos_get_facts
2016-04-25 11:43:45 -04:00
GGabriele
b6b75720ec
Fixed doc
2016-04-23 13:36:03 +02:00
GGabriele
3c91dc1f79
Removed old file
2016-04-22 22:44:38 +02:00
GGabriele
7408c8ab14
Changed module name to nxos_facts
2016-04-22 22:42:17 +02:00
GGabriele
0f57bb1513
Fixing bugs
2016-04-21 16:01:04 +02:00
GGabriele
c25610777f
Adding nxos_ip_interface
2016-04-21 10:48:45 +02:00
GGabriele
1977be60b2
Adding nxos_vrrp
2016-04-19 21:00:36 +02:00
GGabriele
e7fbafce14
Adding nxos_ping
2016-04-19 20:55:25 +02:00
jedelman8
ef904f67a6
fix index for portchannel
2016-04-19 10:01:18 -07:00
GGabriele
bbe85bf1fa
fix conditional for py24
2016-04-19 14:59:01 +02:00
GGabriele
2466e407f4
fix conditional for py24
2016-04-19 14:57:06 +02:00
GGabriele
14e334285f
fix conditional for py24
2016-04-19 14:53:49 +02:00
GGabriele
67d416576f
fix conditional for py24
2016-04-19 14:48:53 +02:00
jedelman8
1e5dd9674e
fix docstring
2016-04-19 05:48:50 -07:00
jedelman8
8a8025ba2d
fix conditional for py24
2016-04-19 05:43:23 -07:00
jedelman8
30a6984983
force travis build
2016-04-19 05:40:28 -07:00
jedelman8
f9f894ef95
fix conditional for py24
2016-04-19 05:34:59 -07:00
jedelman8
8a53755a61
minor test
2016-04-19 05:12:33 -07:00
jedelman8
ed421149e6
update return doc string
2016-04-18 13:18:30 -07:00
jedelman8
ea5ed26e04
update return doc string
2016-04-18 13:17:06 -07:00
GGabriele
091c5b6a4e
Fixed RETURN string
2016-04-18 18:00:47 +02:00
GGabriele
026ddfcc46
Fixed RETURN string
2016-04-18 16:50:26 +02:00
GGabriele
6afeb471ad
Fixed RETURN string and added notes
2016-04-18 16:48:39 +02:00
GGabriele
36942ec24b
Fixed RETURN string
2016-04-18 16:28:15 +02:00
GGabriele
fff9c9ed44
Fixing nxos_vrf
2016-04-18 15:48:37 +02:00
GGabriele
6a412e55e9
Adding nxos_vrf_interface
2016-04-18 15:27:21 +02:00
GGabriele
3c51d11244
Adding nxos_vrf
2016-04-18 15:25:35 +02:00
GGabriele
da0ed0ce9b
Adding nxos_get_facts
2016-04-18 15:21:53 +02:00
GGabriele
101ce75342
Addng nxos_feature
2016-04-18 15:20:05 +02:00
jedelman8
5531b1c3fc
add nxos_vlan
2016-04-15 12:32:06 -07:00
jedelman8
4672809bf3
add nxos_switchport
2016-04-15 12:29:55 -07:00
Patrick Ogenstad
5409ed1b28
Fix documentation example, missing ")"
2016-04-14 23:01:59 +02:00
John Barker
531eed80b3
Replace BOOLEANS with true/false
2016-04-05 16:31:15 +01:00
Peter Sprygada
25baca1eb8
refactors nxos_template and removes diff functions
...
replaces the diff functions with the netcfg shared module for handling
configuration diff
2016-04-04 08:16:03 -04:00
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
2016-04-04 08:15:51 -04:00
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
2016-04-04 08:15:43 -04:00
Peter Sprygada
bff7cb6cad
fixes #3274
2016-03-21 07:08:23 -05:00
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
2016-03-13 16:27:21 -07:00
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
2016-03-10 13:33:33 -05:00
chouseknecht
573ba42b03
Moved Conditional class to netcfg.
2016-02-11 01:17:52 -05:00
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
2016-02-09 14:59:23 -05:00
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
2016-02-09 14:58:31 -05:00
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
2016-02-09 14:57:31 -05:00
chouseknecht
f5a92e3565
Adding nxos_nxapi module.
2016-02-07 11:37:03 -05:00
Peter Sprygada
fca78058db
fixup docstring in nxos_config module
2016-02-06 06:35:01 -05:00
Peter Sprygada
82a051d150
Merge pull request #2897 from privateip/module_nxos_command
...
initial add of new module nxos_command
2016-02-06 06:29:26 -05:00
Peter Sprygada
6cddd47e67
Merge pull request #2942 from privateip/module_nxos_template
...
initial add of nxos_template module
2016-02-06 06:28:53 -05:00
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
2016-02-04 11:31:19 -05:00
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
2016-02-01 22:22:29 -05:00
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.
2016-01-31 20:45:14 -05:00