Skip to content

Fix the issue of "ptf_portchannel_action" undefined in restart-ptf#4286

Merged
Blueve merged 1 commit intosonic-net:masterfrom
wangxin:fix-ptf-portchannel
Sep 16, 2021
Merged

Fix the issue of "ptf_portchannel_action" undefined in restart-ptf#4286
Blueve merged 1 commit intosonic-net:masterfrom
wangxin:fix-ptf-portchannel

Conversation

@wangxin
Copy link
Copy Markdown
Collaborator

@wangxin wangxin commented Sep 16, 2021

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911

Approach

What is the motivation for this PR?

PR #4248 updated the playbook ptf_portchannel.yml to accept variable
"ptf_portchannel_action". Another playbook renumber_topo.yml calling
the ptf_portchannel.yml was not updated to pass down the variable.
This cause issue variable "ptf_portchannel_action" undefined while
run "testbed-cli.sh restart-ptf".

How did you do it?

The change is to update the renumber_topo.yml to include the
ptf_portchannel.yml with variable. Also added a step to stop
portchannel in PTF before removing PTF docker.

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

PR sonic-net#4248 updated the playbook ptf_portchannel.yml to accept variable
"ptf_portchannel_action". Another playbook renumber_topo.yml calling
the ptf_portchannel.yml was not updated to pass down the variable.
This cause issue variable "ptf_portchannel_action" undefined while
run "testbed-cli.sh restart-ptf".

The change is to update the renumber_topo.yml to include the
ptf_portchannel.yml with variable. Also added a stop to stop
portchannel in PTF before removing PTF docker.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin requested a review from a team as a code owner September 16, 2021 05:01
@Blueve Blueve merged commit 99e75b8 into sonic-net:master Sep 16, 2021
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
…onic-net#4286)

PR sonic-net#4248 updated the playbook ptf_portchannel.yml to accept variable
"ptf_portchannel_action". Another playbook renumber_topo.yml calling
the ptf_portchannel.yml was not updated to pass down the variable.
This cause issue variable "ptf_portchannel_action" undefined while
run "testbed-cli.sh restart-ptf".

The change is to update the renumber_topo.yml to include the
ptf_portchannel.yml with variable. Also added a stop to stop
portchannel in PTF before removing PTF docker.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin deleted the fix-ptf-portchannel branch December 13, 2021 09:26
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…atically (#25595)

#### Why I did it
src/sonic-utilities
```
* ddc241ec - (HEAD -> 202511, origin/202511) [storm-control] Fixed show storm-control interface command display (sonic-net#4302) (32 hours ago) [mssonicbld]
* fbd3f90b - [fast-reboot][cosmetic] Fixed debug/error prints with the correct reboot type (sonic-net#4286) (5 days ago) [Yair Raviv]
* efdffa2a - Added counterpoll CLI support (sonic-net#4291) (6 days ago) [mssonicbld]
* 567ad5b3 - [Smartswitch] Prevent early exit of reboot status (sonic-net#4287) (6 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants