Tagging DPU steps in the ansible minigraph scenario.#22142
Tagging DPU steps in the ansible minigraph scenario.#22142wangxin merged 1 commit intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
2688785 to
6810458
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp runw |
|
Command 'runw' is not supported by Azure Pipelines. Supported commands
See additional documentation. |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
6810458 to
08881c0
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
08881c0 to
f90c95b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw run |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I still have a question. If deploy-mg without specifying any tags, both switch and DPU will be configured. There still could be timing issue. |
We are not changing the past behavior. If ran without any tag options it will run as before. The other alternative would be to rearrange the DPU config tasks to the very end of the scenario or to modify the code that invokes the scenario, and make the DPU image installation one of the minigraph steps. All those are more disruptive to the current situation. If one runs sonic-to-sonic install for DPU, then using a single minigraph command will work as before. |
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
Signed-off-by: nnelluri-cisco <nnelluri@cisco.com>
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
Signed-off-by: Zhuohui Tan <zhuohui.tan@amd.com>
…tomatically (sonic-net#22142) #### Why I did it src/sonic-linux-kernel ``` * ccde25c - (HEAD -> 202405, origin/202405) [202405] Update to Linux 6.1.123 (sonic-net#460) (9 days ago) [Saikrishna Arcot] ``` #### How I did it #### How to verify it #### Description for the changelog
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
Signed-off-by: Ravali Yeluri (WIPRO LIMITED) <v-ryeluri@microsoft.com>
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
Signed-off-by: Abhishek <abhishek@nexthop.ai>
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv
Deploy minigraph for Switch only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --skip-tags "dpu_config"
Deploy minigraph for DPU only:
./testbed-cli.sh deploy-mg {{SWITCH}}-{{TOPO}} lab vault -vvvvv --tags "dpu_config"
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>
Description of PR
DPU config can be deployed after the switch configuration.
Minigraph deployment command has been extended:
Deploy minigraph for both Switch and DPU:
Deploy minigraph for Switch only:
Deploy minigraph for DPU only:
Summary:
Fixes the timing issues for the switch to be ready to lease the ips to DPUs and to DPUs to be ready to receive the configuration.
Type of change
Back port request
Approach
What is the motivation for this PR?
Allow the DPU config separate from the switch
How did you do it?
Tag the DPU-related steps in ansible. Use tags
How did you verify/test it?
Deployed on the smartswitch
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation