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

Support load_minigraph command for multi NPU platform #896

Merged
merged 6 commits into from
May 7, 2020

Conversation

arlakshm
Copy link
Contributor

@arlakshm arlakshm commented Apr 29, 2020

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com

- What I did
Modify the load_minigraph command handler to support multi NPU platforms
This PR needs the changes from#4222 for the minigraph parsing changes

- How I did it

- How to verify it

- Previous command output (if the output of a command-line utility has changed)
No command output is changed
- New command output (if the output of a command-line utility has changed)
No command output is changed

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
arlakshm added 2 commits May 1, 2020 15:30
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
config/main.py Outdated
run_command('{} pfcwd start_default'.format(ns_cmd_prefix), display_cmd=True)
if os.path.isfile('/etc/sonic/acl.json'):
run_command("acl-loader update full /etc/sonic/acl.json", display_cmd=True)
run_command("{} config qos reload".format(ns_cmd_prefix), display_cmd=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

687-691 do not apply to default namespace in multi-asic environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in the latest commit

arlakshm added 3 commits May 6, 2020 06:54
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
@arlakshm arlakshm merged commit 4a47b3f into sonic-net:master May 7, 2020
@rlhui
Copy link
Contributor

rlhui commented May 10, 2020

@arlakshm, there's conflict cherry-picking. please raise a separate PR for 201911 branch.

abdosi pushed a commit that referenced this pull request May 10, 2020
- Modify the load_minigraph command handler to support multi NPU platforms
abdosi pushed a commit to abdosi/sonic-utilities that referenced this pull request Aug 4, 2020
…-net#896)

- Modify the load_minigraph command handler to support multi NPU platforms
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.

5 participants