Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add primary-ip configuration support for the sonic_vxlans module #58

Merged

Conversation

kerry-meyer
Copy link
Collaborator

@kerry-meyer kerry-meyer commented Feb 3, 2022

SUMMARY

This change set provides the modifications needed to configure the
"primary-ip" address attribute for vxlan vtep interfaces, including
the ability to modify the existing value of the attribute, and to
delete the attribute.

It also adds regression test cases for adding, modifying, and
deleting primary-ip address configuration.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

dellemc.enterprise_sonic (sonic_vxlans)

ADDITIONAL INFORMATION

These changes provide the functionality for configuration and testing of "primary-ip"
address configuration for the sonic_vxlans module. For full functionality, the
co-requisite BGP configuration capability is also required.


Dell Enterprise SONiC Ansible regression results for sonic_vxlans after adding
these changes:

regression-primary_ip_pass_2022-02-01-21-44-13.pdf

Regression re-run after making PR changes to eliminate silent failure on "out of sequence"
PIP or source-ip address deletion:

regression-primary_ip_pass_2022-02-04-17-04-58.pdf

Verification of CLI "show" output after using Ansible to add and modify PIP configuration:

vxlan_pip_cli_ut_verification.txt

This change set provides the modifications needed to configure the
"primary-ip" address attribute for vxlan vtep interfaces, including
the ability to modify the existing value of the attribute, and to
delete the attribute.

It also adds regression test cases for adding, modifying, and
deleting primary-ip address configuration.
@kerry-meyer kerry-meyer requested a review from jeff-yin February 3, 2022 02:44
@kerry-meyer kerry-meyer self-assigned this Feb 3, 2022
Don't omit from switch configuration requests that attempt "out of sequence" attempts to
 add/delete  primary-ip and source-ip address configuration with vxlan mapping present.
 This generates silent failures along with missing configuration. Instead, allow the
 "out of sequence" invalid configuration to be passed to the switch to generate
 failure messages so users can make the needed changes in their playbooks.
@kerry-meyer kerry-meyer merged commit c8f67e6 into ansible-collections:main Feb 5, 2022
@kerry-meyer kerry-meyer deleted the vxlan_primary_ip_address branch June 2, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants