sonic-buildimage/device
Harish Venkatraman 9959898bb6 [device/dell] Get Server ports from vlan config (#1386)
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>
2018-02-15 13:42:09 -08:00
..
accton New model as7312 54x (#1339) 2018-02-14 19:10:37 -08:00
arista [device]: Remove unused qos.json files (#1315) 2018-01-29 10:08:10 -08:00
celestica/x86_64-cel_seastone-r0 [device]: Fix celestica's seastone sfputil for lpmode and transceiver presence (#1358) 2018-02-01 08:49:24 -08:00
centec [minigraph]: Set hostname in all default minigraphs to 'sonic' (#1333) 2018-01-23 18:16:15 -08:00
dell [device/dell] Get Server ports from vlan config (#1386) 2018-02-15 13:42:09 -08:00
delta/x86_64-delta_ag9032v1-r0 [Delta]: Updated port_config.ini & fix the bug of fancontrol.service for ag9032v1. (#1371) 2018-02-06 21:23:20 +08:00
embedway/x86_64-ew_es6220_x48q2h4-r0 [installer]: Move platform-specific files under new device/ tree (#450) 2017-03-29 04:17:49 -07:00
facebook/x86_64-facebook_wedge100-r0 [Facebook]: Add Facebook Wedge 100 support (#666) 2017-06-03 12:44:34 -07:00
ingrasys [Platform] Update FEC value and SAI download link for Ingrasys S9130-32X/S9230-64X (#1365) 2018-02-03 17:46:00 +08:00
inventec Fixed D7054 missing front-panel port Interfaces (#1236) 2017-12-13 22:57:06 -08:00
mellanox Buffers configuration update on port speed change (#1345) 2018-01-29 08:11:05 -08:00
mitac/x86_64-mitac_ly1200_b32h0_c3-r0 [device] Add a new platform ly1200 for MiTAC (#1369) 2018-02-13 21:39:08 +08:00
quanta/x86_64-quanta_ix1b_32x-r0 [Quanta]: Add a new supported device and platform, IX1B-32X (#1372) 2018-02-12 11:11:26 +08:00