Skip to content

Error fix: The function can't have empty body in bash#1420

Merged
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/fix_ctl
Feb 27, 2018
Merged

Error fix: The function can't have empty body in bash#1420
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/fix_ctl

Conversation

@pavel-shirshov
Copy link
Contributor

- What I did
Fix a bug in docker_image_ctl.j2. The bash function can't have an empty body.
- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@pavel-shirshov pavel-shirshov merged commit 43a9839 into sonic-net:master Feb 27, 2018
@pavel-shirshov pavel-shirshov deleted the pavelsh/fix_ctl branch February 27, 2018 01:42
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Mar 3, 2021
swss:
* 9376ec6 2021-02-22 | [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (sonic-net#1637) (HEAD -> 202012) [Lior Avramov]
* 6c285f6 2021-02-22 | Updated PFCWD to use single ACL table for PFCWD and MUX (sonic-net#1620) [vmittal-msft]

utilities:
* d2f0e8f 2021-02-24 | [route_check]: Dropped redundant code. (sonic-net#1463) (HEAD -> 202012, github/202012) [Renuka Manavalan]
* 9aaef9b 2021-02-25 | [Mellanox] Add support for SN4600 system (sonic-net#1462) [DavidZagury]
* 60843dd 2021-03-01 | [reboot] Add platform-specific reboot cause update hook (sonic-net#1454) [rkdevi27]
* d9c308c 2021-02-24 | [vlan] Vlan deletion is not allowed when there are members assigned to this VLAN. (sonic-net#1420) [Eran Dahan]
* a72165a 2021-02-25 | [psushow] Add more output columns; Add option to output in JSON format (sonic-net#1416) [Joe LeVeque]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this pull request Mar 3, 2021
swss:
* 9376ec6 2021-02-22 | [orchagent] Increase SAI REDIS response timeout to support FW upgrade during init (Mellanox only). (#1637) (HEAD -> 202012) [Lior Avramov]
* 6c285f6 2021-02-22 | Updated PFCWD to use single ACL table for PFCWD and MUX (#1620) [vmittal-msft]

utilities:
* d2f0e8f 2021-02-24 | [route_check]: Dropped redundant code. (#1463) (HEAD -> 202012, github/202012) [Renuka Manavalan]
* 9aaef9b 2021-02-25 | [Mellanox] Add support for SN4600 system (#1462) [DavidZagury]
* 60843dd 2021-03-01 | [reboot] Add platform-specific reboot cause update hook (#1454) [rkdevi27]
* d9c308c 2021-02-24 | [vlan] Vlan deletion is not allowed when there are members assigned to this VLAN. (#1420) [Eran Dahan]
* a72165a 2021-02-25 | [psushow] Add more output columns; Add option to output in JSON format (#1416) [Joe LeVeque]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this pull request May 10, 2021
…o this VLAN. (sonic-net#1420)

- What I did
In vlan.py , function del_vlan added validation if there is no members assigned to this VLAN. If there are members - the execution of this command is failed with error on the screen.

- How I did it
Added validation of the VLAN_MEMBER_CFG_TABLE with the key VLAN_ID. If there are entries with this VLAN_ID - print error:
VLAN ID {} can not be removed. First remove all members assigned to this VLAN.
User should remove all members assigned to this VLAN, and after that he can delete vlan.

- How to verify it
sudo config vlan add 200
sudo config vlan member add 200 Ethernet0
sudo config vlan del 200
In this case - you will see error as there are members assigned to this VLAN

sudo config vlan member del 200 Ethernet0
sudo config vlan del 200
Will pass.

Signed-off-by: allas <allas@nvidia.com>
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
There is a known regression in the VS docker image that is impacting
the DPB tests (buildimage#5263). While this is being fixed, we will
xfail this set of tests so that 1) the PRs are not blocked and 2)
so we can continue to run the tests and verify that the fix is complete.

Signed-off-by: Danny Allen <daall@microsoft.com>
mssonicbld added a commit that referenced this pull request Oct 12, 2024
…tically (#20484)

#### Why I did it
src/sonic-sairedis
```
* d62ac0d5 - (HEAD -> master, origin/master, origin/HEAD) [Marvell] Add Flag to identify SONiC related Init Handling (#1420) (7 hours ago) [wadoodkhan]
```
#### How I did it
#### How to verify it
#### Description for the changelog
tshalvi pushed a commit to tshalvi/sonic-buildimage that referenced this pull request Aug 25, 2025
…e roles. (sonic-net#1420)

Improve GNMI_CLIENT_CERT table to support multiple roles.

#### Why I did it
GNMI need support multiple roles.
HLD: sonic-net/SONiC#1967

##### Work item tracking
- Microsoft ADO **(number only)**:31561802

#### How I did it
Change GNMI_CLIENT_CERT table yang model.

#### How to verify it
Pass all test case.

This PR depends on following PRs:
sonic-net/sonic-gnmi#366
sonic-net/sonic-mgmt#17866

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305

#### Tested branch (Please provide the tested image version)

<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->

- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->

#### Description for the changelog
Improve GNMI_CLIENT_CERT table to support multiple roles.

<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under
sonic-utilities repo. where, Generic Config and Update feature has been
labelled as GCU.
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->

#### A picture of a cute animal (not mandatory but encouraged)
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
…03 (sonic-net#1437)

```<br>* f6196a9 - (HEAD -> 202503) Merge branch '202412' of https://github.com/Azure/sonic-buildimage-msft into 202503 (2025-08-01) [Sonic Automation]
* d94fe25 - (origin/202412, 202412) Add GNMI client cert cname check support. (sonic-net#18709) (sonic-net#1416) (2025-07-30) [Feng-msft]
* 73466d4 - [action] [PR:21849] Improve GNMI_CLIENT_CERT table to support multiple roles. (sonic-net#1420) (2025-07-30) [mssonicbld]<br>```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants