-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aclorch]: Use the Observer class to listen to port changes (#689)
The previous implementation was using state database to check LAG creation/removal. However, state database only reflects the changes in the kernel. This pull request changes the logic so that LAG changes will directly notify the AclOrch to update pending ports per table. This simplifies the logic in AclOrch and make it reliable on port change events. Right now, only LAG creation is support, which aligns the legacy codes. An extra pull request will be provided to ensure both LAG creation/removal will be supported. The unit test is provided to cover the two scenarios: 1. creating ACL table before creating LAG 2. creating LAG before creating ACL table Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
- Loading branch information
Shuotian Cheng
authored
Nov 17, 2018
1 parent
d7d887a
commit 067928d
Showing
6 changed files
with
257 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.