Skip to content

Commit

Permalink
[minor_change] Add aci_qos_dot1p_class as a new module and Modify aci…
Browse files Browse the repository at this point in the history
…_qos_dscp_class and aci_qos_custom_policy modules and test cases
  • Loading branch information
gmicol authored and lhercot committed Jan 17, 2024
1 parent c321653 commit 5f39bbb
Show file tree
Hide file tree
Showing 7 changed files with 549 additions and 125 deletions.
18 changes: 8 additions & 10 deletions plugins/modules/aci_qos_custom_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
- cisco.aci.owner
notes:
- The C(tenant) must exist before using this module in your playbook.
- The I(tenant) must exist before using this module in your playbook.
The M(cisco.aci.aci_tenant) can be used for this.
seealso:
- module: cisco.aci.aci_tenant
- name: APIC Management Information Model reference
description: More information about the internal APIC classes
description: More information about the internal APIC class B(qos:CustomPol).
link: https://developer.cisco.com/docs/apic-mim-ref/
author:
- Gaspard Micol (@gmicol)
Expand All @@ -69,36 +69,34 @@
state: present
delegate_to: localhost
- name: Delete an QoS Custom Policy
- name: Query a QoS Custom Policy
cisco.aci.aci_qos_custom_policy:
host: apic
username: admin
password: SomeSecretPassword
tenant: my_tenant
qos_custom_policy: my_qos_custom_policy
state: absent
state: query
delegate_to: localhost
- name: Query a QoS Custom Policy
- name: Query all QoS Custom Policies in my_tenant
cisco.aci.aci_qos_custom_policy:
host: apic
username: admin
password: SomeSecretPassword
tenant: my_tenant
qos_custom_policy: my_qos_custom_policy
state: query
delegate_to: localhost
register: query_result
- name: Query all QoS Custom Policies in my_tenant
- name: Delete a QoS Custom Policy
cisco.aci.aci_qos_custom_policy:
host: apic
username: admin
password: SomeSecretPassword
tenant: my_tenant
state: query
qos_custom_policy: my_qos_custom_policy
state: absent
delegate_to: localhost
register: query_result
"""

RETURN = r"""
Expand Down
Loading

0 comments on commit 5f39bbb

Please sign in to comment.