community.general/lib/ansible/modules/network/nxos
Daniel bbb9f3164c Nxos vxlan vtep vni netcfg fix (#23620)
* Code cleanup
Removed 'add' method from CustomNetworkConfig.  It is identical
to the one inherited from NetworkConfig

* Removed unused CustomNetworkConfig import

* Replaced
```
def get_existing(module, args):
    existing = {}
    netcfg = get_config(module)
    config = netcfg.get_section(parents)
```
with
```
netcfg = CustomNetworkConfig(indent=2, contents=get_config(module))
```
get_config returns a string, not an object in 2.3.

* Removed non-functioning get_object method in CustomNetworkConfig in favor of the
inherited method.

Added child_objs property so that expand_selection would work.  The original
verion never worked correctly as it compared NetworkConfig obj's and str's.

* Removed ShellError method in favor or new load_config method.

* Removed ShellError method in favor or new load_config method.
fixes #20260

* nxos requires a "no" statement to change mcase group.  Corrected.
Corrected changed logic.

* Corrected deleted CustomNetworkConfig import
2017-04-17 12:40:13 -04:00
..
__init__.py
_nxos_mtu.py [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
_nxos_template.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_aaa_server.py [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
nxos_aaa_server_host.py [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
nxos_acl.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_acl_interface.py [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
nxos_bgp.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_bgp_af.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_bgp_neighbor.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_bgp_neighbor_af.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_command.py network_cli modules don't always return stdout or stdout_lines (#23573) 2017-04-13 11:59:23 -04:00
nxos_config.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_evpn_global.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_evpn_vni.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_facts.py Fix nxos_facts for nxapi transport (#23302) 2017-04-05 11:47:37 -04:00
nxos_feature.py E1 legacy pep8 fixes (#21933) 2017-03-21 21:19:40 -05:00
nxos_file_copy.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_gir.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_gir_profile_management.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_hsrp.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_igmp.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_igmp_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_igmp_snooping.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_install_os.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_interface_ospf.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_ip_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_ntp.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_ntp_auth.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_ntp_options.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_nxapi.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_ospf.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_ospf_vrf.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_overlay_global.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_pim.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_pim_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_pim_rp_address.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_ping.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_portchannel.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_reboot.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_rollback.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_smu.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snapshot.py E1 legacy pep8 fixes (#21933) 2017-03-21 21:19:40 -05:00
nxos_snmp_community.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snmp_contact.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snmp_host.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snmp_location.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snmp_traps.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_snmp_user.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_static_route.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_switchport.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_system.py [WIP] Network module docs 2.3 (#22454) 2017-03-15 16:00:43 +00:00
nxos_udld.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_udld_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_user.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
nxos_vlan.py [WIP] Network return docs (#23441) 2017-04-12 13:13:41 -04:00
nxos_vpc.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vpc_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vrf.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vrf_af.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vrf_interface.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vrrp.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vtp_domain.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vtp_password.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vtp_version.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vxlan_vtep.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
nxos_vxlan_vtep_vni.py Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00