community.general/lib/ansible
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
..
cli Add ansible executable path (argv[0]) to --version (#22262) 2017-04-03 14:01:59 -04:00
compat Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
executor less code 2017-04-13 11:21:11 -04:00
galaxy Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
inventory correctly get all hosts in 'all' 2017-04-07 13:17:03 -04:00
module_utils Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
modules Nxos vxlan vtep vni netcfg fix (#23620) 2017-04-17 12:40:13 -04:00
parsing Vault: Remove tmp decrypted file when experiencing error while writing (#14835) 2017-03-27 16:52:18 -04:00
playbook removed debug print 2017-04-13 15:12:40 -04:00
plugins Make logging consistent for network platforms (#23605) 2017-04-16 23:25:40 +05:30
template centralize ansible_managed and other template vars 2017-04-13 11:03:11 -04:00
utils eapi & nxapi: Document validate_certs (#23305) 2017-04-05 16:37:40 +01:00
vars Revert "keep ansible_local as top level var, always present" 2017-04-04 16:30:57 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Ansible 2.3 feature support for dellos6. (#23084) 2017-03-30 15:26:32 +02:00
release.py Bumping devel version to 2.4.0 2017-03-15 09:42:01 -05:00