diff --git a/lib/ansible/modules/network/aci/aci_aaa_user.py b/lib/ansible/modules/network/aci/aci_aaa_user.py index adde79c6911..75d37e97de7 100644 --- a/lib/ansible/modules/network/aci/aci_aaa_user.py +++ b/lib/ansible/modules/network/aci/aci_aaa_user.py @@ -16,15 +16,15 @@ DOCUMENTATION = r''' module: aci_aaa_user short_description: Manage AAA users (aaa:User) description: -- Manage AAA users. +- Manage AAA users on Cisco ACI fabrics. notes: - This module is not idempotent when C(aaa_password) is being used (even if that password was already set identically). This appears to be an inconsistency wrt. the idempotent nature of the APIC REST API. The vendor has been informed. More information in :ref:`the ACI documentation `. -- More information from the internal APIC class I(aaa:User) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(aaa:User) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) requirements: diff --git a/lib/ansible/modules/network/aci/aci_aaa_user_certificate.py b/lib/ansible/modules/network/aci/aci_aaa_user_certificate.py index f82fcf2a4a1..275c4ac9a72 100644 --- a/lib/ansible/modules/network/aci/aci_aaa_user_certificate.py +++ b/lib/ansible/modules/network/aci/aci_aaa_user_certificate.py @@ -16,12 +16,12 @@ DOCUMENTATION = r''' module: aci_aaa_user_certificate short_description: Manage AAA user certificates (aaa:UserCert) description: -- Manage AAA user certificates. +- Manage AAA user certificates on Cisco ACI fabrics. notes: - The C(aaa_user) must exist before using this module in your playbook. The M(aci_aaa_user) module can be used for this. -- More information from the internal APIC class I(aaa:UserCert) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(aaa:UserCert) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py b/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py index 834b576a09d..625cda00ce3 100644 --- a/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py +++ b/lib/ansible/modules/network/aci/aci_access_port_to_interface_policy_leaf_profile.py @@ -14,12 +14,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_access_port_to_interface_policy_leaf_profile -short_description: Manage Fabric interface policy leaf profile interface selectors on Cisco ACI fabrics (infra:HPortS, infra:RsAccBaseGrp, infra:PortBlk) +short_description: Manage Fabric interface policy leaf profile interface selectors (infra:HPortS, infra:RsAccBaseGrp, infra:PortBlk) description: - Manage Fabric interface policy leaf profile interface selectors on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(infra:HPortS, infra:RsAccBaseGrp, infra:PortBlk) at - U(https://developer.cisco.com/media/mim-ref). +- More information about the internal APIC classes B(infra:HPortS), B(infra:RsAccBaseGrp) and B(infra:PortBlk) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/) author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_aep.py b/lib/ansible/modules/network/aci/aci_aep.py index 399886fe9d6..387b1bd1cfe 100644 --- a/lib/ansible/modules/network/aci/aci_aep.py +++ b/lib/ansible/modules/network/aci/aci_aep.py @@ -13,13 +13,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_aep -short_description: Manage attachable Access Entity Profile (AEP) on Cisco ACI fabrics (infra:AttEntityP|infra:ProvAcc) +short_description: Manage attachable Access Entity Profile (AEP) objects (infra:AttEntityP, infra:ProvAcc) description: - Connect to external virtual and physical domains by using attachable Access Entity Profiles (AEP) on Cisco ACI fabrics. notes: -- More information from the internal APIC classes I(infra:AttEntityP) and I(infra:ProvAcc) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(infra:AttEntityP) and B(infra:ProvAcc) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Swetha Chunduri (@schunduri) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_aep_to_domain.py b/lib/ansible/modules/network/aci/aci_aep_to_domain.py index c4785a31ce8..d0cedbb713b 100755 --- a/lib/ansible/modules/network/aci/aci_aep_to_domain.py +++ b/lib/ansible/modules/network/aci/aci_aep_to_domain.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_aep_to_domain -short_description: Bind AEPs to Physical or Virtual Domains on Cisco ACI fabrics (infra:RsDomP) +short_description: Bind AEPs to Physical or Virtual Domains (infra:RsDomP) description: - Bind AEPs to Physical or Virtual Domains on Cisco ACI fabrics. notes: - The C(aep) and C(domain) parameters should exist before using this module. The M(aci_aep) and M(aci_domain) can be used for these. -- More information from the internal APIC class I(infra:RsDomP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(infra:RsDomP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_ap.py b/lib/ansible/modules/network/aci/aci_ap.py index e2a4b2c6547..cda96c26fec 100644 --- a/lib/ansible/modules/network/aci/aci_ap.py +++ b/lib/ansible/modules/network/aci/aci_ap.py @@ -13,15 +13,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_ap -short_description: Manage top level Application Profile (AP) objects on Cisco ACI fabrics (fv:Ap) +short_description: Manage top level Application Profile (AP) objects (fv:Ap) description: - Manage top level Application Profile (AP) objects on Cisco ACI fabrics notes: - This module does not manage EPGs, see M(aci_epg) to do this. - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(fv:Ap) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:Ap) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Swetha Chunduri (@schunduri) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_bd.py b/lib/ansible/modules/network/aci/aci_bd.py index 46d44735157..4b2874382ec 100644 --- a/lib/ansible/modules/network/aci/aci_bd.py +++ b/lib/ansible/modules/network/aci/aci_bd.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_bd -short_description: Manage Bridge Domains (BD) on Cisco ACI Fabrics (fv:BD) +short_description: Manage Bridge Domains (BD) objects (fv:BD) description: -- Manages Bridge Domains (BD) on Cisco ACI Fabrics. +- Manages Bridge Domains (BD) on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(fv:BD) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:BD) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_bd_subnet.py b/lib/ansible/modules/network/aci/aci_bd_subnet.py index 1675040810a..13909671850 100644 --- a/lib/ansible/modules/network/aci/aci_bd_subnet.py +++ b/lib/ansible/modules/network/aci/aci_bd_subnet.py @@ -13,7 +13,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_bd_subnet -short_description: Manage Subnets on Cisco ACI fabrics (fv:Subnet) +short_description: Manage Subnets (fv:Subnet) description: - Manage Subnets on Cisco ACI fabrics. notes: @@ -21,8 +21,8 @@ notes: is required when the state is C(absent) or C(present). - The C(tenant) and C(bd) used must exist before using this module in your playbook. The M(aci_tenant) module and M(aci_bd) can be used for these. -- More information from the internal APIC class I(fv:Subnet) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:Subnet) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_bd_to_l3out.py b/lib/ansible/modules/network/aci/aci_bd_to_l3out.py index 0de89fe16dd..1717b023a8a 100644 --- a/lib/ansible/modules/network/aci/aci_bd_to_l3out.py +++ b/lib/ansible/modules/network/aci/aci_bd_to_l3out.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_bd_to_l3out -short_description: Bind Bridge Domain to L3 Out on Cisco ACI fabrics (fv:RsBDToOut) +short_description: Bind Bridge Domain to L3 Out (fv:RsBDToOut) description: - Bind Bridge Domain to L3 Out on Cisco ACI fabrics. notes: - The C(bd) and C(l3out) parameters should exist before using this module. The M(aci_bd) and M(aci_l3out) can be used for these. -- More information from the internal APIC class I(fv:RsBDToOut) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:RsBDToOut) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_config_rollback.py b/lib/ansible/modules/network/aci/aci_config_rollback.py index 2774e698a22..d0985769aeb 100644 --- a/lib/ansible/modules/network/aci/aci_config_rollback.py +++ b/lib/ansible/modules/network/aci/aci_config_rollback.py @@ -13,13 +13,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_config_rollback -short_description: Provides rollback and rollback preview functionality for Cisco ACI fabrics (config:ImportP) +short_description: Provides rollback and rollback preview functionality (config:ImportP) description: -- Provides rollback and rollback preview functionality for Cisco ACI fabric. +- Provides rollback and rollback preview functionality for Cisco ACI fabrics. - Config Rollbacks are done using snapshots C(aci_snapshot) with the configImportP class. notes: -- More information from the internal APIC class I(config:ImportP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(config:ImportP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_config_snapshot.py b/lib/ansible/modules/network/aci/aci_config_snapshot.py index 81b8950829c..17222b0bbf4 100644 --- a/lib/ansible/modules/network/aci/aci_config_snapshot.py +++ b/lib/ansible/modules/network/aci/aci_config_snapshot.py @@ -13,7 +13,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_config_snapshot -short_description: Manage Config Snapshots on Cisco ACI fabrics (config:Snapshot, config:ExportP) +short_description: Manage Config Snapshots (config:Snapshot, config:ExportP) description: - Manage Config Snapshots on Cisco ACI fabrics. - Creating new Snapshots is done using the configExportP class. @@ -22,8 +22,8 @@ notes: - The APIC does not provide a mechanism for naming the snapshots. - 'Snapshot files use the following naming structure: ce_---
T::.+:.' - 'Snapshot objects use the following naming structure: run---
T--.' -- More information from the internal APIC classes I(config:Snapshot) and I(config:ExportP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(config:Snapshot) and B(config:ExportP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_contract.py b/lib/ansible/modules/network/aci/aci_contract.py index 373a0faa29e..ef61ec84c3c 100644 --- a/lib/ansible/modules/network/aci/aci_contract.py +++ b/lib/ansible/modules/network/aci/aci_contract.py @@ -13,7 +13,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_contract -short_description: Manage contract resources on Cisco ACI fabrics (vz:BrCP) +short_description: Manage contract resources (vz:BrCP) description: - Manage Contract resources on Cisco ACI fabrics. notes: @@ -21,8 +21,8 @@ notes: Contract Subjects can still be removed using this module. - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(vz:BrCP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:BrCP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_contract_subject.py b/lib/ansible/modules/network/aci/aci_contract_subject.py index 49362b3ef51..6dd798a1e18 100755 --- a/lib/ansible/modules/network/aci/aci_contract_subject.py +++ b/lib/ansible/modules/network/aci/aci_contract_subject.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_contract_subject -short_description: Manage initial Contract Subjects on Cisco ACI fabrics (vz:Subj) +short_description: Manage initial Contract Subjects (vz:Subj) description: - Manage initial Contract Subjects on Cisco ACI fabrics. notes: - The C(tenant) and C(contract) used must exist before using this module in your playbook. - The M(aci_tenant) and M(aci_contract) modules can be used for this. -- More information from the internal APIC class I(vz:Subj) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:Subj) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Swetha Chunduri (@schunduri) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_contract_subject_to_filter.py b/lib/ansible/modules/network/aci/aci_contract_subject_to_filter.py index b6c98b97f9c..e4bc8847053 100644 --- a/lib/ansible/modules/network/aci/aci_contract_subject_to_filter.py +++ b/lib/ansible/modules/network/aci/aci_contract_subject_to_filter.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_contract_subject_to_filter -short_description: Bind Contract Subjects to Filters on Cisco ACI fabrics (vz:RsSubjFiltAtt) +short_description: Bind Contract Subjects to Filters (vz:RsSubjFiltAtt) description: - Bind Contract Subjects to Filters on Cisco ACI fabrics. notes: - The C(tenant), C(contract), C(subject), and C(filter_name) must exist before using this module in your playbook. - The M(aci_tenant), M(aci_contract), M(aci_contract_subject), and M(aci_filter) modules can be used for these. -- More information from the internal APIC class I(vz:RsSubjFiltAtt) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:RsSubjFiltAtt) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' @@ -39,7 +39,6 @@ options: - The APIC defaults new Subject to Filter bindings to C(none). choices: [ log, none ] aliases: [ directive ] - default: none subject: description: - The name of the Contract Subject. @@ -60,7 +59,7 @@ extends_documentation_fragment: aci EXAMPLES = r''' - name: Add a new contract subject to filer binding - aci_subject_filter_binding: + aci_contract_subject_to_filter: host: apic username: admin password: SomeSecretPassword @@ -72,7 +71,7 @@ EXAMPLES = r''' state: present - name: Remove an existing contract subject to filter binding - aci_subject_filter_binding: + aci_contract_subject_to_filter: host: apic username: admin password: SomeSecretPassword @@ -84,7 +83,7 @@ EXAMPLES = r''' state: present - name: Query a specific contract subject to filter binding - aci_subject_filter_binding: + aci_contract_subject_to_filter: host: apic username: admin password: SomeSecretPassword @@ -95,7 +94,7 @@ EXAMPLES = r''' state: query - name: Query all contract subject to filter bindings - aci_subject_filter_binding: + aci_contract_subject_to_filter: host: apic username: admin password: SomeSecretPassword diff --git a/lib/ansible/modules/network/aci/aci_domain.py b/lib/ansible/modules/network/aci/aci_domain.py index 3c597d96060..e5ed9c344d4 100644 --- a/lib/ansible/modules/network/aci/aci_domain.py +++ b/lib/ansible/modules/network/aci/aci_domain.py @@ -13,13 +13,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_domain -short_description: Manage physical, virtual, bridged, routed or FC domain profiles (*:DomP) +short_description: Manage physical, virtual, bridged, routed or FC domain profiles (phys:DomP, vmm:DomP, l2ext:DomP, l3ext:DomP, fc:DomP) description: -- Manage physical, virtual, bridged, routed or FC domain profiles. +- Manage physical, virtual, bridged, routed or FC domain profiles on Cisco ACI fabrics. notes: -- More information from the internal APIC classes I(phys:DomP), - I(vmm:DomP), I(l2ext:DomP), I(l3ext:DomP), I(fc:DomP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(phys:DomP), + B(vmm:DomP), B(l2ext:DomP), B(l3ext:DomP) and B(fc:DomP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py b/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py index 5a81623108a..1064523dd1b 100755 --- a/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py +++ b/lib/ansible/modules/network/aci/aci_domain_to_vlan_pool.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_domain_to_vlan_pool -short_description: Bind Domain to VLAN Pools on Cisco ACI fabrics (infra:RsVlanNs) +short_description: Bind Domain to VLAN Pools (infra:RsVlanNs) description: - Bind Domain to VLAN Pools on Cisco ACI fabrics. notes: - The C(domain) and C(vlan_pool) parameters should exist before using this module. The M(aci_domain) and M(aci_vlan_pool) can be used for these. -- More information from the internal APIC class I(infra:RsVlanNs) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(infra:RsVlanNs) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_encap_pool.py b/lib/ansible/modules/network/aci/aci_encap_pool.py index d5767291430..c942db7d5ca 100644 --- a/lib/ansible/modules/network/aci/aci_encap_pool.py +++ b/lib/ansible/modules/network/aci/aci_encap_pool.py @@ -13,13 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_encap_pool -short_description: Manage encap pools on Cisco ACI fabrics (fvns:VlanInstP, fvns:VxlanInstP, fvns:VsanInstP) +short_description: Manage encap pools (fvns:VlanInstP, fvns:VxlanInstP, fvns:VsanInstP) description: - Manage vlan, vxlan, and vsan pools on Cisco ACI fabrics. notes: -- More information from the internal APIC class - I(fvns:VlanInstP), I(fvns:VxlanInstP), and I(fvns:VsanInstP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(fvns:VlanInstP), B(fvns:VxlanInstP) and B(fvns:VsanInstP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_encap_pool_range.py b/lib/ansible/modules/network/aci/aci_encap_pool_range.py index be22da83655..806ba7b2d82 100644 --- a/lib/ansible/modules/network/aci/aci_encap_pool_range.py +++ b/lib/ansible/modules/network/aci/aci_encap_pool_range.py @@ -13,13 +13,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_encap_pool_range -short_description: Manage encap ranges assigned to pools on Cisco ACI fabrics (fvns:EncapBlk, fvns:VsanEncapBlk) +short_description: Manage encap ranges assigned to pools (fvns:EncapBlk, fvns:VsanEncapBlk) description: - Manage vlan, vxlan, and vsan ranges that are assigned to pools on Cisco ACI fabrics. notes: - The C(pool) must exist in order to add or delete a range. -- More information from the internal APIC class I(fvns:EncapBlk) and I(fvns:VsanEncapBlk) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(fvns:EncapBlk) and B(fvns:VsanEncapBlk) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_epg.py b/lib/ansible/modules/network/aci/aci_epg.py index 57e5037eaae..37044e8289d 100644 --- a/lib/ansible/modules/network/aci/aci_epg.py +++ b/lib/ansible/modules/network/aci/aci_epg.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_epg -short_description: Manage End Point Groups (EPG) on Cisco ACI fabrics (fv:AEPg) +short_description: Manage End Point Groups (EPG) objects (fv:AEPg) description: - Manage End Point Groups (EPG) on Cisco ACI fabrics. notes: - The C(tenant) and C(app_profile) used must exist before using this module in your playbook. The M(aci_tenant) and M(aci_ap) modules can be used for this. -- More information from the internal APIC class I(fv:AEPg) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:AEPg) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Swetha Chunduri (@schunduri) version_added: '2.4' @@ -38,7 +38,7 @@ options: description: - Name of the end point group. required: yes - aliases: [ name, epg_name ] + aliases: [ epg_name, name ] bd: description: - Name of the bridge domain being associated with the EPG. @@ -116,7 +116,7 @@ EXAMPLES = r''' host: apic username: admin password: SomeSecretPassword - validate_certs: false + validate_certs: no tenant: production app_profile: intranet epg: web_epg @@ -144,7 +144,7 @@ EXAMPLES = r''' host: apic username: admin password: SomeSecretPassword - validate_certs: false + validate_certs: no epg: web_epg state: query @@ -153,7 +153,7 @@ EXAMPLES = r''' host: apic username: admin password: SomeSecretPassword - validate_certs: false + validate_certs: no ap: ticketing state: query ''' @@ -270,7 +270,7 @@ from ansible.module_utils.basic import AnsibleModule def main(): argument_spec = aci_argument_spec() argument_spec.update( - epg=dict(type='str', aliases=['name', 'epg_name']), # Not required for querying all objects + epg=dict(type='str', aliases=['epg_name', 'name']), # Not required for querying all objects bd=dict(type='str', aliases=['bd_name', 'bridge_domain']), ap=dict(type='str', aliases=['app_profile', 'app_profile_name']), # Not required for querying all objects tenant=dict(type='str', aliases=['tenant_name']), # Not required for querying all objects diff --git a/lib/ansible/modules/network/aci/aci_epg_monitoring_policy.py b/lib/ansible/modules/network/aci/aci_epg_monitoring_policy.py index 6ad0edbc00b..e73d10143f4 100644 --- a/lib/ansible/modules/network/aci/aci_epg_monitoring_policy.py +++ b/lib/ansible/modules/network/aci/aci_epg_monitoring_policy.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_epg_monitoring_policy -short_description: Manage monitoring policies on Cisco ACI fabrics (mon:EPGPol) +short_description: Manage monitoring policies (mon:EPGPol) description: - Manage monitoring policies on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(mon:EPGPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(mon:EPGPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_epg_to_contract.py b/lib/ansible/modules/network/aci/aci_epg_to_contract.py index b2e3428c3f2..2bdcaf0fdcb 100644 --- a/lib/ansible/modules/network/aci/aci_epg_to_contract.py +++ b/lib/ansible/modules/network/aci/aci_epg_to_contract.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_epg_to_contract -short_description: Bind EPGs to Contracts on Cisco ACI fabrics (fv:RsCons and fv:RsProv) +short_description: Bind EPGs to Contracts (fv:RsCons, fv:RsProv) description: - Bind EPGs to Contracts on Cisco ACI fabrics. notes: - The C(tenant), C(app_profile), C(EPG), and C(Contract) used must exist before using this module in your playbook. The M(aci_tenant), M(aci_ap), M(aci_epg), and M(aci_contract) modules can be used for this. -- More information from the internal APIC classes I(fv:RsCons) and I(fv:RsProv) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(fv:RsCons) and B(fv:RsProv) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_epg_to_domain.py b/lib/ansible/modules/network/aci/aci_epg_to_domain.py index 095aa3c99a9..d4d14b35f6e 100644 --- a/lib/ansible/modules/network/aci/aci_epg_to_domain.py +++ b/lib/ansible/modules/network/aci/aci_epg_to_domain.py @@ -13,7 +13,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_epg_to_domain -short_description: Bind EPGs to Domains on Cisco ACI fabrics (fv:RsDomAtt) +short_description: Bind EPGs to Domains (fv:RsDomAtt) description: - Bind EPGs to Physical and Virtual Domains on Cisco ACI fabrics. notes: @@ -22,8 +22,8 @@ notes: - OpenStack VMM domains must not be created using this module. The OpenStack VMM domain is created directly by the Cisco APIC Neutron plugin as part of the installation and configuration. This module can be used to query status of an OpenStack VMM domain. -- More information from the internal APIC class I(fv:RsDomAtt) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:RsDomAtt) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_fabric_node.py b/lib/ansible/modules/network/aci/aci_fabric_node.py index bdaa0561485..a7904d2d11f 100644 --- a/lib/ansible/modules/network/aci/aci_fabric_node.py +++ b/lib/ansible/modules/network/aci/aci_fabric_node.py @@ -14,12 +14,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_fabric_node -short_description: Add a new Fabric Node Member on Cisco ACI fabrics (fabric:NodeIdentP) +short_description: Manage Fabric Node Members (fabric:NodeIdentP) description: -- Add a new Fabric Node Member on Cisco ACI fabrics. +- Manage Fabric Node Members on Cisco ACI fabrics. notes: -- More information from the internal APIC class - I(fabric:NodeIdentP) at U(https://developer.cisco.com/site/aci/docs/apis/apic-mim-ref/). +- More information about the internal APIC class B(fabric:NodeIdentP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' @@ -57,18 +57,31 @@ extends_documentation_fragment: aci ''' EXAMPLES = r''' -- name: Adding new Fabric Node Member (Spine) +- name: Add fabric node aci_fabric_node: host: apic - username: someusername - password: somepassword - pod_id: 5 - serial: someserial123 - node_id: 112 - switch: someswitchname - description: somedescription - role: spine + username: admin + password: SomeSecretPassword + serial: FDO2031124L + node_id: 1011 + switch: fab4-sw1011 state: present + +- name: Remove fabric node + aci_fabric_node: + host: apic + username: admin + password: SomeSecretPassword + serial: FDO2031124L + node_id: 1011 + state: absent + +- name: Query fabric nodes + aci_fabric_node: + host: apic + username: admin + password: SomeSecretPassword + state: query ''' RETURN = r''' diff --git a/lib/ansible/modules/network/aci/aci_filter.py b/lib/ansible/modules/network/aci/aci_filter.py index 8d868c15eba..d1f484cf6c7 100644 --- a/lib/ansible/modules/network/aci/aci_filter.py +++ b/lib/ansible/modules/network/aci/aci_filter.py @@ -13,15 +13,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_filter -short_description: Manages top level filter objects on Cisco ACI fabrics (vz:Filter) +short_description: Manages top level filter objects (vz:Filter) description: - Manages top level filter objects on Cisco ACI fabrics. - This modules does not manage filter entries, see M(aci_filter_entry) for this functionality. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(vz:Filter) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:Filter) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_filter_entry.py b/lib/ansible/modules/network/aci/aci_filter_entry.py index 1d106ec7402..76a35da4456 100644 --- a/lib/ansible/modules/network/aci/aci_filter_entry.py +++ b/lib/ansible/modules/network/aci/aci_filter_entry.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_filter_entry -short_description: Manage filter entries on Cisco ACI fabrics (vz:Entry) +short_description: Manage filter entries (vz:Entry) description: - Manage filter entries for a filter on Cisco ACI fabrics. notes: - The C(tenant) and C(filter) used must exist before using this module in your playbook. The M(aci_tenant) and M(aci_filter) modules can be used for this. -- More information from the internal APIC class I(vz:Entry) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:Entry) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_firmware_source.py b/lib/ansible/modules/network/aci/aci_firmware_source.py index 56ff67c464b..2e1a4820248 100644 --- a/lib/ansible/modules/network/aci/aci_firmware_source.py +++ b/lib/ansible/modules/network/aci/aci_firmware_source.py @@ -14,15 +14,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_firmware_source -short_description: Manage firmware image sources on Cisco ACI fabrics (firmware:OSource) +short_description: Manage firmware image sources (firmware:OSource) description: - Manage firmware image sources on Cisco ACI fabrics. author: - Dag Wieers (@dagwieers) version_added: '2.5' notes: -- More information from the internal APIC class I(firmware:OSource) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(firmware:OSource) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). options: source: description: diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_fc.py b/lib/ansible/modules/network/aci/aci_interface_policy_fc.py index 46ff1b0c945..8297ce8437e 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_fc.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_fc.py @@ -13,15 +13,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_fc -short_description: Manage Fibre Channel interface policies on Cisco ACI fabrics (fc:IfPol) +short_description: Manage Fibre Channel interface policies (fc:IfPol) description: - Manage ACI Fiber Channel interface policies on Cisco ACI fabrics. author: - Dag Wieers (@dagwieers) version_added: '2.4' notes: -- More information from the internal APIC class I(fc:IfPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fc:IfPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). options: fc_policy: description: diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_l2.py b/lib/ansible/modules/network/aci/aci_interface_policy_l2.py index c264d9b58c2..6c36be554b0 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_l2.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_l2.py @@ -13,15 +13,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_l2 -short_description: Manage Layer 2 interface policies on Cisco ACI fabrics (l2:IfPol) +short_description: Manage Layer 2 interface policies (l2:IfPol) description: - Manage Layer 2 interface policies on Cisco ACI fabrics. author: - Dag Wieers (@dagwieers) version_added: '2.4' notes: -- More information from the internal APIC class I(l2:IfPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(l2:IfPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). options: l2_policy: description: diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_leaf_policy_group.py b/lib/ansible/modules/network/aci/aci_interface_policy_leaf_policy_group.py index 3ac7f55e195..938246fcbf4 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_leaf_policy_group.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_leaf_policy_group.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_leaf_policy_group -short_description: Add Fabric Interface Policy Leaf Policy Groups on Cisco ACI fabrics. +short_description: Manage fabric interface policy leaf policy groups (infra:AccBndlGrp, infra:AccPortGrp) description: -- Add Fabric Interface Policy Leaf Policy Groups on Cisco ACI fabrics. +- Manage fabric interface policy leaf policy groups on Cisco ACI fabrics. notes: - When using the module please select the appropriate link_aggregation_type (lag_type). C(link) for Port Channel(PC), C(node) for Virtual Port Channel(VPC) and C(leaf) for Leaf Access Port Policy Group. -- More information from the internal APIC class I(infra:AccBndlGrp), I(infra:AccPortGrp) at - U(https://developer.cisco.com/site/aci/docs/apis/apic-mim-ref/). +- More information about the internal APIC classes B(infra:AccBndlGrp) and B(infra:AccPortGrp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_leaf_profile.py b/lib/ansible/modules/network/aci/aci_interface_policy_leaf_profile.py index a63f6b29122..6e57743446f 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_leaf_profile.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_leaf_profile.py @@ -14,12 +14,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_leaf_profile -short_description: Manage Fabric interface policy leaf profiles on Cisco ACI fabrics (infra:AccPortP) +short_description: Manage fabric interface policy leaf profiles (infra:AccPortP) description: -- Manage Fabric interface policy leaf profiles on Cisco ACI fabrics. +- Manage fabric interface policy leaf profiles on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(infra:AccPortP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(infra:AccPortP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_lldp.py b/lib/ansible/modules/network/aci/aci_interface_policy_lldp.py index 9f20b50dd72..d5b7c9c9063 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_lldp.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_lldp.py @@ -13,12 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_lldp -short_description: Manage LLDP interface policies on Cisco ACI fabrics (lldp:IfPol) +short_description: Manage LLDP interface policies (lldp:IfPol) description: - Manage LLDP interface policies on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(lldp:IfPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(lldp:IfPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' @@ -41,7 +41,6 @@ options: transmit_state: description: - Enable or Disable Transmit state. - required: false choices: [ disabled, enabled ] default: enabled state: diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_mcp.py b/lib/ansible/modules/network/aci/aci_interface_policy_mcp.py index 710f90f60d0..90f56fe29af 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_mcp.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_mcp.py @@ -13,12 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_mcp -short_description: Manage MCP interface policies on Cisco ACI fabrics (mcp:IfPol) +short_description: Manage MCP interface policies (mcp:IfPol) description: - Manage MCP interface policies on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(mcp:IfPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(mcp:IfPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_port_channel.py b/lib/ansible/modules/network/aci/aci_interface_policy_port_channel.py index e1b47122b8b..29c941587e2 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_port_channel.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_port_channel.py @@ -13,12 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_port_channel -short_description: Manage port channel interface policies on Cisco ACI fabrics (lacp:LagPol) +short_description: Manage port channel interface policies (lacp:LagPol) description: - Manage port channel interface policies on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(lacp:LagPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(lacp:LagPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' @@ -26,7 +26,7 @@ options: port_channel: description: - Name of the port channel. - required: true + required: yes aliases: [ name ] description: description: @@ -49,48 +49,48 @@ options: - Port channel interface policy mode. - Determines the LACP method to use for forming port-channels. - The APIC defaults new Port Channel Polices to C(off). - choices: [ active, mac-pin, mac-pin-nicload, off, passive ] - default: off + choices: [ active, mac-pin, mac-pin-nicload, 'off', passive ] + default: 'off' fast_select: description: - Determines if Fast Select is enabled for Hot Standby Ports. - This makes up the LACP Policy Control Policy; if one setting is defined, then all other Control Properties left undefined or set to false will not exist after the task is ran. - - The APIC defaults new LACP Policies to C(true). + - The APIC defaults new LACP Policies to C(yes). type: bool - default: true + default: 'yes' graceful_convergence: description: - Determines if Graceful Convergence is enabled. - This makes up the LACP Policy Control Policy; if one setting is defined, then all other Control Properties left undefined or set to false will not exist after the task is ran. - - The APIC defaults new LACP Policies to C(true). + - The APIC defaults new LACP Policies to C(yes). type: bool - default: true + default: 'yes' load_defer: description: - Determines if Load Defer is enabled. - This makes up the LACP Policy Control Policy; if one setting is defined, then all other Control Properties left undefined or set to false will not exist after the task is ran. - - The APIC defaults new LACP Policies to C(false). + - The APIC defaults new LACP Policies to C(no). type: bool - default: false + default: 'no' suspend_individual: description: - Determines if Suspend Individual is enabled. - This makes up the LACP Policy Control Policy; if one setting is defined, then all other Control Properties left undefined or set to false will not exist after the task is ran. - - The APIC defaults new LACP Policies to C(true). + - The APIC defaults new LACP Policies to C(yes). type: bool - default: true + default: 'yes' symmetric_hash: description: - Determines if Symmetric Hashing is enabled. - This makes up the LACP Policy Control Policy; if one setting is defined, then all other Control Properties left undefined or set to false will not exist after the task is ran. - - The APIC defaults new LACP Policies to C(false). + - The APIC defaults new LACP Policies to C(no). type: bool - default: false + default: 'no' state: description: - Use C(present) or C(absent) for adding or removing. diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_port_security.py b/lib/ansible/modules/network/aci/aci_interface_policy_port_security.py index 402649852d5..5c0042cd32c 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_port_security.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_port_security.py @@ -13,12 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_policy_port_security -short_description: Manage port security on Cisco ACI fabrics (l2:PortSecurityPol) +short_description: Manage port security (l2:PortSecurityPol) description: - Manage port security on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(l2:PortSecurityPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(l2:PortSecurityPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_interface_selector_to_switch_policy_leaf_profile.py b/lib/ansible/modules/network/aci/aci_interface_selector_to_switch_policy_leaf_profile.py index c1bb36c3eb9..d999a4259f6 100644 --- a/lib/ansible/modules/network/aci/aci_interface_selector_to_switch_policy_leaf_profile.py +++ b/lib/ansible/modules/network/aci/aci_interface_selector_to_switch_policy_leaf_profile.py @@ -14,13 +14,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_interface_selector_to_switch_policy_leaf_profile -short_description: Associates an Interface Selector Profile to a Switch Policy Leaf Profile (infra:RsAccPortP) +short_description: Bind interface selector profiles to switch policy leaf profiles (infra:RsAccPortP) description: -- Associates an Interface Profile (Selector) to a Switch Policy Leaf Profile on Cisco ACI fabrics. +- Bind interface selector profiles to switch policy leaf profiles on Cisco ACI fabrics. notes: - This module requires an existing leaf profile, the module M(aci_switch_policy_leaf_profile) can be used for this. -- More information from the internal APIC class I(infra:RsAccPortP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(infra:RsAccPortP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_l3out_route_tag_policy.py b/lib/ansible/modules/network/aci/aci_l3out_route_tag_policy.py index 9b5f979ff87..2c2514187ad 100644 --- a/lib/ansible/modules/network/aci/aci_l3out_route_tag_policy.py +++ b/lib/ansible/modules/network/aci/aci_l3out_route_tag_policy.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_l3out_route_tag_policy -short_description: Manage route tag policies on Cisco ACI fabrics (l3ext:RouteTagPol) +short_description: Manage route tag policies (l3ext:RouteTagPol) description: - Manage route tag policies on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(l3ext:RouteTagPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(l3ext:RouteTagPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_rest.py b/lib/ansible/modules/network/aci/aci_rest.py index f64a94049d6..4c6c958d9c5 100644 --- a/lib/ansible/modules/network/aci/aci_rest.py +++ b/lib/ansible/modules/network/aci/aci_rest.py @@ -26,8 +26,8 @@ notes: This is a known APIC problem and has been reported to the vendor. A workaround for this issue exists. More information in :ref:`the ACI documentation `. - XML payloads require the C(lxml) and C(xmljson) python libraries. For JSON payloads nothing special is needed. -- More information regarding the Cisco APIC REST API is available from - U(http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide.html). +- More information regarding the APIC REST API is available from + L(the Cisco APIC REST API Configuration Guide,http://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/2-x/rest_cfg/2_1_x/b_Cisco_APIC_REST_API_Configuration_Guide.html). # NOQA author: - Dag Wieers (@dagwieers) version_added: '2.4' @@ -42,7 +42,6 @@ options: - Using C(delete) is typically used for deleting objects. - Using C(get) is typically used for querying objects. - Using C(post) is typically used for modifying objects. - required: yes default: get choices: [ delete, get, post ] aliases: [ action ] diff --git a/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py b/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py index 2cd8683bd63..42b8652276e 100644 --- a/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py +++ b/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_static_binding_to_epg -short_description: Bind static paths to EPGs on Cisco ACI fabrics (fv:RsPathAtt) +short_description: Bind static paths to EPGs (fv:RsPathAtt) description: - Bind static paths to EPGs on Cisco ACI fabrics. notes: - The C(tenant), C(ap), C(epg) used must exist before using this module in your playbook. The M(aci_tenant), M(aci_ap), M(aci_epg) modules can be used for this. -- More information from the internal APIC classes I(fv:RsPathAtt) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(fv:RsPathAtt) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' @@ -103,7 +103,7 @@ extends_documentation_fragment: aci ''' EXAMPLES = r''' -- name: Deploy Static Path for EPG +- name: Deploy Static Path binding for given EPG aci_static_binding_to_epg: host: apic username: admin @@ -119,6 +119,34 @@ EXAMPLES = r''' leafs: 101 interface: '1/7' state: present + +- name: Remove Static Path binding for given EPG + aci_static_binding_to_epg: + host: apic + username: admin + password: SomeSecretPassword + tenant: accessport-code-cert + ap: accessport_code_app + epg: accessport_epg1 + interface_type: switch_port + pod: 1 + leafs: 101 + interface: '1/7' + state: absent + +- name: Get specific Static Path binding for given EPG + aci_static_binding_to_epg: + host: apic + username: admin + password: SomeSecretPassword + tenant: accessport-code-cert + ap: accessport_code_app + epg: accessport_epg1 + interface_type: switch_port + pod: 1 + leafs: 101 + interface: '1/7' + state: query ''' RETURN = r''' diff --git a/lib/ansible/modules/network/aci/aci_switch_leaf_selector.py b/lib/ansible/modules/network/aci/aci_switch_leaf_selector.py index 7d410c178ce..8eac9cfd451 100644 --- a/lib/ansible/modules/network/aci/aci_switch_leaf_selector.py +++ b/lib/ansible/modules/network/aci/aci_switch_leaf_selector.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_switch_leaf_selector -short_description: Add a leaf Selector with Node Block Range and Policy Group to a Switch Policy Leaf Profile on Cisco ACI fabrics +short_description: Bind leaf selectors to switch policy leaf profiles (infra:LeafS, infra:NodeBlk, infra:RsAccNodePGrep) description: -- Add a leaf Selector with Node Block range and Policy Group to a Switch Policy Leaf Profile on Cisco ACI fabrics. +- Bind leaf selectors (with node block range and policy group) to switch policy leaf profiles on Cisco ACI fabrics. notes: - This module is to be used with M(aci_switch_policy_leaf_profile) One first creates a leaf profile (infra:NodeP) and then creates an associated selector (infra:LeafS), -- More information from the internal APIC class I(infra:LeafS), I(infra:NodeBlk), I(infra:RsAccNodePGrp) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC classes B(infra:LeafS), B(infra:NodeBlk) and B(infra:RsAccNodePGrp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_switch_policy_leaf_profile.py b/lib/ansible/modules/network/aci/aci_switch_policy_leaf_profile.py index 882c425314a..37017c1f128 100644 --- a/lib/ansible/modules/network/aci/aci_switch_policy_leaf_profile.py +++ b/lib/ansible/modules/network/aci/aci_switch_policy_leaf_profile.py @@ -14,12 +14,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_switch_policy_leaf_profile -short_description: Create switch policy leaf profiles on Cisco ACI fabrics (infra:NodeP) +short_description: Manage switch policy leaf profiles (infra:NodeP) description: -- Create switch policy leaf profiles on Cisco ACI fabrics. +- Manage switch policy leaf profiles on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(infra:NodeP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(infra:NodeP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' diff --git a/lib/ansible/modules/network/aci/aci_switch_policy_vpc_protection_group.py b/lib/ansible/modules/network/aci/aci_switch_policy_vpc_protection_group.py index 081da4e0193..4cb843e071a 100644 --- a/lib/ansible/modules/network/aci/aci_switch_policy_vpc_protection_group.py +++ b/lib/ansible/modules/network/aci/aci_switch_policy_vpc_protection_group.py @@ -14,12 +14,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_switch_policy_vpc_protection_group -short_description: Create switch policy Explicit vPC Protection Group on Cisco ACI fabrics (fabric:ExplicitGEp, fabric:NodePEp). +short_description: Manage switch policy explicit vPC protection groups (fabric:ExplicitGEp, fabric:NodePEp). description: -- Create switch policy Explicit vPC Protection Group on Cisco ACI fabrics. +- Manage switch policy explicit vPC protection groups on Cisco ACI fabrics. notes: -- More information from the internal APIC class - I(fabric:ExplicitGEp) and I(fabric:NodePEp) at U(https://developer.cisco.com/site/aci/docs/apis/apic-mim-ref/). +- More information about the internal APIC classes B(fabric:ExplicitGEp) and B(fabric:NodePEp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Bruno Calogero (@brunocalogero) version_added: '2.5' @@ -56,16 +56,15 @@ extends_documentation_fragment: aci ''' EXAMPLES = r''' -- name: Add Explicit vPC Protection Group +- name: Add vPC Protection Group aci_switch_policy_vpc_protection_group: host: apic username: admin password: SomeSecretPassword - protection_group: protectiongroupname + protection_group: leafPair101-vpcGrp protection_group_id: 6 - vpc_domain_policy: vpcdomainpolicyname - switch_1_id: 3811 - switch_2_id: 3812 + switch_1_id: 1011 + switch_2_id: 1012 state: present - name: Remove Explicit vPC Protection Group @@ -73,8 +72,23 @@ EXAMPLES = r''' host: apic username: admin password: SomeSecretPassword - protection_group: protectiongroupname + protection_group: leafPair101-vpcGrp state: absent + +- name: Query vPC Protection Groups + aci_switch_policy_vpc_protection_group: + host: apic + username: admin + password: SomeSecretPassword + state: query + +- name: Query our vPC Protection Group + aci_switch_policy_vpc_protection_group: + host: apic + username: admin + password: SomeSecretPassword + protection_group: leafPair101-vpcGrp + state: query ''' RETURN = r''' diff --git a/lib/ansible/modules/network/aci/aci_taboo_contract.py b/lib/ansible/modules/network/aci/aci_taboo_contract.py index 02db78c5856..035b4718209 100644 --- a/lib/ansible/modules/network/aci/aci_taboo_contract.py +++ b/lib/ansible/modules/network/aci/aci_taboo_contract.py @@ -14,14 +14,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_taboo_contract -short_description: Manage taboo contracts on Cisco ACI fabrics (vz:BrCP) +short_description: Manage taboo contracts (vz:BrCP) description: - Manage taboo contracts on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(vz:BrCP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(vz:BrCP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant.py b/lib/ansible/modules/network/aci/aci_tenant.py index 2efcfae6e76..319ccd351b8 100644 --- a/lib/ansible/modules/network/aci/aci_tenant.py +++ b/lib/ansible/modules/network/aci/aci_tenant.py @@ -13,12 +13,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant -short_description: Manage tenants on Cisco ACI fabrics (fv:Tenant) +short_description: Manage tenants (fv:Tenant) description: - Manage tenants on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(fv:Tenant) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:Tenant) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant_action_rule_profile.py b/lib/ansible/modules/network/aci/aci_tenant_action_rule_profile.py index 1877ab9f689..ad3158a5098 100644 --- a/lib/ansible/modules/network/aci/aci_tenant_action_rule_profile.py +++ b/lib/ansible/modules/network/aci/aci_tenant_action_rule_profile.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant_action_rule_profile -short_description: Manage action rule profiles on Cisco ACI fabrics (rtctrl:AttrP) +short_description: Manage action rule profiles (rtctrl:AttrP) description: - Manage action rule profiles on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(rtctrl:AttrP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(rtctrl:AttrP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant_ep_retention_policy.py b/lib/ansible/modules/network/aci/aci_tenant_ep_retention_policy.py index 3e5cf7ef113..fa97dac1e37 100755 --- a/lib/ansible/modules/network/aci/aci_tenant_ep_retention_policy.py +++ b/lib/ansible/modules/network/aci/aci_tenant_ep_retention_policy.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant_ep_retention_policy -short_description: Manage End Point (EP) retention protocol policies on Cisco ACI fabrics (fv:EpRetPol) +short_description: Manage End Point (EP) retention protocol policies (fv:EpRetPol) description: - Manage End Point (EP) retention protocol policies on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(fv:EpRetPol) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:EpRetPol) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Swetha Chunduri (@schunduri) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py b/lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py index e05e1e4ff03..d99a7ccca63 100644 --- a/lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py +++ b/lib/ansible/modules/network/aci/aci_tenant_span_dst_group.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant_span_dst_group -short_description: Manage SPAN destination groups on Cisco ACI fabrics (span:DestGrp) +short_description: Manage SPAN destination groups (span:DestGrp) description: - Manage SPAN destination groups on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(span:DestGrp) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(span:DestGrp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Dag Wieers (@dagwieers) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant_span_src_group.py b/lib/ansible/modules/network/aci/aci_tenant_span_src_group.py index d6560313b79..b939e744db8 100755 --- a/lib/ansible/modules/network/aci/aci_tenant_span_src_group.py +++ b/lib/ansible/modules/network/aci/aci_tenant_span_src_group.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant_span_src_group -short_description: Manage SPAN source groups on Cisco ACI fabrics (span:SrcGrp) +short_description: Manage SPAN source groups (span:SrcGrp) description: - Manage SPAN source groups on Cisco ACI fabrics. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(span:SrcGrp) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(span:SrcGrp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_tenant_span_src_group_to_dst_group.py b/lib/ansible/modules/network/aci/aci_tenant_span_src_group_to_dst_group.py index 2688754e2ee..08f5e443642 100755 --- a/lib/ansible/modules/network/aci/aci_tenant_span_src_group_to_dst_group.py +++ b/lib/ansible/modules/network/aci/aci_tenant_span_src_group_to_dst_group.py @@ -13,14 +13,14 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_tenant_span_src_group_to_dst_group -short_description: Manage SPAN source group to destination group bindings on Cisco ACI fabrics (span:SpanLbl) +short_description: Bind SPAN source groups to destination groups (span:SpanLbl) description: -- Manage SPAN source groups' associated destinaton group on Cisco ACI fabrics. +- Bind SPAN source groups to associated destinaton groups on Cisco ACI fabrics. notes: - The C(tenant), C(src_group), and C(dst_group) must exist before using this module in your playbook. The M(aci_tenant), M(aci_tenant_span_src_group), and M(aci_tenant_span_dst_group) modules can be used for this. -- More information from the internal APIC class I(span:SrcGrp) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(span:SrcGrp) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/lib/ansible/modules/network/aci/aci_vlan_pool.py b/lib/ansible/modules/network/aci/aci_vlan_pool.py index 79526ae1c64..926a123abc3 100644 --- a/lib/ansible/modules/network/aci/aci_vlan_pool.py +++ b/lib/ansible/modules/network/aci/aci_vlan_pool.py @@ -15,12 +15,12 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_vlan_pool -short_description: Manage VLAN pools on Cisco ACI fabrics (fvns:VlanInstP) +short_description: Manage VLAN pools (fvns:VlanInstP) description: - Manage VLAN pools on Cisco ACI fabrics. notes: -- More information from the internal APIC class I(fvns:VlanInstP) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fvns:VlanInstP) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) - Dag Wieers (@dagwieers) diff --git a/lib/ansible/modules/network/aci/aci_vlan_pool_encap_block.py b/lib/ansible/modules/network/aci/aci_vlan_pool_encap_block.py index 730d6e76f11..6fa56773714 100644 --- a/lib/ansible/modules/network/aci/aci_vlan_pool_encap_block.py +++ b/lib/ansible/modules/network/aci/aci_vlan_pool_encap_block.py @@ -15,13 +15,13 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_vlan_pool_encap_block -short_description: Manage encap blocks assigned to VLAN pools on Cisco ACI fabrics (fvns:EncapBlk) +short_description: Manage encap blocks assigned to VLAN pools (fvns:EncapBlk) description: - Manage VLAN encap blocks that are assigned to VLAN pools on Cisco ACI fabrics. notes: - The C(pool) must exist in order to add or delete a encap block. -- More information from the internal APIC class I(fvns:EncapBlk) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fvns:EncapBlk) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) - Dag Wieers (@dagwieers) diff --git a/lib/ansible/modules/network/aci/aci_vrf.py b/lib/ansible/modules/network/aci/aci_vrf.py index c7bec9bc224..982a36cf86d 100644 --- a/lib/ansible/modules/network/aci/aci_vrf.py +++ b/lib/ansible/modules/network/aci/aci_vrf.py @@ -13,15 +13,15 @@ ANSIBLE_METADATA = {'metadata_version': '1.1', DOCUMENTATION = r''' --- module: aci_vrf -short_description: Manage VRF (private networks aka. contexts) on Cisco ACI fabrics (fv:Ctx) +short_description: Manage contexts or VRFs (fv:Ctx) description: -- Manage VRF (private networks aka. contexts) on Cisco ACI fabrics. +- Manage contexts or VRFs on Cisco ACI fabrics. - Each context is a private network associated to a tenant, i.e. VRF. notes: - The C(tenant) used must exist before using this module in your playbook. The M(aci_tenant) module can be used for this. -- More information from the internal APIC class I(fv:Ctx) at - U(https://developer.cisco.com/docs/apic-mim-ref/). +- More information about the internal APIC class B(fv:Ctx) from + L(the APIC Management Information Model reference,https://developer.cisco.com/docs/apic-mim-ref/). author: - Jacob McGill (@jmcgill298) version_added: '2.4' diff --git a/test/integration/targets/aci_interface_policy_leaf_policy_group/tasks/main.yml b/test/integration/targets/aci_interface_policy_leaf_policy_group/tasks/main.yml index 6969f62a9c0..f0f47008e8d 100644 --- a/test/integration/targets/aci_interface_policy_leaf_policy_group/tasks/main.yml +++ b/test/integration/targets/aci_interface_policy_leaf_policy_group/tasks/main.yml @@ -90,7 +90,7 @@ - intf_policy_leaf_polgrp_check_mode_present.changed == true - intf_policy_leaf_polgrp_present.changed == true - intf_policy_leaf_polgrp_present.previous == [] - - 'intf_policy_leaf_polgrp_present.sent == {"infraAccBndlGrp": {"attributes": {"lagT": "link","name": "policygroupname"},"children": [{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}},{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}}]}}' + - 'intf_policy_leaf_polgrp_present.sent == {"infraAccBndlGrp": {"attributes": {"lagT": "link","name": "policygroupname"},"children": [{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}},{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}}]}}' - intf_policy_leaf_polgrp_idempotent.changed == false - intf_policy_leaf_polgrp_idempotent.sent == {} - intf_policy_leaf_polgrp_update.changed == true @@ -209,7 +209,7 @@ - intf_policy_leaf_polgrp_check_mode_present.changed == true - intf_policy_leaf_polgrp_present.changed == true - intf_policy_leaf_polgrp_present.previous == [] - - 'intf_policy_leaf_polgrp_present.sent == {"infraAccBndlGrp": {"attributes": {"lagT": "node","name": "policygroupname"},"children": [{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}},{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}}]}}' + - 'intf_policy_leaf_polgrp_present.sent == {"infraAccBndlGrp": {"attributes": {"lagT": "node","name": "policygroupname"},"children": [{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}},{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}}]}}' - intf_policy_leaf_polgrp_idempotent.changed == false - intf_policy_leaf_polgrp_idempotent.sent == {} - intf_policy_leaf_polgrp_update.changed == true @@ -336,7 +336,7 @@ - intf_policy_leaf_polgrp_check_mode_present.changed == true - intf_policy_leaf_polgrp_present.changed == true - intf_policy_leaf_polgrp_present.previous == [] - - 'intf_policy_leaf_polgrp_present.sent == {"infraAccPortGrp": {"attributes": {"name": "policygroupname"},"children": [{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}},{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}}]}}' + - 'intf_policy_leaf_polgrp_present.sent == {"infraAccPortGrp": {"attributes": {"name": "policygroupname"},"children": [{"infraRsAttEntP": {"attributes": {"tDn": "uni/infra/attentp-None"}}},{"infraRsFcIfPol": {"attributes": {"tnFcIfPolName": "fiberchannelpolicy"}}},{"infraRsHIfPol": {"attributes": {"tnFabricHIfPolName": "linklevelpolicy"}}}]}}' - intf_policy_leaf_polgrp_idempotent.changed == false - intf_policy_leaf_polgrp_idempotent.sent == {} - intf_policy_leaf_polgrp_update.changed == true