-
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.
[sonic-package-manager] do not mod_config for whole config db when se…
…tting init_cfg (#2055) What I did conn.mod_config(new_cfg) modifies entries which where not changed in new_cfg. This causes errors when installing/upgrading extension like, because mod_config pushes the same configuration again: "ERR swss#orchagent: :- addOperation: Vxlan tunnel 'tunnel1' is already exists” in syslog I made a change so that when setting init configuration for an extension we are not modifying the whole DB. How I did it Perform a conn.mod_entry for entries from init configuration of the package. How to verify it Run UT. Make sure no errors when installing extension and having vxlan configuration in config db. Signed-off-by: Stepan Blyschak <[email protected]>
- Loading branch information
1 parent
bf55ceb
commit 968900c
Showing
2 changed files
with
16 additions
and
11 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
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