adding LACP attributes port priority and rate v1 #495
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes required to extend the interface configuration capabilities required by one of the Customers.
The change introduces the configuration options for two parameters related to LACP protocol:
Tested the parameters with a simple ansible task including following scenarios:
A: mode
B:
Snippet of taks used for testing:
hosts: EVPN_DCLOUD
any_errors_fatal: true
gather_facts: no
collections:
vars:
fabric_name: "EVPN_DCLOUD"
switch_ip: "198.18.133.23"
switch_ip_2: "198.18.133.24"
tasks:
cisco.dcnm.dcnm_interface:
fabric: "{{ fabric_name }}"
state: merged
config:
- name: Po12
type: pc
switch: ["{{ switch_ip }}"]
deploy: true
profile:
admin_state: true
mode: trunk
description: "test"
access_vlan: 99
lacp_port_priority: 1
lacp_rate: fast
Documentation updated.
Tests should also be updated