From e3a69edfe82d3038e2c27a732d4339a182665a7c Mon Sep 17 00:00:00 2001 From: Zhenggen Xu Date: Wed, 2 Jan 2019 22:27:30 -0800 Subject: [PATCH] Support 32x50G+16x40G profile on Seastone Update SAI binary package This is to support the PODs where the FAB devices were configured as 40G. Signed-off-by: Zhenggen Xu RB=1522103 G=lnos-reviewers R=pchaudhary,pmao,rmolina,samaity,sfardeen,zxu A= --- .../Seastone-DX010-50-40/minigraph.xml | 935 ++++++++++++++++++ .../Seastone-DX010-50-40/port_config.ini | 49 + .../Seastone-DX010-50-40/sai.profile | 1 + platform/broadcom/sai.mk | 8 +- 4 files changed, 989 insertions(+), 4 deletions(-) create mode 100644 device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/minigraph.xml create mode 100644 device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/port_config.ini create mode 100644 device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/sai.profile diff --git a/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/minigraph.xml b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/minigraph.xml new file mode 100644 index 000000000000..3693c42c1011 --- /dev/null +++ b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/minigraph.xml @@ -0,0 +1,935 @@ + + + + + + ARISTA01T0 + 10.0.0.33 + sonic + 10.0.0.32 + 1 + 180 + 60 + + + sonic + 10.0.0.0 + ARISTA01T2 + 10.0.0.1 + 1 + 180 + 60 + + + ARISTA02T0 + 10.0.0.35 + sonic + 10.0.0.34 + 1 + 180 + 60 + + + sonic + 10.0.0.2 + ARISTA02T2 + 10.0.0.3 + 1 + 180 + 60 + + + ARISTA03T0 + 10.0.0.37 + sonic + 10.0.0.36 + 1 + 180 + 60 + + + sonic + 10.0.0.4 + ARISTA03T2 + 10.0.0.5 + 1 + 180 + 60 + + + ARISTA04T0 + 10.0.0.39 + sonic + 10.0.0.38 + 1 + 180 + 60 + + + sonic + 10.0.0.6 + ARISTA04T2 + 10.0.0.7 + 1 + 180 + 60 + + + ARISTA05T0 + 10.0.0.41 + sonic + 10.0.0.40 + 1 + 180 + 60 + + + sonic + 10.0.0.8 + ARISTA05T2 + 10.0.0.9 + 1 + 180 + 60 + + + ARISTA06T0 + 10.0.0.43 + sonic + 10.0.0.42 + 1 + 180 + 60 + + + sonic + 10.0.0.10 + ARISTA06T2 + 10.0.0.11 + 1 + 180 + 60 + + + ARISTA07T0 + 10.0.0.45 + sonic + 10.0.0.44 + 1 + 180 + 60 + + + sonic + 10.0.0.12 + ARISTA07T2 + 10.0.0.13 + 1 + 180 + 60 + + + ARISTA08T0 + 10.0.0.47 + sonic + 10.0.0.46 + 1 + 180 + 60 + + + sonic + 10.0.0.14 + ARISTA08T2 + 10.0.0.15 + 1 + 180 + 60 + + + ARISTA09T0 + 10.0.0.49 + sonic + 10.0.0.48 + 1 + 180 + 60 + + + sonic + 10.0.0.16 + ARISTA09T2 + 10.0.0.17 + 1 + 180 + 60 + + + ARISTA10T0 + 10.0.0.51 + sonic + 10.0.0.50 + 1 + 180 + 60 + + + sonic + 10.0.0.18 + ARISTA10T2 + 10.0.0.19 + 1 + 180 + 60 + + + ARISTA11T0 + 10.0.0.53 + sonic + 10.0.0.52 + 1 + 180 + 60 + + + sonic + 10.0.0.20 + ARISTA11T2 + 10.0.0.21 + 1 + 180 + 60 + + + ARISTA12T0 + 10.0.0.55 + sonic + 10.0.0.54 + 1 + 180 + 60 + + + sonic + 10.0.0.22 + ARISTA12T2 + 10.0.0.23 + 1 + 180 + 60 + + + ARISTA13T0 + 10.0.0.57 + sonic + 10.0.0.56 + 1 + 180 + 60 + + + sonic + 10.0.0.24 + ARISTA13T2 + 10.0.0.25 + 1 + 180 + 60 + + + ARISTA14T0 + 10.0.0.59 + sonic + 10.0.0.58 + 1 + 180 + 60 + + + sonic + 10.0.0.26 + ARISTA14T2 + 10.0.0.27 + 1 + 180 + 60 + + + ARISTA15T0 + 10.0.0.61 + sonic + 10.0.0.60 + 1 + 180 + 60 + + + sonic + 10.0.0.28 + ARISTA15T2 + 10.0.0.29 + 1 + 180 + 60 + + + ARISTA16T0 + 10.0.0.63 + sonic + 10.0.0.62 + 1 + 180 + 60 + + + sonic + 10.0.0.30 + ARISTA16T2 + 10.0.0.31 + 1 + 180 + 60 + + + + + 65100 + sonic + + +
10.0.0.33
+ + +
+ +
10.0.0.1
+ + +
+ +
10.0.0.35
+ + +
+ +
10.0.0.3
+ + +
+ +
10.0.0.37
+ + +
+ +
10.0.0.5
+ + +
+ +
10.0.0.39
+ + +
+ +
10.0.0.7
+ + +
+ +
10.0.0.41
+ + +
+ +
10.0.0.9
+ + +
+ +
10.0.0.43
+ + +
+ +
10.0.0.11
+ + +
+ +
10.0.0.45
+ + +
+ +
10.0.0.13
+ + +
+ +
10.0.0.47
+ + +
+ +
10.0.0.15
+ + +
+ +
10.0.0.49
+ + +
+ +
10.0.0.17
+ + +
+ +
10.0.0.51
+ + +
+ +
10.0.0.19
+ + +
+ +
10.0.0.53
+ + +
+ +
10.0.0.21
+ + +
+ +
10.0.0.55
+ + +
+ +
10.0.0.23
+ + +
+ +
10.0.0.57
+ + +
+ +
10.0.0.25
+ + +
+ +
10.0.0.59
+ + +
+ +
10.0.0.27
+ + +
+ +
10.0.0.61
+ + +
+ +
10.0.0.29
+ + +
+ +
10.0.0.63
+ + +
+ +
10.0.0.31
+ + +
+
+ +
+ + 64001 + ARISTA01T0 + + + + 65200 + ARISTA01T2 + + + + 64002 + ARISTA02T0 + + + + 65200 + ARISTA02T2 + + + + 64003 + ARISTA03T0 + + + + 65200 + ARISTA03T2 + + + + 64004 + ARISTA04T0 + + + + 65200 + ARISTA04T2 + + + + 64005 + ARISTA05T0 + + + + 65200 + ARISTA05T2 + + + + 64006 + ARISTA06T0 + + + + 65200 + ARISTA06T2 + + + + 64007 + ARISTA07T0 + + + + 65200 + ARISTA07T2 + + + + 64008 + ARISTA08T0 + + + + 65200 + ARISTA08T2 + + + + 64009 + ARISTA09T0 + + + + 65200 + ARISTA09T2 + + + + 64010 + ARISTA10T0 + + + + 65200 + ARISTA10T2 + + + + 64011 + ARISTA11T0 + + + + 65200 + ARISTA11T2 + + + + 64012 + ARISTA12T0 + + + + 65200 + ARISTA12T2 + + + + 64013 + ARISTA13T0 + + + + 65200 + ARISTA13T2 + + + + 64014 + ARISTA14T0 + + + + 65200 + ARISTA14T2 + + + + 64015 + ARISTA15T0 + + + + 65200 + ARISTA15T2 + + + + 64016 + ARISTA16T0 + + + + 65200 + ARISTA16T2 + + +
+ ?> +
+ + + + + + HostIP + Loopback0 + + 10.1.0.32/32 + + 10.1.0.32/32 + + + + + + + + sonic + + + + + + Eth1/1 + 10.0.0.0/31 + + + + Eth1/2 + 10.0.0.2/31 + + + + Eth2/1 + 10.0.0.4/31 + + + + Eth2/2 + 10.0.0.6/31 + + + + Eth3/1 + 10.0.0.8/31 + + + + Eth3/2 + 10.0.0.10/31 + + + + Eth4/1 + 10.0.0.12/31 + + + + Eth4/2 + 10.0.0.14/31 + + + + Eth5/1 + 10.0.0.16/31 + + + + Eth5/2 + 10.0.0.18/31 + + + + Eth6/1 + 10.0.0.20/31 + + + + Eth6/2 + 10.0.0.22/31 + + + + Eth7/1 + 10.0.0.24/31 + + + + Eth7/2 + 10.0.0.26/31 + + + + Eth8/1 + 10.0.0.28/31 + + + + Eth8/2 + 10.0.0.30/31 + + + + Eth9/1 + 10.0.0.32/31 + + + + Eth9/2 + 10.0.0.34/31 + + + + Eth10/1 + 10.0.0.36/31 + + + + Eth10/2 + 10.0.0.38/31 + + + + Eth11/1 + 10.0.0.40/31 + + + + Eth11/2 + 10.0.0.42/31 + + + + Eth12/1 + 10.0.0.44/31 + + + + Eth12/2 + 10.0.0.46/31 + + + + Eth13/1 + 10.0.0.48/31 + + + + Eth13/2 + 10.0.0.50/31 + + + + Eth14/1 + 10.0.0.52/31 + + + + Eth14/2 + 10.0.0.54/31 + + + + Eth15/1 + 10.0.0.56/31 + + + + Eth15/2 + 10.0.0.58/31 + + + + Eth16/1 + 10.0.0.60/31 + + + + Eth16/2 + 10.0.0.62/31 + + + + Eth17 + 10.0.0.64/31 + + + + Eth18 + 10.0.0.66/31 + + + + Eth19 + 10.0.0.68/31 + + + + Eth20 + 10.0.0.70/31 + + + + Eth21 + 10.0.0.72/31 + + + + Eth22 + 10.0.0.74/31 + + + + Eth23 + 10.0.0.76/31 + + + + Eth24 + 10.0.0.78/31 + + + + Eth25 + 10.0.0.80/31 + + + + Eth26 + 10.0.0.82/31 + + + + Eth27 + 10.0.0.84/31 + + + + Eth28 + 10.0.0.86/31 + + + + Eth29 + 10.0.0.88/31 + + + + Eth30 + 10.0.0.90/31 + + + + Eth31 + 10.0.0.92/31 + + + + Eth32 + 10.0.0.94/31 + + + + + + + + + + + + sonic + Seastone-DX010-50-40 + + + + + + + sonic + + + DhcpResources + + + + + NtpResources + + 0.debian.pool.ntp.org;1.debian.pool.ntp.org;2.debian.pool.ntp.org;3.debian.pool.ntp.org + + + SyslogResources + + + + + ErspanDestinationIpv4 + + 2.2.2.2 + + + + + + + sonic + Seastone-DX010-50-40 +
diff --git a/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/port_config.ini b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/port_config.ini new file mode 100644 index 000000000000..9a2b38e6da79 --- /dev/null +++ b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/port_config.ini @@ -0,0 +1,49 @@ +# name lanes alias index speed +Ethernet0 65,66 Eth1/1 0 50000 +Ethernet2 67,68 Eth1/2 0 50000 +Ethernet4 69,70 Eth2/1 1 50000 +Ethernet6 71,72 Eth2/2 1 50000 +Ethernet8 73,74 Eth3/1 2 50000 +Ethernet10 75,76 Eth3/2 2 50000 +Ethernet12 77,78 Eth4/1 3 50000 +Ethernet14 79,80 Eth4/2 3 50000 +Ethernet16 33,34 Eth5/1 4 50000 +Ethernet18 35,36 Eth5/2 4 50000 +Ethernet20 37,38 Eth6/1 5 50000 +Ethernet22 39,40 Eth6/2 5 50000 +Ethernet24 41,42 Eth7/1 6 50000 +Ethernet26 43,44 Eth7/2 6 50000 +Ethernet28 45,46 Eth8/1 7 50000 +Ethernet30 47,48 Eth8/2 7 50000 +Ethernet32 49,50 Eth9/1 8 50000 +Ethernet34 51,52 Eth9/2 8 50000 +Ethernet36 53,54 Eth10/1 9 50000 +Ethernet38 55,56 Eth10/2 9 50000 +Ethernet40 57,58 Eth11/1 10 50000 +Ethernet42 59,60 Eth11/2 10 50000 +Ethernet44 61,62 Eth12/1 11 50000 +Ethernet46 63,64 Eth12/2 11 50000 +Ethernet48 81,82 Eth13/1 12 50000 +Ethernet50 83,84 Eth13/2 12 50000 +Ethernet52 85,86 Eth14/1 13 50000 +Ethernet54 87,88 Eth14/2 13 50000 +Ethernet56 89,90 Eth15/1 14 50000 +Ethernet58 91,92 Eth15/2 14 50000 +Ethernet60 93,94 Eth16/1 15 50000 +Ethernet62 95,96 Eth16/2 15 50000 +Ethernet64 97,98,99,100 Eth17 16 40000 +Ethernet68 101,102,103,104 Eth18 17 40000 +Ethernet72 105,106,107,108 Eth19 18 40000 +Ethernet76 109,110,111,112 Eth20 19 40000 +Ethernet80 1,2,3,4 Eth21 20 40000 +Ethernet84 5,6,7,8 Eth22 21 40000 +Ethernet88 9,10,11,12 Eth23 22 40000 +Ethernet92 13,14,15,16 Eth24 23 40000 +Ethernet96 17,18,19,20 Eth25 24 40000 +Ethernet100 21,22,23,24 Eth26 25 40000 +Ethernet104 25,26,27,28 Eth27 26 40000 +Ethernet108 29,30,31,32 Eth28 27 40000 +Ethernet112 113,114,115,116 Eth29 28 40000 +Ethernet116 117,118,119,120 Eth30 29 40000 +Ethernet120 121,122,123,124 Eth31 30 40000 +Ethernet124 125,126,127,128 Eth32 31 40000 diff --git a/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/sai.profile b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/sai.profile new file mode 100644 index 000000000000..fb337429b201 --- /dev/null +++ b/device/celestica/x86_64-cel_seastone-r0/Seastone-DX010-50-40/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/etc/bcm/th-seastone-dx010-32x50G-16x100G.config.bcm diff --git a/platform/broadcom/sai.mk b/platform/broadcom/sai.mk index 635a1f69de78..c71d8fff1cc4 100644 --- a/platform/broadcom/sai.mk +++ b/platform/broadcom/sai.mk @@ -1,9 +1,9 @@ -BRCM_SAI = libsaibcm_3.1.3.4-LI6_amd64.deb -$(BRCM_SAI)_URL = "http://172.25.11.11/lnos/sonic/SAI-package/libsaibcm_3.1.3.4-LI6_amd64.deb" +BRCM_SAI = libsaibcm_3.1.3.4-LI8_amd64.deb +$(BRCM_SAI)_URL = "http://172.25.11.11/lnos/sonic/SAI-package/libsaibcm_3.1.3.4-LI8_amd64.deb" -BRCM_SAI_DEV = libsaibcm-dev_3.1.3.4-LI6_amd64.deb +BRCM_SAI_DEV = libsaibcm-dev_3.1.3.4-LI8_amd64.deb $(eval $(call add_derived_package,$(BRCM_SAI),$(BRCM_SAI_DEV))) -$(BRCM_SAI_DEV)_URL = "http://172.25.11.11/lnos/sonic/SAI-package/libsaibcm-dev_3.1.3.4-LI6_amd64.deb" +$(BRCM_SAI_DEV)_URL = "http://172.25.11.11/lnos/sonic/SAI-package/libsaibcm-dev_3.1.3.4-LI8_amd64.deb" SONIC_ONLINE_DEBS += $(BRCM_SAI) $(BRCM_SAI_DEV) $(BRCM_SAI_DEV)_DEPENDS += $(BRCM_SAI)