-
Notifications
You must be signed in to change notification settings - Fork 366
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
Implement Network Policy rule reconciler #55
Conversation
Can one of the admins verify this patch? Add one of the following comments to continue: |
99793ac
to
dd04612
Compare
} | ||
|
||
r.Lock() | ||
defer r.Unlock() |
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.
Do we need defer for such cases?
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.
Changed to use sync.Map, PTAL.
999c277
to
cadc78a
Compare
/test e2e |
/recheck |
/test-e2e |
This patch implements the rule reconciler that caches the last realized state of each rule and invokes corresponding Openflow interfaces to reconcile the desired rule. Besides, to generate uint32 Openflow ID, it implements an ID allocator.
cadc78a
to
dcc13b9
Compare
Thanks for your PR. The following commands are available:
|
/test-e2e |
This patch implements the rule reconciler that caches the last realized state of each rule and invokes corresponding Openflow interfaces to reconcile the desired rule.
Besides, to generate uint32 Openflow ID, it implements an ID allocator.