Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[201911] Update the changes from upstream #136

Merged
merged 97 commits into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
a29a2a4
[submodule update of sonic-mgmr-framework] Pointing to latest
abdosi Jan 17, 2020
bb34edf
[config-setup]: create a SONiC configuration management service (#3227)
rajendra-dendukuri Dec 4, 2019
c883583
[dhcp-relay]: Add DHCP Relay Monitor (#3886)
tahmed-dev Jan 8, 2020
89eedb3
[Services] Allow monit system tool to monitor the critical processes …
yozhao101 Jan 11, 2020
aad6b9c
[apt] Instruct apt-get to NOT check the "Valid Until" date in Release…
jleveque Jan 7, 2020
82c2eee
[Monit] Change the monitoring period from 120 seconds to 60 seconds. …
yozhao101 Jan 10, 2020
e838295
Changes to build restapi docker (#3993)
sumukhatv Jan 10, 2020
9deb8c1
[reboot cause]: Delay process-reboot-cause service until network conn…
sujinmkang Jan 10, 2020
e7b75b0
[docker-restapi]: Avoid building RestAPI docker by default (#4018)
sumukhatv Jan 15, 2020
9618c80
[bgpcfgd]: Fix bgpcfgd. Don't notify before all deps are ready. (#4027)
pavel-shirshov Jan 17, 2020
ccdc097
[caclmgrd] Fix application of IPv6 service ACL rules (part 2) (#4036)
jleveque Jan 18, 2020
030a34e
[mellanox] Update FW to 13/29.2000.2714. (#3998)
nazariig Jan 15, 2020
67ff781
Change MFT version to 14.13.3 (#4022)
noaOrMlnx Jan 15, 2020
6d72353
[Submoduloe update] sonic-utilities Cherry-pick PR
abdosi Jan 21, 2020
298fbfc
[Submodule Commit] sonic-py-swsssdk. Cherry-pick PR
abdosi Jan 21, 2020
d6706f6
[Submodule Update] sonic-swss. Pointing to PR 1168
abdosi Jan 21, 2020
9c08d07
[Submodule Update] Cherry-pick PR's 1108, 1156, 1159
abdosi Jan 21, 2020
e884e58
Removed ZTP submodule from 201911. Bad Cherry-pick
abdosi Jan 21, 2020
f5ca0c7
[frr]: Update FRR to 7.2.1 (#4066)
pavel-shirshov Jan 26, 2020
5a4f19e
[kdump]: porting kdump installation skip on arm to 201911 (#4081)
banagiri Jan 29, 2020
d815328
[teamd]: increase startsecs to 5 seconds for teamsyncd (#4083)
judyjoseph Jan 30, 2020
a943e6c
Changes in sonic-buildimage to support the NAT feature (#3494)
kirankella Jan 30, 2020
939de3d
DellEMC : Platform2.0 API Implementation [S6100, S6000, Z9100] (#3740)
ArunSaravananBalachandran Dec 3, 2019
abe7ef7
[baseimage]: support building multi-asic component (#3856)
SuvarnaMeenakshi Jan 26, 2020
a265641
[MultiDB] (./dockers dir) : replace redis-cli with sonic-db-cli and u…
dzhangalibaba Jan 22, 2020
c841693
DellEMC: Platform2.0 API enhancements in DellEMC S6000 and other API …
ArunSaravananBalachandran Jan 24, 2020
cc825ff
[startup] Fixes issue with /var/platform directory not created (#4000)
hpersh Jan 22, 2020
8a7a883
[Mellanox] Update SAI/SDK/FW versions (#4028)
Jan 29, 2020
d6aee4c
[Monit] Change the full process name of syncd in the monit config fil…
yozhao101 Jan 23, 2020
42bffc1
[MultiDB] (except ./src and ./dockers dirs): replace redis-cli with s…
dzhangalibaba Jan 22, 2020
e32d22c
[devices]: DellEMC S6000 fancontrol support (#4048)
Jan 23, 2020
8e4a4ca
[baseimage]: removing space from shebang in procdockerstatsd (#4051)
pra-moh Jan 24, 2020
a836ead
mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con…
kannankvs Jan 29, 2020
a4ca818
[mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#4085)
nazariig Jan 31, 2020
45c4000
Revert "Disable SNMPv1 (#2156)" (#4088)
qiluo-msft Feb 1, 2020
b6c978d
[libnl]: Debian Packaging libnl version 3.5.0 (#3967)
tahmed-dev Jan 7, 2020
cdf469c
Change the dpkg default behavior in slave, and docker-base, in order …
qiluo-msft Dec 13, 2019
896b53e
[Soubmodule Update] for sonic-swss. Following changes are here:
abdosi Feb 4, 2020
3ebcf13
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
becf494
[SubModule Update] sonic-linux-kernel
abdosi Feb 4, 2020
9f132d9
[Submodule Commit] sonic-platofrm-daemons
abdosi Feb 4, 2020
96d05a0
[Submodule update] sonic-swss-common
abdosi Feb 4, 2020
7843d94
[Submodule update] sonic-swss
abdosi Feb 4, 2020
48ca0a1
[kernel]: Increasing gc threshold values for kernel neighbors (#4100)
prsunny Feb 4, 2020
d09b1ab
[Submodule Update] sonic-utilities
abdosi Feb 4, 2020
d192e0c
[SubModule Update] sonic-swss
abdosi Feb 4, 2020
c71deb0
[docker] remove leftover --net=host docker run options (#4119)
mykolaf Feb 7, 2020
8305e84
Add Innvoium build support for 201911 (#4112)
tonytitus Feb 11, 2020
74ac9b0
modified down rules to pre-down rules to ensure that default route is…
kannankvs Jan 17, 2020
68f664b
[platform/cel]: Remove afulnx_64 (#3900)
Dec 16, 2019
96f5a75
[daemon_base]fix error: syslog is not a member of DaemonBase (#4039)
stephenxs Feb 7, 2020
cdab1fc
[frr]: Use tag for building frr (#4082)
pavel-shirshov Feb 7, 2020
3ba4361
[mellanox] enable ISSU on SPC2 systems (#4087)
stepanblyschak Feb 11, 2020
a6acc1e
teamd: fix possible race in master ifname callback (#4109)
pavel-shirshov Feb 5, 2020
e87f270
Update arp_update to refresh neighbor entries from APP_DB (#4125)
prsunny Feb 13, 2020
e194643
[procdockerstats]: Update file permission for procdockerstatsd (#4126)
pra-moh Feb 7, 2020
6143fdd
[process-reboot-cause]Clean up the process-reboot-cause as reqired in…
stephenxs Feb 11, 2020
80e388d
[docker-lldp] Fix lldpcli issue when description has special characte…
zhenggen-xu Feb 10, 2020
c70a7b8
[procdockerstatsd] Fix incorrect case issue in service file (#4134)
pra-moh Feb 10, 2020
63b0038
[sonic-buildimage] Fix build issue for docker-dhcp-relay-dbg.gz. Issu…
abdosi Feb 11, 2020
f061353
[init_cfg.json] Maintain a separate init_cfg.json.j2 template file (#…
yozhao101 Feb 7, 2020
984c43e
[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables (#4137)
yozhao101 Feb 11, 2020
71225ea
[Service] Enable/disable container auto-restart based on configuratio…
yozhao101 Feb 7, 2020
3ac3459
[Services] Restart database service upon unexpected critical process …
yozhao101 Feb 11, 2020
f197f0d
[arista]: Fix convertfs condition for booting from EOS (#4139)
byu343 Feb 12, 2020
887ea00
cherry pick PR 599 for ztp
rlhui Feb 15, 2020
48f8a8d
[Mellanox] platform api support firmware install (#3931)
stephenxs Jan 29, 2020
ee9295c
[grub]: Allow ONiE oneshoot boot for FW update. (#3935)
nazariig Jan 21, 2020
651f4a0
[mellanox] Add fwutil platform components. (#3999)
nazariig Jan 24, 2020
af4e842
Start RestAPI container when sonic boots (#4140)
sumukhatv Feb 13, 2020
bc30442
[sfputil]fix an syntax error (#4141)
stephenxs Feb 13, 2020
f6d69ae
[interfaces-config.sh] Do not bring 'lo' interface down and up (#4150)
jleveque Feb 14, 2020
6740b2d
Fix service and container name to be same (#4151)
prsunny Feb 14, 2020
91e64f0
Update SDK to 4.3.3052 (#4153)
keboliu Feb 16, 2020
bb73687
[Device]: Add new CIG device CS6436-54P and CS5435-54P, also update c…
michealylj1 Feb 17, 2020
20510d5
Sleep done before mismatch handler (#4165)
prsunny Feb 20, 2020
4f3d399
[orchagent] Use mac address from config_db instead of from eth0 (#4166)
prsunny Feb 21, 2020
3156632
Made Change to have Configurable option to enable/disable docker imag…
abdosi Feb 21, 2020
398929c
[mgmt-framework] start after syncd (#4174)
stepanblyschak Feb 20, 2020
4cadca4
[Mellanox]Fix issue that syncd rpc docker unable to start (#4181)
stephenxs Feb 23, 2020
fe9baad
Updated the file permission mode to include +x (#4183)
abdosi Feb 22, 2020
1aac153
[Submodule Update] sonic-swss
abdosi Feb 24, 2020
1edb696
[sonic-ztp]: Build sonic-ztp package (#3299)
rajendra-dendukuri Dec 4, 2019
69879e4
[sonic-ztp]: Add Azure/sonic-ztp as a submodule to Azure/sonic-buildi…
rajendra-dendukuri Dec 16, 2019
c495dc3
[broadcom]: Updated BRCM SAI Debian package revision number to 3.7.3.…
abdosi Feb 25, 2020
5c8c4b2
[Services] Restart BGP service upon unexpected critical process exit.…
yozhao101 Mar 4, 2020
d2c10ba
[snmp] remove hostname change as it share uts namespace with host (#4…
stepanblyschak Feb 28, 2020
bd99464
[sonic-cfggen] Load JSON files before minigraph file (#4202)
jleveque Feb 28, 2020
aef5263
[Mellanox] Update MFT version to 4.13.5 (#4199)
noaOrMlnx Feb 28, 2020
0050cc1
filter out CPU ports to avoid any operation on them (#4197)
keboliu Mar 3, 2020
c603ed3
cherrypick [Mellanox] update hw-mgmt patch for SimX (#4180)
mykolaf Feb 25, 2020
11503c7
[image]: Add SSD maintenance utility - hdparm. (#4177)
nazariig Feb 26, 2020
8581a52
ZTP infrastructure changes to support DHCP discovery provisioning dat…
rajendra-dendukuri Dec 10, 2019
cc2d497
Fixing Bad Cherry-pick
abdosi Mar 4, 2020
42e3996
[Submodule-Update] sonic-swss. Following changes:
abdosi Mar 4, 2020
d6abe35
[Submodule Update] sonic-Utilities with following changes:
abdosi Mar 4, 2020
bf4a282
[libteam]: Disregard current state when considering port enablement (…
lguohan Mar 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ target/
# Subdirectories in src
src/bash/*
!src/bash/Makefile
src/dhcpmon/debian/*
!src/dhcpmon/debian/changelog
!src/dhcpmon/debian/compat
!src/dhcpmon/debian/control
!src/dhcpmon/debian/rules
src/ixgbe/*
!src/ixgbe/Makefile
src/isc-dhcp/*
Expand Down Expand Up @@ -50,6 +55,8 @@ src/isc-dhcp/*
!src/isc-dhcp/Makefile
!src/isc-dhcp/patch/
src/libnl3/*
!src/libnl3/debian
src/libnl3/debian/libnl-*/
!src/libnl3/Makefile
src/libteam/*
!src/libteam/Makefile
Expand Down Expand Up @@ -104,6 +111,7 @@ src/thrift/*
# Autogenerated Dockerfiles
sonic-slave/Dockerfile
sonic-slave-stretch/Dockerfile
sonic-slave-jessie/Dockerfile
dockers/docker-base/Dockerfile
dockers/docker-base-stretch/Dockerfile
dockers/docker-config-engine/Dockerfile
Expand Down Expand Up @@ -140,3 +148,17 @@ src/sonic-daemon-base/sonic_daemon_base.egg-info
# Misc. files
files/initramfs-tools/arista-convertfs
files/initramfs-tools/union-mount

# Debian byproduct files
src/**/debian/stamp-*/
src/**/debian/*.log
src/**/debian/*.substvars
src/**/debian/.debhelper/
src/**/debian/tmp/
src/**/debian/autoreconf.*
src/**/debian/build/
src/**/debian/files
src/**/debian/stamp-autotools-files

# .o files
src/**/*.o
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@
[submodule "Switch-SDK-drivers"]
path = platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
url = https://github.com/Mellanox/Switch-SDK-drivers
[submodule "src/sonic-restapi"]
path = src/sonic-restapi
url = https://github.com/Azure/sonic-restapi.git
branch = master
[submodule "src/sonic-ztp"]
path = src/sonic-ztp
url = https://github.com/Azure/sonic-ztp
3 changes: 3 additions & 0 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# * BUILD_NUMBER: Desired version-number to pass to the building-system.
# * ENABLE_DHCP_GRAPH_SERVICE: Enables get-graph service to fetch minigraph files
# through http.
# * ENABLE_ZTP: Enables zero touch provisioning.
# * SHUTDOWN_BGP_ON_START: Sets admin-down state for all bgp peerings after restart.
# * ENABLE_PFCWD_ON_START: Enable PFC Watchdog (PFCWD) on server-facing ports
# * by default for TOR switch.
Expand Down Expand Up @@ -162,6 +163,7 @@ SONIC_BUILD_INSTRUCTION := make \
BUILD_NUMBER=$(BUILD_NUMBER) \
BUILD_TIMESTAMP=$(BUILD_TIMESTAMP) \
ENABLE_DHCP_GRAPH_SERVICE=$(ENABLE_DHCP_GRAPH_SERVICE) \
ENABLE_ZTP=$(ENABLE_ZTP) \
SHUTDOWN_BGP_ON_START=$(SHUTDOWN_BGP_ON_START) \
SONIC_ENABLE_PFCWD_ON_START=$(ENABLE_PFCWD_ON_START) \
SONIC_ENABLE_SYNCD_RPC=$(ENABLE_SYNCD_RPC) \
Expand All @@ -175,6 +177,7 @@ SONIC_BUILD_INSTRUCTION := make \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy) \
SONIC_ENABLE_SYSTEM_TELEMETRY=$(ENABLE_SYSTEM_TELEMETRY) \
SONIC_ENABLE_RESTAPI=$(ENABLE_RESTAPI) \
EXTRA_JESSIE_TARGETS=$(EXTRA_JESSIE_TARGETS) \
$(SONIC_OVERRIDE_BUILD_VARS)

Expand Down
18 changes: 12 additions & 6 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/initramfs-tools_*.deb || \
sudo dpkg --root=$FILESYSTEM_ROOT -i $debs_path/linux-image-${LINUX_KERNEL_VERSION}-*_${CONFIGURED_ARCH}.deb || \
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install -f
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install acl
[[ $CONFIGURED_ARCH == amd64 ]] && sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install dmidecode
if [[ $CONFIGURED_ARCH == amd64 ]]; then
sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y install dmidecode hdparm
fi

## Update initramfs for booting with squashfs+overlay
cat files/initramfs-tools/modules | sudo tee -a $FILESYSTEM_ROOT/etc/initramfs-tools/modules > /dev/null
Expand Down Expand Up @@ -272,7 +274,8 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
cgroup-tools \
ipmitool \
ndisc6 \
makedumpfile
makedumpfile \
conntrack


if [[ $CONFIGURED_ARCH == amd64 ]]; then
Expand Down Expand Up @@ -374,6 +377,12 @@ set /files/etc/sysctl.conf/net.ipv4.conf.all.arp_ignore 2

set /files/etc/sysctl.conf/net.ipv4.neigh.default.base_reachable_time_ms 1800000
set /files/etc/sysctl.conf/net.ipv6.neigh.default.base_reachable_time_ms 1800000
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh1 1024
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh1 1024
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh2 2048
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh2 2048
set /files/etc/sysctl.conf/net.ipv4.neigh.default.gc_thresh3 4096
set /files/etc/sysctl.conf/net.ipv6.neigh.default.gc_thresh3 4096

set /files/etc/sysctl.conf/net.ipv6.conf.default.forwarding 1
set /files/etc/sysctl.conf/net.ipv6.conf.all.forwarding 1
Expand All @@ -387,9 +396,6 @@ set /files/etc/sysctl.conf/net.ipv6.conf.default.keep_addr_on_down 1
set /files/etc/sysctl.conf/net.ipv6.conf.all.keep_addr_on_down 1
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.keep_addr_on_down 1

set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_ra_defrtr 0
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_ra 0

set /files/etc/sysctl.conf/net.ipv4.tcp_l3mdev_accept 1
set /files/etc/sysctl.conf/net.ipv4.udp_l3mdev_accept 1

Expand Down Expand Up @@ -424,10 +430,10 @@ EOF

sudo cp files/dhcp/rfc3442-classless-routes $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d
sudo cp files/dhcp/sethostname $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/sethostname6 $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/graphserviceurl $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/snmpcommunity $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/vrf $FILESYSTEM_ROOT/etc/dhcp/dhclient-exit-hooks.d/
sudo cp files/dhcp/dhclient.conf $FILESYSTEM_ROOT/etc/dhcp/
if [ -f files/image_config/ntp/ntp ]; then
sudo cp ./files/image_config/ntp/ntp $FILESYSTEM_ROOT/etc/init.d/
fi
Expand Down
2 changes: 1 addition & 1 deletion build_debug_docker_j2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ debs/{{ deb }}{{' '}}
{% if $3 is defined %}
{% if $3|length %}

RUN apt-get install -f -y \
RUN apt-get update && apt-get install -f -y \
{% for dbg in $3.split(' ') -%}
{{ dbg }}{{' '}}
{%- endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def install_firmware(self, image_path):
new_image_path = os.path.join("/tmp", (root.lower() + ext))
shutil.copy(image_path, new_image_path)
install_command = "ispvm %s" % new_image_path
elif self.name == "BIOS":
install_command = "afulnx_64 %s /p /b /n /x /r" % image_path
# elif self.name == "BIOS":
# install_command = "afulnx_64 %s /p /b /n /x /r" % image_path

return self.__run_command(install_command)
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def install_firmware(self, image_path):
new_image_path = os.path.join("/tmp", (root.lower() + ext))
shutil.copy(image_path, new_image_path)
install_command = "ispvm %s" % new_image_path
elif self.name == "BIOS":
install_command = "afulnx_64 %s /p /b /n /x /r" % image_path
# elif self.name == "BIOS":
# install_command = "afulnx_64 %s /p /b /n /x /r" % image_path

return self.__run_command(install_command)
111 changes: 111 additions & 0 deletions device/cig/x86_64-cig_cs5435_54p-r0/Cig-CS5435-54P/buffers.json.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{# Default values which will be used if no actual configura available #}
{% set default_cable = '40m' %}
{% set default_speed = '10G' %}
{% set default_ports_num = 54 -%}

{# Port configuration to cable length look-up table #}
{# Each record describes mapping of DUT (DUT port) role and neighbor role to cable length #}
{# Roles described in the minigraph #}
{% set ports2cable = {
'torrouter_server' : '5m',
'leafrouter_torrouter' : '40m',
'spinerouter_leafrouter' : '300m'
}
%}

{%- macro cable_length(port_name) -%}
{%- set cable_len = [] -%}
{%- for local_port in DEVICE_NEIGHBOR -%}
{%- if local_port == port_name -%}
{%- if DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] -%}
{%- set neighbor = DEVICE_NEIGHBOR_METADATA[DEVICE_NEIGHBOR[local_port].name] -%}
{%- set neighbor_role = neighbor.type -%}
{%- set roles1 = switch_role + '_' + neighbor_role %}
{%- set roles2 = neighbor_role + '_' + switch_role -%}
{%- set roles1 = roles1 | lower -%}
{%- set roles2 = roles2 | lower -%}
{%- if roles1 in ports2cable -%}
{%- if cable_len.append(ports2cable[roles1]) -%}{%- endif -%}
{%- elif roles2 in ports2cable -%}
{%- if cable_len.append(ports2cable[roles2]) -%}{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- if cable_len -%}
{{ cable_len.0 }}
{%- else -%}
{{ default_cable }}
{%- endif -%}
{% endmacro %}

{%- if DEVICE_METADATA is defined %}
{%- set switch_role = DEVICE_METADATA['localhost']['type'] %}
{%- endif -%}

{# Generate list of ports if not defined #}
{% if PORT is not defined %}
{% set PORT = [] %}
{% for port_idx in range(0,default_ports_num) %}
{% if PORT.append("Ethernet%d" % (port_idx)) %}{% endif %}
{% endfor %}
{% endif -%}

{% set port_names_list = [] %}
{% for port in PORT %}
{%- if port_names_list.append(port) %}{% endif %}
{% endfor %}
{% set port_names = port_names_list | join(',') -%}

{
"CABLE_LENGTH": {
"AZURE": {
{% for port in PORT %}
{% set cable = cable_length(port) -%}
"{{ port }}": "{{ cable }}"{%- if not loop.last -%},{% endif %}

{% endfor %}
}
},
"BUFFER_POOL": {
"ingress_lossless_pool": {
"size": "20971328",
"type": "ingress",
"mode": "static"
},
"ingress_lossy_pool": {
"size": "20971328",
"type": "ingress",
"mode": "static"
},
"egress_lossy_pool": {
"size": "20971328",
"type": "egress",
"mode": "static"
}
},
"BUFFER_PROFILE": {
"ingress_lossless_profile": {
"pool":"[BUFFER_POOL|ingress_lossless_pool]",
"xon":"78400",
"xoff":"132160",
"size":"3584",
"static_th":"82880"
},
"ingress_lossy_profile": {
"pool":"[BUFFER_POOL|ingress_lossy_pool]",
"size":"3584",
"dynamic_th":"-1"
},
"egress_lossy_profile": {
"pool":"[BUFFER_POOL|egress_lossy_pool]",
"size":"3584",
"dynamic_th":"-4"
}
},
"BUFFER_PG": {
},
"BUFFER_QUEUE": {
}
}

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# PG lossless profiles.
# speed cable size xon xoff threshold
10000 5m 3584 32256 59136 36736
25000 5m 3584 41216 68096 45696
40000 5m 3584 47488 74368 51968
50000 5m 3584 52864 79744 57344
100000 5m 3584 78400 132160 82880
10000 40m 3584 32256 59136 36736
25000 40m 3584 41216 68096 45696
40000 40m 3584 47488 74368 51968
50000 40m 3584 52864 79744 57344
100000 40m 3584 78400 132160 82880
10000 300m 3584 32256 65856 36736
25000 300m 3584 41216 84672 45696
40000 300m 3584 47488 101024 51968
50000 300m 3584 52864 113120 57344
100000 300m 3584 78400 198688 82880
55 changes: 55 additions & 0 deletions device/cig/x86_64-cig_cs5435_54p-r0/Cig-CS5435-54P/port_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# name lanes alias index speed
Ethernet0 8 Ethernet1/1 1 10000
Ethernet1 9 Ethernet2/1 2 10000
Ethernet2 10 Ethernet3/1 3 10000
Ethernet3 11 Ethernet4/1 4 10000
Ethernet4 12 Ethernet5/1 5 10000
Ethernet5 13 Ethernet6/1 6 10000
Ethernet6 14 Ethernet7/1 7 10000
Ethernet7 15 Ethernet8/1 8 10000
Ethernet8 16 Ethernet9/1 9 10000
Ethernet9 17 Ethernet10/1 10 10000
Ethernet10 18 Ethernet11/1 11 10000
Ethernet11 19 Ethernet12/1 12 10000
Ethernet12 20 Ethernet13/1 13 10000
Ethernet13 21 Ethernet14/1 14 10000
Ethernet14 22 Ethernet15/1 15 10000
Ethernet15 23 Ethernet16/1 16 10000
Ethernet16 32 Ethernet17/1 17 10000
Ethernet17 33 Ethernet18/1 18 10000
Ethernet18 34 Ethernet19/1 19 10000
Ethernet19 35 Ethernet20/1 20 10000
Ethernet20 40 Ethernet21/1 21 10000
Ethernet21 41 Ethernet22/1 22 10000
Ethernet22 42 Ethernet23/1 23 10000
Ethernet23 43 Ethernet24/1 24 10000
Ethernet24 48 Ethernet25/1 25 10000
Ethernet25 49 Ethernet26/1 26 10000
Ethernet26 50 Ethernet27/1 27 10000
Ethernet27 51 Ethernet28/1 28 10000
Ethernet28 56 Ethernet29/1 29 10000
Ethernet29 57 Ethernet30/1 30 10000
Ethernet30 58 Ethernet31/1 31 10000
Ethernet31 59 Ethernet32/1 32 10000
Ethernet32 64 Ethernet33/1 33 10000
Ethernet33 65 Ethernet34/1 34 10000
Ethernet34 66 Ethernet35/1 35 10000
Ethernet35 67 Ethernet36/1 36 10000
Ethernet36 68 Ethernet37/1 37 10000
Ethernet37 69 Ethernet38/1 38 10000
Ethernet38 70 Ethernet39/1 39 10000
Ethernet39 71 Ethernet40/1 40 10000
Ethernet40 72 Ethernet41/1 41 10000
Ethernet41 73 Ethernet42/1 42 10000
Ethernet42 74 Ethernet43/1 43 10000
Ethernet43 75 Ethernet44/1 44 10000
Ethernet44 76 Ethernet45/1 45 10000
Ethernet45 77 Ethernet46/1 46 10000
Ethernet46 78 Ethernet47/1 47 10000
Ethernet47 79 Ethernet48/1 48 10000
Ethernet48 84,85,86,87 Ethernet49/1 49 100000
Ethernet49 80,81,82,83 Ethernet50/1 50 100000
Ethernet50 108,109,110,111 Ethernet51/1 51 100000
Ethernet51 104,105,106,107 Ethernet52/1 52 100000
Ethernet52 116,117,118,119 Ethernet53/1 53 100000
Ethernet53 112,113,114,115 Ethernet54/1 54 100000
Loading