aci_contract_subject_to_filter – Bind Contract Subjects to Filters (vz:RsSubjFiltAtt)¶
New in version 2.4.
Parameters¶
Notes¶
Note
- The
tenant
,contract
,subject
, andfilter_name
must exist before using this module in your playbook. The aci_tenant, aci_contract, aci_contract_subject, and aci_filter modules can be used for these.
See Also¶
See also
- aci_contract_subject – Manage initial Contract Subjects (vz:Subj)
- The official documentation on the aci_contract_subject module.
- aci_filter – Manages top level filter objects (vz:Filter)
- The official documentation on the aci_filter module.
- APIC Management Information Model reference
- More information about the internal APIC class vz:RsSubjFiltAtt.
- 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 contract subject to filer binding
aci_contract_subject_to_filter:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
contract: web_to_db
subject: test
filter: '{{ filter }}'
log: '{{ log }}'
state: present
delegate_to: localhost
- name: Remove an existing contract subject to filter binding
aci_contract_subject_to_filter:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
contract: web_to_db
subject: test
filter: '{{ filter }}'
log: '{{ log }}'
state: present
delegate_to: localhost
- name: Query a specific contract subject to filter binding
aci_contract_subject_to_filter:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
contract: web_to_db
subject: test
filter: '{{ filter }}'
state: query
delegate_to: localhost
register: query_result
- name: Query all contract subject to filter bindings
aci_contract_subject_to_filter:
host: apic
username: admin
password: SomeSecretPassword
tenant: production
contract: web_to_db
subject: test
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¶
- Jacob McGill (@jmcgill298)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.