cisco.aci.aci_epg_to_contract_master – Manage End Point Group (EPG) contract master relationships (fv:RsSecInherited)¶
Note
This plugin is part of the cisco.aci collection (version 1.1.1).
To install it use: ansible-galaxy collection install cisco.aci
.
To use it in a playbook, specify: cisco.aci.aci_epg_to_contract_master
.
Parameters¶
Notes¶
Note
The
tenant
andapp_profile
used must exist before using this module in your playbook. The cisco.aci.aci_tenant and cisco.aci.aci_ap modules can be used for this.
See Also¶
See also
- cisco.aci.aci_epg
The official documentation on the cisco.aci.aci_epg module.
- APIC Management Information Model reference
More information about the internal APIC class fv:AEPg.
- 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 contract master
cisco.aci.aci_epg_to_contract_master:
host: apic_host
username: admin
password: SomeSecretPassword
tenant: anstest
ap: apName
epg: epgName
contract_master_ap: ap
contract_master_epg: epg
state: present
delegate_to: localhost
- name: Remove contract master
cisco.aci.aci_epg_to_contract_master:
host: apic_host
username: admin
password: SomeSecretPassword
tenant: anstest
ap: apName
epg: epgName
contract_master_ap: ap
contract_master_epg: epg
state: absent
delegate_to: localhost
- name: Query contract master
cisco.aci.aci_epg_to_contract_master:
host: apic_host
username: admin
password: SomeSecretPassword
tenant: anstest
ap: apName
epg: epgName
contract_master_ap: ap
contract_master_epg: epg
state: query
delegate_to: localhost
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Cindy Zhao (@cizhao)