ACI: Various changes to module documentation and guide (#36516)

* ACI: Various changes to module documentation and guide

This PR includes:
- We moved the object class information to the notes
- Add version information to guide chapters
- Add generic note to modules with reference to ACI guide
- Reference known issues in aci_rest documentation
- Remove module_utils function docs from modules
- Indicate which parameters are not required for querying all objects
- Added missing RETURN information

* Fix copyright strings

* Remove aci_domain_to_encap_pool.py for v2.5

* More updates

* PEP8 fix

* Improve listings of parameters/return values
This commit is contained in:
Dag Wieers 2018-02-21 19:35:59 +01:00 committed by GitHub
commit 7435e115e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
87 changed files with 533 additions and 534 deletions

View file

@ -18,6 +18,7 @@
validate_certs: '{{ aci_validate_certs | default(false) }}'
use_ssl: '{{ aci_use_ssl | default(true) }}'
use_proxy: '{{ aci_use_proxy | default(true) }}'
output_level: info
serial: ansible_test
node_id: 105
state: absent
@ -32,6 +33,7 @@
validate_certs: '{{ aci_validate_certs | default(false) }}'
use_ssl: '{{ aci_use_ssl | default(true) }}'
use_proxy: '{{ aci_use_proxy | default(true) }}'
output_level: debug
serial: ansible_test
node_id: 105
switch: test
@ -132,9 +134,8 @@
- name: Verify query_all_fabric_nodes
assert:
that:
- cm_query_all_fabric_nodes.changed == nm_query_all_fabric_nodes.changed == false # doesn't return necessary information
# NOTE: Order of fabric_nodes is not stable between calls
#- cm_query_all_fabric_nodes == nm_query_all_fabric_nodes
- cm_query_all_fabric_nodes.changed == nm_query_all_fabric_nodes.changed == false
- cm_query_all_fabric_nodes == nm_query_all_fabric_nodes
# QUERY A FABRIC NODE
@ -149,7 +150,7 @@
aci_fabric_node:
<<: *aci_fabric_node_query
serial: ansible_test
register: nm_query_fabric_node # doesn't return necessary information
register: nm_query_fabric_node
- name: Verify query_fabric_node
assert:
@ -198,7 +199,6 @@
serial: ansible_test
register: nm_query_non_fabric_node
# TODO: Implement more tests
- name: Verify query_non_fabric_node
assert:
that: