aci_l3out_extsubnet – Manage External Subnet objects (l3extSubnet:extsubnet)¶
New in version 2.9.
Parameters¶
Notes¶
Note
The
tenant
anddomain
andvrf
used must exist before using this module in your playbook. The aci_tenant and aci_domain and aci_vrf modules can be used for this.
See Also¶
See also
- aci_tenant – Manage tenants (fv:Tenant)
The official documentation on the aci_tenant module.
- aci_domain – Manage physical, virtual, bridged, routed or FC domain profiles (phys:DomP, vmm:DomP, l2ext:DomP, l3ext:DomP, fc:DomP)
The official documentation on the aci_domain module.
- aci_vrf – Manage contexts or VRFs (fv:Ctx)
The official documentation on the aci_vrf module.
- APIC Management Information Model reference
More information about the internal APIC class l3ext:Out.
- Cisco ACI Guide
Detailed information on how to manage your ACI infrastructure using Ansible.
- Developing Cisco ACI modules
Detailed guide on how to write your own Cisco ACI modules to contribute.
Examples¶
- name: Add a new External Subnet
aci_l3out_extsubnet:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
l3out: prod_l3out
extepg: prod_extepg
description: External Subnet for Production ExtEpg
network: 192.0.2.0/24
scope: export-rtctrl
state: present
delegate_to: localhost
- name: Delete External Subnet
aci_l3out_extsubnet:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
l3out: prod_l3out
extepg: prod_extepg
network: 192.0.2.0/24
state: absent
delegate_to: localhost
- name: Query ExtEpg information
aci_l3out_extsubnet:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
l3out: prod_l3out
extepg: prod_extepg
network: 192.0.2.0/24
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¶
Rostyslav Davydenko (@rost-d)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.