sonic-buildimage/device/dell/x86_64-dell_s6100_c2538-r0
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
..
Force10-S6100 [device/dell] Get Server ports from vlan config (#1386) 2018-02-15 13:42:09 -08:00
plugins [dell-hwmon] Changed variables in psuutil scripts for both Z9100/S6100 platforms (#1305) 2018-02-04 08:49:24 +08:00
Force10-S6100-T1 [Dell]: Add Force10-S6100-T1 symlink to Force10-S6100 (#1038) 2017-10-12 20:58:16 -07:00
installer.conf [installer]: Move platform-specific files under new device/ tree (#450) 2017-03-29 04:17:49 -07:00
minigraph.xml [minigraph]: Set hostname in all default minigraphs to 'sonic' (#1333) 2018-01-23 18:16:15 -08:00