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

201803 #1892

Closed
wants to merge 118 commits into from
Closed

201803 #1892

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
5d8cbee
[installer]: Suppress tar xz warning about time stamp in the future, …
qiluo-msft Apr 5, 2018
2c08426
[sonic-platform-common] Update submodule (#1563)
jleveque Apr 6, 2018
6fe95bc
[baseimage]: bring down eth0 before restart networking (#1555)
lguohan Apr 2, 2018
6da6e07
[mellanox]: Update MLNX SAI pointer (#1557)
Apr 3, 2018
5cf05f8
[minigraph.py] Add support to parse tacacs server information (#1549)
taoyl-ms Apr 2, 2018
8951e30
[router advertiser] Only start radvd process if device role is 'ToRRo…
jleveque Apr 7, 2018
a67952a
[submodules]: update sonic-swss (#1570)
lguohan Apr 7, 2018
765bf0a
[submodules]: update sonic-utilities (#1571)
lguohan Apr 7, 2018
d81d665
[cfggen]: ignore acl when its type is not defined (#1568)
lguohan Apr 9, 2018
df34960
[installer]: Umount before delete partition (#1575)
qiluo-msft Apr 10, 2018
d54b9ef
Use eth0 interface only to generate lldpd SystemId (#1577)
pavel-shirshov Apr 10, 2018
7b36744
Allow one Service ACL to bind to multiple services (#1576)
jleveque Apr 11, 2018
6a5afcf
[snmp]: Bind snmpd to all ip addresses (#1587)
qiluo-msft Apr 11, 2018
eb7a26b
[device] Update Arista driver submodule (#1585)
Staphylo Apr 11, 2018
f3ff10f
[devices]: Fix type for qos.json in 7060 and S6100 (#1582)
prsunny Apr 11, 2018
f8aac10
[minigraph]: ignore minigraph ports which are not in port_config.ini …
lguohan Apr 12, 2018
2f4ce21
[minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth (#1592)
qiluo-msft Apr 12, 2018
062d600
[Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
yxieca Apr 13, 2018
30d289f
50G support for Arista 7060 (#1580)
prsunny Apr 13, 2018
960148a
Marvell's updates for SONiC 201803 over SAI v1.2 (#1588)
ziverlichson Apr 11, 2018
5147d19
[Mellanox] Add support for a new platform LS-SN2700
andriymoroz-mlnx Apr 11, 2018
9c2a338
[devices]: Merge ingress service pools of lossless and lossy traffic …
wendani Apr 14, 2018
a194d65
[sonic-utilities] add pfcstat and queuestat tool (#1606)
hui-ma Apr 17, 2018
83517f5
Add support for S6100 switchport LEDs (#1610)
padmanarayana Apr 18, 2018
8be17f6
[ip-in-ip]: Fix config template to apply correct platform depended va…
Apr 18, 2018
225a4fa
[platform-common]: Update sonic-platform-common submodule (#1620)
Apr 18, 2018
0282666
[sonic-cfggen] Be case insensitive to hostname in minigraph (#1614)
taoyl-ms Apr 19, 2018
dcdcf40
[bugfix]: pass correct port name to led_control.py in ledd
lguohan Apr 19, 2018
9fad33c
[cfggen]: Fix build by fixing pyangbind version (#1633)
qiluo-msft Apr 23, 2018
a84ca2d
[swss]: update sonic-swss submodule
lguohan Apr 24, 2018
f46e873
[radvd] Ensure at least one interface is specified in radvd.conf befo…
jleveque Apr 24, 2018
90c9433
[updategraph]: Keep updategraph service active after start (#1651)
prsunny Apr 26, 2018
018b840
[docker-lldpd]: Various fixes (#1650)
pavel-shirshov Apr 27, 2018
ae14846
[submodules]: update swss and utilities modules
lguohan Apr 27, 2018
de3e8cc
[snmp]: Fix a race between snmpd-config-updater and snmpd (#1628)
Staphylo Apr 21, 2018
0a70626
[snmpd]: Fix typo in is_platform_arista (#1634)
yurypm Apr 23, 2018
93d1472
[mellanox]: Update SAI version to 1.11.4 and SDK to 4.2.7303 (#1655)
andriymoroz-mlnx Apr 28, 2018
2a3092e
[docker-dhcp]: Fix the sonic build issue (#1659)
zhenggen-xu Apr 30, 2018
d3e958a
[swss]: update swss
lguohan May 1, 2018
2d8ed10
[zebra.conf] Fix template issue with multiple lo addresses (#1662)
taoyl-ms May 2, 2018
8088f2b
[swss]: Change the hash seed to 0 for ToR and 10 for Leaf routers (#1…
May 2, 2018
f1cf5b2
[snmp]: Stop spamming logs with statfs permission denied log message …
pavel-shirshov May 2, 2018
8a5013b
[broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
lguohan May 2, 2018
b29d835
[sonic-cfggen]: fix bgpd and zebra template for sonic-cfggen test
lguohan May 2, 2018
3e3a56e
[swss]: update sonic-swss module
lguohan May 2, 2018
4cf7913
[device] Update arista driver submodule (#1674)
Staphylo May 4, 2018
f734033
[submodule]: Update submodule sonic-snmpagent (#1642)
qiluo-msft Apr 25, 2018
532953e
sonic-cfggen supports hwsku parameter (#1631)
qiluo-msft Apr 24, 2018
04ca35b
[device] Add PSU utility for platform ly1200 of MiTAC (#1673)
stanepc1 May 7, 2018
1dd26fe
[mellanox]: Update MLNX SAI pointer (#1684)
May 8, 2018
621c250
40G profile for Arista 7060 (#1677)
prsunny May 7, 2018
323cafd
Update buffers config for Mellanox 27xx devices (#1649)
andriymoroz-mlnx May 8, 2018
1139cd7
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 10, 2018
d826055
[sonic-utilities]: update sonic utilities submodule
lguohan May 10, 2018
d26d9fb
[swss]: update sonic-swss
lguohan May 10, 2018
1c54039
[swss]: update sonic-swss
lguohan May 10, 2018
30a08a1
[platform]: Fixed Cavium platform modules build. (#1694)
May 11, 2018
5836ec7
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 12, 2018
0dca563
[baseimage]: Disable DAD for eth0 explicitly (#1701)
prsunny May 12, 2018
1d03df4
[quagga]: update quagga submodule (#1698)
lguohan May 11, 2018
20d0531
[mellanox]: Update FW pointer (#1722)
May 17, 2018
4faf96f
[Arista]: Add a reboot script for all remaining platforms. (#1706)
Staphylo May 15, 2018
a2d0144
[fast-reboot]: support encoded & gzipped minigraph in fast reboot (#1…
lguohan May 16, 2018
35bc68d
[dhcp_relay] Only attempt to start 'isc-dhcp-relay' group if it is no…
jleveque May 16, 2018
da27cd8
[devices]: Reverting the xoff value for Arista 7060 t0 topology (#1726)
prsunny May 18, 2018
3410750
[devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
lguohan May 18, 2018
bf2be4a
[swss]: update swss submodule
lguohan May 19, 2018
6ed14b3
[submodule]: Update submodule sonic-snmpagent: power_status_handler h…
qiluo-msft May 22, 2018
1e7508d
[devices]: update dx010 fan configuration (#1735)
May 23, 2018
1a4123a
Remove fan LED initialization from led_control plugins for Arista 705…
jleveque May 24, 2018
989000c
[sonic-cfggen]: Protect config_db.json from minigraph misconfig (#1727)
wendani May 24, 2018
2aa1de5
[service] introducing serial port watchdog service (#1743)
yxieca May 25, 2018
188afc1
[docker_image_ctl]: Add --force while removing obsolete dockers (#1744)
May 26, 2018
6e162be
[sairedis]: update sonic-sairedis submodule
lguohan May 30, 2018
d7ed638
[minigraph parser] Fix minigraph parser issue when handling LAG relat…
keboliu May 26, 2018
6d09e0e
Add QoS and Buffers configs for Mellanox MSN2100 and MSN2410 (#1739)
andriymoroz-mlnx May 30, 2018
85c4581
[serial watchdog] remove serial watchdog service dependency to rc.loc…
yxieca May 31, 2018
2ad793c
Fix links of debian git server (#1755)
qiluo-msft Jun 1, 2018
36fc74d
[broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
yxieca May 24, 2018
9943dba
[broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
lguohan Jun 1, 2018
c464ded
Revert "[minigraph parser] Fix minigraph parser issue when handling L…
qiluo-msft Jun 5, 2018
53373b6
Revert the feature: serial port watchdog service (#1766)
qiluo-msft Jun 5, 2018
704f2fa
[caclmgrd] Heuristically determine whether ACL is IPv4 or IPv6, use i…
jleveque Jun 5, 2018
a3385b3
[platform]: Update Mellanox SDK/SAI pointers (new firmware) (#1777)
andriymoroz-mlnx Jun 8, 2018
8fb2313
[devices]: Updated AS7512-32X ini config files. (#1685)
Jun 8, 2018
fd7392f
[platform]: Add Cavium packages for 201803 revision (#1773)
Jun 8, 2018
5528264
Add Celestica seastone dx010 psuutil.py plugins (#1781)
pphuchar Jun 11, 2018
9d5913d
[devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'se…
jleveque Jun 11, 2018
4d795ec
Update 201803 branch with masters of sonic-swss, sonic-sairedis, soni…
pavel-shirshov Jun 15, 2018
c8753d0
[build templates] Add environment variables for mellanox syncd cont…
keboliu Apr 3, 2018
4520659
[Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Jun 20, 2018
3779c58
[interface-config] Force eth0 before reconfiguration (#1802)
taoyl-ms Jun 21, 2018
310c3f9
[device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU …
Jun 21, 2018
7457c00
[platform] Celestica: dx010 init gpio sysfs (#1807)
pphuchar Jun 22, 2018
c6d43c4
[tacacs] To modify local user permission according to priv lvl (#1804)
taoyl-ms Jun 22, 2018
4eb866c
[sai]: update SAI version to 3.1.3.4-15 (#1808)
sihuihan88 Jun 23, 2018
6568203
Enable sairedis counter thread in 3 minutes after SONiC was started (…
pavel-shirshov Jun 26, 2018
71ede53
Updated Cavium SAI headers. (#1822)
Jun 28, 2018
868b867
Update sonic-swss for 201803 branch. Postpone init of the queue maps …
pavel-shirshov Jun 30, 2018
4012e3d
Add pre-emphasis for 100G optical mocule (#1838)
tiantianlv Jul 4, 2018
c8b2810
[sudoer] Enable read-only commands for all users (#1558)
taoyl-ms Apr 19, 2018
7378aa1
[sonic-swss]: Update submodule in 201803 branch (#1855)
sihuihan88 Jul 13, 2018
de7b951
[sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
qiluo-msft Jul 13, 2018
fc51c10
[sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861)
qiluo-msft Jul 13, 2018
ae8a088
[test] Adding Broadcom configuration file test (#1611)
yxieca Apr 18, 2018
c36adc1
Correct a7060 config for tor (#1823)
wendani Jun 28, 2018
2109a11
[pfcwd] update sonic-utilities submodule
yxieca Jul 17, 2018
1e43b99
Pavelsh/restart swss counters (#1854)
pavel-shirshov Jul 12, 2018
b42bd5b
Convert arp_update into a 'start-it-once' mode (#1864)
pavel-shirshov Jul 18, 2018
c115e30
Change dx010 console speed (#1867)
Jul 19, 2018
dab944b
[bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
yxieca Jul 19, 2018
14a0de7
[submodule]: update sonic-platform-common
lguohan Jul 23, 2018
502ba0e
Fix for bash's memory-leak (#1879)
rodnymolina Jul 28, 2018
1f19c27
Modify sudo lecture message to be more informational (#1800)
taoyl-ms Jun 21, 2018
36604f7
[swss]: Start counter from swss container (#1875)
pavel-shirshov Jul 26, 2018
f2b8442
[sonic-swss]: update sonic-swss submodule
lguohan Jul 28, 2018
a7ca027
[platform]: add sonic port alias for mellanox SN2700 platform (#1883)
lguohan Jul 28, 2018
7419f0a
[nephos]: add new device accton 7116 support for sonic 201803 branch …
simonJi2018 Jul 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ set /files/etc/sysctl.conf/net.ipv6.conf.eth0.forwarding 0

set /files/etc/sysctl.conf/net.ipv6.conf.default.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.all.accept_dad 0
set /files/etc/sysctl.conf/net.ipv6.conf.eth0.accept_dad 0

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

Expand Down
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": {
}
}

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
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# name lanes alias index
Ethernet0 8 Ethernet1/1 0
Ethernet1 9 Ethernet2/1 1
Ethernet2 10 Ethernet3/1 2
Ethernet3 11 Ethernet4/1 3
Ethernet4 12 Ethernet5/1 4
Ethernet5 13 Ethernet6/1 5
Ethernet6 14 Ethernet7/1 6
Ethernet7 15 Ethernet8/1 7
Ethernet8 16 Ethernet9/1 8
Ethernet9 17 Ethernet10/1 9
Ethernet10 18 Ethernet11/1 10
Ethernet11 19 Ethernet12/1 11
Ethernet12 20 Ethernet13/1 12
Ethernet13 21 Ethernet14/1 13
Ethernet14 22 Ethernet15/1 14
Ethernet15 23 Ethernet16/1 15
Ethernet16 32 Ethernet17/1 16
Ethernet17 33 Ethernet18/1 17
Ethernet18 34 Ethernet19/1 18
Ethernet19 35 Ethernet20/1 19
Ethernet20 40 Ethernet21/1 20
Ethernet21 41 Ethernet22/1 21
Ethernet22 42 Ethernet23/1 22
Ethernet23 43 Ethernet24/1 23
Ethernet24 48 Ethernet25/1 24
Ethernet25 49 Ethernet26/1 25
Ethernet26 50 Ethernet27/1 26
Ethernet27 51 Ethernet28/1 27
Ethernet28 56 Ethernet29/1 28
Ethernet29 57 Ethernet30/1 29
Ethernet30 58 Ethernet31/1 30
Ethernet31 59 Ethernet32/1 31
Ethernet32 64 Ethernet33/1 32
Ethernet33 65 Ethernet34/1 33
Ethernet34 66 Ethernet35/1 34
Ethernet35 67 Ethernet36/1 35
Ethernet36 68 Ethernet37/1 36
Ethernet37 69 Ethernet38/1 37
Ethernet38 70 Ethernet39/1 38
Ethernet39 71 Ethernet40/1 39
Ethernet40 72 Ethernet41/1 40
Ethernet41 73 Ethernet42/1 41
Ethernet42 74 Ethernet43/1 42
Ethernet43 75 Ethernet44/1 43
Ethernet44 76 Ethernet45/1 44
Ethernet45 77 Ethernet46/1 45
Ethernet46 78 Ethernet47/1 46
Ethernet47 79 Ethernet48/1 47
Ethernet48 84,85,86,87 Ethernet49/1 48
Ethernet49 80,81,82,83 Ethernet50/1 49
Ethernet50 104,105,106,107 Ethernet51/1 50
Ethernet51 108,109,110,111 Ethernet52/1 51
Ethernet52 112,113,114,115 Ethernet53/1 52
Ethernet53 116,117,118,119 Ethernet54/1 53
Loading