This commit adds new code which supports the new buffer mgmt infra.
- Added new code to support buffers for T0 and T1 configs of S6100.
- Added new qos.json file to support qos on S6100.
- Changed the pg_profile_lookup.ini file to support xon_offset.
- Changed buffer.json.j2 file according to new buffer mgmt infra.
Unit tested by verifying the above changes by loading S6100 with the
configuration, checked the hardware for broadcom recommended settings
by running bcmcmd. Sent the unit test logs to Ying.
Checked the PG_RESET_OFFSET value which reflects the new xon_offset value of 2288
from the pg_profile_lookup.ini.
Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
* Add qos.json for Arista-7050-QX-32S
This file is a modification from the one in the swss docker, and is applied in the base image
Signed-off-by: Wenda <wenni@microsoft.com>
* Prepare buffers.json.j2 alongside with qos.json to allow qos config to take
effect on a7050-QX-32S
Signed-off-by: Wenda <wenni@microsoft.com>
* [sonic build] Define folder macro for target folder /usr/sonic/share/templates
* [sonic-cfggen] allow templates to include from common folders
- Allow templates to include files under /usr/share/sonic/templates
- Allow templates to include files in the same folder as the root template
* [Buffer config] install the buffer configuration template
* [Arista7260cx3] Add buffer configuration for Arista7260CX3 T0 topology
- pg profile look up table is incomplete. Currently contains T0 default
values.
* [Arista7260cx3] Adding QoS configuration
* Address review comments
1. Stop generating ingress pg configuration for lossless pgs.
2. Stop putting ports into speed sets, put all ports in one set.
3. Remove ingress lossless profiles.
4. Added some tailing '-' back to remove leading spaces.
- Adds the following changes:
- [schema] Update Config DB Table name #defines (#188)
- Extending IpAddress class with method to return the scope of any
given ip-address (#187)
- Extending IpPrefix class to return the subnet associated to any
given prefix (#184)
- update build instruction (#185)
- What I did
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule
- How I did it
Update Quanta-IX1B-32X platform module driver.
- How to verify it
admin@switch1:~$ sudo psuutil status
PSU Status
----- --------
PSU 1 OK
PSU 2 OK
- Description for the changelog
Add psuutil support for Quanta-IX1B-32X
Update Quanta submodule
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Jonathan Tsai <jonathan.tsai@quantatw.com>
- What I did
Updating new switch configuration files
- How I did it
Updating related switch configuration files in device/ingrasys
- How to verify it
Checking system and network feature is worked as well
- Description for the changelog
Update switch configuration files for S9130-32X/S9230-64X
- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>
This commit adds new support for dynamic buffer configuration. The cable_length macro is
updated to return the cable length for server ports. Since the server ports are part of
VLAN MEMBERS, the macro loops through the VLAN MEMBER ports and returns the cable length
accordingly. If the port is not part of the SERVER port then it defaults to default cable
length. The new code in the macro will be executed only if the switch is ToRRouter
which is connected to the server on one side.
Tested the code by loading minigraph configuration on the switch which had configuration
for leaf-router as DEVICE NEIGHHOR and server ports in VLAN and ports which are not part of
either server or leaf router. The dynamically generated buffer.json and config_db.json file
had the cable_legnth updated accordingly for server ports with "5m" and leafrouter with "40m"
and unconnected port to default "300m". The redis database also reflects the buffer profile's
for 5m, 40m and 300m.
Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>