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

merge Azure master #1

Merged
merged 274 commits into from
Jul 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
e4a02cb
[SAI] upgrade to Broadcom SAI 3.1.3.4-4 (#1475)
yxieca Mar 8, 2018
2d4c8a2
[Platform] Update switch config files for Ingrasys platforms. (#1474)
wadelnn Mar 8, 2018
02b62ac
[fast-reboot]: Support OS9 -> SONiC fast-reboot migration (#1414)
padmanarayana Mar 9, 2018
4141872
[isc-dhcp] Add patch to fix bug which caused log messages to also pri…
jleveque Mar 9, 2018
16f81af
[devices]: Add as7716-32xb device code (#1472)
jostar-yang Mar 9, 2018
e84e093
Move all minigraph-related action from rc.local to updategraph (#1452)
taoyl-ms Mar 10, 2018
e6278c1
[radv] Rename service unit file Jinja template to radv.service.j2 (#1…
jleveque Mar 10, 2018
913a62c
[configdb]: Sorting all json config-elements residing in config_db.js…
rodnymolina Mar 10, 2018
f88734b
Fix sfp cli commands (#1482)
Mar 12, 2018
1f4ce09
Buffers config (#1476)
wendani Mar 12, 2018
75c6f19
[docker] Refine docker tag for build number (#1484)
qiluo-msft Mar 12, 2018
6839e70
Update sonic-quagga submodule. Fix IPv6 ECMP behavior (#1490)
pavel-shirshov Mar 13, 2018
243a87d
[devices]: remove Dell S6100 qos config via swssconfig (#1483)
sihuihan88 Mar 13, 2018
6194a81
[device/dell] Workaround for sai.profile (#1491)
vharish02 Mar 14, 2018
9065e09
[baseimage] Added net.core.wmem_max value required by Copp test (#1489)
Mar 14, 2018
dd48995
[submodule]: update sonic linux kernel (#1495)
lguohan Mar 14, 2018
2beb78f
[Nephos] Upgrade SAI to v1.2.3 (#1494)
kaiyu22 Mar 14, 2018
aa845b7
[submodules]: Update sonic-swss pointer (#1498)
Mar 14, 2018
33252a4
[devices]: As7312 54x add sfp rest and fan policy (#1464)
roylee123 Mar 14, 2018
f306dd3
[BCM SAI] update Broadcom SDK and SAI (#1485)
yxieca Mar 14, 2018
3bb24a9
[debian]: Add fstrim service files to systemd (#1500)
padmanarayana Mar 15, 2018
23e7981
[platform]: Update sonic-platform-modules-dell submodule (#1502)
Mar 15, 2018
f00bac7
[submodule]: Update sonic-sairedis submodule (#1501)
pavel-shirshov Mar 15, 2018
871161e
[build_debian]: Add quote to specify values as string (#1503)
Mar 16, 2018
ad5f871
[devices]: Consolidate to one egress lossless buffer configuration (#…
wendani Mar 16, 2018
066137e
[swss]:update swss submodule (#1499)
sihuihan88 Mar 17, 2018
e1cb2ac
[base image files] All 'docker exec' wrapper scripts now dynamically …
jleveque Mar 17, 2018
de5e533
[mmu]: reduce headroom size and remove queue min for lossless traffic…
wendani Mar 17, 2018
93f38de
[devices]: modify platform-modules-ag9064.init (#1504)
JohnsonYJLu Mar 17, 2018
15cd34f
[installer]: support new onie machine.conf format (#1468)
lguohan Mar 18, 2018
3ba84ec
[SAI]: Update sonic to use SAI v1.2.4 (#1509)
lguohan Mar 18, 2018
5034d69
[doc]: add build badge for 201712 release (#1510)
lguohan Mar 18, 2018
56efb41
[image]: remove quote for build_version in /etc/sonic/sonic_version.y…
lguohan Mar 19, 2018
651aa91
[Arista7060] Add PFC configuration (#1506)
yxieca Mar 19, 2018
1464014
[swss]: update swss submodule (#1514)
sihuihan88 Mar 20, 2018
6d592d8
[build_template]: combine the init config write into one block (#1513)
sihuihan88 Mar 20, 2018
06a823d
[devices]: Add build as7716-32xb to platform-modules-accton.mk file (…
jostar-yang Mar 20, 2018
957e6c0
Fixing lldp issue displaying mac-addr instead of ports (#1515)
rodnymolina Mar 20, 2018
d142f3c
[config-engine]: Fix 'get_sonic_version_info' API to return valid inf…
Mar 20, 2018
87e9423
[device/dell] Added dynamic sai.profile generation (#1518)
vharish02 Mar 21, 2018
dda0029
Sonic fstrim (#1520)
padmanarayana Mar 21, 2018
94c90cd
Make Dell S6100 and Z9100 psuutil.py plugins compliant with Python 3.…
jleveque Mar 23, 2018
baa9d45
[devices]:Add attributes for cpupld and swpld. (#1516)
StanleyCi Mar 23, 2018
ebea937
[devices]: New platform as7326-56x (#1524)
roylee123 Mar 23, 2018
dba35ee
[baseimage]: Updategraph during NOS->SONiC migration (#1521)
padmanarayana Mar 23, 2018
830e1dd
[device]: Add a new supported device, Delta-ag5648 (#1470)
nealtai Mar 23, 2018
c083532
[device] Update sensors conf on DX010 (#1430)
pphuchar Mar 23, 2018
25d73ef
[device]: fix led_control plugin on Arista 7050-QX32S (#1527)
lguohan Mar 24, 2018
17b09ef
[build]: Move the mounting point inside the docker to home directory …
wendani Mar 24, 2018
c6a9201
[mellanox]: Update MLNX SAI and SDK pointers (#1531)
Mar 26, 2018
9b14add
[platform]: Upgrade Nephos SAI to v1.2.4 (#1530)
simonJi2018 Mar 26, 2018
9f3d3f1
[device] Update Arista drivers submodule (#1533)
Staphylo Mar 27, 2018
da42bd7
[config]: Apply CRM default config to DB on start (#1534)
Mar 27, 2018
f74de89
[telemetry]: SONiC system telemetry Support (#1526)
jipanyang Mar 27, 2018
2a1ae65
Update sonic-utilities to the latest master (#1537)
pavel-shirshov Mar 28, 2018
4daf002
[updategraph] Remove pending_initialization flag after first boot (#1…
taoyl-ms Mar 28, 2018
208ca43
[hostcfgd] Fix a bug that tacacs key is wrongly modified (#1536)
taoyl-ms Mar 28, 2018
f435804
quagga container processes could be restarted within a second (#1541)
pavel-shirshov Mar 28, 2018
5e2773d
[submodules]: update swss and sairedis (#1535)
lguohan Mar 29, 2018
ad0ad91
[device]: Accton 5712 Modify sfp to support oom and sfp access by cpl…
jostar-yang Mar 29, 2018
37d0ff3
[utililities] update sonic-utilities submodule (#1546)
yxieca Mar 29, 2018
a5bfa2c
[device]: do not export gpio{1,2} if already exist on S6000 (#1547)
lguohan Mar 30, 2018
d66e79d
[installer]: remove single quotes around the value when create machin…
lguohan Mar 30, 2018
8572f84
[sonic-utilities] include reboot scripts improvements (#1554)
yxieca Mar 31, 2018
11b0cd9
[baseimage]: bring down eth0 before restart networking (#1555)
lguohan Apr 2, 2018
a04401f
[minigraph.py] Add support to parse tacacs server information (#1549)
taoyl-ms Apr 2, 2018
dc7c524
[mellanox]: Update MLNX SAI pointer (#1557)
Apr 3, 2018
1c32321
[device]: Add a new supported device accton-as7116 (#1539)
simonJi2018 Apr 3, 2018
ed915e3
[build templates] Add environment variables for mellanox syncd cont…
keboliu Apr 3, 2018
0996356
[installer]: Suppress tar xz warning about time stamp in the future, …
qiluo-msft Apr 5, 2018
1051d82
Revert "[installer]: Suppress tar xz warning about time stamp in the …
lguohan Apr 5, 2018
4754b43
[installer]: Suppress tar xz warning about time stamp in the future, …
qiluo-msft Apr 5, 2018
e6015d8
[sonic-platform-common] Update submodule (#1563)
jleveque Apr 6, 2018
ac2861e
[Arista] Set MAC address of mangement port in initramfs (#1565)
byu343 Apr 6, 2018
30466b2
[router advertiser] Only start radvd process if device role is 'ToRRo…
jleveque Apr 7, 2018
5a47b81
[submodules]: update sonic-swss (#1570)
lguohan Apr 7, 2018
4d3f44b
[submodules]: update sonic-utilities (#1571)
lguohan Apr 7, 2018
af0013e
[cfggen]: ignore acl when its type is not defined (#1568)
lguohan Apr 9, 2018
c29def6
[installer]: Umount before delete partition (#1575)
qiluo-msft Apr 10, 2018
2f53bcf
[platform/nephos]add makefile for 7116 board (#1572)
simonJi2018 Apr 10, 2018
83f81c9
Use eth0 interface only to generate lldpd SystemId (#1577)
pavel-shirshov Apr 10, 2018
c626dc9
Allow one Service ACL to bind to multiple services (#1576)
jleveque Apr 11, 2018
27e57c0
[devices]: Fix the issue of ma1 not found in boot0 for Arista (#1579)
byu343 Apr 11, 2018
ccff73b
[snmp]: Bind snmpd to all ip addresses (#1587)
qiluo-msft Apr 11, 2018
ca111db
[device] Update Arista driver submodule (#1585)
Staphylo Apr 11, 2018
856fc83
[snmp] support multiple community strings (proposal 2) (#1583)
taoyl-ms Apr 11, 2018
7b31f7d
[devices]: Fix type for qos.json in 7060 and S6100 (#1582)
prsunny Apr 11, 2018
291321d
Incorporate swss-common Table Name Separator Changes (#1584)
jleveque Apr 11, 2018
0d5dc77
[device/dell] Update pg_profile_lookup.ini (#1586)
vharish02 Apr 11, 2018
622d357
Marvell's updates for SONiC 201803 over SAI v1.2 (#1588)
ziverlichson Apr 11, 2018
2d54d43
[minigraph]: ignore minigraph ports which are not in port_config.ini …
lguohan Apr 12, 2018
f12ab94
[minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth (#1592)
qiluo-msft Apr 12, 2018
7759bc8
[Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
yxieca Apr 13, 2018
fcbbb8a
50G support for Arista 7060 (#1580)
prsunny Apr 13, 2018
b097b96
Fix syntax error in snmpd.conf.j2 (#1597)
qiluo-msft Apr 13, 2018
2b9f877
[baseimage]: Fix tcpdmatch dependency (#1594)
yurypm Apr 14, 2018
0bdb407
[device]: Add LED initialzation file for Inventec-d7054q28b-r0 (#1595)
klhaung Apr 14, 2018
f947172
[devices]: Merge ingress service pools of lossless and lossy traffic …
wendani Apr 14, 2018
6383de3
[Mellanox] Add support for a new platform LS-SN2700
andriymoroz-mlnx Apr 11, 2018
8a714c8
Use refactored Selectables from sonic-swss-common (#1604)
pavel-shirshov Apr 17, 2018
5c66bee
[sonic-utilities] add pfcstat and queuestat tool (#1606)
hui-ma Apr 17, 2018
ee811f3
Add support for S6100 switchport LEDs (#1610)
padmanarayana Apr 18, 2018
1ba00d2
Update sonic-swss submodule (#1612)
pavel-shirshov Apr 18, 2018
3728009
[utilities]: Update sonic-utilities submodule (#1613)
sihuihan88 Apr 18, 2018
58584ca
[test] Adding Broadcom configuration file test (#1611)
yxieca Apr 18, 2018
f0690b2
[build]: Fix the problem of ENABLE_SYSTEM_TELEMETRY not taking effect…
jipanyang Apr 18, 2018
61793dd
[ip-in-ip]: Fix config template to apply correct platform depended va…
Apr 18, 2018
0155136
[platform-common]: Update sonic-platform-common submodule (#1620)
Apr 18, 2018
5ebefeb
[sonic-cfggen] Be case insensitive to hostname in minigraph (#1614)
taoyl-ms Apr 19, 2018
d423841
[sonic-cfggen]: Sorting the information generated by sonic-cfggen for…
rodnymolina Apr 19, 2018
8153ce7
[sudoer] Enable read-only commands for all users (#1558)
taoyl-ms Apr 19, 2018
cde9a60
swss submodule update. Remove the global lock from swss (#1624)
pavel-shirshov Apr 19, 2018
1df7c9a
[docker-platform-monitor] Convert ledd from polling-based to subscrip…
jleveque Apr 20, 2018
143842e
[tacacs] User with priv_lvl 0 should not be in docker group (#1626)
taoyl-ms Apr 21, 2018
1f05332
[snmp]: Fix a race between snmpd-config-updater and snmpd (#1628)
Staphylo Apr 21, 2018
0abb653
[swss]:update submodule (#1630)
sihuihan88 Apr 21, 2018
f403c1b
[cfggen]: Fix build by fixing pyangbind version (#1633)
qiluo-msft Apr 23, 2018
509e1c4
[snmpd]: Fix typo in is_platform_arista (#1634)
yurypm Apr 23, 2018
242f86d
[cli]: Update sudoers file to ensure no 'show' commands prompt for su…
jleveque Apr 23, 2018
0adbf78
[sonic-mgmt]: Install more azure packages (#1635)
qiluo-msft Apr 24, 2018
f7151e8
[radvd] Ensure at least one interface is specified in radvd.conf befo…
jleveque Apr 24, 2018
d117172
sonic-cfggen supports hwsku parameter (#1631)
qiluo-msft Apr 24, 2018
3726c9f
Update swss submodule pointer (#1641)
andriymoroz-mlnx Apr 25, 2018
4dc327d
[submodule]: Update submodule sonic-snmpagent (#1642)
qiluo-msft Apr 25, 2018
65b3774
[nehpos] fix libsainps and nps-sdk bug for support sai 1.2.4 (#1639)
simonJi2018 Apr 26, 2018
8d2a30a
[kernel]: update sonic linux kernel (#1645)
lguohan Apr 26, 2018
d269263
[baseimage]: add screen package (#1644)
lguohan Apr 26, 2018
321ff4e
[swss]: update sonic-swss (#1638)
lguohan Apr 26, 2018
3993e58
[updategraph]: Keep updategraph service active after start (#1651)
prsunny Apr 26, 2018
18e97fb
[docker-lldpd]: Various fixes (#1650)
pavel-shirshov Apr 27, 2018
764d081
[sonic-utilities]: Submodule update for sonic-utilities (#1653)
prsunny Apr 27, 2018
02f706a
[mellanox]: Update SAI version to 1.11.4 and SDK to 4.2.7303 (#1655)
andriymoroz-mlnx Apr 28, 2018
8d3c5fb
[docker-dhcp]: Fix the sonic build issue (#1659)
zhenggen-xu Apr 30, 2018
3ed4513
[minigraph.py] Fix an issue that mirror table might be considered ctr…
taoyl-ms Apr 30, 2018
f3426e3
Decrease usable space in log partition to 90% (#1648)
andriymoroz-mlnx Apr 30, 2018
1ae4db3
Quagga: Use bgp keepalive and holdtime timers from configdb (#1661)
pavel-shirshov Apr 30, 2018
3d61df9
Remove snmpd hw_fsys module, remove disk monitoring which are not in …
qiluo-msft May 1, 2018
c74be37
[swss]: update swss submodule (#1664)
lguohan May 1, 2018
5817e99
Revert "Remove snmpd hw_fsys module, remove disk monitoring which is …
qiluo-msft May 2, 2018
bebb7a0
[zebra.conf] Fix template issue with multiple lo addresses (#1662)
taoyl-ms May 2, 2018
e082cd6
[swss]: Change the hash seed to 0 for ToR and 10 for Leaf routers (#1…
May 2, 2018
74e8bea
[snmp]: Stop spamming logs with statfs permission denied log message …
pavel-shirshov May 2, 2018
9a23770
[broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
lguohan May 2, 2018
832be7b
[dockers] Prevent apt-get from installing suggested and recommended p…
jleveque May 2, 2018
0c9e8ee
Revert "Fix the sonic build issue" (#1671)
jleveque May 2, 2018
e07687f
[sonic-platform-common] Update submodule (#1672)
jleveque May 4, 2018
724aaf1
[device] Update arista driver submodule (#1674)
Staphylo May 4, 2018
f3f8b9f
[syncd]: Add socat and bcmsh wrapper (#1657)
qiluo-msft May 4, 2018
c63b828
40G profile for Arista 7060 (#1677)
prsunny May 7, 2018
872f69a
Update buffers config for Mellanox 27xx devices (#1649)
andriymoroz-mlnx May 8, 2018
d62c6ff
[mellanox]: Update MLNX SAI pointer (#1683)
May 8, 2018
32dc2cd
[utilities]: Update sonic-utilities submodule (#1687)
May 10, 2018
685282d
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 10, 2018
1102ace
[ledd] Exit with code 0 if we fail to find a platform-specific led_co…
jleveque May 10, 2018
d7cd056
[minigraph parser] Fix minigraph parser issue when handling LAG rela…
keboliu May 10, 2018
dc93889
Revert "[minigraph parser] Fix minigraph parser issue when handling …
May 10, 2018
e900369
[slave.mk] Define SPACE variable differently such that the line doesn…
jleveque May 11, 2018
931b5de
[quagga]: update quagga submodule (#1698)
lguohan May 11, 2018
d692905
[swss]: Update sonic-swss submodule (#1699)
May 11, 2018
2d37aa8
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamenta…
qiluo-msft May 12, 2018
5e64310
[baseimage]: Disable DAD for eth0 explicitly (#1701)
prsunny May 12, 2018
e9672b2
[devices]: Add inventec D7032 D7054 platform psustatus (#1696)
May 12, 2018
e55778f
Update sonic-sairedis (#1705)
pavel-shirshov May 15, 2018
c1e37a6
[Arista]: Add a reboot script for all remaining platforms. (#1706)
Staphylo May 15, 2018
76d9de5
[fast-reboot]: support encoded & gzipped minigraph in fast reboot (#1…
lguohan May 16, 2018
6b8e340
[dhcp_relay] Only attempt to start 'isc-dhcp-relay' group if it is no…
jleveque May 16, 2018
174960c
[mellanox]: Update FW pointer (#1721)
May 17, 2018
eb9b86a
[vs]: add teamd test on vs platform (#1720)
lguohan May 17, 2018
9e8883b
Update sonic-sairedis and sonic-swss submodules (#1724)
pavel-shirshov May 17, 2018
74aa482
[devices]: Reverting the xoff value for Arista 7060 t0 topology (#1726)
prsunny May 18, 2018
c0bb2e0
[devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
lguohan May 18, 2018
46dc46e
[submodule update]: sonic-swss. Don't collect unwanted counters (#1729)
pavel-shirshov May 19, 2018
5feb363
[device/dell] Add z9100 pfc T0 support (#1708)
vharish02 May 21, 2018
d261506
[device/dell] Add z9100 pfc T1 support (#1707)
vharish02 May 21, 2018
c055dd2
[submodule]: Update submodule sonic-snmpagent: power_status_handler h…
qiluo-msft May 22, 2018
ea465db
[devices]: update dx010 fan configuration (#1735)
May 23, 2018
6fc38af
Remove fan LED initialization from led_control plugins for Arista 705…
jleveque May 24, 2018
d32c043
[sonic-cfggen]: Protect config_db.json from minigraph misconfig (#1727)
wendani May 24, 2018
4d56468
[broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
yxieca May 24, 2018
d165a50
[sairedis] update sairedis sub-module (#1741)
yxieca May 25, 2018
bb6ff62
[service] introducing serial port watchdog service (#1743)
yxieca May 25, 2018
46c2d34
[docker_image_ctl]: Add --force while removing obsolete dockers (#1744)
May 26, 2018
a917517
[minigraph parser] Fix minigraph parser issue when handling LAG relat…
keboliu May 26, 2018
225b3e5
Fix a bug that default graph might be missing when generating minimal…
taoyl-ms May 29, 2018
2d7046c
Add QoS and Buffers configs for Mellanox MSN2100 and MSN2410 (#1739)
andriymoroz-mlnx May 30, 2018
c105717
[serial watchdog] remove serial watchdog service dependency to rc.loc…
yxieca May 31, 2018
a6d2d77
Fix links of debian git server (#1755)
qiluo-msft Jun 1, 2018
54046d4
[devices]: change S6100 to use new ECN/WRED config (#1749)
wendani Jun 1, 2018
e7d17c0
[broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
lguohan Jun 1, 2018
b58a94d
[sonic-mgmt]: Install the latest Microsoft Azure Kusto Library for Py…
Jun 1, 2018
d54a7ae
[baseimage] Adding setuid permissions to ping binaries, so sudo is no…
qiluo-msft Jun 5, 2018
eee3671
Revert the feature: serial port watchdog service (#1766)
qiluo-msft Jun 5, 2018
711be8f
[caclmgrd] Heuristically determine whether ACL is IPv4 or IPv6, use i…
jleveque Jun 5, 2018
0ff7ba6
[sai.profile] move hwsku specific device configs to device/mellanox/p…
mykolaf Jun 6, 2018
83d9c7e
[bcmsh] Fix the bcmsh issues. (#1761)
zhenggen-xu Jun 6, 2018
d2b1a0b
[devices]: Add index and speed for port_config.ini on Celestica platf…
zhenggen-xu Jun 9, 2018
8d88455
[baseimage]: Improve password hashing for default user account (#1748)
serhepopovych Jun 9, 2018
a4b830b
[mellanox] Update hw-mgmt pointer (#1759)
stepanblyschak Jun 9, 2018
dc547e4
[sonic-platform-daemons] Update submodule (#1754)
jleveque Jun 9, 2018
ed06aca
[mellanox] Add cpldupdate utility to SONiC image (#1746)
stepanblyschak Jun 9, 2018
481463c
Add Celestica seastone dx010 psuutil.py plugins (#1781)
pphuchar Jun 11, 2018
1942183
[devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'se…
jleveque Jun 11, 2018
fae346f
Don't create a pty to run vtysh inside of the docker container (#1792)
pavel-shirshov Jun 14, 2018
1c8bacb
Fix comment typos (#1794)
qiluo-msft Jun 15, 2018
a8a7b79
[libnl3]: Upgrade libnl3 version to 3.2.27-2, same version as in Debi…
qiluo-msft Jun 19, 2018
b5f153b
Introducing 'debugging' and 'profiling' options in sonic build-infra …
rodnymolina Jun 19, 2018
493ae71
[Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Jun 20, 2018
81b782c
[libnl3]: Backup libnl3 source packages in Azure Storage (#1799)
qiluo-msft Jun 20, 2018
d82db79
[caclmgrd] Translation of ACL Control Plane rules into iptables comma…
Jun 20, 2018
bbca583
Manually send SIGHUP to vtysh when the current session was disconnect…
pavel-shirshov Jun 20, 2018
7557007
[interface-config] Force eth0 before reconfiguration (#1802)
taoyl-ms Jun 21, 2018
b745c0b
Modify sudo lecture message to be more informational (#1800)
taoyl-ms Jun 21, 2018
aaac497
[device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU …
Jun 21, 2018
3681cfa
Use only active ports when applying buffers/qos configuration (#1787)
pavel-shirshov Jun 21, 2018
3ea616d
[platform] Celestica: dx010 init gpio sysfs (#1807)
pphuchar Jun 22, 2018
d0803b7
[sonic-platform-common] Update submodule (#1806)
jleveque Jun 22, 2018
deacbb8
[tacacs] To modify local user permission according to priv lvl (#1804)
taoyl-ms Jun 22, 2018
b37540f
[vs-test]: not forward routes with no-export community (#1774)
sihuihan88 Jun 22, 2018
82343ca
[sai]: update SAI version to 3.1.3.4-15 (#1808)
sihuihan88 Jun 23, 2018
a2a6aea
[bgp]: Enable bgp soft-reconfiguration inbound for quagga templates (…
pavel-shirshov Jun 23, 2018
bac5722
[docker-fpm-frr]: Fix build with frr used for routing stack (#1728)
serhepopovych Jun 23, 2018
7389443
[devices]: Migrate a7050-qx-32s to use the new buffers config archite…
wendani Jun 23, 2018
07ea974
Enable sairedis counter thread in 3 minutes after SONiC was started (…
pavel-shirshov Jun 23, 2018
ec850df
[devices]: Use arista library as led plugin for more platforms. (#1809)
Staphylo Jun 24, 2018
3d24305
[mellanox] Update SAI, SDK, FW pointers (#1811)
stepanblyschak Jun 25, 2018
7ba08e5
Prefix docker container name to syslog syslogtag (program name) (#1810)
qiluo-msft Jun 25, 2018
d57bef5
Enable all counters: queue, port, and pfcwd (#1814)
pavel-shirshov Jun 26, 2018
0a41247
Update sonic-swss. Postpone creation of queue maps (#1816)
pavel-shirshov Jun 26, 2018
9a64655
sonic-quagga update. Don't spam with 'Vtysh connected from' message (…
pavel-shirshov Jun 27, 2018
d995147
Migrate brcm platform to use new ECN config, which is (#1818)
wendani Jun 28, 2018
301fc28
Add initial support for keeping track of and displaying reboot cause …
jleveque Jun 28, 2018
a89b8d8
Correct a7060 config for tor (#1823)
wendani Jun 28, 2018
ff237aa
[syncd] Treat bcmcmd as a supervisor task so we could collect stdout/…
qiluo-msft Jun 29, 2018
5ad7d24
[mgmt] Fix pycparser installation (#1820)
qiluo-msft Jun 29, 2018
0434359
[device]: Add a new supported device AS7312-54XS (#1821)
pollyhsu2git Jun 29, 2018
f04f070
Build python-click Debian package from version 6.7-4 source to fix CL…
jleveque Jun 29, 2018
1caad01
Support T1 sku, create symlink (#1827)
prsunny Jun 29, 2018
6459275
Revert "[vs-test]: not forward routes with no-export community (#1774…
qiluo-msft Jun 29, 2018
9b8d985
[device/celestica] Update fancontrol configuration file and sensor la…
Jun 29, 2018
77aec96
Update sonic-swss with QueueMaps fixes (#1829)
pavel-shirshov Jun 29, 2018
3fc56f0
[sonic-utilities] Update submodule (#1830)
jleveque Jun 30, 2018
0e5c5f2
[baseimage]: add commonly used network tools (#1832)
lguohan Jul 1, 2018
7edbf5d
[build]: add show docker tag (#1833)
lguohan Jul 1, 2018
92eb7b4
[mellanox]: Fix symlink to QOS config file for MSN2740 platform (#1842)
Jul 3, 2018
117dc2b
[docker-syncd-mlnx] add new mlnx-sfpd daemon to docker-syncd-mlnx (#1…
keboliu Jul 3, 2018
78ed06d
[Platform/Celestica] Add dx010 fan led control. (#1834)
pphuchar Jul 4, 2018
162e9b6
Add monit for /var/log disk usage (#1836)
qiluo-msft Jul 4, 2018
f6fffda
[device] Update arista driver submodule (#1835)
yurypm Jul 4, 2018
73a2e64
[arista]: Add platform support for DCS-7170-64C (#1718)
byu343 Jul 4, 2018
3950da1
[sonic-swss]: Update submodule pointer (#1843)
Jul 4, 2018
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ src/libnl3/*
!src/libnl3/Makefile
src/libteam/*
!src/libteam/Makefile
src/lldpd/*
!src/lldpd/Makefile
!src/lldpd/patch/
src/mpdecimal/*
!src/mpdecimal/Makefile
src/python-click/*
!src/python-click/Makefile
src/python3/*
!src/python3/Makefile
src/redis/*
Expand Down Expand Up @@ -54,6 +59,7 @@ dockers/docker-router-advertiser/Dockerfile
dockers/docker-snmp-sv2/Dockerfile
dockers/docker-teamd/Dockerfile
dockers/docker-sonic-mgmt/Dockerfile
dockers/docker-sonic-telemetry/Dockerfile
platform/*/docker-syncd-*/Dockerfile
platform/*/docker-syncd-*-rpc/Dockerfile
platform/vs/docker-sonic-vs/Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
[submodule "src/sonic-py-swsssdk"]
path = src/sonic-py-swsssdk
url = https://github.com/Azure/sonic-py-swsssdk.git
[submodule "src/lldpd"]
path = src/lldpd
url = https://github.com/vincentbernat/lldpd.git
[submodule "src/sonic-snmpagent"]
path = src/sonic-snmpagent
url = https://github.com/Azure/sonic-snmpagent
Expand Down Expand Up @@ -80,3 +77,6 @@
[submodule "platform/broadcom/sonic-platform-modules-mitac"]
path = platform/broadcom/sonic-platform-modules-mitac
url = https://github.com/MiTAC-EBU/sonic-platform-modules-mitac.git
[submodule "platform/p4/sonic-platform-modules-arista"]
path = platform/p4/sonic-platform-modules-arista
url = https://github.com/aristanetworks/sonic
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
# * ENABLE_DHCP_GRAPH_SERVICE: Enables get-graph service to fetch minigraph files
# through http.
# * 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.
# * SONIC_ENABLE_SYNCD_RPC: Enables rpc-based syncd builds.
# * USERNAME: Desired username -- default at rules/config
# * PASSWORD: Desired password -- default at rules/config
# * KEEP_SLAVE_ON: Keeps slave container up after building-process concludes.
# * SOURCE_FOLDER: host path to be mount as /var/src, only effective when KEEP_SLAVE_ON=yes
# * SOURCE_FOLDER: host path to be mount as /var/$(USER)/src, only effective when KEEP_SLAVE_ON=yes
# * SONIC_BUILD_JOB: Specifying number of concurrent build job(s) to run
#
###############################################################################
Expand Down Expand Up @@ -62,12 +64,14 @@ SONIC_BUILD_INSTRUCTION := make \
BUILD_NUMBER=$(BUILD_NUMBER) \
ENABLE_DHCP_GRAPH_SERVICE=$(ENABLE_DHCP_GRAPH_SERVICE) \
SHUTDOWN_BGP_ON_START=$(SHUTDOWN_BGP_ON_START) \
SONIC_ENABLE_PFCWD_ON_START=$(ENABLE_PFCWD_ON_START) \
ENABLE_SYNCD_RPC=$(ENABLE_SYNCD_RPC) \
PASSWORD=$(PASSWORD) \
USERNAME=$(USERNAME) \
SONIC_BUILD_JOBS=$(SONIC_BUILD_JOBS) \
HTTP_PROXY=$(http_proxy) \
HTTPS_PROXY=$(https_proxy)
HTTPS_PROXY=$(https_proxy) \
SONIC_ENABLE_SYSTEM_TELEMETRY=$(ENABLE_SYSTEM_TELEMETRY)

.PHONY: sonic-slave-build sonic-slave-bash init reset

Expand All @@ -82,7 +86,7 @@ SONIC_BUILD_INSTRUCTION := make \
$(DOCKER_BUILD) ; }
ifeq "$(KEEP_SLAVE_ON)" "yes"
ifdef SOURCE_FOLDER
@$(DOCKER_RUN) -v $(SOURCE_FOLDER):/var/src $(SLAVE_IMAGE):$(SLAVE_TAG) bash -c "$(SONIC_BUILD_INSTRUCTION) $@; /bin/bash"
@$(DOCKER_RUN) -v $(SOURCE_FOLDER):/var/$(USER)/src $(SLAVE_IMAGE):$(SLAVE_TAG) bash -c "$(SONIC_BUILD_INSTRUCTION) $@; /bin/bash"
else
@$(DOCKER_RUN) $(SLAVE_IMAGE):$(SLAVE_TAG) bash -c "$(SONIC_BUILD_INSTRUCTION) $@; /bin/bash"
endif
Expand All @@ -103,6 +107,10 @@ sonic-slave-bash :
$(DOCKER_BUILD) ; }
@$(DOCKER_RUN) -t $(SLAVE_IMAGE):$(SLAVE_TAG) bash

showtag:
@echo $(SLAVE_IMAGE):$(SLAVE_TAG)
@echo $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG)

init :
@git submodule update --init --recursive
@git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $$(realpath --relative-to=. $$(cut -d" " -f2 .git))" > .git'
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ Nephos: [![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/j
P4: [![P4](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/p4/job/buildimage-p4-all)
VS: [![VS](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-all)

*201712*:
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201712/)
Barefoot: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/barefoot/job/buildimage-bf-201712/)
Centec: [![Centec](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-201712/)
Nephos: [![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201712/)
Marvell: [![Marvell](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201712/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201712/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201712/)

*201709*:
Broadcom: [![Broadcom](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/broadcom/job/buildimage-brcm-201709/)
Cavium: [![Cavium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/cavium/job/buildimage-cavm-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/cavium/job/buildimage-cavm-all/)
Centec: [![Centec](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-all/)
Cavium: [![Cavium](https://sonic-jenkins.westus2.cloudapp.azure.com/job/cavium/job/buildimage-cavm-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/cavium/job/buildimage-cavm-201709/)
Centec: [![Centec](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/centec/job/buildimage-centec-201709/)
Nephos: [![Nephos](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/nephos/job/buildimage-nephos-201709/)
Marvell: [![Marvell](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-all/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-all/)
Marvell: [![Marvell](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/marvell/job/buildimage-mrvl-201709/)
Mellanox: [![Mellanox](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201709/badge/icon)](https://sonic-jenkins.westus2.cloudapp.azure.com/job/mellanox/job/buildimage-mlnx-201709/)

# sonic-buildimage
Expand Down
49 changes: 32 additions & 17 deletions build_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@
## an ONIE installer image.
##
## USAGE:
## ./build_debian USERNAME PASSWORD_ENCRYPTED
## PARAMETERS:
## USERNAME=username PASSWORD=password ./build_debian
## ENVIRONMENT:
## USERNAME
## The name of the default admin user
## PASSWORD_ENCRYPTED
## The encrypted password, expected by chpasswd command
## PASSWORD
## The password, expected by chpasswd command

## Default user
USERNAME=$1
[ -n "$USERNAME" ] || {
echo "Error: no or empty USERNAME argument"
echo "Error: no or empty USERNAME"
exit 1
}

## Password for the default user, customizable by environment variable
## By default it is an empty password
## You may get a crypted password by: perl -e 'print crypt("YourPaSsWoRd", "salt"),"\n"'
PASSWORD_ENCRYPTED=$2
[ -n "$PASSWORD_ENCRYPTED" ] || {
echo "Error: no or empty PASSWORD_ENCRYPTED argument"
## Password for the default user
[ -n "$PASSWORD" ] || {
echo "Error: no or empty PASSWORD"
exit 1
}

Expand Down Expand Up @@ -144,6 +140,9 @@ sudo cp files/initramfs-tools/union-mount $FILESYSTEM_ROOT/etc/initramfs-tools/s
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/union-mount
sudo cp files/initramfs-tools/varlog $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/varlog
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/varlog
# Management interface (eth0) dhcp can be optionally turned off (during a migration from another NOS to SONiC)
sudo cp files/initramfs-tools/mgmt-intf-dhcp $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/scripts/init-bottom/mgmt-intf-dhcp
sudo cp files/initramfs-tools/union-fsck $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
sudo chmod +x $FILESYSTEM_ROOT/etc/initramfs-tools/hooks/union-fsck
sudo chroot $FILESYSTEM_ROOT update-initramfs -u
Expand Down Expand Up @@ -175,7 +174,7 @@ sudo cp files/docker/docker.service.conf $_
## Note: user should be in the group with the same name, and also in sudo/docker group
sudo LANG=C chroot $FILESYSTEM_ROOT useradd -G sudo,docker $USERNAME -c "$DEFAULT_USERINFO" -m -s /bin/bash
## Create password for the default user
echo $USERNAME:$PASSWORD_ENCRYPTED | sudo LANG=C chroot $FILESYSTEM_ROOT chpasswd -e
echo "$USERNAME:$PASSWORD" | sudo LANG=C chroot $FILESYSTEM_ROOT chpasswd

## Pre-install hardware drivers
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install \
Expand Down Expand Up @@ -221,7 +220,13 @@ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y in
unzip \
gdisk \
sysfsutils \
grub2-common
grub2-common \
ethtool \
screen \
hping3 \
python-scapy \
tcptraceroute \
mtr-tiny

sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot $FILESYSTEM_ROOT apt-get -y download \
grub-pc-bin
Expand All @@ -234,6 +239,12 @@ sudo dpkg --root=$FILESYSTEM_ROOT -i target/debs/libwrap0_*.deb || \
## Disable kexec supported reboot which was installed by default
sudo sed -i 's/LOAD_KEXEC=true/LOAD_KEXEC=false/' $FILESYSTEM_ROOT/etc/default/kexec

## Fix ping tools permission so non root user can directly use them
## Note: this is a workaround since aufs doesn't support extended attributes
## Ref: https://github.com/moby/moby/issues/5650#issuecomment-303499489
## TODO: remove workaround when the overlay filesystem support extended attributes
sudo chmod u+s $FILESYSTEM_ROOT/bin/ping{,6}

## Remove sshd host keys, and will regenerate on first sshd start
sudo rm -f $FILESYSTEM_ROOT/etc/ssh/ssh_host_*_key*
sudo cp files/sshd/host-ssh-keygen.sh $FILESYSTEM_ROOT/usr/local/bin/
Expand All @@ -258,6 +269,8 @@ sudo sed -i '
sudo tee -a $FILESYSTEM_ROOT/etc/monit/monitrc > /dev/null <<'EOF'
check filesystem root-aufs with path /
if space usage > 90% for 5 times within 10 cycles then alert
check filesystem var-log with path /var/log
if space usage > 90% for 5 times within 10 cycles then alert
check system $HOST
if memory usage > 90% for 5 times within 10 cycles then alert
if cpu usage (user) > 90% for 5 times within 10 cycles then alert
Expand Down Expand Up @@ -296,10 +309,12 @@ 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

set /files/etc/sysctl.conf/net.core.rmem_max 2097152
set /files/etc/sysctl.conf/net.core.wmem_max 2097152
" -r $FILESYSTEM_ROOT

## docker-py is needed by Ansible docker module
Expand Down Expand Up @@ -327,11 +342,11 @@ sudo cp files/dhcp/dhclient.conf $FILESYSTEM_ROOT/etc/dhcp/
## Version file
sudo mkdir -p $FILESYSTEM_ROOT/etc/sonic
sudo tee $FILESYSTEM_ROOT/etc/sonic/sonic_version.yml > /dev/null <<EOF
build_version: $(sonic_get_version)
build_version: '$(sonic_get_version)'
debian_version: '$(cat $FILESYSTEM_ROOT/etc/debian_version)'
kernel_version: $kversion
kernel_version: '$kversion'
asic_type: $sonic_asic_platform
commit_id: $(git rev-parse --short HEAD)
commit_id: '$(git rev-parse --short HEAD)'
build_date: $(date -u)
build_number: ${BUILD_NUMBER:-0}
built_by: $USER@$BUILD_HOSTNAME
Expand Down
61 changes: 61 additions & 0 deletions device/accton/x86_64-accton_as5712_54x-r0/plugins/psuutil.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/usr/bin/env python

#############################################################################
# Accton
#
# Module contains an implementation of SONiC PSU Base API and
# provides the PSUs status which are available in the platform
#
#############################################################################

import os.path

try:
from sonic_psu.psu_base import PsuBase
except ImportError as e:
raise ImportError (str(e) + "- required module not found")

class PsuUtil(PsuBase):
"""Platform-specific PSUutil class"""

def __init__(self):
PsuBase.__init__(self)

self.psu_path = "/sys/bus/i2c/devices/"
self.psu_presence = "/psu_present"
self.psu_oper_status = "/psu_power_good"
self.psu_mapping = {
1: "57-0038",
2: "58-003b",
}

def get_num_psus(self):
return len(self.psu_mapping)

def get_psu_status(self, index):
if index is None:
return False

status = 0
node = self.psu_path + self.psu_mapping[index]+self.psu_oper_status
try:
with open(node, 'r') as power_status:
status = int(power_status.read())
except IOError:
return False

return status == 1

def get_psu_presence(self, index):
if index is None:
return False

status = 0
node = self.psu_path + self.psu_mapping[index] + self.psu_presence
try:
with open(node, 'r') as presence_status:
status = int(presence_status.read())
except IOError:
return False

return status == 1
Loading