Skip to content
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

[Multi-Asic] Fix for multi-asic where we should allow namespace docker local communication on its docker/eth0 ip #5364

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Sep 12, 2020

Why/What i did:
Fix for multi-asic where we should allow namespace docker local communication on its docker/eth0 ip
. Without this TCP Connection to Redis Server running on docker eth0 ip does not happen in namespace if there is Catch all DROP Rule.

Found this issue as part of debugging
a) lldpmgrd was not able to start in namespace (uses Redis TCP Connection)
b) Feature auto restart not working for namespace docker (supervisor-proc-exit-listener also uses Redis TCP Connection)

How I verify:

After fix both issue (a) and (b) are working fine.

communication on docker eth0 ip . Without this TCP Connection to Redis
does not happen in namespace.

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>
@lguohan
Copy link
Collaborator

lguohan commented Sep 13, 2020

do we need to modify the control plane acl test to adapt this change?

@abdosi
Copy link
Contributor Author

abdosi commented Sep 13, 2020

do we need to modify the control plane acl test to adapt this change?

Yes @lguohan will update(to-do work item) caclmgr test case as of part of multi-asic test case's enhancement.

Test-case added : sonic-net/sonic-mgmt#3070

@abdosi abdosi merged commit d12e9cb into sonic-net:master Sep 16, 2020
@abdosi abdosi deleted the multiasic_cacl branch September 16, 2020 18:32
abdosi added a commit that referenced this pull request Sep 19, 2020
…5364)

communication on docker eth0 ip . Without this TCP Connection to Redis
does not happen in namespace.

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

Co-authored-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…onic-net#5364)

communication on docker eth0 ip . Without this TCP Connection to Redis
does not happen in namespace.

Signed-off-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>

Co-authored-by: Abhishek Dosi <abdosi@abdosi-ubuntu-vm0.nwp1qucpfg5ejooejenqshkj3e.cx.internal.cloudapp.net>
abdosi added a commit to sonic-net/sonic-mgmt that referenced this pull request Mar 2, 2021
Enhanced test_cacl_application.py for multi-asic platforms. Also it adds new test case to cover all multi-asic specific changes
as done in PR's:-
sonic-net/sonic-buildimage#5022
sonic-net/sonic-buildimage#5420
sonic-net/sonic-buildimage#5364
sonic-net/sonic-buildimage#6765

Also fix some of API in common/devices.py and bug in config_facts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants