aci_static_binding_to_epg – Bind static paths to EPGs (fv:RsPathAtt)¶
New in version 2.5.
Synopsis¶
Bind static paths to EPGs on Cisco ACI fabrics.
Parameters¶
Notes¶
Note
The
tenant
,ap
,epg
used must exist before using this module in your playbook. The aci_tenant, aci_ap, aci_epg 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_ap – Manage top level Application Profile (AP) objects (fv:Ap)
The official documentation on the aci_ap module.
- aci_epg – Manage End Point Groups (EPG) objects (fv:AEPg)
The official documentation on the aci_epg module.
- APIC Management Information Model reference
More information about the internal APIC class fv:RsPathAtt.
- 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: Deploy 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
encap_id: 222
deploy_immediacy: lazy
interface_mode: untagged
interface_type: switch_port
pod_id: 1
leafs: 101
interface: '1/7'
state: present
delegate_to: localhost
- 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
delegate_to: localhost
- 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
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]