-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Supports FRR-VRRP configuration #18617
Open
philo-micas
wants to merge
25
commits into
sonic-net:master
Choose a base branch
from
philo-micas:master-Vrrp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
402d685
Supports FRR-VRRP configuration
philo-micas de84639
update src/sonic-vrrpcfgd/vrrpcfgd/vrrpcfgd.py
philo-micas c0c924e
Update test_config.py
philo-micas b3f4e6c
run vrrpmgrd on frr container
philo-micas c60a6a2
Merge branch 'master' into master-Vrrp
philo-micas 8e90332
Rename 0034-support-vrrp6-commands-and-tracking-interface.patch to 00…
philo-micas 4cc0d8e
Merge branch 'master' into master-Vrrp
philo-micas 212f0a4
Rename 0028-support-vrrp6-commands-and-tracking-interface.patch to 00…
philo-micas 38c3563
Change the name of vrrpmgrd to macvlanmgrd
philo-micas 903470d
update vrrp patch
philo-micas d41202f
Merge branch 'master' into master-Vrrp
philo-micas 2485aab
Rename 0053-support-vrrp6-commands-and-tracking-interface.patch to 00…
philo-micas 6f417ca
Merge branch 'master' into master-Vrrp
philo-micas 3d4fff0
del vrrpcfgd
philo-micas 2c70c75
Merge branch 'master' into master-Vrrp
philo-micas 8b5bffd
add vrrpsyncd to swss container
philo-micas 97eda69
triggle rebuild
philo-micas a7c6f9a
Update frrcfgd.py
philo-micas 65aa4bd
Revert "Change the name of vrrpmgrd to macvlanmgrd"
philo-micas 646ec99
fix zebra coredump
philo-micas e2629c3
update supervisord
philo-micas 0bf2f23
update supervisord.conf.j2
philo-micas a99972f
triggle rebuild
philo-micas e8f3e5e
triggle rebuild
philo-micas 8393781
triggle rebuild
philo-micas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SPATH := $($(SONIC_VRRPCFGD)_SRC_PATH) | ||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic_vrrpcfgd.mk rules/sonic_vrrpcfgd.dep | ||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) | ||
DEP_FILES += $(shell git ls-files $(SPATH)) | ||
|
||
$(SONIC_VRRPCFGD)_CACHE_MODE := GIT_CONTENT_SHA | ||
$(SONIC_VRRPCFGD)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) | ||
$(SONIC_VRRPCFGD)_DEP_FILES := $(DEP_FILES) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# sonic-vrrpcfgd package | ||
|
||
SONIC_VRRPCFGD = sonic_vrrpcfgd-1.0-py3-none-any.whl | ||
$(SONIC_VRRPCFGD)_SRC_PATH = $(SRC_PATH)/sonic-vrrpcfgd | ||
# These dependencies are only needed because they are dependencies | ||
# of sonic-config-engine and vrrpcfgd explicitly calls sonic-cfggen | ||
# as part of its unit tests. | ||
# TODO: Refactor unit tests so that these dependencies are not needed | ||
|
||
$(SONIC_VRRPCFGD)_DEPENDS += $(SONIC_CONFIG_ENGINE_PY3) | ||
$(SONIC_VRRPCFGD)_DEBS_DEPENDS += $(PYTHON_SWSSCOMMON) | ||
$(SONIC_VRRPCFGD)_PYTHON_VERSION = 3 | ||
SONIC_PYTHON_WHEELS += $(SONIC_VRRPCFGD) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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'm not sure if
CAP_NET_ADMIN
is the right capability.In
docker
, I believe It should beNET_ADMIN
but in that case looks duplicated.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.
Due to
limit privileged flag for bgp container
#14932,NET-ADMIN
is required to use the iprouter2 command in vrrpmgr. Thanks.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.
Thanks double checked