Commit Graph

226 Commits (6ba6819446d9ff887b5919002123d478d8b7ec10)

Author SHA1 Message Date
Peter Sprygada 654a38897f fixes exception raised when nxos_facts uses nxapi transport (#4988)
This fixes a condition where an exception is raised when collecting `interface`
facts and the transport is set to nxapi in the nxos_nxapi module.

fixes ansible/ansible#17691
2016-12-08 11:25:13 -05:00
Peter Sprygada 88b2c7e1f6 fixes bug where setting state=absent in nxos_nxapi is not idempotent (#4984)
When setting state=absent the nxos_nxapi module would always try to remove
the configuration regardless of the current state of the device.  This will
fix that problem.

This also updates the docstring to correctly reflect https as default=no

fixes #4955
depends on ansible/ansible#17728
2016-12-08 11:25:13 -05:00
Josh Lothian 319b2b28cb Fix YAML syntax in NXOS documentation (#4922)
* Fix YAML syntax in NXOS documentation

Use ':' and not '=' to ensure valid YAML
in the EXAMPLES

* Correcting introduced syntax error
2016-12-08 11:25:11 -05:00
Matt Clay 6cdcf09984 Remove duplicate keys from module docs. (#4920) 2016-12-08 11:25:11 -05:00
GGabriele c47fd4b3e9 Add feature mappings 2016-12-08 11:25:11 -05:00
Peter Sprygada 25375f1057 adds exception handling to nxos_command for FailedConditionalError
This adds exception handling as per ansible/ansible#17638 to the
nxos_command module.
2016-12-08 11:25:11 -05:00
GGabriele 6701f038ba Fixed docstring 2016-12-08 11:25:10 -05:00
GGabriele 0eb63cdeaa Fixing nxos_portchannel 2016-12-08 11:25:10 -05:00
GGabriele 13e87e3a6c Adding nxos_igmp_snooping 2016-12-08 11:25:09 -05:00
GGabriele 15c07334c7 Adding nxos_aaa_server_host 2016-12-08 11:25:09 -05:00
GGabriele 4b6a59bd13 Adding nxos_udld_interface 2016-12-08 11:25:09 -05:00
GGabriele f1a96986c4 Adding 2.1 and 2.2 support to nxos_switchport 2016-12-08 11:25:09 -05:00
GGabriele e669d3e889 Adding nxos_snmp_user 2016-12-08 11:25:09 -05:00
GGabriele 693f8e623a Improving argument_spec 2016-12-08 11:25:09 -05:00
GGabriele 2f58306564 Adding nxos_pim_interface 2016-12-08 11:25:09 -05:00
GGabriele 48942d6e32 Fixing docstring 2016-12-08 11:25:09 -05:00
GGabriele b42f6da0ce Adding nxos_mtu 2016-12-08 11:25:09 -05:00
GGabriele d8b2b0387b Adding nxos_vtp_version 2016-12-08 11:25:09 -05:00
GGabriele da8aa0dd29 Removing unused function 2016-12-08 11:25:09 -05:00
GGabriele d53b52d528 Fixing module name 2016-12-08 11:25:08 -05:00
GGabriele d435aca86e Adding missing version_added 2016-12-08 11:25:08 -05:00
GGabriele bf2e0ec953 Adding nxos_vtp_domain 2016-12-08 11:25:08 -05:00
GGabriele b1f33ca5a0 Improved function 2016-12-08 11:25:08 -05:00
GGabriele d3de4c160f Adding nxos_vtp_password 2016-12-08 11:25:08 -05:00
GGabriele 29ea186bd7 Adding nxos_udld 2016-12-08 11:25:08 -05:00
GGabriele c45e596159 Adding nxos_ntp_options 2016-12-08 11:25:08 -05:00
GGabriele 77b043dcf3 Fixing conditional format 2016-12-08 11:25:08 -05:00
GGabriele 52dfa697c2 Adding nxos_ntp_auth 2016-12-08 11:25:08 -05:00
GGabriele 6efb79bbeb Adding nxos_aaa_server 2016-12-08 11:25:08 -05:00
GGabriele 821b1606b3 Fixing nxos_interface 2016-12-08 11:25:08 -05:00
GGabriele 095d30ea63 Adding nxos_ntp 2016-12-08 11:25:08 -05:00
GGabriele 5f0060ec41 Fixing argument_spec 2016-12-08 11:25:08 -05:00
GGabriele 57f86c0efc Fixing docstring format 2016-12-08 11:25:08 -05:00
GGabriele 76d7379d73 Adding nxos_snmp_traps 2016-12-08 11:25:08 -05:00
GGabriele 988d6bbb2b Fixing return string 2016-12-08 11:25:08 -05:00
GGabriele 37170dd353 Adding nxos_snmp_location 2016-12-08 11:25:08 -05:00
GGabriele 2c8bc37003 Adding RETURN 2016-12-08 11:25:07 -05:00
GGabriele de8b759df2 Adding nxos_install_os 2016-12-08 11:25:07 -05:00
GGabriele c5ab15443f Adding nxos_gir_profile_management 2016-12-08 11:25:07 -05:00
GGabriele c7ca3654df Adding nxos_gir 2016-12-08 11:25:07 -05:00
GGabriele 58501d3650 Removing indentations 2016-12-08 11:25:07 -05:00
GGabriele 852f5176a1 Removing indentation 2016-12-08 11:25:07 -05:00
GGabriele 4775c257ea Fixing file writing format 2016-12-08 11:25:07 -05:00
GGabriele 2016e5d44a Adding nxos_snapshot 2016-12-08 11:25:07 -05:00
GGabriele 1752082c00 Adding nxos_snmp_host 2016-12-08 11:25:07 -05:00
GGabriele 4a182888b8 Adding nxos_snmp_community 2016-12-08 11:25:07 -05:00
GGabriele 0c4c5467f7 Fixing docstring and more fix 2016-12-08 11:25:07 -05:00
GGabriele 346f83029b Fixing error handling 2016-12-08 11:25:07 -05:00
GGabriele e1fab98061 Fixed module structure 2016-12-08 11:25:07 -05:00
GGabriele 4cbcc1f91d Adding nxos_vxlan_vtep_vni 2016-12-08 11:25:07 -05:00
John Barker 264bb374b9 RETURNS doesn't support markup, so remove it 2016-12-08 11:25:05 -05:00
John Barker 42d5d7b21b Docs improvements to _config 2016-12-08 11:25:05 -05:00
GGabriele e375b4c61c Fixing nxos_feature 2016-12-08 11:25:05 -05:00
John Barker c01328b597 Document `backup` options
To make future diffing easier, use consistent ordering
2016-12-08 11:25:04 -05:00
Peter Sprygada ad707c2724 roll up updates to nxos_config module
* remote 'updates' argument
* clean up functions
* update doc strings
* add required_if dependencies
2016-12-08 11:25:04 -05:00
Andrew Gaffney bac0c4595c Fix missing colons in network module examples (#4778) 2016-12-08 11:25:03 -05:00
Peter Sprygada 6cca2b06fe fixes bug where nxos_config wasn't handling checkpoints correctly 2016-12-08 11:25:02 -05:00
GGabriele bc7b093089 Removed newline 2016-12-08 11:25:01 -05:00
GGabriele dfa9904599 Added missing fullstop 2016-12-08 11:25:01 -05:00
GGabriele 87b839e1f8 Adding missing fullstop 2016-12-08 11:25:01 -05:00
GGabriele d2d1b18ef4 Fixed param value format in docstring 2016-12-08 11:25:01 -05:00
GGabriele 745b504aa1 Fixed module structure and added one new param 2016-12-08 11:25:01 -05:00
GGabriele a71b84853c Fixed config function 2016-12-08 11:25:01 -05:00
GGabriele f577f46ccf fix imports 2016-12-08 11:25:01 -05:00
Peter Sprygada 807974f515 updates nxos_config to remove state argument
The state argument should not be in the nxos_config module.  This change
removes the state argument for this release
2016-12-08 11:25:01 -05:00
GGabriele 7010a66638 Removed tabs 2016-12-08 11:25:01 -05:00
GGabriele 174ffde2e9 Adding nxos_igmp_interface 2016-12-08 11:25:00 -05:00
GGabriele 93d816a183 Adding nxos_igmp 2016-12-08 11:25:00 -05:00
GGabriele 693fc690d7 nxos_vrf_interface support for 2.1 and 2.2 2016-12-08 11:25:00 -05:00
GGabriele 0303c813c8 Updating nxos_vrf 2016-12-08 11:25:00 -05:00
GGabriele 7560c6dac2 nxos_vlan support 2.1 and 2.2 2016-12-08 11:25:00 -05:00
GGabriele 7391b5ba63 nxos_ping support for 2.1 and 2.2 2016-12-08 11:25:00 -05:00
GGabriele 85e65a7873 nxos_ip_interface support for 2.1 and 2.2 2016-12-08 11:25:00 -05:00
GGabriele 631ee66ed9 Adding nxos_reboot 2016-12-08 11:25:00 -05:00
GGabriele 6d9a63a08b Fix PR 2016-12-08 11:25:00 -05:00
GGabriele 4c3a1e37ff Added python object for 2.1 and 2.2 support 2016-12-08 11:25:00 -05:00
GGabriele 4bcf5797b6 Increase timeout 2016-12-08 11:25:00 -05:00
GGabriele 3c0a1675c0 Adding nxos_rollback 2016-12-08 11:25:00 -05:00
GGabriele 25f9d122aa Adding nxos_vxlan_vtep 2016-12-08 11:25:00 -05:00
GGabriele b3c428e61f Adding nxos_vrf_af 2016-12-08 11:25:00 -05:00
GGabriele 705b61ae7a Adding nxos_portchannel 2016-12-08 11:24:59 -05:00
GGabriele 933a555408 Adding nxos_vpc 2016-12-08 11:24:59 -05:00
GGabriele eb32565b73 Adding nxos_static_route 2016-12-08 11:24:59 -05:00
GGabriele 4ee018e51d Fix error handling 2016-12-08 11:24:59 -05:00
GGabriele 1d393941c0 Adding nxos_smu 2016-12-08 11:24:59 -05:00
GGabriele 751f63c6a2 Adding nxos_pim_rp_address 2016-12-08 11:24:59 -05:00
GGabriele 1327e6bcd4 Adding nxos_pim module 2016-12-08 11:24:59 -05:00
GGabriele 9c254656aa Fixing module description 2016-12-08 11:24:59 -05:00
GGabriele 2b434515d5 Addin nxos_overlay_global 2016-12-08 11:24:59 -05:00
GGabriele cba6804824 Adding nxos_interface_ospf 2016-12-08 11:24:59 -05:00
GGabriele 0a8a84a50d Adding nxos_hsrp 2016-12-08 11:24:59 -05:00
GGabriele c902f2da14 Fix typo 2016-12-08 11:24:58 -05:00
GGabriele aabab30a4f Fix try/except 2016-12-08 11:24:58 -05:00
GGabriele e392417232 Adding nxos_file_copy 2016-12-08 11:24:58 -05:00
GGabriele 40e600e901 Adding nxos_evpn_vni 2016-12-08 11:24:58 -05:00
GGabriele 52ed410679 Fixed DOCSTRING 2016-12-08 11:24:58 -05:00
GGabriele 0bedbb6bed Adding nxos_bgp_neighbor_af module 2016-12-08 11:24:58 -05:00
GGabriele bd758e8188 Adding nxos_bgp_neighbor module 2016-12-08 11:24:58 -05:00
GGabriele fdfec51cce Fixing DOCSTRING yaml format 2016-12-08 11:24:58 -05:00
GGabriele b5dbfd70d4 Fixing DOCSTRING 2016-12-08 11:24:58 -05:00