-
Notifications
You must be signed in to change notification settings - Fork 114
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
[software-bridges 4/x] Controller part #694
[software-bridges 4/x] Controller part #694
Conversation
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 10038935880Details
💛 - Coveralls |
4b1cfdb
to
c6392ae
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
c6392ae
to
23d0dd0
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
23d0dd0
to
8cc9e61
Compare
Thanks for your PR,
To skip the vendors CIs use one of:
|
@SchSeba I resolved merge conflicts in the PR, please take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comments and we can merge this one
}, | ||
}, | ||
expectedBridges: v1.Bridges{}, | ||
expectedErr: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is externally manage not support at all or right now and will be in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the device is externally managed we are not managing bridges for it, but It is possible to create OVSNetwork for Externally managed PF to announce "manually" created resources. For externally managed PFs we are not changing PF-level settings. For me "software bridge config for PF" option is a PF-level settings and I think we should not change it externally managed for PFs.
pkg/webhook/validate.go
Outdated
@@ -213,6 +213,15 @@ func staticValidateSriovNetworkNodePolicy(cr *sriovnetworkv1.SriovNetworkNodePol | |||
if cr.Spec.DeviceType == consts.DeviceTypeVfioPci && cr.Spec.IsRdma { | |||
return false, fmt.Errorf("'deviceType: vfio-pci' conflicts with 'isRdma: true'; Set 'deviceType' to (string)'netdevice' Or Set 'isRdma' to (bool)'false'") | |||
} | |||
if strings.EqualFold(cr.Spec.LinkType, consts.LinkTypeIB) && !cr.Spec.IsRdma { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one was removed no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx! Good catch! done
The feature gate controls state of the manage software bridge feature. This feature is disabled by default. Signed-off-by: Yury Kulazhenkov <[email protected]>
Signed-off-by: Yury Kulazhenkov <[email protected]>
Signed-off-by: Yury Kulazhenkov <[email protected]>
Signed-off-by: Yury Kulazhenkov <[email protected]>
8cc9e61
to
f10b9a6
Compare
@SchSeba Thx for the review. I addressed your comments, please take another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
This PR contains controller's part of the software bridge management feature.
Context is Software bridge management feature