cisco.aci.aci_interface_policy_leaf_profile – Manage fabric interface policy leaf profiles (infra:AccPortP)¶
Note
This plugin is part of the cisco.aci collection (version 2.0.0).
To install it use: ansible-galaxy collection install cisco.aci
.
To use it in a playbook, specify: cisco.aci.aci_interface_policy_leaf_profile
.
Parameters¶
See Also¶
See also
- APIC Management Information Model reference
More information about the internal APIC class infra:AccPortP.
- 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 leaf_interface_profile
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname
description: leafintprfname description
state: present
delegate_to: localhost
- name: Add a new leaf_interface_profile of type fex
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname_fex
type: fex
description: leafintprfname description
state: present
delegate_to: localhost
- name: Remove a leaf_interface_profile
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname
state: absent
delegate_to: localhost
- name: Remove a leaf_interface_profile of type fex
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname_fex
type: fex
state: absent
delegate_to: localhost
- name: Query a leaf_interface_profile
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname
state: query
delegate_to: localhost
register: query_result
- name: Query a leaf_interface_profile of type fex
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
interface_profile: leafintprfname_fex
type: fex
state: query
delegate_to: localhost
register: query_result
- name: Query all leaf_interface_profiles
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
state: query
delegate_to: localhost
- name: Query all leaf_interface_profiles of type fex
cisco.aci.aci_interface_policy_leaf_profile:
host: apic
username: admin
password: SomeSecretPassword
type: fex
state: query
delegate_to: localhost
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Bruno Calogero (@brunocalogero)
Shreyas Srish (@shrsr)