Commit Graph

819 Commits

Author SHA1 Message Date
lguohan
38f3eba695
[kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1) (#1922)
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1)

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox]: Update SDK pointer for 4.9.0-7 kernel (#44)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* Update arista drivers for 4.9.0-7 linux kernel (#43)
2018-08-16 08:56:56 -07:00
Shuotian Cheng
7d2766077a [common]: Update sonic-swss-common submodule (#1934)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-08-15 21:45:44 -07:00
Mykola F
f0d4a07a20 [submodule] update snmpagent pointer (#1930) 2018-08-15 06:02:03 -07:00
pavel-shirshov
cdc271720d [submodule update]: sonic-quagga. Add dscp flag settings (#1926)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Enable counters inside swss container. systemd is not flexible enough to follow our business rules

* Update sonic-quagga
2018-08-14 00:35:30 -07:00
lguohan
0cd4ef0c85
[socat]: build socat with readline (#1919)
support readline in bcmsh

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 01:12:58 -07:00
Guohan Lu
1533bc5875 [dockerbase]: use libwrarp0 7.6.q-26 in docker base
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-12 06:38:47 +00:00
Guohan Lu
66ffca2832 [kernel]: set default option to build kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 23:46:13 +00:00
Guohan Lu
400597596a [submodules]: update submodule for platform modules dell, s6000 and kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 21:10:42 +00:00
Guohan Lu
a32b7412c3 [kernel]: update sonic linux kernel submodule
* 70fdaa2 2018-06-30 | Support Delta DPS1900 (#49) (HEAD -> stretch, origin/stretch) [Deni]
* 77895c5 2018-04-17 | Add kexec reboot string (#46) [Joe LeVeque]
2018-08-11 09:09:03 +00:00
Guohan Lu
2449fafae0 [kernel]: update kernel submodule and remove standalone igb driver 2018-08-11 09:07:59 +00:00
Guohan Lu
376cabe6bf [baseimage]: update igb driver to 5.3.5.10 2018-08-11 09:07:59 +00:00
Guohan Lu
b6af83ccf8 [baseimage]: upgrade initramfs to 0.130 2018-08-11 09:07:59 +00:00
Guohan Lu
ff1f508f33 [baseimage]: use debian 4.9.0-3 kernel 2018-08-11 09:07:59 +00:00
Joe LeVeque
9e2ceb7cba [sonic-platform-common] Update submodule (#1915) 2018-08-10 21:56:15 -07:00
zhenggen-xu
3c3c19e600 [lldp]: LLDP is misbehaving if netlink messages were lost due to timing issue. (#1909)
The behavior could be that we are sending LLDP message but not using
lldpcli configured properties if netlink delete messages were lost.

It also could be that some interfaces do not sending messages at all.
"lldpcli show statistics" could see duplicated or missing interfaces.

Changes:
Upgrade lldpd to 0.9.6 (which introduced the adjustable netlink buffer size)
Change the netlink receive buffer size to 1MB
2018-08-09 23:58:30 -07:00
Taoyu Li
314eae5c9e
[minigraph.py] Support parsing console ports (#1898) 2018-08-07 14:36:54 -07:00
Rodny Molina
b7eeba8b91 Moving get_routing_stack() to a centralized location to avoid code dups (#1714)
* Moving get_routing_stack() to a centralized location to avoid code duplication

Various areas of sonic-utilities are now demanding this functionality so i'm simply moving this routing to a centralized location. After spending some time debating about the ideal location for this function, we thought about sonic-config-engine/sonic_platform.py as the closest match.

Functional tests' output will be provided as part of the equivalent PR to be submitted shortly within sonic-utilities repo.

* Adding comment to function.
2018-08-07 09:03:35 -07:00
Taoyu Li
3d137654be [minigraph.py] add support to parse deployment id of neighbor devices (#1890)
* [minigraph.py] add support to parse deployment id of neighbor devices

* Add unitest

* Fix function name
2018-08-07 08:43:08 -07:00
Mykola F
33b713e7ef [submodule] update snmpagent and dbsyncd, extending/implementing ieee802.1ab, rfc3433, rfc2737 MIBs (#1902) 2018-08-06 21:36:54 -07:00
Kebo Liu
1a55ae2b3a update sonic-platform-common submodule for xcvrd support (#1901) 2018-08-05 23:06:56 -07:00
Kebo Liu
38beca654c [docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon (#1840)
* [docker-platform-monitor] make file and supervisord conf change for new xcvrd deamon

* make file change for the new daemon
* supervisord conf change for the new daemon

signed-off-by Liu Kebo kebol@mellanox.com

* make xcvrd start sequence aligned with the supervisord conf

* update submodules to include xcvrd modification
2018-08-03 16:33:56 -07:00
Qi Luo
d389c09335
[submodule] Update submodule: swss-common (#1895) 2018-07-31 18:45:28 -07:00
Qi Luo
d166a01502
[submodule] Update submodule: swss-common (#1885) 2018-07-30 10:33:53 -07:00
Rodny Molina
c3c8f7fd7f Fix for bash's memory-leak (#1879)
* Fix for bash's memory-leak

Memory leak is observed during the execution of scripts that make use of bash-arrays. In scenarios where the offending script is executed on a regular basis (e.g. fancontrol), the leaking process may end up consuming most of the system resources.

In this PR i'm replacing bash in all the contexts where it executes (both host and dockers). The official patch for this issue is here: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040

* Fixing minor issue during code-merge

Signed-off-by: Rodny Molina <rmolina@linkedin.com>
2018-07-27 17:46:33 -07:00
Ying Xie
77b899b1a0
[submodule] advance sonic-linux-kernel submodule (#1882)
- Include delta DPS1900 support
- Make kernel build to fail on any error
- Enable downloading pre-built kernel debian packages

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-07-27 16:52:58 -07:00
Qi Luo
7cbadb70ba Update submodule: swss-common, swss (#1878)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-07-26 23:32:49 -07:00
sihuihan88
da12f571e2 [sonic-utilities]: update submodule (#1871)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-07-26 13:39:22 -07:00
Sagar Balani
93905d3d82 [barefoot]: Support for platforms based on Barefoot Networks' device (#1796)
* Initial commit

* Add Ingrasys S9180-32X platform dirver.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn.service for init barefoot.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Add some functions and fixed some bugs.

1. Update sensors.conf.
2. Fixed IO expander init.
3. Fixed PSU EEPROM.
4. Fixed MB EEPROM.
5. Add fancontrol and fan init.
6. Add SYS LED control (sys, fan, fan tray).
7. 2.5V compute and setup max and min.
8. Fixed typo MB eeprom delete address.
9. Remove coretemp to BMC.
10. Add active CPLD.
11. Modify SFP+ GPIO slave address.
12. Modify tmp75 Near Port 32 slave address.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn script in /etc/init.d/

Signed-off-by: Wade He <chihen.he@gmail.com>

* Add bfn service in debian

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed CPLD switch LED behavior.

Signed-off-by: Wade He <chihen.he@gmail.com>

* [Barefoot Beta] Fixed sensors and hwmon order.
1. Fixed ignore sensors Vbat.
2. Reorg hwmon order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Fixed PSU1 and PSU2 EEPROM order.

Signed-off-by: Wade He <chihen.he@gmail.com>

* initial barefoot checkin october 2017

* update refpoint

* update refpoints

* update refpoints to bf-master

* update refpoint

* update refpoint to tested version

* change to platform from asic

* update refpoint for swss

* revert core creation setting

* update refpoints

* add telnet for debug shell

* update refpoints 11/17/17

* missed change in file on previous merge

* [CPLD] Fixed blink LED issue.

* Fixed blink LED mask set error.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Update bf_kdrv.c for 6.0.2.39

* Update bf kernel driver

* Add bf_fun kernel module.

* Update bf_tun for fixed build error

* merge with Azure master (12/12/17)

* update swss refpoint

* update refpoint of swss

* library dependency for stack unroll

* update refpoint to bf-master

* [DHCP relay]: Fix circuit ID and remote ID bugs (#1248)

* [DHCP relay]: Fix circuit ID and remote ID bugs

* Set circuit_id_len after setting circuit_id_len to ip->name

* [Platform] Add Psuutil and update sensors.conf for S9100-32X, S8810-32Q and S9200-64X (#1272)

* Add I2C CPLD kernel module for psuutil.
 * Support psuutil script.
 * Add voltage min and max threshold.
 * Update sensors.conf for tmp75.

Signed-off-by: Wade He <chihen.he@gmail.com>

* Allow multi platform support - infra (more changes to follow)

* update relative path to include platform for clarity

* [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC for "branch 201712" (#1274)

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform
Update Head of submodule src/sonic-sairedis to "3b817bb"

- How to verify it
To build SONiC installer image and docker images, run the following commands:

make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* change source of files to github (from dropbox), update sairedis refpoint

* update refpoint of sairedis

* [centec] support CENTEC SAI 1.0 on 201712 branch and update e582-48x6q board   (#1269)

* [marvel]: Marvell's updates for SONiC.201712 & SAI v1.0 (#1287)

* update sairedis (fast-boot refpoint)

* fix syncd rpc make files

* update refpoint to handle Makefile change (no functional change)

* [Marvell]: Add support for SLM5401-54x device (#1307)

* Marvell's updates for SONiC.201712 & SAI v1.0
* [Platform] Add Marvell's SLM5401-54x for branch 201712

* [Broadcom]: Update Boradcom SAI package to 3.0.3.3-3 (#1312) (#1321)

- update Arista 7050-QX32S config.bcm file
- update Accton th-as771*-32x100G.config.bcm files

* update refpoint for Makefile chnage in sairedis

* update refpoint - sairedis

* update sairedis to older refpoint till we debug clean build

* export asic platform for build

* update refpoint for makefiles

* [PLATFORM] Centec update E582 driver fan/epprom/sensor (#1332)

* Upload wnc-osw1800

* Modify for Barefoot suggest

* Revert bfn-platform.mk

* Update bfn-platform-wnc.mk

Update parameter name

* Update parameter name

* initial support for WNC platform

* change switch name to "switch"

* Delete bf modules for rel_7_0

* Add Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Modify bfnsdk for Ingrasys S9180 platform

Signed-off-by: Wade He <chihen.he@gmail.com>

* Resolved the conflict.

* Resolved the conflict.

* Update submodule path and url.

* Delete unused file.

* Update PSU GPIO and EEPROM for psuutil.

* Add psuutil in S9180-32X

Signed-off-by: Wade He <chihen.he@gmail.com>

* update refpoint

* update refpoint

* change contact email, update refpoint

* cleanup and update kernel modules

* updates based on review

* update refpoint

* update refpoint

* fix typo in config script to check for platforms

* remove stale file

* resolve conflicts

* cleanup diffs with Azure repo and update SDK debs

* update refpoints to Azure

* address review comments

* revert refpoint of swss-common

* porting the build fix from master

* porting build fix from master

* Minor Fix

* Minor fix

* Temp to sde deb packages url

* Update sonic - sairedis,swss & swss-common refpoints

* Update git modules url path to bfn repo

* updated paths for swss, swss-common & sairedis

* Update refpoint for sonic-swss to local bfn repo

* Update URL for downloading sde debian packages

* porting fix links of debian git server from master

* porting fix links of debian git server from master

* [Ingrasys] Add platform support for S9280-64X with Barefoot ASIC

* Update ref points for swss, swss-common and sairedis repos

* Add sonic platform scripts for bfn montara/maverick

* Call sh scripts instead of calling py scripts

* Address upstream PR Comments (#10)

* Update bf-master with azure/master
* Undo changes to some files

* Revert "Address upstream PR Comments (#10)"

This reverts commit a7fddb83ca.

* Address upstream comments (#11)

* Remove all non bfn specific changes from upstream PR

* Revert "Address upstream comments (#11)"

This reverts commit 559132103e.

* Undo non bfn changes

* Little more cleanup

* Add back code removed in merge

* export CONFIGURED_PLATFORM

* Update sairedis and swss refpoints

* Address Upstream PR comment

* change deb pkg dependency from 3.16.0-4-amd64 to 3.16.0-5-amd64

* Set default tx queue len for usb0 interface to 64

* Update sairedis refpoint

* Update swss ref point

* Add bfn buffer cfg files for montara/maverick as per new design

* Update buffer cfg templates for bfn montara

* add non zero size to buffer profile
* add macro to generate port lists

* Update buffer cfg templates for bfn mavericks

* add non zero size for buffer profiles
* add port generation macro

* Add missing psmisc package

* BGP docker seems to be missing killall utility being used by fast-reboot script. This is causing non graceful termination of BGP sessions.
Adding psmisc to resolve this issue.

* Update swss ref point

* Update swss ref point

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update sairedis refpoint

* Update refpoint for sairedis and swss

* sairedis to azure master
* swss to latest bfn bf-master

* Update gitmodules

Update url for sairedis to azure master

* Correct typo in bfn platform script

* Update swss and sairedis ref points

* Update swss ref point

* Address Review comments

* Update swws path in gitmodules to azure master
* update swss refpoint
* update base docker j2 file -remove psmisc package (could be a concern, would cause fast reboot to not work correctly will fix in another PR)

* Fix sairedis refpoint broken in by previous merge

* Remove psmisc from docker base image

* This will break fast reboot as killall is required for killing bgp process and initiating graceful termination of BGP session.
Will fix this in a seperate PR. Need this for SONIC upstreaming

* Address upstream comments

* Remove bmc interface from interface jinja template and sample output interfaces file
* Add bmc interface at boot time to network interfaces for bfn bmc based platforms

* Remove autogen ingrasys debian files

* Revert "Remove autogen ingrasys debian files"

* Buffer and qos config template fix for bfn platforms (#21)

SWI-1509 Buffer and qos config template fix for bfn platforms

* Fix qos config files for montara & mavericks (#22)

* Reference only ppg 3,4 in qos files as no profiles are attached to 0,1 in buffer configs

* Fix vs test (#23)
2018-07-24 10:23:12 -07:00
Andriy Moroz
dadc17d9e6 [Mellanox] Use MAC from EEPROM for PortChannels and VLAN Interfaces (#1793)
* Use MAC from EEPROM for PortChannels

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

* Use MAC from EEPROM in DEVICE_METADATA

Will affect MAC for VLAN interfaces

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

* Get MAC via decode-syseeprom

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

* hw-management is now a service

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

* Add error handling for MAC fetch process

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-07-23 15:51:03 -07:00
sihuihan88
00083471ec
[sonic-utilities]: update submodule (#1865)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-07-17 11:13:11 -07:00
Qi Luo
015d2d1d09
[sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861) 2018-07-13 16:58:46 -07:00
lguohan
2944f3e3cb
[swss]: sonic-swss submodule update (#1856)
* [swss]: sonic-swss submodule update

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [broadcom]: update sai.mk

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-07-13 13:43:16 -07:00
Qi Luo
1a93dd548d [sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-07-13 02:18:21 -07:00
pavel-shirshov
7c632a903a [swss]: sonic-swss submodule update (#1847)
Fixes in bufferorchs ready_lists
2018-07-07 16:58:39 -07:00
Prince Sunny
51bfc2ebd5 [SAI] update SAI header to 1.3 (#1778) 2018-07-06 09:30:53 -07:00
Volodymyr Samotiy
3950da10e0 [sonic-swss]: Update submodule pointer (#1843) 2018-07-04 10:15:03 -07:00
Joe LeVeque
3fc56f07e8 [sonic-utilities] Update submodule (#1830) 2018-06-30 09:41:39 -07:00
pavel-shirshov
77aec964e6
Update sonic-swss with QueueMaps fixes (#1829)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Update swss submodule with QueueMaps fixes
2018-06-29 16:34:53 -07:00
Joe LeVeque
f04f0704f7
Build python-click Debian package from version 6.7-4 source to fix CLI autocomplete/suggest (#1824) 2018-06-29 09:59:46 -07:00
pavel-shirshov
9a64655393
sonic-quagga update. Don't spam with 'Vtysh connected from' message (#1817) 2018-06-26 17:29:33 -07:00
pavel-shirshov
0a41247402
Update sonic-swss. Postpone creation of queue maps (#1816) 2018-06-26 14:48:07 -07:00
pavel-shirshov
d57bef55db Enable all counters: queue, port, and pfcwd (#1814)
* Enable all counters: queue, port, and pfcwd

* Fixed a small bug inside of sonic-utilities

* Another typo
2018-06-26 06:34:25 -07:00
pavel-shirshov
07ea9741fb Enable sairedis counter thread in 3 minutes after SONiC was started (#1805) 2018-06-22 19:53:51 -07:00
pavel-shirshov
a2a6aead4c [bgp]: Enable bgp soft-reconfiguration inbound for quagga templates (#1803)
* Enable bgp soft-reconfiguration inbound for quagga templates
2018-06-22 18:04:18 -07:00
Taoyu Li
deacbb8261 [tacacs] To modify local user permission according to priv lvl (#1804) 2018-06-22 11:57:44 -07:00
Joe LeVeque
d0803b76ce [sonic-platform-common] Update submodule (#1806) 2018-06-22 11:56:57 -07:00
pavel-shirshov
3681cfa553
Use only active ports when applying buffers/qos configuration (#1787)
* First part of skipping not used port for qos configuration

* Use active ports only to set QoS parameters for 6100

* Add a test for qos.json.j2

* Add a test for Dell S6100 buffers.json template

* Update submodulre
2018-06-21 11:51:37 -07:00
Qi Luo
81b782cb86 [libnl3]: Backup libnl3 source packages in Azure Storage (#1799)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-06-19 21:09:08 -07:00
Qi Luo
a8a7b795db [libnl3]: Upgrade libnl3 version to 3.2.27-2, same version as in Debian Stretch (#1795)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-06-19 13:12:28 -07:00
Joe LeVeque
dc547e4c8d [sonic-platform-daemons] Update submodule (#1754) 2018-06-09 11:30:55 -07:00
Qi Luo
a6d2d777c4
Fix links of debian git server (#1755) 2018-05-31 18:38:12 -07:00
Kebo Liu
a917517f60 [minigraph parser] Fix minigraph parser issue when handling LAG related ACL table configuration (#1712)
* Fix minigraph parser issue when handling LAG related ACL table configuration
* rephrase the warning message.
* pick up swss change in https://github.com/Azure/sonic-swss/pull/494
2018-05-26 09:43:36 -07:00
Ying Xie
d165a5030a
[sairedis] update sairedis sub-module (#1741)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-05-24 17:31:03 -07:00
Wenda Ni
d32c043486 [sonic-cfggen]: Protect config_db.json from minigraph misconfig (#1727)
* Add noise config for PortChannel & EthernetInterface in simple-sample-graph.xml

* Add noise config for PORTCHANNEL_INTERFACE in simple-sample-graph.xml

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noice config for DEVICE_NEIGHBOR in t0-sample-graph.xml

Add unit test against introducing ports not existing in port_config.ini
into DEVICE_NEIGHBOR

Signed-off-by: Wenda <wenni@microsoft.com>

* DeviceInterfaceLink in minigraph.xml can contain port not existing in
port_config.ini but contraining non-zero Bandwidth attribute

Add noice config in simple-sample-graph.xml to capture the case that
such a port is leaked into config_db.json

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL_INTERFACE from portchannels containing ports not
existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect DEVICE_NEIGHBOR from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noise config Ethernet1 in DeviceInterfaceLinks in simple-sample-graph.xml as it is in PortChannel1001

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noise config Ethernet1 in DeviceInterfaceLinks in simple-sample-graph.xml as it is in PortChannel1001

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL_INTERFACE from portchannels containing ports not
existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect DEVICE_NEIGHBOR from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct space in minigraph.py

Signed-off-by: Wenda <wenni@microsoft.com>

* Does not allow non-port_config.ini port to get into the port list

Signed-off-by: Wenda <wenni@microsoft.com>

* Check PORTCHANNEL against PORT list only if port_config_file exists

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct format

Signed-off-by: Wenda <wenni@microsoft.com>

* print warning when a port coming from DeviceInterfaceLink is not in
port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Change Ethernet1 and 2 to fortyGigE0/1 and 2,respectively

Signed-off-by: Wenda <wenni@microsoft.com>

* Change Ethernet1 and 2 to fortyGigE0/1 and 2,respectively

Signed-off-by: Wenda <wenni@microsoft.com>

* print warning when ignoring ports, portchannels, portchannel interfaces, and
device neighbors

Update t0-sample-graph.xml with interface name 'fortyGigE0/2' and the
ACL_TABLE output

Signed-off-by: Wenda <wenni@microsoft.com>
2018-05-24 11:05:38 -07:00
Qi Luo
c055dd232f
[submodule]: Update submodule sonic-snmpagent: power_status_handler handles missing PSU (#1732) 2018-05-22 14:53:35 -07:00
pavel-shirshov
46dc46e110
[submodule update]: sonic-swss. Don't collect unwanted counters (#1729)
* Update sonic-sairedis and sonic-swss submodules

* Update sonic-swss submodule. Don't collect unwanted counters

* sonic-swss-common update too
2018-05-18 20:06:49 -07:00
pavel-shirshov
9e8883b97b
Update sonic-sairedis and sonic-swss submodules (#1724) 2018-05-17 13:53:35 -07:00
pavel-shirshov
e55778faa4
Update sonic-sairedis (#1705) 2018-05-14 18:01:02 -07:00
Qi Luo
2d37aa8a7d
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamental classes: retry after reinit_data() throws (#1700) 2018-05-11 21:23:01 -07:00
Shuotian Cheng
d692905aee [swss]: Update sonic-swss submodule (#1699)
[lua]: use not to check whether the field exists (#492)
[PFCWD]: Periodically poll WD counters (#473)
[teamsyncd]: Add team_ifindex2ifname return value check (#500)
[qos]: fix SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH value mismatch bug (#495)
[copporch]: Add SAI_HOSTIF_TRAP_TYPE_UDLD (#480)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-05-11 16:38:44 -07:00
lguohan
931b5dee13
[quagga]: update quagga submodule (#1698)
* [quagga]: update quagga submodule

0bc6bd6 2018-05-11 | ignore nexthop attribute when NLRI is present (#18) (HEAD, origin/debian/0.99.24.1, origin/HEAD) [lguohan]

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* add vs bgp test

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-11 14:02:10 -07:00
Liat Grozovik
dc93889848
Revert "[minigraph parser] Fix minigraph parser issue when handling LAG related ACL table configuration (#1609)" (#1693)
This reverts commit d7cd056ff4.
2018-05-10 13:02:28 +03:00
Kebo Liu
d7cd056ff4 [minigraph parser] Fix minigraph parser issue when handling LAG related ACL table configuration (#1609)
*   Fix minigraph parser issue when handling LAG related ACL table configuration

  Changes to be committed:
	modified:   src/sonic-config-engine/minigraph.py
	modified:   src/sonic-config-engine/tests/test_cfggen.py

  signed-off-by kebol@mellanox.com
2018-05-10 11:22:03 +03:00
Joe LeVeque
1102acec48 [ledd] Exit with code 0 if we fail to find a platform-specific led_control module; no autorestart (#1688) 2018-05-10 01:20:22 -07:00
Qi Luo
685282da9d
[submodule]: Update submodule sonic-snmpagent: Improve mib fundamental classes (#1689)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-05-09 19:18:35 -07:00
Shuotian Cheng
32dc2cd2b4
[utilities]: Update sonic-utilities submodule (#1687)
[acl-loader]: Change the header from Rule ID to Table (#250)
[acl-loader]: Add --table_name option to update full operation (#249)
[generate_dump]: fix a saidump file copy bug (#248)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-05-09 17:49:21 -07:00
Andriy Moroz
872f69a566 Update buffers config for Mellanox 27xx devices (#1649)
* Update buffers config for Mellanox 27xx devices

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

* Remove buffers template test for msn27xx

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-05-08 08:37:35 -07:00
Joe LeVeque
e07687f156
[sonic-platform-common] Update submodule (#1672) 2018-05-03 18:55:26 -07:00
Joe LeVeque
0c9e8eee65
Revert "Fix the sonic build issue" (#1671)
* Revert "[docker-dhcp]: Fix the sonic build issue (#1659)"

This reverts commit 8d3c5fbcc2.
2018-05-02 14:17:04 -07:00
pavel-shirshov
74e8beaa12 [snmp]: Stop spamming logs with statfs permission denied log message (#1668) 2018-05-01 22:41:58 -07:00
Taoyu Li
bebb7a0fa2 [zebra.conf] Fix template issue with multiple lo addresses (#1662)
* [zebra.conf] Fix template issue with multiple lo addresses

* Add unitest for Loopback1
2018-05-01 20:53:47 -07:00
lguohan
c74be37ae0
[swss]: update swss submodule (#1664)
* bb85c72 2018-05-01 | Populate existing interface cache, bring down before configDone (#491) (HEAD -> master, origin/master, origin/HEAD) [Prince Sunny]
* bc97597 2018-04-30 | Add ipv6 ACL support in schema file (#490) [zhenggen-xu]
* f939b95 2018-04-27 | [qosorch]: Optimizations of qosorch (#488) [pavel-shirshov]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-01 08:33:35 -07:00
Taoyu Li
3ed4513d65
[minigraph.py] Fix an issue that mirror table might be considered ctrlplane table (#1656) 2018-04-30 11:06:47 -07:00
zhenggen-xu
8d3c5fbcc2 [docker-dhcp]: Fix the sonic build issue (#1659)
Install the built version of isc-dhcp-client in docker-dhcp-relay
2018-04-29 20:19:06 -07:00
Prince Sunny
764d0813c3 [sonic-utilities]: Submodule update for sonic-utilities (#1653) 2018-04-26 19:02:44 -07:00
pavel-shirshov
18e97fba2c [docker-lldpd]: Various fixes (#1650)
* We don't need configure anything until we have interfaces created

* Don't run lldpcli for a port, until a port is up and running

* Remove lldpd socket before starting lldpd

* Fix sample files for lldpd configuration

* Another attempt to make the test working

* Quick fix for lldpd paused after start bug
2018-04-26 19:01:33 -07:00
lguohan
321ff4ebdc
[swss]: update sonic-swss (#1638)
[counters]:separate query of port/queue counters
[buffermgr]: remove the item from consumer queue if invalid

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-26 13:54:39 -07:00
lguohan
8d2a30a75b
[kernel]: update sonic linux kernel (#1645)
b511c96 2018-04-17 | Add kexec reboot string (#46) (HEAD, origin/master, origin/HEAD) [Joe LeVeque]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-26 13:53:39 -07:00
Qi Luo
4dc327d87a
[submodule]: Update submodule sonic-snmpagent (#1642)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-25 14:28:20 -07:00
Andriy Moroz
3726c9fa2f Update swss submodule pointer (#1641)
Includes:
- fix for PFCWD zero profile
- fix for racing condition in buffermgrd

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-25 10:18:07 -07:00
Qi Luo
d117172b23
sonic-cfggen supports hwsku parameter (#1631) 2018-04-24 16:01:17 -07:00
Joe LeVeque
242f86d2dc [cli]: Update sudoers file to ensure no 'show' commands prompt for sudo password (#1632)
* [sonic-utilities] Update submodule

* Update sudoers file to ensure no 'show' commands prompt for sudo
2018-04-23 13:43:16 -07:00
Qi Luo
f403c1be04 [cfggen]: Fix build by fixing pyangbind version (#1633)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-23 00:09:26 -07:00
sihuihan88
0abb653cf2 [swss]:update submodule (#1630)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-04-20 22:19:22 -07:00
Taoyu Li
143842ee8f
[tacacs] User with priv_lvl 0 should not be in docker group (#1626) 2018-04-20 18:30:07 -07:00
Joe LeVeque
1df7c9a993
[docker-platform-monitor] Convert ledd from polling-based to subscription-based model (#1623) 2018-04-20 10:42:19 -07:00
pavel-shirshov
cde9a60c41
swss submodule update. Remove the global lock from swss (#1624) 2018-04-19 14:53:37 -07:00
Rodny Molina
d42384168c [sonic-cfggen]: Sorting the information generated by sonic-cfggen for all j2 templates. (#1616)
With this patch all the content of the files generated by "sonic-cfggen -d -t" instructions will now be sorted, which is very useful for operational and troubleshooting purposes. See below a few examples of this behavior. Also, a few sonic-cfggen UT's have been modified to accomodate the new sorted configurations.

admin@lnos-x1-a-asw02:~$ sonic-cfggen -d -t /usr/share/sonic/templates/interfaces.j2 | more
…
auto lo
iface lo inet loopback
iface lo inet static
  address 10.10.1.2
  netmask 255.255.255.255
auto eth0
iface eth0 inet dhcp
allow-hotplug Ethernet112
iface Ethernet112 inet static
   mtu 9100
   address 10.1.2.2
   netmask 255.255.255.0
allow-hotplug Ethernet112
iface Ethernet112 inet6 static
  mtu 9100
  address fc00:1:2::2
  netmask 64
allow-hotplug Ethernet116
iface Ethernet116 inet static
   mtu 9100
   address 10.2.2.2
   netmask 255.255.255.0
allow-hotplug Ethernet116
iface Ethernet116 inet6 static
  mtu 9100
  address fc00:2:2::2
  netmask 64
allow-hotplug Ethernet120
iface Ethernet120 inet static
  mtu 9100
  address 10.3.2.2
  netmask 255.255.255.0

root@lnos-x1-a-csw01:/# sonic-cfggen -d -y /etc/sonic/deployment_id_asn_map.yml -t /usr/share/sonic/templates/bgpd.conf.j2
…
router bgp 65100
…
  network 10.10.2.1/32
  neighbor 10.0.0.1 remote-as 65200
  neighbor 10.0.0.1 description ARISTA01T2
  address-family ipv4
    neighbor 10.0.0.1 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.11 remote-as 65200
  neighbor 10.0.0.11 description ARISTA06T2
  address-family ipv4
    neighbor 10.0.0.11 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.13 remote-as 65200
  neighbor 10.0.0.13 description ARISTA07T2
  address-family ipv4
    neighbor 10.0.0.13 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.15 remote-as 65200
  neighbor 10.0.0.15 description ARISTA08T2
  address-family ipv4
    neighbor 10.0.0.15 activate
    maximum-paths 64
  exit-address-family

root@lnos-x1-a-asw02:/# sonic-cfggen -d -t /usr/share/sonic/templates/lldpd.conf.j2
…
configure ports Ethernet4 lldp portidsubtype local Eth2/1 description ixia-card2-port8:Eth1/2/8
configure ports Ethernet112 lldp portidsubtype local Eth29/1 description lnos-x1-a-csw01:Eth29/1
configure ports Ethernet116 lldp portidsubtype local Eth30/1 description lnos-x1-a-csw02:Eth30/1
configure ports Ethernet120 lldp portidsubtype local Eth31/1 description lnos-x1-a-csw03:Eth31/1
configure ports Ethernet124 lldp portidsubtype local Eth32/1 description lnos-x1-a-csw04:Eth32/1

root@lnos-x1-a-asw02:/# sonic-cfggen -d -t /usr/share/sonic/templates/ports.json.j2 | more
[
    {
            "PORT_TABLE:Ethernet0": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
    {
            "PORT_TABLE:Ethernet1": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
    {
            "PORT_TABLE:Ethernet2": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
]
2018-04-19 01:43:00 -07:00
Taoyu Li
5ebefeb841 [sonic-cfggen] Be case insensitive to hostname in minigraph (#1614) 2018-04-18 18:26:09 -07:00
Shuotian Cheng
01551363e2 [platform-common]: Update sonic-platform-common submodule (#1620)
[sfputilbase]: Add logic to parse the title of port_config.ini file

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-04-18 14:54:15 -07:00
Ying Xie
58584ca30c
[test] Adding Broadcom configuration file test (#1611)
* [test] Adding Broadcom configuration file test

In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.

* Invoke test from Debian package builder

* Use $() syntax

* Remove the debug echo statement
2018-04-17 21:10:17 -07:00
sihuihan88
3728009690 [utilities]: Update sonic-utilities submodule (#1613)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-04-17 20:15:46 -07:00
pavel-shirshov
1ba00d27d0
Update sonic-swss submodule (#1612)
This includes priorities into orchagent
2018-04-17 18:56:07 -07:00
hui-ma
5c66beee66
[sonic-utilities] add pfcstat and queuestat tool (#1606) 2018-04-17 10:14:07 -07:00
pavel-shirshov
8a714c88c7
Use refactored Selectables from sonic-swss-common (#1604) 2018-04-16 18:38:48 -07:00
yurypm
2b9f877b8f [baseimage]: Fix tcpdmatch dependency (#1594)
* Fix tcpdmatch dependency

Issue: sonic_debian_extension.j2 uses tcpdmatch from src folder
       which is result of libwrap build
Fix: added tcpd.deb to build results and extract required files
     from build results

* Install libwrap0 and tcpd deb packages
2018-04-13 17:00:38 -07:00
Qi Luo
f12ab9473e [minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth (#1592)
* [minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-12 15:44:57 -07:00
lguohan
2d54d43a0f
[minigraph]: ignore minigraph ports which are not in port_config.ini (#1593)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-12 04:04:32 -07:00
Joe LeVeque
291321d851 Incorporate swss-common Table Name Separator Changes (#1584)
* Table name separator now determined by database ID, no longer passed manually upon table creation

* Update submodules to include table name separator changes
2018-04-11 01:50:17 -07:00
Joe LeVeque
c626dc921f
Allow one Service ACL to bind to multiple services (#1576)
* [caclmgrd] Also ignore IP protocol if found in rule; we will only use our predefined protocols
2018-04-10 18:14:12 -07:00
lguohan
af0013e939
[cfggen]: ignore acl when its type is not defined (#1568)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-09 16:41:51 -07:00
lguohan
4d3f44bc32
[submodules]: update sonic-utilities (#1571)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-07 15:50:37 -07:00
lguohan
5a47b81c4b
[submodules]: update sonic-swss (#1570)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-07 10:19:55 -07:00
Joe LeVeque
e6015d89a7 [sonic-platform-common] Update submodule (#1563)
- Includes the following commits:
    - [bcmshell.py] Match extra whitespace before prompt in regex (#3)
    - add support for qsfp28 eeprom (#2)
2018-04-06 05:55:17 -07:00
Taoyu Li
a04401f68f [minigraph.py] Add support to parse tacacs server information (#1549)
* [minigraph.py] Add support to parse tacacs server information
2018-04-02 09:17:47 -07:00
Ying Xie
8572f84ea0
[sonic-utilities] include reboot scripts improvements (#1554) 2018-03-30 19:23:46 -07:00
Ying Xie
37d0ff3ef7
[utililities] update sonic-utilities submodule (#1546) 2018-03-29 11:16:45 -07:00
lguohan
5e2773dcaa
[submodules]: update swss and sairedis (#1535)
* [submodules]: update swss and sairedis

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-03-28 17:04:33 -07:00
pavel-shirshov
2a1ae65a85
Update sonic-utilities to the latest master (#1537) 2018-03-27 17:26:24 -07:00
Jipan Yang
f74de8914b [telemetry]: SONiC system telemetry Support (#1526)
* SONiC system telemetry Support

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Update package name from telemetry to sonic-telemetry

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2018-03-27 13:39:04 -07:00
Harish Venkatraman
87e942343f [device/dell] Added dynamic sai.profile generation (#1518)
* [device/dell] Added dynamic sai.profile generation

This commit addds new code for generating dynamic sai.profile file.
The sai.profile.j2 will generate the sai.profile dynamically based on
the topology. It will generate the sai.profile under /etc/sai.d/ directory
in syncd. Before syncd is started this J2 file will be run from the start.sh
file from /usr/bin/ directory. Since the sai.profile is dynamically generated
the old sai.profile file is not required so deleted the file for S6100.
It also address couple of more changes for port_config.ini support is added
for speed in the file which can be used later to find the port speed. Also
the buffer_default_t*.j2 file the ports should be from 0 to 64 changed.

Unit tested the code on S6100 for dynamic generation of sai.profile file for
both T0 and T1 and the file was created in /etc/sai.d/sai.profile
Similarly tested the sonic binary on S6000 to make sure that the sai.profile is
copied from the /usr/share/sonic/hwsku/sai.profile to /etc/sai.d/sai.profile.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>

* [sonic-buildimage] Updating module sai-redis

Updating the sonic-sairedis point.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-21 09:28:23 -07:00
Volodymyr Samotiy
d142f3ceb2 [config-engine]: Fix 'get_sonic_version_info' API to return valid info (#1517)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-03-20 14:23:13 -07:00
sihuihan88
1464014da7 [swss]: update swss submodule (#1514)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-19 17:28:18 -07:00
lguohan
3ba84ec1f7
[SAI]: Update sonic to use SAI v1.2.4 (#1509)
* Update SAI to v1.2.4

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

* update SAI to v1.2.4 header
2018-03-17 19:07:28 -07:00
sihuihan88
066137e9d8
[swss]:update swss submodule (#1499)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-16 17:15:18 -07:00
pavel-shirshov
f00bac7957 [submodule]: Update sonic-sairedis submodule (#1501) 2018-03-15 15:47:33 -07:00
Volodymyr Samotiy
aa845b7c6c [submodules]: Update sonic-swss pointer (#1498)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-03-14 10:12:48 -07:00
lguohan
dd48995482
[submodule]: update sonic linux kernel (#1495) 2018-03-14 09:38:39 -07:00
pavel-shirshov
6839e7043d
Update sonic-quagga submodule. Fix IPv6 ECMP behavior (#1490) 2018-03-13 09:39:07 -07:00
Rodny Molina
913a62c33c [configdb]: Sorting all json config-elements residing in config_db.json (#1454)
Just a simple change to make sonic's user life a little bit easier. Displaying the multiple elements of config_db.json in an orderly fashion allows a more intuitive user-experience.

For this change i'm simply intercepting the config-state that is about to be dumped to config_db.json, and i'm placing it in an ordered-dictionary, so that information is pushed to file in natural/alphanumerical ordering.

Example:

admin@lnos-x1-a-csw01:~$ sudo sonic-cfggen -m /etc/sonic/minigraph.xml --print-data
{
...
      "PORT": {
        "Ethernet0": {
             "alias": "Eth1/1",
             "lanes": "65"
},
        "Ethernet1": {
             "alias": "Eth1/2",
             "lanes": "66"
},
        "Ethernet2": {
             "alias": "Eth1/3",
             "lanes": "67"
},
        "Ethernet3": {
            "alias": "Eth1/4",
            "lanes": "68"
},
        "Ethernet4": {
             "alias": "Eth2/1",
             "lanes": "69"
},
...
...
    "INTERFACE": {
       "Ethernet0|10.0.0.0/31": {},
       "Ethernet1|10.0.0.2/31": {},
       "Ethernet2|10.0.0.4/31": {},
       "Ethernet3|10.0.0.6/31": {},
       "Ethernet4|10.0.0.8/31": {},
2018-03-09 23:51:33 -08:00
Joe LeVeque
41418723a3
[isc-dhcp] Add patch to fix bug which caused log messages to also print to stderr in release builds (#1477) 2018-03-09 11:32:03 -08:00
Joe LeVeque
c161de406a
[lldpmgrd] Fix potential race condition when interfaces are created (#1469) 2018-03-07 17:08:45 -08:00
Taoyu Li
f250fe745a
[minigraph.py] Convert ipv6 addresses into lower case parsing cpg (#1460)
* [minigraph.py] Convert ipv6 addresses into lower case parsing cpg
2018-03-06 12:19:16 -08:00
sihuihan88
b2518c8310
[swss/sairedis]: update submodules (#1459)
* [sairedis]: update submodule

Signed-off-by: Sihui Han <sihan@microsoft.com>

* [swss]: update submodule

* exclude crm in swss submodule
2018-03-05 17:43:25 -08:00
sihuihan88
4c1419ceae
[sonic-utilities]: update submodule (#1458)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-05 13:42:45 -08:00
Taoyu Li
d9aa42e33c [tacacs]: Obfuscate key before printing to syslog (#1453) 2018-03-02 21:23:04 -08:00
AndriiS
cbdcdcd023 [submodule]: Update sonic-sairedis submodule pointer (#1446) 2018-03-02 10:52:10 -08:00
Taoyu Li
a0e68bf399
Update sonic-utilities pointer (#1438) 2018-03-01 15:39:30 -08:00
Ying Xie
720c71399c
Improve: buffer configuration infrastructure (#1403)
* [sonic build] Define folder macro for target folder /usr/sonic/share/templates

* [sonic-cfggen] allow templates to include from common folders

- Allow templates to include files under /usr/share/sonic/templates
- Allow templates to include files in the same folder as the root template

* [Buffer config] install the buffer configuration template

* [Arista7260cx3] Add buffer configuration for Arista7260CX3 T0 topology

- pg profile look up table is incomplete. Currently contains T0 default
  values.

* [Arista7260cx3] Adding QoS configuration

* Address review comments

1. Stop generating ingress pg configuration for lossless pgs.
2. Stop putting ports into speed sets, put all ports in one set.
3. Remove ingress lossless profiles.
4. Added some tailing '-' back to remove leading spaces.
2018-02-27 12:15:56 -08:00
zzhiyuan
59cbfc31c6 src/sonic-platform-daemons: Submodule bump (#1419)
Submodule bump to include latest change to ledd script.

Signed-off-by: Zhi Yuan Zhao zyzhao@arista.com
2018-02-27 10:08:09 -08:00
Ying Xie
ce070219ac [submodule] update swss submodule (#1415) 2018-02-26 21:49:08 -08:00
pavel-shirshov
62d67e6ac3 [submodule]: sonic-utilities submodule update (#1418) 2018-02-26 21:48:43 -08:00
Joe LeVeque
e171d1c27b
[sonic-swss-common] Update submodule (#1417)
- Adds the following changes:

   - [schema] Update Config DB Table name #defines (#188)
   - Extending IpAddress class with method to return the scope of any
     given ip-address (#187)
   - Extending IpPrefix class to return the subnet associated to any
     given prefix (#184)
   - update build instruction (#185)
2018-02-26 15:26:11 -08:00
pavel-shirshov
ec537be065
[Submodule update]: Update submodule sonic-utilities (#1407)
* Update submodule sonic-utilities

* Copy fast-reboot json dumps from /host filesystem

* Update sonic-utilities to latest

* Fix typo
2018-02-26 11:23:29 -08:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
Joe LeVeque
a920e75b41
[sonic-py-swsssdk][sonic-dbsyncd] Update submodules in order to add ability for lldp_syncd to delete stale entries (#1408) 2018-02-22 11:38:24 -08:00
Ying Xie
07853aa113 [sub module] update sonic-utility sub-module (#1402) 2018-02-21 00:52:12 -08:00
Taoyu Li
04b694454a
[sonic-cfggen] Remove machine.conf info and add get_system_mac support (#1397)
[sonic-cfggen] Remove machine.conf info and add get_system_mac support
2018-02-20 14:38:13 -08:00
Taoyu Li
d64658b2c8
Update py-swsssdk and utilities submodule to support config qos (#1396) 2018-02-15 17:50:28 -08:00
pavel-shirshov
f6deaa22f7 [fast-reboot]: Dump default routes before fast-reboot procedure (#1392)
* Insert default routes into the APPL DB in fast-reboot proceduce

Update sonic-utilities submodule
2018-02-14 19:09:28 -08:00
stanepc1
46ec35df81 [device] Add a new platform ly1200 for MiTAC (#1369)
* [device] Add a new platform ly1200 for MiTAC

Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] Update dependency for new kernel.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [minigraph]: Set hostname in all default minigraphs to 'sonic'

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [kernel]: update linux kernel to support ly1200 of MiTAC

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] adapt PSU driver for linux kernel upgrade.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* Resolve the conflict with Quanta

modified files are as below.
.gitmodules
platform/broadcom/one-image.mk
platform/broadcom/rules.mk

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-02-13 21:39:08 +08:00
sihuihan88
345430ca6f [sonic-utilities]: update submodule (#1387)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-02-10 07:50:14 +08:00
Prince Sunny
a145f2c08a
Set FEC to reed-solomon if the port speed is 100G (#1383)
* Set FEC to reed-solomon if the port speed is 100G
2018-02-08 21:26:19 -08:00
byu343
ecf5c8d311 ssh and snmp allow list (#1363)
- Service ACL framework for Arista platforms
2018-02-08 17:43:52 -08:00
sihuihan88
e9dd064f82
[swss/sairedis]: update submodules (#1382)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-02-08 17:23:28 -08:00
Joe LeVeque
01362847d0
[sonic-dbsyncd] Update submodule (#1379) 2018-02-07 17:43:33 -08:00
Taoyu Li
4925d48b1a Fix VLAN_INTERFACE attach issue upon vlan id-name mismatch (#1367) 2018-02-07 22:06:41 +08:00
pavel-shirshov
1ae86ca539
Update swss and swss-common submodules (#1359) 2018-01-31 23:01:24 -08:00
Qi Luo
358949b4e5
Upgrade linux-image version (#1294)
* Upgrade linux-image version
* Add missing dependency of igb
* Fix mft build rule
* Add missing dependency of ixgbe
* [Broadcom]: Update OpenNSL modules to be compatible with kernel 3.16.0-5 (#3)
* [Nephos] Update SDK version to support new kernel module 3.16.0-5 (#4)
* [mellanox]: Update URL for SDK (#5)
2018-01-31 11:39:48 -08:00
Joe LeVeque
a4a91cbd4a
[sonic-cfggen] Add unit test for DHCP relay Jinja2 templates (#1357) 2018-01-31 11:07:00 -08:00
Kebo Liu
653f572f9c [submodules]: update the pointers to pick up clear fdb cli support (#1354) 2018-01-31 08:58:02 -08:00
Joe LeVeque
a36527a6a5
Store ConfigDB init indicator boolean value as 1/0 in Redis to be language-agnostic (#1352) 2018-01-30 15:04:52 -08:00
Joe LeVeque
8cf03b0b28
[sonic-cfggen] Enhance ACL unit test to also test control plane (service) ACLs (#1349) 2018-01-30 11:19:03 -08:00
Prince Sunny
91effa249c
Submodule update (#1351) 2018-01-30 09:13:23 -08:00
Qi Luo
26efb653fc
[snmpagent]: update sonic-snmpagent submodule (#1350)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-29 18:08:10 -08:00
Joe LeVeque
bdbf956dec
[sonic-utilities] Update submodule (#1346) 2018-01-29 11:08:32 -08:00
Andriy Moroz
58d8302b53 Buffers configuration update on port speed change (#1345)
* Move buffer configuration to ConfigDB

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

* Converted Dell and Arista configs

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

* Add buffer configs for ACS-MSN2740

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

* Updated buffers template

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

* Fixed j2 unit test

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

* Update buffers config for Force10-S6100

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

* Update VS docker to support speed and buffers test

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

* Update buffers config generation

- fixed support of sonic-to-sonic install

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

* Update submodules pointers for buffers config

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-29 08:11:05 -08:00
Joe LeVeque
da10ff5aa9 [minigraph.py] Only add 'service' field to control plane ACLs, not dataplane ACLs (#1341)
* [minigraph.py] Only add 'service' field to control plane ACLs, not dataplane ACLs

* Modify unit test accordingly
2018-01-26 20:29:20 -08:00
Ying Xie
2b91c9681d Revert "Buffers configuration update on port speed change (#1250)" (#1340)
This reverts commit 814e50fd5e.
2018-01-26 10:13:43 -08:00
Andriy Moroz
814e50fd5e Buffers configuration update on port speed change (#1250)
* Move buffer configuration to ConfigDB

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

* Converted Dell and Arista configs

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

* Add buffer configs for ACS-MSN2740

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

* Updated buffers template

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

* Fixed j2 unit test

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

* Update buffers config for Force10-S6100

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

* Update VS docker to support speed and buffers test

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

* Update buffers config generation

- fixed support of sonic-to-sonic install

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-26 08:09:31 -08:00
Ying Xie
163a0e2165
[Arista7260cx3] Add platform specific reboot tool (#1318)
* [Arista7260cx3] Add platform specific reboot tool

* [utilities] update sonic-utilities submodule
2018-01-18 17:28:36 -08:00
Qi Luo
8db959d2a3
[sonic-py-swsssdk]: Update submodule pointer (#1319)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-18 14:08:27 -08:00
Joe LeVeque
0fa64cc618
[supervisor] Add patch to prevent 'supervisorctl start' command from hanging if system time has rolled backward (#1311)
* Add patch to prevent 'supervisorctl start' command from hanging if system time has rolled backward

* Also add unit tests for clock rollback scenarios
2018-01-18 11:43:57 -08:00
Joe LeVeque
134707f822
Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
Qi Luo
9d62fbfb66
[snmpagent]: Update sonic-snmpagent submodule (#1314)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-17 17:03:44 -08:00
pavel-shirshov
6a8062da2c [submodule]: Update sairedis (#1310) 2018-01-16 16:37:38 -08:00
Qi Luo
8eb4241f0e
[snmpagent]: Update sonic-snmpagent submodule (#1308)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-16 14:24:27 -08:00
lguohan
292de7dcda [submodule]: update sonic-sairedis to enable syncd-rpc (#1304) 2018-01-13 09:33:56 -08:00
pavel-shirshov
47aba6f76d
[libsaithrift-dev]: Enable building libsaithrift-dev and pythonthrift libraries (#1296)
* Fix build of libsaithrift for broadcom

* Restore libsaithrift-dev building

* Comment out libsaithrift library on cavium and marvell. Both of them have old SAI drivers

* Revert back unintentional acton changes

* Don't run the package checks when building sairedis package
2018-01-11 20:32:14 -08:00
Joe LeVeque
50f060e8bd Revert "[DHCP relay]: Add patch to always undef VLAN_TCI_PRESENT so as not to treat VLAN-tagged packets differently (#1254)" (#1291)
This reverts commit 64602ad5b2.

Reverting this commit because the root cause of the issue was due to
a Broadcom SDK bug which caused VLAN-tagged packets to be tagged twice.
When packets were double-tagged, only one tag was getting stripped before
the packet was trapped to the CPU. However, the second tag was left behind,
which would cause the DHCP relay agent to ignore the packet. The bug has
since been fixed, so now all VLAN-tagged packets should properly have their
tag removed before being trapped to the CPU. Therefore the DHCP relay
agent should never encounter a VLAN-tagged packet.
2018-01-10 03:06:47 -08:00
pavel-shirshov
6d39e3a0f0 [[submodule]: Update swss-common (#1289) 2018-01-10 03:05:08 -08:00
Joe LeVeque
0fffa6c63b
Add caclmgrd and related files to translate and install control plane ACL rules (#1240) 2018-01-09 17:55:10 -08:00
Andriy Moroz
16763dcc77 [mellanox]: Update Mellanox buffers configuration (#1263)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-08 18:10:40 -08:00
pavel-shirshov
08b81f310a [submodules]: Update swss and utilitiles modules (#1276) 2018-01-03 01:21:27 -08:00
kaiyu22
63de341dd6 [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC (#1245)
* Add switch ASIC vendor and platforms for Nephos

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform

- How to verify it
To build SONiC installer image and docker images, run the following commands:
make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* Advance sonic-sairedis submodule to include #271 (Add Nephos ASIC)
2017-12-22 10:04:29 -08:00
Joe LeVeque
64602ad5b2
[DHCP relay]: Add patch to always undef VLAN_TCI_PRESENT so as not to treat VLAN-tagged packets differently (#1254) 2017-12-20 11:22:08 -08:00
Joe LeVeque
f0d59cb002 [DHCP relay]: Fix circuit ID and remote ID bugs (#1248)
* [DHCP relay]: Fix circuit ID and remote ID bugs

* Set circuit_id_len after setting circuit_id_len to ip->name
2017-12-19 10:28:45 -08:00
Marian Pritsak
0a4c8884ef [sonic-py-swsssdk]: Update submodule pointer (#1253)
Include commit that makes sdk compatible with python3.6

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-12-19 10:26:45 -08:00
lguohan
c90e9be968
[swss]: update swss submodule (#1244) 2017-12-17 02:04:32 -08:00
Haiyang Zheng
2abdf8dc58 [libteam] Add fallback support for single-member-port LAG (#1118)
* [libteam] Add fallback support for single-member-port LAG

* Allow the port to be selected if the LAG is configured
with fallback and port is in defaulted state due to missing
LACP PDUs from remote end
* Only enable port if LAG is admin up and the member port
is link up

* [team] Add lacp fallback config to teamd.j2 template

* [teamd] Resolve config conflict between fallback and minlink

* Remove min_link config if fallback is configured
* Add support for fallback config in minigraph

* [teamd] Only enable fallback if it is single-member-port LAG

Signed-off-by: Haiyang Zheng <haiyang.z@alibaba-inc.com>

* [teamd] Removing the admin status check in lacp_port_link_update

Will submit another pull request to fix this issue.

Signed-off-by: Haiyang Zheng <haiyang.z@alibaba-inc.com>
2017-12-16 11:28:18 -08:00
lguohan
9f54aed9cf
[sonic-utilities]: update sonic-utilities submodule (#1237) 2017-12-14 00:40:33 -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
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
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
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
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
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
b907e4e9f5
[vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
lguohan
98fbddf60f
[kernel]: update kernel to 3.16.43 (#1181) 2017-11-27 00:30:11 -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
Shuotian Cheng
dc9f19e90d
[swss]: Update swss/sairedis submodules (#1172)
sairedis:
[syncd]: Only query queue counters that are needed by the application

swss:
[pfcwdorch]: Set correct polling interval for pfcWdOrch object
[portsorch]: Only add stat IDs that are needed to query

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-20 18:46:59 -08:00
Shuotian Cheng
eef4a89dc4
[swss]: Update sonic-swss submodule (#1165)
It contains:
 [pfcactionhandler]: match correct value when aclhandler creates ACL rules (#393)
 [orchagent]: Fix issue with bind ACL table group to port (#386)
 [vlanmgrd]: Use sonic-swss-common instead of exec redis-cli (#392)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-17 17:20:18 -08:00
Joe LeVeque
223a38c02f
Update isc-dhcp source to v4.3.3-6; create new patch against it (#1164)
- Found a bug in v4.3.1-6 in which dhcrelay would not start if
   passed an interface name with a length of 15 characters due
   to truncated copy of interface name in common/lpf.c.
   Bug was fixed in v4.3.2.

 - v4.3.3-6 is the newest version we can build for Debian Jessie, as all
   newer versions require newer versions of debhelper and
   libbind-export-dev dependencies than are available for Jessie.
2017-11-17 14:51:48 -08:00
Ying Xie
e784aafbda
[submodule update] update swss, swss-common and sairedis submodules (#1158) 2017-11-16 12:17:58 -08:00
Shuotian Cheng
c93c008bae
Revert "[docker-teamd]: Manage teamd and teamsyncd processes with supervisor (#1137)" (#1156)
This reverts commit a6edef2fa5.

The reason to revert this commit is that it breaks the current nightly test as
no port channel interfaces are get created after boot. teamd failed to start and
complained about 'Cannot allocate memory' possibly due to nlmsg_alloc function
failure.

Will revert this commit to investigate it further before moving to supervisor.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-16 10:30:41 -08:00
Prince Sunny
803c263331 [baseimage]: Subnet route added for management interface (eth0) - "fixes #1023" (#1142)
* Added management subnet route to route table-default in kernel.

* Added sample output to interface file
2017-11-14 08:19:24 -08:00
lguohan
50b4868a99
[vs]: update virtual switch (#1148)
* [vs]: add zebra/quagga/fpmsyncd in supervisord.conf

* setup the hostname for vs docker

* do not save to the disk for redis db

* install ipaddress module in vs docker

* update sonic-sairedis submodule
2017-11-13 14:38:07 -08:00
Joe LeVeque
a6edef2fa5
[docker-teamd]: Manage teamd and teamsyncd processes with supervisor (#1137) 2017-11-13 14:16:19 -08:00
lguohan
bf1bb06e2e
[swss]: update sonic-swss submodule (#1146) 2017-11-13 10:49:29 -08:00
nikos-li
f18ed0d35c [bgp]: Auto-completion, help (?), cmd navigation (up arrow) not working in vtysh on host system. (#1124) 2017-11-13 09:39:10 -08:00
Qi Luo
757ba00b58
[utilities]: update sonic-utilities submodule (#1143)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-11-12 15:29:32 -08:00
Ying Xie
d7969dd4be
[swss] update swss submodule head (#1141) 2017-11-10 16:51:47 -08:00
Shuotian Cheng
a9a37aab23
[py-swsssdk]: Update sonic-py-swsssdk submodule (#1126)
Include: [interface]: Extend the max data wait time to 60s

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-07 14:52:20 -08:00
lguohan
1ce9b85e3c
[init]: save the initial switch mac to config db (#1125)
* [init]: save the initial switch mac to config db

Save the initial switch mac to config db DEVICE_METADATA|localhost entry.

* update sonic-swss submodule
2017-11-06 23:40:27 -08:00
Prince Sunny
7540893471
Submodule update for sonic-swss (#1123) 2017-11-06 16:44:02 -08:00
Joe LeVeque
8d3691e811
[sonic-platform-daemons]: Update submodule (#1120) 2017-11-06 12:19:42 -08:00
lguohan
0e61803301
[swss]: update swss submodule (#1119) 2017-11-06 07:39:25 -08:00
JipanYanga
7406d3709b [configdb]: Add support for vlanconfd and intfconfd (#1063)
* Add support for vlanconfd and intfconfd

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Change name to vlanmgrd and intfmgrd

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Add missing vlan_members for parse_dpg result

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Remove cfgmgr debug CLI from image

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Update swss and swss-common submodules for VLAN trunk support

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2017-11-05 22:37:16 -08:00
lguohan
875bdf6be9
[vs] add teamsyncd into vs docker (#1112)
* [vs] add teamsyncd into vs docker

* add build badge for virtual switch
2017-11-03 17:13:39 -07:00
Andriy Moroz
4e1fb6850f Update Mellanox buffers profile to use single pool for lossless (#1101)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-11-03 16:31:02 -07:00
Taoyu Li
ef438002b8 [swsssdk] Update swsssdk pointer (#1107) 2017-11-03 09:33:23 -07:00
Oleksandr Ivantsiv
29f67ebe58 [acl-loader]: acl-loader integration. (#1000)
* [acl-loader]: acl-loader integration.

acl-loader was inplemented based on translate_acl source code. acl-loader
can't be tested with unittest. Same testcases will be covered with testbed tests.

- Remove translate_acl utility and tests.
- Remove mirror template.
- Do not run ACL rules and mirror configuration generators.
- Adopt minigraph parser to work with acl-loader.

* Update sonic-swss-common and sonic-swss submodules.

Enable ACL dynamic config feature.

* Update sonic-utilities submodule.

Include fix for acl-loader incremental update command.

* [sonic-cfggen]: Add test for everflow cfggen configuration.
2017-11-02 15:09:27 -07:00
Bairen Yi
967030f24d Change third party repos from git:// to https:// for better compatibility (#1104)
* Change git:// to https:// for better security and compatibility
2017-11-02 11:19:05 -07:00
Shuotian Cheng
b0c13ea928 [snmpagent]: Update sonic-snmpagent submodule (#1094)
Include the fix:
[mibs]: Add oid:0x prefix to the SAI ID in counter table (#48)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-30 14:47:07 -07:00
Shuotian Cheng
2ba281829c
[swss]: Update sonic-swss submodule (#1091)
Including:
- [swss] a couple non-functional code cleanup changes
- [bufferorch] move buffer pool definitions together
- [orchagent] optimize the code structure
- [orchagent]: Fix hang problem caused by erase operation on empty map
- [orchagent]: Support port/LAG in multiple VLANs

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-29 11:50:49 -07:00
Taoyu Li
437419c79e Update submodule pointer and sonic-slave for test dependency (#1084) 2017-10-26 16:49:25 -07:00
Prince Sunny
3d290b96d9 Submodule updated for py-swsssdk and utilities (#1083) 2017-10-26 14:03:46 -07:00
lguohan
623e7fe939 [utilities]: update sonic-utilities submodule (#1076) 2017-10-25 21:37:09 -07:00
Qi Luo
47c8567d93 [snmp]: Update sonic-snmpagent submodule (#1078) 2017-10-25 16:43:43 -07:00
Taoyu Li
8b8b8a130f [cfg engine] Separate portconfig.py as individual module for port_config.ini parsing (#1072)
Move port_config.ini related parsing code out of minigraph.py and create an independent portconfig.py.
Add support to multiple optional fields according to Porting Guide
2017-10-24 10:56:09 -07:00
lguohan
f073d8c654 [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
zhenggen-xu
a49ac2d211 [FRR]: Change the FRR as a submodule (#1071)
Signed-off-by: zxu@linkedin.com
2017-10-23 21:17:58 -07:00
Qi Luo
3417e78d55 [swss-common]: Update sonic-swss-common submodule (#1064)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-22 13:44:44 -07:00
Taoyu Li
8bc6b55331 [bgpd.conf] Fix template issue with multiple lo addresses (#1060) 2017-10-20 07:15:11 -07:00
Shuotian Cheng
2a56479187 [sonic-cfggen]: Add DEVICE_NEIGHBOR_METADATA field and move msn27xx template (#1025)
This field contains all neighbor devices information using the device
hostname as the key and having lo_addr, mgmt_addr, hwsku, type as the
attributes.

Move the file msn27xx.32ports.buffers.json.j2 from sonic-swss repository to
this repository so that we could add unit test for this file.

Unit test is added for platform ACS-MSN2700.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-19 00:38:25 -07:00
Shu0T1an ChenG
03e532aa81 [utilities]: Update sonic-utilities submodule
[portstat]: Fix typo

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 16:33:33 -07:00
Shuotian Cheng
ee168b0c09 [py-swsssdk]: Update sonic-py-swsssdk submodule (#1048)
Including this commit:
[port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 14:49:20 -07:00
Qi Luo
e5c68d3bfe [snmp]: Update sonic-snmpagent submodule (#1046)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-17 09:28:35 -07:00
Shuotian Cheng
b14c03a14d [utilities]: Update sonic-utilities submodule (#1045)
[portstat]: Combine ADMIN and OPER fields

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 09:28:26 -07:00
Joe LeVeque
37dc7bd478 [interfaces]: Set hwaddr of VLAN interfaces to system MAC upon creation (#1042) 2017-10-16 17:36:21 -07:00
nikos-li
51ebdf43ac [frr]: Support for nhopself, keepalive and holdtime timers, prefer global ebgp nexthop (#1024)
* RR client support in minigraph for FRR
* Fix python warning from previous rrclient commit and move config handling to a more relevant place for this cmd
* Add config support for nhopself, keepalive and holdtime timers.
* Add route-map to prefer global nexthops for ebgp learned prefixes.
2017-10-11 15:31:38 -07:00
lguohan
758c5e9a2e [submodule]: update sonic-utilities (#1020) 2017-10-06 23:37:35 -07:00
Joe LeVeque
8a305ce9c9 [sonic-utilities]: Build as Debian package once again (revert change to wheel) (#1018) 2017-10-06 12:46:47 -07:00
Taoyu Li
7fa502a45e [cfggen] Fix a bug in --var-json option with multi-keys (#1015) 2017-10-05 21:45:34 -07:00
Taoyu Li
bea7476aa8 Update sonic-utilities pointer (#1017) 2017-10-05 21:01:08 -07:00
Joe LeVeque
60339dc27d [sonic-utilities]: Update submodule to fix broken 'show' command (#1013) 2017-10-05 11:30:31 -07:00
Joe LeVeque
1d16a37d48 [DHCP Relay]: Support Multiple VLANs (Separate DHCP Relay Agents, One Per VLAN) (#999)
* [DHCP Relay]: Support new <DhcpRelays> minigraph tag; support multiple VLANs

* Don't start dhcrelay in quiet mode so as to get startup output in syslog

* Update sonic-cfggen tests to support new '<DhcpRelays>' tag

* <DhcpRelays> tag is only present for VLANs which require a DHCP relay agent -- only parse if present

* Don't attempt to configure a DHCP relay agent for VLANs without specified DHCP servers

* Modify to work with Taoyu's minigraph/DB changes (#942)

* Reduce number of DHCP servers in sonic-cfggen unit tests from 4 to 2

* Remove isc-dhcp-relay sample output file from sonic-cfggen test, as we no longer generate that file

* Update Option 82 isc-dhcp-relay patch to load all interface name-alias maps into memory once at start instead of calling sonic-cfggen on each packet we relay

* Remove executable permission from Jinja2 template

* Set max hop count to 1 so that DHCP relay will only relay packets with a hop count of zero

* Replace tabs with spaces

* Modify overlooked sonic-cfggen call, use Config DB instead of minigraph

* Also ensure > 1 VLAN requires a DHCP relay agent before outputting to template

* Generate port name-alias map file using sonic-cfggen and parse that in lieu of parsing port_config.ini directly

* No longer drop packets with hop count > 0; Instead, drop packets which already contain agent info
2017-10-04 23:35:43 -07:00
Joe LeVeque
1cd9818fe9 [build]: sonic-utilities package depends on swsssdk; build as wheel and add build dependency (#1011)
* [build]: sonic-utilities package now depends on swsssdk; add build dependency

* Now building sonic-utilities Python package in wheel format

* Update sonic-utilities submodule

* Change output wheel name to match proper format
2017-10-04 19:50:39 -07:00
Qi Luo
646e836471 [swss]: Update swss-common/sairedis/swss submodules (#1008)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-03 23:07:05 -07:00
Shuotian Cheng
72e947621c [config-engine]: Fix bug multiple ports connecting to same neighbor (#1005)
The current DEVICE_NEIGHBOR format doesn't support multiple different
ports connecting with same neighbor. Thus the lldpd.conf file is not
generated correctly, causing missing information for LAG members.

This fix reverts the data structure in the previous version of
minigraph parser - using local port as the key and remote port/device
as the value of the map. Sample format is:

DEVICE_NEIGHBOR['Ethernet124'] = {
    'name': 'ARISTA04T1',
    'port': 'Ethernet1/1'
}

The corresponding unit test in test_cfggen is updated.
Add one more unit test for lldpd.conf.j2 verification.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-03 16:23:19 -07:00
Rodny Molina
7c326e3f1e [utilities]: Update sonic-utilities submodule (#1006) 2017-10-03 09:26:07 -07:00
Shuotian Cheng
b81f2f2fa3 [snmpagent]: Update sonic-snmpagent submodule (#1004)
* [mibs]: Fix bug module has no attribute 'get_index_from_str'

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-02 13:56:16 -07:00
Shuotian Cheng
486dfef732 [swss]: Update the ipinip.j2 template to specify the IPv4 loopback address (#998)
Use ipv4_loopback_addresses variable to store all IPv4 loopback addresses.
The source IP for encapsulation is chosen from one of the addresses.
The destination IPs for decapsulation is the list of the addresses.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-09-30 11:03:32 -07:00
Andriy Moroz
9efcc9c333 [swss]: Update swss/common submodules (#988)
* Update swss submodule reference
* Update swss-common submodule reference

This pull request introduces changes including
1. Use unified buffer configurations fro all Mellanox 27xx platforms
2. Refactor TableConsumable and optimize popping empty logics
3. Add SwitchOrch to deal with switch attributes changes
4. Refactor doAclTableTask and doAclRuleTask
5. Add PFC watchdog tables and runRedisScript function in common library

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-09-29 14:44:55 -07:00
Shuotian Cheng
f7a38e1f65 [snmp]: Update py-swsssdk/snmpagent submodules (#996)
sonic-py-swsssdk
- Commond utility functions for bridge/port mapping
snmp
- Update the code to use common library API for bridge/port mapping
2017-09-28 21:01:41 -07:00
Shuotian Cheng
cce2a36528 [snmp]: Update sonic-snmpagent submodule (#986)
[rfc4363]: Add key check logic for SAI bridge port objects (#38)
2017-09-25 20:01:42 -07:00
Shuotian Cheng
1ac10dfc6f [snmp]: Update sonic-snmpagent submodule (#978)
Introducing the fix for SAI 1.0 FDB entry fix
2017-09-22 00:52:15 -07:00
lguohan
0d978b5b21 [sairedis]: update sairedis submodule (#974) 2017-09-21 12:31:02 -07:00
pavel-shirshov
e0513d213b lacp runner will send lacp update right after it received SIGINT (#969) 2017-09-21 09:17:29 -07:00
Volodymyr Samotiy
763205ff7d [config]: Fix management interface configuration (#966)
* [config]: Fix management interface configuration

* [config]: Fix management interface configuration

* Fix comments
2017-09-20 23:55:50 -07:00
Shuotian Cheng
0c6fba6993 [utilities]: Update sonic-utilities (#968) 2017-09-20 12:39:36 -07:00
Prince Sunny
72f5d6bcb7 [interfaces]: Change MTU value to 9100 (#967)
* Updated MTU to the widely used value with other devices
2017-09-19 19:29:00 -07:00
Taoyu Li
5ba6f53eed Update sonic-utilities to be compatible with #942 (#965) 2017-09-18 18:46:51 -07:00
Shu0T1an ChenG
5e9b0a1207 Merge branch 'v1.0.3-backup' into github 2017-09-15 11:30:23 -07:00
Shu0T1an ChenG
48fd6fb4ec [swss]: Move swss/common/sairedis submodule to 201709 tag 2017-09-15 11:15:10 -07:00
Ying Xie
3cbc080f7b [sairedis]: update sairedis submodule head (#956)
This submodule update includes the deadlock fixes.
2017-09-15 11:15:04 -07:00
Taoyu Li
2e3975d6ed [config] Fix an issue that bgp asn data type is not consistent (#953)
* Fix an issue that bgp asn data type is not consistent from minigraph parser and DB

* Fix test typo
2017-09-13 21:23:06 -07:00
nikos-li
686e227dcc [frr]: RR client support in minigraph for FRR (#923) 2017-09-12 15:48:38 -07:00
Taoyu Li
c9cc7aea41 [configdb] Migrate minigraph configurations to DB (#942)
Modify minigraph parser output format so it fit DB schema
Modify configuration templates to fit new schema
Systemd services dependencies are modified so database starts before any configuration consumer
2017-09-12 14:13:27 -07:00
lguohan
48f1a638cb [sairedis]: revert deadlock fix in sonic-sairedis submodule (#934)
The deadlock fix in sonic-sairedis introduce other race conditions which
is more prevelant.
2017-09-05 20:55:07 -07:00
Ying Xie
1a4f039f55 [quagga] enable core dump for bgpd and zebra (#927)
* [core dump] pass unix time to coredump-compress script

Currently we only have program name (e.g. bgpd) and PID in the core file
name. PID could collide especially after docker restart or recreate.

Passing the unix time to coredump-compress so it could also add time to
the core file name.

* [utilities] include the change to coredump_compress script

* [quagga] enable core dump for bgpd and zebra

bgpd and zebra downgrade their privilege shortly after started. For that
sysctrl kernel.suid_dumpable needs to be set to 2, so that they can dump
core.

Note that fs.suid_dumpable SHOULD NOT be set to 1. Which will bypass all
system security.
2017-08-30 09:41:47 -07:00
Taoyu Li
e4502527d0 Revert "Migrate DEVICE_METADATA to db (#919)" (#928)
This reverts commit 44502b217b.
2017-08-29 17:03:31 -07:00
Taoyu Li
44502b217b Migrate DEVICE_METADATA to db (#919) 2017-08-29 10:47:25 -07:00
Shu0T1an ChenG
521de84830 Merge remote-tracking branch 'github/master' into v1.0.3-backup 2017-08-28 17:05:14 -07:00
Andriy Moroz
48b0beb7ff Port speed (#879)
* Add port speed configuration

* Add DeviceInfos support in minigraph parser

* Add cfggen test 'test_minigraph_ethernet_interfaces'

* Fixed PR comments

* Update sonic-swss submodule reference
2017-08-23 19:41:14 -07:00
lguohan
9a458d8434 [kernel]: update kernel submodule (#910) 2017-08-23 12:08:27 -07:00
Shu0T1an ChenG
a95f062a08 Merge remote-tracking branch 'github/master' into v1.0.3-backup 2017-08-23 12:05:22 -07:00
lguohan
af8a20d011 [submodule]: update sonic linux kernel (#906) 2017-08-22 18:04:02 -07:00
Ying Xie
d2120449d5 [sonic-sairedis] update sairedis submodule (#211, #212) (#904) 2017-08-22 13:54:10 -07:00
Joe LeVeque
7fca49e7df [sonic-utilities]: Update submodule to remove pager from CLI utils (#897) 2017-08-18 10:41:06 -07:00
Shuotian Cheng
f0cc414dff [SAI]: Remove the SAI submodule from buildimage repo (#893)
SAI is a submodule of sonic-sairedis repository. Remove the dependency
from this repository.
2017-08-16 13:47:20 -07:00
Shu0T1an ChenG
adbc9d102a Merge remote-tracking branch 'github/master' into v1.0.3-backup 2017-08-15 13:53:25 -07:00
Shuotian Cheng
693ad9c4ee [quagga]: Update sonic-quagga submodule (#892)
- [bgpd]: Enable forwarding state flag in graceful restart capability
- [debian]: Add autoreconf_clean
2017-08-15 12:10:43 -07:00
pavel-shirshov
c299fe472d Update sonic-utilities (#887) 2017-08-14 15:56:40 -07:00
Oleksandr Ivantsiv
232acbf217 [submodule] update sonic-swss submodule (#885) 2017-08-14 11:41:44 -07:00
Joe LeVeque
178fc032ae [sfputil]: Add support for SFP presence, low-power mode and reset (#877)
- Update sfputil plugins for Dell FORCE10-S6000, Arista 7050-QX-32, 7050-QX-32-S
2017-08-11 11:36:32 -07:00
Shu0T1an ChenG
df3436b80b [utilities]: Update sonic-utilities submodule
- [sfputil]: Refactor and add support for presence, low-power mode and reset
2017-08-10 19:24:43 -07:00
Shu0T1an ChenG
fa1ac0e05a [swss-common]: Update sonic-swss-common submodule
- [netlink]: Increase netlink buffer size
- [netlink]: Check return vode from nl_recvmsgs_default
- [select]: EINTR error hanlding
- [makefile]: Use full file names
2017-08-10 19:24:29 -07:00
Shu0T1an ChenG
c82868e631 [quagga]: Update sonic-quagga submodule
- [bgpd]: Enable forwarding state flag in graceful restart capability
- [debian]: Add autoreconf_clean
2017-08-10 19:03:26 -07:00
Shu0T1an ChenG
e13789c5af Merge remote-tracking branch 'github/master' into v1.0.3
Conflicts:
	platform/mellanox/mlnx-fw-upgrade.sh
	src/sonic-sairedis
	src/sonic-swss
2017-08-10 18:52:01 -07:00
Joe LeVeque
9d5adb993a [System logs]: Improvements to prevent filling /var/log partition (#865)
- Force log rotation at size thresholds only (no longer also rotating logs daily), allowing for more consistent archived log size
- Eliminate remaining duplicate log messages
- Cron facility now only logs to cron.log (was also logging to syslog)
- Debug, mail, news and user log facilities only log to syslog; no longer creating separate log files for these facilities
- Cron job that calls logrotate every minute now uses the main /etc/logrotate.conf file so as to check/rotate all logs every minute, not just the logs specified in the rsyslog file. Also redirecting output of this command to /dev/null to prevent "(CRON) info (No MTA installed, discarding output)" messages in cron.log due to lack of a mail service
- Delete archive files based on remaining /var/log partition space. Note that this solution currently requires a minimum /var/log partition size of 32MB to function correctly
- Update sonic-sairedis and sonic-swss submodules to incorporate recording file name changes
- Add .screen file to .gitignore (unrelated)
2017-08-10 16:24:57 -07:00
Taoyu Li
847a948069 Update sonic-utilities pointer to support reload minigraph (#871) 2017-08-08 21:40:31 -07:00
Taoyu Li
a2fe0212be [ConfigDB] Move all BGP configuration into DB (#861)
- BGP data read from minigraph.py now match DB schema
- BGP templates are updated
- bgpcfgd can now deal with runtime neighbor create/delete
2017-08-08 16:23:58 -07:00
Qi Luo
618b25f18c Squash merge v1.0.3 branch onto master 2017-08-02 22:28:17 +00:00
Taoyu Li
b6efe438b5 Introduce ConfigDB (#808)
* [cfggen] Support reading from and writing to configdb
* [bgp] Move bgp_admin_state to configdb, support dynamic admin state change
* [sonic-utilities] Adapt configDB for admin status, support config save and config load
2017-08-01 19:02:00 -07:00
Shuotian Cheng
4d5420b865 [minigraph]: Ignore eth0 IPv6 addresses (#841)
- IPv6 is not supported on management interface
- Add unit test
2017-07-25 07:09:23 -07:00
Oleksandr Ivantsiv
7ba0230088 [submodule] update sonic-swss submodule (#833) 2017-07-24 12:48:19 +03:00
lguohan
c075033bb6 [submodule] update sonic-swss submodule (#817) 2017-07-19 01:14:03 -07:00
JipanYanga
481bd6b46b Update sonic-linux-kernel submodule (#812) 2017-07-17 23:19:16 -07:00
sihuihan88
1176508858 [bgpd]: support multiple peer range in single peer group (#807) 2017-07-13 15:03:10 -07:00
Joe LeVeque
f49cac086f Remove extra trailing newlines at EOF (#804)
Files now end with a single newline
2017-07-12 20:54:37 -07:00
Qi Luo
c95d4e9ceb Update submodule sonic-snmpagent (#797) 2017-07-11 16:53:30 -07:00
Qi Luo
552b57d61e Update submodule sonic-snmpagent (#795) 2017-07-07 14:26:51 -07:00
Andriy Moroz
1248cc80e7 Fix ACL json translation (#794)
* Fix ACL json translation

* Fix json translation tests
2017-07-07 11:40:35 -07:00
Marian Pritsak
51cab5d4ed [config]: Add SONIC_CONFIG_MAKE_JOBS (#784)
* [config]: Add SONIC_CONFIG_MAKE_JOBS

This config option allows user to specify -j value that will be passed
to each package build.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-07-07 15:32:50 +03:00
Shuotian Cheng
a74b3a1eb7 [teamd]: Fix Jinja2 template for calculating min_ports (#791)
In Jinja2, '|' cannot be treated directly as piping operator. The
operator precedence of '|' is higher than '*'. The filter only applies
to the value just before it. Group the expression to make sure that the
filter is applied to the outcome of the expression.

Update the unit test to add such case.
2017-07-06 16:33:24 -07:00
Taoyu Li
90f21d403c [cfg engine] Add support to read device description xml (#775)
[cfg engine] Add support to read device description xml
2017-07-06 15:28:23 -07:00
Joe LeVeque
a697e8efcf [docker-base]: Build supervisor package from source in order to update to v3.3.2 (#777)
- Resolves issue #762
2017-07-06 10:32:27 -07:00
lguohan
e68d9a2a59 [igb]: change download url to azure storage url (#770) 2017-06-29 01:38:05 -07:00
lguohan
15f245c1c9 [platform]: add front panel index in port_config.ini for s6100 (#752)
* add front panel index in port_config.ini
2017-06-27 20:34:34 -07:00
pavel-shirshov
2d97c6a0a7 [sonic-swss-common]: Submodule update (#759) 2017-06-26 21:28:16 -07:00
Oleksandr Ivantsiv
fd730d8037 [submodule]: update sonic-swss (#755) 2017-06-26 08:58:53 -07:00
Joe LeVeque
017eea8a87 [DHCP Relay]: Add support for custom Option 82 circuit_id of the form '<hostname>:<portname>' (#747)
* Add docker-dhcp-relay/Dockerfile to .gitignore

* Add isc-dhcp-relay .deb package to image build process, along with my Option 82 patch

* Install custom isc-dhcp-relay in dhcp_relay docker

* Install isc-dhcp-relay build dependencies in sonic-slave Docker container

* Copy the built .deb package to the destination directory

* Add dependencies for isc-dhcp-relay

* Change Option 82 string to '<hostname>:<portname>'

* Install dependencies of .deb files implicitly in Dockerfile

* Remove unused line

* Remove unnecessary space
2017-06-24 12:05:04 -07:00
Taoyu Li
00c494f023 [sonic-cfggen]: Add default IP deny rule in translate_acl (#734)
- Add IPv4 implicit rule: deny ip any any
  This implicit rule has lowest priority and ensures that
  the device denies all unmatched IP traffic.
2017-06-23 01:08:25 -07:00
Shuotian Cheng
5c852704fe [sonic-cfggen]: Fix minigraph.py when port_alias_map absent (#738) 2017-06-22 14:34:15 -07:00
Taoyu Li
a8e3d9745f [sonic-cfggen]: Support multiple input yaml files with -y option (#729) 2017-06-21 23:49:15 -07:00
sihuihan88
3268946de5 [BGPD]: add bgp dynamic neighbor configuration (#708)
* add bgp dynamic neighbor configuration

* [bgpd]: update as comments

* update as comment

* update to deployment_id_asn_map

* minor change
2017-06-21 18:52:50 -07:00
Taoyu Li
95906a6490 [installer] Copy old config files rather than only minigraph (#730) 2017-06-21 11:02:25 -07:00
lguohan
dd104e1b52 [submodule]: update sonic-platform-daemons submodule (#731) 2017-06-20 22:45:36 -07:00
sihuihan88
cc218b3451 [sonic-quagga]:update submodule (#718)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2017-06-20 12:22:30 -07:00
lguohan
fe56389a0f [submodule]: update sonic-platform-daemons (#722) 2017-06-19 22:16:21 -07:00
lguohan
35cec022e6 [submodule]: update sonic-swss (#719) 2017-06-19 11:17:30 -07:00
lguohan
4a780f4a6a [submodule]: update swss/sairedis/swss-common submodule (#716)
fix bug for logrotate sairedis log
2017-06-18 16:54:13 -07:00
Andriy Moroz
7267da3ff8 [submodule]: Update sairedis submodule (#712)
Include fix for saithrift port split parsing
2017-06-16 00:35:36 -07:00
pavel-shirshov
b616a33ff3 [sonic-cfg]: Use vlanid to generate sonic vlan name (#695)
* Use Vlan{{vlanid}} schema name of sonic vlans
2017-06-13 11:37:43 -07:00
Qi Luo
94f491ecb8 [submodule]: Update submodule sonic-snmpagent (#698) 2017-06-12 21:23:27 -07:00
Shuotian Cheng
023a5b9714 [sonic-cfggen]: translate_acl tool adds TCP mask (#697)
In orchagent, the TCP_FLAGS expects both value and mask as the input.
Right now, translate_acl tool only support one TCP flag and generate
the ACL with both value and mask equal to the flag. This rule will
match packets that have this specific flag set regardless of the other
flags.
2017-06-12 21:22:46 -07:00
Qi Luo
f1ea4aa34f Update submodule sonic-snmpagent (#694) 2017-06-12 16:00:46 -07:00
Joe LeVeque
d094ceecc2 [docker-platform-monitor]: Add LED control daemon and plugin for x86_64-arista_7050_qx32 platform (#691)
* Add files for building ledd package; add ledd to docker-platform-monitor; Control platform monitor docker using supervisord

* Add sonic-platform-daemons submodule

* Rename ledd.mk -> sonic-ledd.mk

* Add led_control.py plugin for x86_64-arista_7050_qx32 platform

* Rename Dockerfile -> Dockerfile.j2

* Fix build

* Remove blank line
2017-06-10 22:05:11 -07:00
Qi Luo
942e2062af Update submodule sonic-snmpagent (#687) 2017-06-09 08:40:14 -07:00
Marian Pritsak
820e7aafd0 [docker-teamd]: Explicitly set LAG hwaddr (#664)
* [docker-teamd]: Explicitly set LAG hwaddr

Team device is initially created without any members and has a random HW
address, which is later changed to port's address. This configuration
sets team device's address explicitly to base MAC to avoid reassignment.

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Update teamd config tests with hwaddr

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Align HW addr byte for Centec and Mellanox

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Change HW addr to unicast in config tests

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-06-06 16:13:38 -07:00
sihuihan88
aabe9677f2 [sonic-utilities]: update submodule (#672) 2017-06-05 22:38:47 -07:00
Shuotian Cheng
d8c55840d0 [swss]: Update swss/common and add --batch_size 8192 option to orchagent (#668) 2017-06-04 01:35:47 -07:00
Shuotian Cheng
86f660298a [swss]: Update swss/sairedis/common submodules (#654) 2017-06-01 16:18:53 -07:00
pavel-shirshov
a4f5ae799a [src/swss]: update submodule (#657)
* Update swss
2017-06-01 11:09:21 -07:00
pavel-shirshov
01a716cce2 [src/ptf update]: Submodule update (#652)
* Update ptf submodule with ptf_nn_agent fixes
2017-05-31 10:48:00 -07:00
Joe LeVeque
c3ef102547 [ptf]: Update PTF submodule to include DHCP packet creation changes (#648) 2017-05-30 19:29:52 -07:00
Shuotian Cheng
8c11cdfb5d [swss]: Update swss/sairedis/common submodules (#646) 2017-05-30 19:29:25 -07:00
Joe LeVeque
b8c11bccf2 [DHCP Relay]: Listen on all front panel, VLAN and PortChannel interfaces with IPv4 addresses (#645)
* DHCP relay now listens on all front panel, VLAN and PortChannel interfaces with IPv4 addresses
* Add sample isc-dhcp-relay output file
2017-05-30 18:29:18 -07:00
pavel-shirshov
7dfbca6497 Fix SAI submodule id (#647) 2017-05-30 13:21:44 -07:00
pavel-shirshov
2e582d22d1 update SAI and sonic-utilities submodules (#644)
* Update SAI and sonic-utilites submodules
2017-05-30 12:56:42 -07:00
Shuotian Cheng
e6bb4b20a1 [swss]: Update submodules and mount /var/log to swss docker (#636)
- [swss]: Update sairedis/swss/common submodules
- [orchagent]: Mount /var/log folder and use the folder to save recording files
- [orchagent]: Use -d to specify the folder path
2017-05-26 17:56:29 -07:00
wadelnn
31fbee21d0 Update sonic-linux-kernel submodule (#609)
Signed-off-by: Wade He chihen.he@gmail.com
2017-05-24 14:56:39 -07:00
Qi Luo
528effcace Update submodule (#629) 2017-05-24 13:49:43 -07:00
Joe LeVeque
a2eda30a03 [docker-syncd-*]: Properly manage syncd with supervisord (#617)
- This PR allows supervisord to log syncd exit events to syslog 
 - Syncd dockers now are built from docker-config-engine instead of docker-base
 - Supervisord in all syncd dockers now call syncd_start.s which is installed by sonic-sairedis repo
2017-05-24 11:53:38 -07:00
Andriy Moroz
5cc45a991d [swss]: Update swss submodule (#627)
[portsorch]: Add set port MTU function (#218)
2017-05-24 09:02:46 -07:00
sihuihan88
9669fa8e08 [utilities]: Update submodule (#623) 2017-05-23 12:09:01 -07:00
Shuotian Cheng
8b9bc6a5a4 [swss]: Update swss/common submodules (#614) 2017-05-19 11:27:46 -07:00
Joe LeVeque
3e5adf0180 [sonic-utilities]: Bump version to 1.1 (#612) 2017-05-18 20:07:31 -07:00