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

validate: allow netFilter to be set alone in NicSelector #210

Merged
merged 1 commit into from
Dec 6, 2021
Merged

validate: allow netFilter to be set alone in NicSelector #210

merged 1 commit into from
Dec 6, 2021

Conversation

EmilienM
Copy link
Contributor

@EmilienM EmilienM commented Dec 2, 2021

In staticValidateSriovNetworkNodePolicy, we now allow a NicSelector to
only have NetFilter defined.

This will be useful for the OpenStack platform, where we can request a
Network Node Policy only by its Network ID.

@EmilienM
Copy link
Contributor Author

EmilienM commented Dec 2, 2021

/assign zshi-redhat

@EmilienM EmilienM changed the title validate: allow netFilter to be set alone in NicSelector Bug 2028531: validate: allow netFilter to be set alone in NicSelector Dec 2, 2021
@EmilienM EmilienM changed the title Bug 2028531: validate: allow netFilter to be set alone in NicSelector validate: allow netFilter to be set alone in NicSelector Dec 2, 2021
Copy link
Contributor

@atyronesmith atyronesmith left a comment

Choose a reason for hiding this comment

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

lgtm

@zshi-redhat
Copy link
Collaborator

/cc @pliurh

@github-actions github-actions bot requested a review from pliurh December 3, 2021 02:52
In `staticValidateSriovNetworkNodePolicy`, we now allow a NicSelector to
only have NetFilter defined.

This will be useful for the OpenStack platform, where we can request a
Network Node Policy only by its Network ID.
@pliurh
Copy link
Collaborator

pliurh commented Dec 6, 2021

/approve

@pliurh pliurh merged commit 3846b8b into k8snetworkplumbingwg:master Dec 6, 2021
@EmilienM
Copy link
Contributor Author

EmilienM commented Dec 6, 2021

@zshi-redhat @pliurh @atyronesmith could I backport it to older releases, I would like to have it for 4.8 if possible.

Thanks

@zshi-redhat
Copy link
Collaborator

@zshi-redhat @pliurh @atyronesmith could I backport it to older releases, I would like to have it for 4.8 if possible.

Thanks

@EmilienM I think it could, I don't see any obvious risk backporting this fix.

@EmilienM
Copy link
Contributor Author

EmilienM commented Dec 6, 2021

@zshi-redhat thanks. Done via #212

@EmilienM EmilienM deleted the bz_2028531 branch December 6, 2021 17:54
EmilienM added a commit to EmilienM/sriov-network-operator that referenced this pull request Dec 7, 2021
…lector

Backport of
k8snetworkplumbingwg/sriov-network-operator#210.

In `staticValidateSriovNetworkNodePolicy`, we now allow a NicSelector to
only have NetFilter defined.

This will be useful for the OpenStack platform, where we can request a
Network Node Policy only by its Network ID.
EmilienM added a commit to EmilienM/sriov-network-operator that referenced this pull request Dec 8, 2021
…lector

Backport of
k8snetworkplumbingwg/sriov-network-operator#210.

In `staticValidateSriovNetworkNodePolicy`, we now allow a NicSelector to
only have NetFilter defined.

This will be useful for the OpenStack platform, where we can request a
Network Node Policy only by its Network ID.
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/sriov-network-operator that referenced this pull request Feb 2, 2022
…lector

Backport of
k8snetworkplumbingwg/sriov-network-operator#210.

In `staticValidateSriovNetworkNodePolicy`, we now allow a NicSelector to
only have NetFilter defined.

This will be useful for the OpenStack platform, where we can request a
Network Node Policy only by its Network ID.
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.

4 participants