-
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
Remove quagga related code #7476
Conversation
platform/p4/docker-sonic-p4.mk
Outdated
@@ -1,31 +0,0 @@ | |||
# docker image for p4 sonic docker image | |||
|
|||
DOCKER_SONIC_P4 = docker-sonic-p4.gz |
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.
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.
Removing p4 related part is because it uses quagga regardless of the routing stack selected. Updated the PR description to clarify that.
rules/gobgp.mk
Outdated
@@ -1,5 +0,0 @@ | |||
# gobgp package |
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.
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 think the reason is that docker-fpm-gobgp
is dependent on docker-fpm-quagga
. With docker-fpm-quagga
removed, I will need to remove docker-fpm-gobgp
. After removing docker-fpm-gobgp
, the only place that could use gobgp is docker-sonic-vs
. I thought the motivation for keeping gobgp only for docker-sonic-vs
is limited. I can undo the removal of gobgp if using it for docker-sonic-vs
is necessary or if we have any other scenarios in mind where we should keep gobgp.
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.
Undid removal for gobgp.
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.
let's keep gobgp and p4. only remove quagga.
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.
Reverted removal for gobgp and p4. Note that p4 depends on quagga and docker-fpm-gobgp depends on docker-fpm-quagga, we probably need to do something for these two.
This reverts commit a55b88e.
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.
LGTM. Please check with other reviewers.
@shi-su Could you update the PR title? I think it is not touching p4. |
This reverts commit 62a4603.
#7840) #### Why I did it The PR checkers do not re-run the sonic-config-engine test cases, caused by some of the config files changes not detected. https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/660/console … 07:13:24 ====================================================================== 07:13:24 ERROR: test_bgpd_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 ====================================================================== 07:13:24 ERROR: test_zebra_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 error: Test failed: <unittest.runner.TextTestResult run=161 errors=2 failures=0> 07:13:24 [ FAIL LOG END ] [ target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl ] 07:13:24 make: *** [slave.mk:603: target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl] Error 1 07:13:24 Makefile.work:292: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make[1]: *** [target/sonic-mellanox.bin] Error 2 07:13:24 make[1]: Leaving directory '/data2/johnar/workspace/mellanox/buildimage-mlnx-all' 07:13:24 Makefile:7: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make: *** [target/sonic-mellanox.bin] Error 2 See PR: #7476 #### How I did it Add the depended files. See src/sonic-config-engine/tests/test_j2files.py
#7840) #### Why I did it The PR checkers do not re-run the sonic-config-engine test cases, caused by some of the config files changes not detected. https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/660/console … 07:13:24 ====================================================================== 07:13:24 ERROR: test_bgpd_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 ====================================================================== 07:13:24 ERROR: test_zebra_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 error: Test failed: <unittest.runner.TextTestResult run=161 errors=2 failures=0> 07:13:24 [ FAIL LOG END ] [ target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl ] 07:13:24 make: *** [slave.mk:603: target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl] Error 1 07:13:24 Makefile.work:292: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make[1]: *** [target/sonic-mellanox.bin] Error 2 07:13:24 make[1]: Leaving directory '/data2/johnar/workspace/mellanox/buildimage-mlnx-all' 07:13:24 Makefile:7: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make: *** [target/sonic-mellanox.bin] Error 2 See PR: #7476 #### How I did it Add the depended files. See src/sonic-config-engine/tests/test_j2files.py
sonic-net#7840) #### Why I did it The PR checkers do not re-run the sonic-config-engine test cases, caused by some of the config files changes not detected. https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/660/console … 07:13:24 ====================================================================== 07:13:24 ERROR: test_bgpd_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 ====================================================================== 07:13:24 ERROR: test_zebra_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 error: Test failed: <unittest.runner.TextTestResult run=161 errors=2 failures=0> 07:13:24 [ FAIL LOG END ] [ target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl ] 07:13:24 make: *** [slave.mk:603: target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl] Error 1 07:13:24 Makefile.work:292: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make[1]: *** [target/sonic-mellanox.bin] Error 2 07:13:24 make[1]: Leaving directory '/data2/johnar/workspace/mellanox/buildimage-mlnx-all' 07:13:24 Makefile:7: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make: *** [target/sonic-mellanox.bin] Error 2 See PR: sonic-net#7476 #### How I did it Add the depended files. See src/sonic-config-engine/tests/test_j2files.py
Why I did it Quagga is no longer being used. Remove quagga-related code (e.g., docker-fpm-quagga, sonic-quagga, etc.). How I did it Remove quagga-related code.
Reverts sonic-net#7476 It remove bgpd.conf.j2 and zebra.conf.j2, which is still used by sonic-config-engine unit test.
sonic-net#7840) #### Why I did it The PR checkers do not re-run the sonic-config-engine test cases, caused by some of the config files changes not detected. https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-all/660/console … 07:13:24 ====================================================================== 07:13:24 ERROR: test_bgpd_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 ====================================================================== 07:13:24 ERROR: test_zebra_quagga (tests.test_j2files.TestJ2Files) 07:13:24 ---------------------------------------------------------------------- … 07:13:24 error: Test failed: <unittest.runner.TextTestResult run=161 errors=2 failures=0> 07:13:24 [ FAIL LOG END ] [ target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl ] 07:13:24 make: *** [slave.mk:603: target/python-wheels/sonic_config_engine-1.0-py2-none-any.whl] Error 1 07:13:24 Makefile.work:292: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make[1]: *** [target/sonic-mellanox.bin] Error 2 07:13:24 make[1]: Leaving directory '/data2/johnar/workspace/mellanox/buildimage-mlnx-all' 07:13:24 Makefile:7: recipe for target 'target/sonic-mellanox.bin' failed 07:13:24 make: *** [target/sonic-mellanox.bin] Error 2 See PR: sonic-net#7476 #### How I did it Add the depended files. See src/sonic-config-engine/tests/test_j2files.py
Why I did it
Quagga is no longer being used. Remove quagga related code (e.g., docker-fpm-quagga, sonic-quagga, etc.).
How I did it
Remove quagga related code.
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)