-
Notifications
You must be signed in to change notification settings - Fork 693
[orchagent] support single ASIC VOQ Fixed-System #4054
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 from all commits
2012bf3
0840939
16730d8
7d8acca
3eca32d
21860a9
e1631ea
cb0837d
0997814
a9ac443
1172cdc
2a461e2
5f9c91b
a10bd7b
bcb5ace
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,10 +61,15 @@ else | |
| qos_cmd="-j /tmp/qos.json" | ||
| fi | ||
|
|
||
| if [ -f /usr/share/sonic/single_asic_voq_fs/default_config.json ]; then | ||
| sonic-cfggen -j /usr/share/sonic/single_asic_voq_fs/default_config.json --print-data > /tmp/voq.json | ||
| voq_cmd="-j /tmp/voq.json" | ||
| fi | ||
|
|
||
|
Comment on lines
+64
to
+68
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would we need similar changes in platform/vs/docker-sonic-vs/start.sh also?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. conftest.py changes is enough to make this work inside the docker-sonic-vs when |
||
| sonic-cfggen -p /usr/share/sonic/device/$PLATFORM/$PLATFORM_CONF -k $HWSKU --print-data > /tmp/ports.json | ||
| # change admin_status from up to down; Test cases dependent | ||
| sed -i "s/up/down/g" /tmp/ports.json | ||
| sonic-cfggen -j /etc/sonic/init_cfg.json $buffers_cmd $qos_cmd -j /tmp/ports.json --print-data > /etc/sonic/config_db.json | ||
| sonic-cfggen -j /etc/sonic/init_cfg.json $buffers_cmd $qos_cmd $voq_cmd -j /tmp/ports.json --print-data > /etc/sonic/config_db.json | ||
| fi | ||
|
|
||
| sonic-cfggen -t /usr/share/sonic/templates/copp_cfg.j2 > /etc/sonic/copp_cfg.json | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.