From 87beb65c59283e7e773382d4f94fba6415f7f3f6 Mon Sep 17 00:00:00 2001 From: "Maxime.L" Date: Tue, 27 Feb 2024 15:13:11 +0100 Subject: [PATCH 1/2] Add private vlan on fact --- .../nxos/argspec/l2_interfaces/l2_interfaces.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py b/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py index 046511c72..731fe559f 100644 --- a/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py +++ b/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py @@ -44,7 +44,17 @@ class L2_interfacesArgs(object): # pylint: disable=R0903 }, "mode": { "type": "str", - "choices": ["access", "dot1q-tunnel", "trunk", "fex-fabric", "fabricpath"], + "choices": [ + "access", + "dot1q-tunnel", + "trunk", + "fex-fabric", + "fabricpath", + "private-vlan promiscuous", + "private-vlan host", + "private-vlan trunk promiscuous", + "private-vlan trunk secondary" + ], }, "name": {"required": True, "type": "str"}, "trunk": { From d0c109416953f913b8bc599e376561f44fd7dba0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:44:43 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../network/nxos/argspec/l2_interfaces/l2_interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py b/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py index 731fe559f..6d6b8faf5 100644 --- a/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py +++ b/plugins/module_utils/network/nxos/argspec/l2_interfaces/l2_interfaces.py @@ -53,7 +53,7 @@ class L2_interfacesArgs(object): # pylint: disable=R0903 "private-vlan promiscuous", "private-vlan host", "private-vlan trunk promiscuous", - "private-vlan trunk secondary" + "private-vlan trunk secondary", ], }, "name": {"required": True, "type": "str"},