Commit Graph

1002 Commits

Author SHA1 Message Date
lguohan
9f54aed9cf
[sonic-utilities]: update sonic-utilities submodule (#1237) 2017-12-14 00:40:33 -08:00
loshihyu
a2af29aa78 Fixed D7054 missing front-panel port Interfaces (#1236) 2017-12-13 22:57:06 -08:00
Joe LeVeque
2571cb59b6 [DHCP relay]: Fix bug which could cause incorrect interface name association (#1233)
* [DHCP relay]: Fix bug which could cause incorrect interface name association

* Add patches to series file and apply using stgit

* Update .gitignore in order to ignore downloaded and generated files

* Reorganize src/ subdirectories alphabetically in .gitignore
2017-12-12 23:56:59 -08:00
Qi Luo
79f790409f [snmpagent]: Update sonic-snmpagent submodule (#1234)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-12-12 16:29:32 -08:00
Andriy Moroz
a47b93476b Update sonic-utilities reference (ecnconfig) (#1225)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-12-12 17:18:57 +02:00
Liuqu
dce6d3536b [TACACS+]: Add configDB enforcer for TACACS+ (#1214)
* [TACACS+]: Add configDB enforcer for TACACS+

* hostcfgd - configDB enforcer for TACACS+, listen configDB to
  modify the pam configuration for Authentication in host
* Add a service script for hostcfgd

  Signed-off-by: Chenchen Qi <chenchen.qcc@alibaba-inc.com>

* [TACACS+]: Generate conf file by template file

* Generate common-auth-sonic and tacplus_nss.conf by jinja2 template

  Signed-off-by: Chenchen Qi <chenchen.qcc@alibaba-inc.com>
2017-12-12 03:45:44 -08:00
YonatanPitz
e0af519da2 [p4]: Updated p4 bm (#1228)
* merged new p4 platform from 1.0.3

* reverted SAI-P4-BM to SAI1.0

* changed port_config.ini from alias to name. changed tenjin makefile to https

* updated SAI-P4-BM commit

* [platform/p4]: Updated P4 docker to be up to date with vs.

* Merged swss, swss-common and sai-redis with master, now supports new ConfigDB.
* Changed startup script to work with supervisor for managing processes.

Signed-off-by: Yonatan Piasetzky yonatanp@mellanox.com

* Updated SAI-BM submodule to sai v1.0.4 tag. now supports hostif vlan tag for port netdev

* Updated SAI-P4-BM submodule.
2017-12-12 00:38:36 -08:00
Shuotian Cheng
69d6ad56c6 [snmpagent]: Update sonic-snmpagent submodule (#1232)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-12 00:16:25 -08:00
Shuotian Cheng
60e0295b74
[Dell]: Change Dell psuutil.py file to work with Python 3.* (#1231)
* change except comma to as
* remove print line
* change CRLF to LF

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-11 18:19:21 -08:00
Andriy Moroz
389c3e1fd2 [mellanox]: Update MLNX SAI pointer (#1226)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-12-11 09:50:16 -08:00
lguohan
aa77f63378
[submodules]: update sonic-swss and sonic-swss-common (#1215) 2017-12-09 02:23:30 -08:00
Shuotian Cheng
b9a0ef883c
[utilities]: Update sonic-utilities and sonic-py-swsssdk submodule (#1220)
[py-swsssdk]: Adapt to py-swsssdk refactor of mod_entry and mod_config (#165)
[intfutil]: Fix python indentation (#166)

Change set_config to mod_config

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-08 17:28:01 -08:00
Samuel Angebault
9dc85620f3 [device/arista] Add psuutil plugin for Arista platforms (#1221)
* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
2017-12-08 16:32:50 -08:00
lguohan
5184def0a4
[dell]: Added psuutil support for S6100/Z9100 Dell Platforms (#1223) 2017-12-08 16:31:01 -08:00
Prince Sunny
5ca798d9bc [arista]: Unify labels for Arista sensors (#1216) 2017-12-08 12:01:06 -08:00
Travis Szucs
6feff95197 [device/arista]: Add MAX6697 sensor for Arista 7060CX-32S (#1210) 2017-12-08 12:00:48 -08:00
Shuotian Cheng
e5898940a5 [config-engine]: Change minigraph.py permission from 0755 to 0644 (#1219) 2017-12-08 09:06:48 -08:00
Shuotian Cheng
1859f53206 [swss]: Fix missing comma in the ports.json.j2 file (#1217)
Add J2 test case as well as a sample output

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-08 09:06:22 -08:00
Qi Luo
2276333ca8
Added PSU util for Mellanox platforms, updated sonic-utilities submodule (#1218) 2017-12-07 21:50:39 -08:00
Qi Luo
4b2225bca5 [docker-snmpd]: asyncsnmp depends on sonic-utilities so it is possible to import sonic_psu (#1212)
* asyncsnmp depends on sonic-utilities so it is possible to import sonic_psu

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>

* Ignore sonic_utilities test during build
2017-12-07 13:08:23 -08:00
wadelnn
c4f7cd376e [Ingrasys]: Update QSFP monitor CoPP test and sensors config (#1202)
* Increase read socket buffer for CoPP Test
* Add QSFP monitor service
* Update S8810-32Q sensors.conf

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-12-07 12:08:49 -08:00
Shuotian Cheng
d9c0ede2e4
[Broadcom]: Update Broadcom SDK/SAI package (#1205)
Update Broadcom OpenNSL to 3.2.3.7-1
Update Broadcom SAI to 3.0.3.3

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-12-07 11:32:47 -08:00
Liuqu
8383b1f256 [TACACS+]: Add support for TACACS+ Authentication (#1019)
* [TACACS+]: Add support for TACACS+ Authentication

* pam_tacplus - A TACACS+ protocol client library and PAM module to
  supports core TACACS+ functions for AAA.
* nss_tacplus - A NSS plugin for TACACS+ to extend function getpwnam,
  make the TACACS+ authenticated user which is not found in local
  could login successfully.

* Add make rules for pam_tacplus and install script
* Add a patch for pam_tacplus to disable pam-auth-update pam-tacplus
  by default
* Add a patch for pam_tacplus to inlucde and build nss_tacplus

  Signed-off-by: chenchen.qcc@alibaba-inc.com

* [TACACS+]: Add nss-tacplus as a separate src repo

* Separate nss-tacplus from pam-tacplus, modify tacacs.mk and
  makefile, add a patch to adapt to the new user map profile.
* Use the lastest stable version for pam-tacplus, add a dependent
  package in sonic-salve, add two patches to fix build error.
* Add scripts to disable tacplus by default.
* Remove hostcfgd service file

  Signed-off-by: Chenchen Qi <chenchen.qcc@alibaba-inc.com>

* [TACACS+]: Fix nss-tacplus filter some valid TACACS+ username

* The NAME_REGEX for username check in plugin nss-tacplus is
  the ANSI version "^[0-9a-zA-Z_-\ ]*$", but the regular expression
  in /etc/adduser.conf is not defined as ANSI version. To avoid
  nss-tacplus filter some valid TACACS+ username, remove username
  check.

  Signed-off-by: Chenchen Qi <chenchen.qcc@alibaba-inc.com>
2017-12-07 03:36:17 -08:00
Rodny Molina
4213b2dcc7 [sonic-utilities]: Final code-drop for interface-description and interface-status enhancements (#1207)
* Final code-drop for interface-description and interface-status enhancements.

Here i'm adding minor extensions to support "show interface description" command. Please refer to PR#158 for more details: https://github.com/Azure/sonic-utilities/pull/158

* Add interface-description UT and adjust logic to have 'description' field being optional

RB=
G=lnos-reviewers
R=ntrianta,rjonnadu,rmolina,sfardeen,zxu
A=

* Updating reference to sonic-utilities to collect latest changes
2017-12-06 21:45:45 -08:00
Wataru Ishida
3d70b715d5 [sonic-cfggen] add option for redis connection (#1213)
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
2017-12-06 21:45:03 -08:00
Qi Luo
eb086818d7
Install more debs for python3 in sonic-slave (#1211)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-12-06 15:59:33 -08:00
Prince Sunny
744927acd3
Derive varlog size based on total flash size (#1209) 2017-12-06 15:13:18 -08:00
Taoyu Li
2e31a38617 [LLDP] Send interface name instead of mac as PORT_ID for mgmt interface (#1204)
* Send interface name instead of mac thru lldp for mgmt interface

* Fix j2 template test failure
2017-12-04 14:28:43 -08:00
Andriy Moroz
7e457564da [mellanox]: Update Mellanox buffer profiles config (#1198)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-12-04 02:45:24 -08:00
lguohan
db7fcd8a7a
[submodule]: update swss, swss-common, sairedis submodules (#1206) 2017-12-04 02:43:39 -08:00
lguohan
414e43bb74
[build]: start docker service if not already started (#1203)
docker start fails when docker service is already started
2017-12-01 19:24:55 -08:00
lguohan
b907e4e9f5
[vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
Polly Hsu
73e4204521 [device/accton]: Update Accton-AS5712_54X minigraph (#1196)
* UPDATE. minigraph.xml to initialize the default IP address of all interfaces

Signed-off-by: polly_hsu@accton.com
2017-11-30 11:21:47 -08:00
Roy Lee
397f513362 [platform] Accton AS7712-32X. Update for sensors and sfputil (#1197)
Revise kernel driver to duplicate nodes for support of lm-sensors, at fan and PSU.
Update sfputil.py to to fit new SfpUtil prototype.

Signed-off-by: roylee123 <roy_lee@accton.com>
2017-11-30 11:19:41 -08:00
pavel-shirshov
d39dd396b5
Move tcpdump into /usr/bin Otherwise it's impossible to run tcpdump due to a docker bug (#1195) 2017-11-29 16:36:26 -08:00
Jason Tsai
51dfa1768d [Ingrasys] Update platform configuration files (#1194) 2017-11-29 11:57:35 -08:00
Ying Xie
33d5e93b0a [devices]: Update 6000, 6100, 7050 QOS configurations (#1191) 2017-11-28 18:31:43 -08:00
zhenggen-xu
6e57e1d272 [FRR]: Fix FRR tempelate for router-id (#1187) 2017-11-28 14:52:26 -08:00
Shuotian Cheng
b7c2ffa73a
[Broadcom]: Update Broadcom SAI package to 3.0.3.2-15 (#1186)
Add support for TD2 BCM 56854
Add th-ag9032v1-32x100G.config.bcm for Delta AG9032v1

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-27 19:07:58 -08:00
nealtai
8602360ffd [platform] Add a new supported platform, Delta-ag9032v1 (#1168)
CPU : Intel Rangeley C2538
    Swich ASIC: Broadcom Tomahawk BCM56960
    Ports : 32x100G
    Switch SKU : Delta-ag9032v1

Signed-off-by: neal <neal.tai@deltaww.com>
2017-11-27 14:29:22 -08:00
lguohan
98fbddf60f
[kernel]: update kernel to 3.16.43 (#1181) 2017-11-27 00:30:11 -08:00
Samuel Angebault
7f25b94378 [aboot]: Add setfacl in the initramfs (#1185)
Arista platforms need the filesystem ACLs to be removed on boot to
prevent invalid permission to be set for new files.
2017-11-24 17:30:11 -08:00
Taoyu Li
dd7e9240c8 [dockers] Remove dependency to minigraph (#1179)
* Remove dependency to minigraph

* Remove -m in swssconfig.sh
2017-11-23 16:31:37 -08:00
Marian Pritsak
ded9fbb764 [Mellanox]: Update FW to 13_1534_0164 (#1180)
This version has a fix for rx_pause_duration counter

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-11-23 12:23:07 -08:00
Taoyu Li
617b3e43b1
Add service to config hostname based on configdb (#1174) 2017-11-22 14:36:25 -08:00
Andriy Moroz
6d0329af3d Move QoS configuration to Config DB (#1178)
* Move Mellanox QoS configuration to config DB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Move qos.json to hwsku subfolder

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Remove copying of old qos config

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update WRED threshold values

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* hwsku2

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fix syntax error in json

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add qos config for some Dell and Arista platforms

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fix inital qos config on clean boot

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated swss-common and swss pointers (QoS in Config DB)

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-11-22 08:58:22 -08:00
Polly Hsu
0f903d008b [Accton]: Add a new supported platform, AS5712-54X (#1167)
* Switch Vendor: Edge-core
* Switch SKU: AS5712-54X
* ASIC Vendor: Broadcom
* Swich ASIC: TRIDENT2
* Port Configuration: 48x10G+6x40G
* SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: polly_hsu@accton.com
2017-11-22 02:59:28 -08:00
Samuel Angebault
21764008da [Aboot] Declare flash_size for all platform (#1171)
The flash_size parameter can then be used to compute the varlog_size
2017-11-22 02:58:20 -08:00
Taoyu Li
c5eba7dd34 [baseimage]: Fix racing condition between updategraph and rc.local (#1175) 2017-11-22 00:51:05 -08:00
Joe LeVeque
1f9107d044
[DHCP relay]: Wait for all interfaces to be assigned IPv4 addresses before starting relay agent(s) (#1173) 2017-11-20 21:07:28 -08:00