Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove LastState parameter of GenericPlugin
The generic plugin was applying config changes only if the desired spec of interfaces was different from the last applied spec. This logic is different from the one in OnNodeStateChange where the real status of the interfaces is used to detect changes. By removing the LastState parameter (and related code), the generic plugin will also use the real status of interfaces to decide whether to apply changes or not. The SyncNodeState function has this logic.
- Loading branch information