aci_domain – Manage physical, virtual, bridged, routed or FC domain profiles (phys:DomP, vmm:DomP, l2ext:DomP, l3ext:DomP, fc:DomP)¶
New in version 2.5.
Parameters¶
See Also¶
See also
- aci_aep_to_domain – Bind AEPs to Physical or Virtual Domains (infra:RsDomP)
- The official documentation on the aci_aep_to_domain module.
- aci_domain_to_encap_pool – Bind Domain to Encap Pools (infra:RsVlanNs)
- The official documentation on the aci_domain_to_encap_pool module.
- aci_domain_to_vlan_pool – Bind Domain to VLAN Pools (infra:RsVlanNs)
- The official documentation on the aci_domain_to_vlan_pool module.
- APIC Management Information Model reference
- More information about the internal APIC classes phys:DomP, vmm:DomP, l2ext:DomP, l3ext:DomP and fc:DomP
- Cisco ACI ガイド
- Detailed information on how to manage your ACI infrastructure using Ansible.
- Cisco ACI モジュールの開発
- Detailed guide on how to write your own Cisco ACI modules to contribute.
Examples¶
- name: Add a new physical domain
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain: phys_dom
domain_type: phys
state: present
- name: Remove a physical domain
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain: phys_dom
domain_type: phys
state: absent
- name: Add a new VMM domain
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain: hyperv_dom
domain_type: vmm
vm_provider: microsoft
state: present
delegate_to: localhost
- name: Remove a VMM domain
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain: hyperv_dom
domain_type: vmm
vm_provider: microsoft
state: absent
delegate_to: localhost
- name: Query a specific physical domain
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain: phys_dom
domain_type: phys
state: query
delegate_to: localhost
register: query_result
- name: Query all domains
aci_domain:
host: apic
username: admin
password: SomeSecretPassword
domain_type: phys
state: query
delegate_to: localhost
register: query_result
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by an Ansible Partner. [certified]
Authors¶
- Dag Wieers (@dagwieers)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.