-
Notifications
You must be signed in to change notification settings - Fork 667
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
Changes to support acl-loader and mirror-session config commands for multi-npu platforms. #908
Conversation
05dc81b
to
eba8329
Compare
Retest this please |
Move multi-npu related utility functions from config/main.py to sonic-device-util.py so that it can be used by acl-loader/any other module. Updated Mirror Session add/remove for multi-npu platforms. Needed for Everflow ACL rule programming.
except for doc string
eba8329
to
727e9e7
Compare
@abdosi I would assume the CLI tests are failing because sonic-net/sonic-buildimage#4559 isn't merged yet, let's make sure that gets approved and merged first so we can confirm the utilities tests are working before merging this PR. |
@daall Yes this is dependent on sonic-net/sonic-buildimage#4559 and we will merge sonic-buildimage PR first and then this PR. After this will have another PR for sonic-utilities submodule update in sonic-buildimage |
Retest this please |
retest this please |
1 similar comment
retest this please |
…multi-npu platforms. (#908) * Changes to support acl-loader command for multi-npu platforms. Move multi-npu related utility functions from config/main.py to sonic-device-util.py so that it can be used by acl-loader/any other module. Updated Mirror Session add/remove for multi-npu platforms. Needed for Everflow ACL rule programming. * Address review comment to change comment from """ to # except for doc string
…multi-npu platforms. (sonic-net#908) * Changes to support acl-loader command for multi-npu platforms. Move multi-npu related utility functions from config/main.py to sonic-device-util.py so that it can be used by acl-loader/any other module. Updated Mirror Session add/remove for multi-npu platforms. Needed for Everflow ACL rule programming. * Address review comment to change comment from """ to # except for doc string
Update submodule sonic-sairedis that contains the following commit: Change the log severity leve from ERROR to NOTICE if getStatus is not supported by vendor (sonic-net#908) (sonic-net#991)
[201911][show] Fix abbreviations for 'show ip bgp ...' commands (sonic-net#909) Changes to support acl-loader and mirror-session config commands for multi-npu platforms. (sonic-net#908) Changes to commands config reload/load-minigraph (sonic-net#919) Stop/Start restapi server upon config reload (sonic-net#911) [config] Add 'interface transceiver' subgroup with 'lpmode' and 'reset' subcommands (sonic-net#904)
- What I did
Changes to support acl-loader and mirror session config commands for multi-npu platforms.
Also moved some of utility functions form config/main.py to sonic_device_util.py.
This PR is needed with:
sonic-net/sonic-buildimage#4559
- How I did it
updated the commands to check if multi-npu platform present then program per asic namespace also
- How to verify it
Verified for multi-npu platform