From b06cbaaac89cd34bcb9efe620a93c5d7ad8525ff Mon Sep 17 00:00:00 2001 From: Gaspard Micol Date: Fri, 12 Jan 2024 07:24:18 -0500 Subject: [PATCH] [ignore] Add Query All examples in every new QoS modules. --- plugins/module_utils/constants.py | 6 +++++- plugins/modules/aci_qos_custom_policy.py | 8 ++++++++ plugins/modules/aci_qos_dot1p_class.py | 8 ++++++++ plugins/modules/aci_qos_dscp_class.py | 8 ++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/plugins/module_utils/constants.py b/plugins/module_utils/constants.py index 1ea06959a..dbde9754e 100644 --- a/plugins/module_utils/constants.py +++ b/plugins/module_utils/constants.py @@ -137,7 +137,11 @@ "rn": "rsprov-", "name": "tnVzBrCPName", }, - taboo={"class": "fvRsProtBy", "rn": "rsprotBy-", "name": "tnVzTabooName"}, + taboo={ + "class": "fvRsProtBy", + "rn": "rsprotBy-", + "name": "tnVzTabooName", + }, interface={ "class": "fvRsConsIf", "rn": "rsconsIf-", diff --git a/plugins/modules/aci_qos_custom_policy.py b/plugins/modules/aci_qos_custom_policy.py index 6e5ecf35a..c5200b0f7 100644 --- a/plugins/modules/aci_qos_custom_policy.py +++ b/plugins/modules/aci_qos_custom_policy.py @@ -88,6 +88,14 @@ state: query delegate_to: localhost +- name: Query all QoS Custom Policies + cisco.aci.aci_qos_custom_policy: + host: apic + username: admin + password: SomeSecretPassword + state: query + delegate_to: localhost + - name: Delete a QoS Custom Policy cisco.aci.aci_qos_custom_policy: host: apic diff --git a/plugins/modules/aci_qos_dot1p_class.py b/plugins/modules/aci_qos_dot1p_class.py index 79a7e14c4..f6939af20 100644 --- a/plugins/modules/aci_qos_dot1p_class.py +++ b/plugins/modules/aci_qos_dot1p_class.py @@ -121,6 +121,14 @@ state: query delegate_to: localhost +- name: Query all QoS dot1P Classes + cisco.aci.aci_qos_dot1p_class: + host: apic + username: admin + password: SomeSecretPassword + state: query + delegate_to: localhost + - name: Delete a QoS dot1P Class cisco.aci.aci_qos_dot1p_class: host: apic diff --git a/plugins/modules/aci_qos_dscp_class.py b/plugins/modules/aci_qos_dscp_class.py index f3bbc7ba3..18219d0c0 100644 --- a/plugins/modules/aci_qos_dscp_class.py +++ b/plugins/modules/aci_qos_dscp_class.py @@ -121,6 +121,14 @@ state: query delegate_to: localhost +- name: Query all QoS DSCP Classes + cisco.aci.aci_qos_dscp_class: + host: apic + username: admin + password: SomeSecretPassword + state: query + delegate_to: localhost + - name: Delete a QoS DSCP Class cisco.aci.aci_qos_dscp_class: host: apic