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

Pass IDs for the FW sections and rules for update #154

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

mkowalski
Copy link
Contributor

Currently when updating a firewall rules internally they get
deleted and the new ones are created (causing their IDs to change).
This is not always a desired behaviour, as the NSX-T API itself
allows changing the rules in place.

This patch adds the current firewall section and rule ID to the
payload in order to allow preserving the IDs.

@ghost ghost added the size/xs Relative Sizing: extra-small label Mar 14, 2019
@mkowalski mkowalski force-pushed the modify-firewall-in-place branch from 84d20ad to 0bf342f Compare March 14, 2019 16:23
Currently when updating a firewall rules internally they get
deleted and the new ones are created (causing their IDs to change).
This is not always a desired behaviour, as the NSX-T API itself
allows changing the rules in place.

This patch adds the current firewall section and rule ID to the
payload in order to allow preserving the IDs.
@mkowalski mkowalski force-pushed the modify-firewall-in-place branch from 0bf342f to 7cac13b Compare March 14, 2019 16:30
@annakhm annakhm requested a review from asarfaty March 14, 2019 20:59
@annakhm annakhm self-requested a review March 14, 2019 23:42
@annakhm annakhm merged commit c4205f9 into vmware:master Mar 18, 2019
@mkowalski mkowalski deleted the modify-firewall-in-place branch March 21, 2019 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/xs Relative Sizing: extra-small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants