Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

SWI-1535 Fix qos config files for montara & mavericks #22

Merged
merged 1 commit into from
Jul 24, 2018

Conversation

mkbalani
Copy link

No description provided.

* Reference only ppg 3,4 in qos files as no profiles are attached to 0,1 in buffer configs
@mkbalani
Copy link
Author

@johcheun could you verify the config files with some community tests this time, so that we are sure they don't break anything?

@johcheun
Copy link

t1 topology (also verified with acl community test on t1):
admin@switch:/usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/montara$ show ip bgp sum
BGP router identifier 10.1.0.32, local AS number 65100
RIB entries 13027, using 1425 KiB of memory
Peers 64, using 291 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.1 4 65200 3252 87 0 0 0 00:02:21 6402
10.0.0.3 4 65200 3251 3288 0 0 0 00:02:19 6402
10.0.0.5 4 65200 3246 3282 0 0 0 00:02:05 6402
10.0.0.7 4 65200 3223 3260 0 0 0 00:01:02 6402
10.0.0.9 4 65200 3250 3287 0 0 0 00:02:16 6402
10.0.0.11 4 65200 3251 3288 0 0 0 00:02:20 6402
10.0.0.13 4 65200 3250 3287 0 0 0 00:02:17 6402
10.0.0.15 4 65200 3251 3288 0 0 0 00:02:20 6402
10.0.0.17 4 65200 3251 3288 0 0 0 00:02:18 6402
10.0.0.19 4 65200 3251 3288 0 0 0 00:02:20 6402
10.0.0.21 4 65200 3251 3288 0 0 0 00:02:20 6402
10.0.0.23 4 65200 3251 3288 0 0 0 00:02:19 6402
10.0.0.25 4 65200 3250 3287 0 0 0 00:02:16 6402
10.0.0.27 4 65200 3250 3287 0 0 0 00:02:16 6402
10.0.0.29 4 65200 3250 3287 0 0 0 00:02:15 6402
10.0.0.31 4 65200 3249 3286 0 0 0 00:02:13 6402
10.0.0.33 4 64001 50 3283 0 0 0 00:02:12 7
10.0.0.35 4 64002 42 3277 0 0 0 00:01:54 6
10.0.0.37 4 64003 49 3283 0 0 0 00:02:10 7
10.0.0.39 4 64004 47 3282 0 0 0 00:02:07 6
10.0.0.41 4 64005 47 3282 0 0 0 00:02:07 6
10.0.0.43 4 64006 47 3282 0 0 0 00:02:06 6
10.0.0.45 4 64007 47 3282 0 0 0 00:02:06 6
10.0.0.47 4 64008 46 3280 0 0 0 00:02:04 6
10.0.0.49 4 64009 48 3283 0 0 0 00:02:09 6
10.0.0.51 4 64010 50 3285 0 0 0 00:02:16 6
10.0.0.53 4 64011 50 3285 0 0 0 00:02:15 6
10.0.0.55 4 64012 51 3286 0 0 0 00:02:20 6
10.0.0.57 4 64013 35 3270 0 0 0 00:01:34 6
10.0.0.59 4 64014 34 3269 0 0 0 00:01:30 6
10.0.0.61 4 64015 32 3267 0 0 0 00:01:26 6
10.0.0.63 4 64016 36 3271 0 0 0 00:01:38 6

t0 topology:
admin@switch2:/usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/montara$ show interface portchannel
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No. Team Dev Protocol Ports


0001 PortChannel0001 LACP(A)(Up) Ethernet112(S)
0002 PortChannel0002 LACP(A)(Up) Ethernet116(S)
0003 PortChannel0003 LACP(A)(Up) Ethernet120(S)
0004 PortChannel0004 LACP(A)(Up) Ethernet124(S)
admin@switch2:/usr/share/sonic/device/x86_64-accton_wedge100bf_32x-r0/montara$ show ip bgp sum
BGP router identifier 10.1.0.32, local AS number 65100
RIB entries 12806, using 1401 KiB of memory
Peers 8, using 36 KiB of memory
Peer groups 2, using 112 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.57 4 64600 3220 22 0 0 0 00:00:49 6400
10.0.0.59 4 64600 3220 3223 0 0 0 00:00:48 6400
10.0.0.61 4 64600 3219 3221 0 0 0 00:00:46 6400
10.0.0.63 4 64600 3219 3222 0 0 0 00:00:47 6400

@mkbalani mkbalani merged commit 93ddd23 into bf-master Jul 24, 2018
@mkbalani mkbalani deleted the SWI-1535 branch July 24, 2018 00:17
mkbalani added a commit that referenced this pull request Oct 4, 2018
…onic-net#1796)

* Initial commit

* Add Ingrasys S9180-32X platform dirver.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn.service for init barefoot.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Add some functions and fixed some bugs.

1. Update sensors.conf.
2. Fixed IO expander init.
3. Fixed PSU EEPROM.
4. Fixed MB EEPROM.
5. Add fancontrol and fan init.
6. Add SYS LED control (sys, fan, fan tray).
7. 2.5V compute and setup max and min.
8. Fixed typo MB eeprom delete address.
9. Remove coretemp to BMC.
10. Add active CPLD.
11. Modify SFP+ GPIO slave address.
12. Modify tmp75 Near Port 32 slave address.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn script in /etc/init.d/

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn service in debian

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed CPLD switch LED behavior.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Fixed sensors and hwmon order.
1. Fixed ignore sensors Vbat.
2. Reorg hwmon order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed PSU1 and PSU2 EEPROM order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* initial barefoot checkin october 2017

* update refpoint

* update refpoints

* update refpoints to bf-master

* update refpoint

* update refpoint to tested version

* change to platform from asic

* update refpoint for swss

* revert core creation setting

* update refpoints

* add telnet for debug shell

* update refpoints 11/17/17

* missed change in file on previous merge

* [CPLD] Fixed blink LED issue.

* Fixed blink LED mask set error.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Update bf_kdrv.c for 6.0.2.39

* Update bf kernel driver

* Add bf_fun kernel module.

* Update bf_tun for fixed build error

* merge with Azure master (12/12/17)

* update swss refpoint

* update refpoint of swss

* library dependency for stack unroll

* update refpoint to bf-master

* [DHCP relay]: Fix circuit ID and remote ID bugs (sonic-net#1248)

* [DHCP relay]: Fix circuit ID and remote ID bugs

* Set circuit_id_len after setting circuit_id_len to ip->name

* [Platform] Add Psuutil and update sensors.conf for S9100-32X, S8810-32Q and S9200-64X (sonic-net#1272)

* Add I2C CPLD kernel module for psuutil.
 * Support psuutil script.
 * Add voltage min and max threshold.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Allow multi platform support - infra (more changes to follow)

* update relative path to include platform for clarity

* [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC for "branch 201712" (sonic-net#1274)

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform
Update Head of submodule src/sonic-sairedis to "3b817bb"

- How to verify it
To build SONiC installer image and docker images, run the following commands:

make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

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

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* change source of files to github (from dropbox), update sairedis refpoint

* update refpoint of sairedis

* [centec] support CENTEC SAI 1.0 on 201712 branch and update e582-48x6q board   (sonic-net#1269)

* [marvel]: Marvell's updates for SONiC.201712 & SAI v1.0 (sonic-net#1287)

* update sairedis (fast-boot refpoint)

* fix syncd rpc make files

* update refpoint to handle Makefile change (no functional change)

* [Marvell]: Add support for SLM5401-54x device (sonic-net#1307)

* Marvell's updates for SONiC.201712 & SAI v1.0
* [Platform] Add Marvell's SLM5401-54x for branch 201712

* [Broadcom]: Update Boradcom SAI package to 3.0.3.3-3 (sonic-net#1312) (sonic-net#1321)

- update Arista 7050-QX32S config.bcm file
- update Accton th-as771*-32x100G.config.bcm files

* update refpoint for Makefile chnage in sairedis

* update refpoint - sairedis

* update sairedis to older refpoint till we debug clean build

* export asic platform for build

* update refpoint for makefiles

* [PLATFORM] Centec update E582 driver fan/epprom/sensor (sonic-net#1332)

* Upload wnc-osw1800

* Modify for Barefoot suggest

* Revert bfn-platform.mk

* Update bfn-platform-wnc.mk

Update parameter name

* Update parameter name

* initial support for WNC platform

* change switch name to "switch"

* Delete bf modules for rel_7_0

* Add Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Modify bfnsdk for Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Resolved the conflict.

* Resolved the conflict.

* Update submodule path and url.

* Delete unused file.

* Update PSU GPIO and EEPROM for psuutil.

* Add psuutil in S9180-32X

Signed-off-by: Wade He <chihen.he@gmail.com>

* update refpoint

* update refpoint

* change contact email, update refpoint

* cleanup and update kernel modules

* updates based on review

* update refpoint

* update refpoint

* fix typo in config script to check for platforms

* remove stale file

* resolve conflicts

* cleanup diffs with Azure repo and update SDK debs

* update refpoints to Azure

* address review comments

* revert refpoint of swss-common

* porting the build fix from master

* porting build fix from master

* Minor Fix

* Minor fix

* Temp to sde deb packages url

* Update sonic - sairedis,swss & swss-common refpoints

* Update git modules url path to bfn repo

* updated paths for swss, swss-common & sairedis

* Update refpoint for sonic-swss to local bfn repo

* Update URL for downloading sde debian packages

* porting fix links of debian git server from master

* porting fix links of debian git server from master

* [Ingrasys] Add platform support for S9280-64X with Barefoot ASIC

* Update ref points for swss, swss-common and sairedis repos

* Add sonic platform scripts for bfn montara/maverick

* Call sh scripts instead of calling py scripts

* Address upstream PR Comments (#10)

* Update bf-master with azure/master
* Undo changes to some files

* Revert "Address upstream PR Comments (#10)"

This reverts commit a7fddb8.

* Address upstream comments (#11)

* Remove all non bfn specific changes from upstream PR

* Revert "Address upstream comments (#11)"

This reverts commit 5591321.

* Undo non bfn changes

* Little more cleanup

* Add back code removed in merge

* export CONFIGURED_PLATFORM

* Update sairedis and swss refpoints

* Address Upstream PR comment

* change deb pkg dependency from 3.16.0-4-amd64 to 3.16.0-5-amd64

* Set default tx queue len for usb0 interface to 64

* Update sairedis refpoint

* Update swss ref point

* Add bfn buffer cfg files for montara/maverick as per new design

* Update buffer cfg templates for bfn montara

* add non zero size to buffer profile
* add macro to generate port lists

* Update buffer cfg templates for bfn mavericks

* add non zero size for buffer profiles
* add port generation macro

* Add missing psmisc package

* BGP docker seems to be missing killall utility being used by fast-reboot script. This is causing non graceful termination of BGP sessions.
Adding psmisc to resolve this issue.

* Update swss ref point

* Update swss ref point

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update refpoint for sairedis and swss

* sairedis to azure master
* swss to latest bfn bf-master

* Update gitmodules

Update url for sairedis to azure master

* Correct typo in bfn platform script

* Update swss and sairedis ref points

* Update swss ref point

* Address Review comments

* Update swws path in gitmodules to azure master
* update swss refpoint
* update base docker j2 file -remove psmisc package (could be a concern, would cause fast reboot to not work correctly will fix in another PR)

* Fix sairedis refpoint broken in by previous merge

* Remove psmisc from docker base image

* This will break fast reboot as killall is required for killing bgp process and initiating graceful termination of BGP session.
Will fix this in a seperate PR. Need this for SONIC upstreaming

* Address upstream comments

* Remove bmc interface from interface jinja template and sample output interfaces file
* Add bmc interface at boot time to network interfaces for bfn bmc based platforms

* Remove autogen ingrasys debian files

* Revert "Remove autogen ingrasys debian files"

* Buffer and qos config template fix for bfn platforms (#21)

SWI-1509 Buffer and qos config template fix for bfn platforms

* Fix qos config files for montara & mavericks (#22)

* Reference only ppg 3,4 in qos files as no profiles are attached to 0,1 in buffer configs

* Fix vs test (#23)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants