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

Change password for BGP neighbor only on demand #1046

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

annakhm
Copy link
Collaborator

@annakhm annakhm commented Nov 30, 2023

Since password is not sent back from NSX for security reasons, it will not be present in state after import.
In this scenario, we need to avoid the password from being cleared next time an update is triggered on the imported resource. Hence we only update the password if a change in this field s detected. Note that user can leave the password blank in configuration of the imported resource.

Since password is not sent back from NSX for security reasons,
it will not be present in state after import.
In this scenario, we need to avoid the password from being cleared
next time an update is triggered on the imported resource.
Hence we only update the password if a change in this field s detected.
Note that user can leave the password blank in configuration of the
imported resource.

Signed-off-by: Anna Khmelnitsky <akhmelnitsky@vmware.com>
@annakhm annakhm linked an issue Nov 30, 2023 that may be closed by this pull request
@annakhm
Copy link
Collaborator Author

annakhm commented Nov 30, 2023

/test-all

Copy link
Member

@salv-orlando salv-orlando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@annakhm annakhm merged commit 9f44bac into master Dec 1, 2023
5 checks passed
@annakhm annakhm deleted the bpg-neighbor-pwd branch February 16, 2024 00:13
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.

Importing and applying BGP Neighbor clears out password
2 participants