From e015bb518674935ff8022e6bfa93b61678110e5e Mon Sep 17 00:00:00 2001 From: Michael Richardson Date: Wed, 7 Oct 2020 13:52:04 -0400 Subject: [PATCH] feat(panos_aggregate_interface): Support LACP (#119) Fixes #66 --- plugins/modules/panos_aggregate_interface.py | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/plugins/modules/panos_aggregate_interface.py b/plugins/modules/panos_aggregate_interface.py index 89854b603..6a259141b 100644 --- a/plugins/modules/panos_aggregate_interface.py +++ b/plugins/modules/panos_aggregate_interface.py @@ -112,6 +112,24 @@ description: - Metric for the DHCP default route type: int + lacp_enable: + description: + - Enable LACP on this interface + type: bool + lacp_passive_pre_negotiation: + description: + - Enable LACP passive pre-negotiation + type: bool + lacp_rate: + description: + - Set LACP transmission rate + type: str + choices: ['fast', 'slow'] + lacp_mode: + description: + - Set LACP mode + type: str + choices: ['active', 'passive'] zone_name: description: - The zone to put this interface into. @@ -178,6 +196,10 @@ def main(): enable_dhcp=dict(type='bool'), create_dhcp_default_route=dict(type='bool'), dhcp_default_route_metric=dict(type='int'), + lacp_enable=dict(type='bool'), + lacp_passive_pre_negotiation=dict(type='bool'), + lacp_rate=dict(type='str', choices=['fast', 'slow']), + lacp_mode=dict(type='str', choices=['active', 'passive']), zone_name=dict(), vr_name=dict(default='default'), commit=dict(type='bool', default=False),