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

[7050] device specific hwsku-init file needs execution privilege #2100

Merged
merged 1 commit into from
Sep 28, 2018

Conversation

yxieca
Copy link
Contributor

@yxieca yxieca commented Sep 28, 2018

Signed-off-by: Ying Xie ying.xie@microsoft.com

- What I did
device specific hwsku-init file needs execution privilege

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@lguohan lguohan merged commit 19147a4 into sonic-net:201803 Sep 28, 2018
@yxieca yxieca deleted the 03_hwsku branch September 28, 2018 21:30
liorghub added a commit to liorghub/sonic-buildimage that referenced this pull request Mar 23, 2022
Update sonic-utilities submodule to include below commits:
510a9b9 Add date to show version (sonic-net#2086)
61b1396 [sfpshow][recycle_port] sfpshow script needs to skip recycle ports (sonic-net#2109)
4681697 Support command `show ip fib` and `show ipv6 fib` (sonic-net#2100)
2a982a1 Update `config mirror_session` CLI to support heximal gre type value (sonic-net#2095)
b25f1e1 [generic-config-updater] Add caclrule validator (sonic-net#2103)
968900c [sonic-package-manager] do not mod_config for whole config db when setting init_cfg (sonic-net#2055)
bf55ceb [nvgre] Added auto-generated CLI plugins and test for NVGRE Tunnel feature (sonic-net#1915)
liat-grozovik pushed a commit that referenced this pull request Mar 30, 2022
Update sonic-utilities submodule to include below commits:
510a9b9 Add date to show version (#2086)
61b1396 [sfpshow][recycle_port] sfpshow script needs to skip recycle ports (#2109)
4681697 Support command `show ip fib` and `show ipv6 fib` (#2100)
2a982a1 Update `config mirror_session` CLI to support heximal gre type value (#2095)
b25f1e1 [generic-config-updater] Add caclrule validator (#2103)
968900c [sonic-package-manager] do not mod_config for whole config db when setting init_cfg (#2055)
bf55ceb [nvgre] Added auto-generated CLI plugins and test for NVGRE Tunnel feature (#1915)
8389c81 [sonic-cli-gen] fix failure "Error: digits_class" when field "digit_class" does not exist in DB (#2054)
f71ef64 Fix import statement in mclag.py (#2073)
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
Signed-off-by: Yutong Zhang <yutongzhang@microsoft.com>

#### What I did
Support command `show ip fib` and `show ipv6 fib`to get dataplane/FIB routes from APPL_DB ROUTE_TABLE. 

#### How I did it
Add a script `fibshow` under the folder scripts/ and modify the script `main.py` under the show folder. 

#### How to verify it
By using command `show ip fib`, `show ipv6 fib`, `fibshow -4`, `fibshow -6` on dut. And it also support given a specific ip prefix like `show ipv6 fib 20c0:dfe8::/64`

#### New command output (if the output of a command-line utility has changed)
```
admin@vlab-01:~$ show ipv6 fib
  No.  Vrf    Route                Nexthop                              Ifname
-----  -----  -------------------  -----------------------------------  -----------------------------------------------------------
    1         20c0:fe28:0:80::/64  fc00::72,fc00::76,fc00::7a,fc00::7e  PortChannel101,PortChannel102,PortChannel103,PortChannel104
    2         20c0:fe28::/64       fc00::72,fc00::76,fc00::7a,fc00::7e  PortChannel101,PortChannel102,PortChannel103,PortChannel104
    3         20c0:fe30:0:80::/64                                       PortChannel101,PortChannel102,PortChannel103,PortChannel104
Total number of entries 3
......
Total number of entries 6410

admin@vlab-01:~$ fibshow -4
  No.  Vrf    Route               Nexthop                                  Ifname
-----  -----  ------------------  ---------------------------------------  -----------------------------------------------------------
    1         192.168.104.0/25    10.0.0.57,10.0.0.59,10.0.0.61,10.0.0.63  PortChannel101,PortChannel102,PortChannel103,PortChannel104
    2         192.168.104.128/25                                           PortChannel101,PortChannel102,PortChannel103,PortChannel104
    3         192.168.112.0/25    10.0.0.57,10.0.0.59,10.0.0.61,10.0.0.63
    4         192.168.120.0/25    10.0.0.57,10.0.0.59,10.0.0.61,10.0.0.63  PortChannel101,PortChannel102,PortChannel103,PortChannel104
    5  Red    192.168.112.128/25  10.0.0.57,10.0.0.59,10.0.0.61,10.0.0.63  PortChannel101,PortChannel102,PortChannel103,PortChannel104
Total number of entries 5
```


```
admin@vlab-01:~$ show ipv6 fib 20c0:fe28:0:80::/64
  No.  Vrf    Route                Nexthop                              Ifname
-----  -----  -------------------  -----------------------------------  -----------------------------------------------------------
    1         20c0:fe28:0:80::/64  fc00::72,fc00::76,fc00::7a,fc00::7e  PortChannel101,PortChannel102,PortChannel103,PortChannel104
Total number of entries 3
```
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.

None yet

3 participants