Commit Graph

270 Commits

Author SHA1 Message Date
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
pavel-shirshov
14fe4bf6f8 Update sonic-snmpagent (#610) 2017-05-18 14:45:04 -07:00
Joe LeVeque
72b8284e57 Update sonic-utilities submodule; Add commands to sudoers as necessary (#608) 2017-05-17 13:02:17 -07:00
Joe LeVeque
910e666798 Add /usr/bin/generate_dump to sudoers file; Update sonic-utilities submodule (#603) 2017-05-15 14:32:39 -07:00
pavel-shirshov
d296ceadd5 [swss] submodule update (#604) 2017-05-15 11:45:41 -07:00
pavel-shirshov
1c767356c5 swss submodule update (#590) 2017-05-11 10:28:38 -07:00
lguohan
0b8c06b9e2 [image]: re-patch the support for Broadcom 54616 phy for intel igb driver. (#574)
Previous patch is not correct.
2017-05-10 22:48:04 -07:00
Joe LeVeque
6393afdb0b [sonic-utilities]: Update submodule (#581) 2017-05-10 12:39:00 -07:00
lguohan
37fc569082 [snmpagent]: update sonic-snmpagent submodule (#578) 2017-05-08 21:33:59 -07:00
Shuotian Cheng
2810f25635 [swss]: Update swss/common submodules (#571)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-05-05 17:19:19 -07:00
lguohan
1da68f9881 [swss]: update submodule (#568) 2017-05-03 09:49:45 -07:00
lguohan
e90d78a143 [quagga]: update quagga submodule (#567) 2017-05-03 09:47:40 -07:00
Qi Luo
d6aef59ee8 [swss-common]: Update swss-common submodule (#564) 2017-05-02 10:34:50 -07:00
Shuotian Cheng
54dda14af3 [swss]: Update swss submodule (#565) 2017-05-02 06:21:41 -07:00
lguohan
72a039b1de [aboot]: refactor boot0.j2 to support one image SONiC-to-SONiC upgrade (#557)
* [aboot]: refactor boot0.j2 to support one image upgrade

* support sonic_installer in aboot
2017-05-01 15:16:33 -07:00
Joe LeVeque
611de29ef7 Relocate syncd.conf from hwsku directory to platform directory (#559) 2017-05-01 15:12:11 -07:00
Qi Luo
b488c0874d [submodule]: Update submodule sonic-swss-common (#556) 2017-04-29 00:14:53 -07:00
pavel-shirshov
9dd996b3e9 Update py-swsssdk (#552) 2017-04-28 11:20:40 -07:00
Marian Pritsak
f98e2f5082 [sonic-utilities]: Update submodule (#549)
New revision includes sonic_installer utility.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-28 09:03:21 -07:00
lguohan
b097492b8f [thrift]: Disable auto test in the package build (#545) 2017-04-27 16:07:04 -07:00
Shuotian Cheng
dfa72077c9 [swss]: Update submodule (#546)
- [aclorch]: Fix ACL range attribute enabling (#197)
- [aclorch]: Fix the space and change the log level to INFO

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-27 15:59:46 -07:00
pavel-shirshov
cc9a7982ed Update SAI submodule version (#547) 2017-04-27 13:03:06 -07:00
sihuihan88
0bb66ddf0c [sonic-utilities]:update submodules (#537) 2017-04-26 06:12:07 -07:00
lguohan
147b89fa43 [sonic-utilities]: update sonic-utilities to use redis-load-dump to dump redis db data (#530) 2017-04-25 11:07:54 -07:00
Shuotian Cheng
ced39ccb4c [swss]: Update submodule (#529)
- [portsortch]: Convert the oper_status to string and remove oper_status in portsyncd
- [routeorch]: Remove the logic of deciding if to add temp route or not

Signed-off-by: stcheng <stcheng_89@hotmail.com>
2017-04-22 21:04:07 -07:00
sihuihan88
07bc0092a9 [sonic-utilities]:update submodules (#525) 2017-04-21 17:22:10 -07:00
Oleksandr Ivantsiv
c7ea3470ed [swss]: Generate config files for Everflow and IPinIP from minigraph (#507)
[swss]: Generate config files for Everflow and IPinIP from minigraph
 - Add Everflow DST IP to minigraph file
 - Extend minigraph.py to support Everflow
 - Add templates file for Everflow and IPinIP configuration
 - Add config.sh for swss docker to generate config files
2017-04-21 14:28:29 -07:00
pavel-shirshov
4fe9416a14 Update sairedis submodule (#526) 2017-04-21 14:04:06 -07:00
pavel-shirshov
2c4c6e9ceb Use syncd-rpc for docker-syncd-rpc (#522)
* Use syncd rpc for docker-syncd-rpc. Create docker-syncd-rpc for cavium and centec
2017-04-20 14:37:09 -07:00
Rodny Molina
d30fbf1d72 [build]: Adding support for Free-Range-Routing stack. (#510)
- Extending SONiC building infrastructure to provide users
           with greater flexibility, by allowing them to elect a
           routing-stack different than the default one (quagga). The desired
           routing-stack will be defined in rules/config file.

         - As part of these changes I'm adding support for
           Free-Range-Routing (FRR) stack. Quagga will continue to be
           the default routing-stack.

Signed-off-by: Rodny Molina <rodny@linkedin.com>
2017-04-20 09:12:27 -07:00
Shuotian Cheng
fb01755d48 [swss]: Update sonic-swss to enable SAI_NUM_ECMP_MEMBERS option in sai.profile (#518)
- Update Broadcom libsaibcm debian package to 2.1.5.1-2
- Add SAI_NUM_ECMP_MEMBERS=32 to two Trident II platforms
- Update sonic-swss submodule version to support such changes

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-19 19:34:27 -07:00
pavel-shirshov
ebd9af97c4 Update SAI version (#512) 2017-04-17 15:49:47 -07:00
lguohan
fae53f7ea2 [build]: add commit id and build number in sonic_version (#508) 2017-04-16 01:17:22 -07:00
Oleksandr Ivantsiv
fed900fdc2 [sonic-swss]: Update submodule pointer (#503)
* [sonic-swss]: Update submodule pointer

* [sonic-swss-common]: Update submodule pointer
2017-04-14 09:43:54 -07:00
sihuihan88
f76e700062 [sonic-utilities]: Update the submodule (#498) 2017-04-12 15:45:50 -07:00
sihuihan88
5585221890 [sonic-utilities]: Update submodule (#495) 2017-04-11 17:23:04 -07:00
sihuihan88
ec73735d21 [sonic-cfggen]: Move get_machine_info function to sonic_platform.py (#489)
* Move get_machine_info to lib
* Add get platform info API
* Create sonic_platform.py

Signed-off-by: Sihui Han <sihan@microsoft.com>
2017-04-11 13:04:21 -07:00
Taoyu Li
3bd3549818 [cfggen] Fix a bug when portchannel has >2 members (#493) 2017-04-10 22:08:54 -07:00
sihuihan88
263c1bf852 [sonic-utilities]: Update submodule (#488)
[portstat]: return N/A if no counter info exists (#29)
2017-04-07 11:28:07 -07:00
Taoyu Li
ebed2d0182 [config/acl] Support everflow config translation (#468) 2017-04-07 01:10:05 -07:00
Joe LeVeque
0db93789db [sonic-utilities]: Update submodule to include CLI fixes (#484) 2017-04-06 23:40:12 -07:00
Shuotian Cheng
84a8b0d1f7 [minigraph]: Fix a bug of minigraph_neighbors (#485)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-06 14:59:30 -07:00
Shuotian Cheng
f4bc4a68b8 [sonic-cfggen]: Remove extra Nones when return (#481)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-05 14:25:59 -07:00
Shuotian Cheng
bd6976a6fa [interfaces]: Support ifup/ifdown on VLAN/LAG members (#462)
- This change is added so that when doing ifdown/ifup to flap the
  interface, it will success even when the interface is already
  enslaved as a member of VLAN.
- LAG members do not have IP addresses. Thus ifconfig command is
  needed.
- Do not display comments when not necessary.

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-04 01:41:42 -07:00
Taoyu Li
8391d7f8b5 [snmp] Fix a bug in SNMP alias mapping (#473)
* [snmp] Fix a bug in SNMP alias mapping Which was introduced in #448.
2017-04-03 21:34:18 -07:00
pavel-shirshov
4ff0f865b6 Update sonic-utilities (#475) 2017-04-03 17:01:12 -07:00
Taoyu Li
8c76556efb Re-commit PR #432 (SHA 4546372) (#474)
* [config/acl] Get ACL config from DHCP and load it in swss container (#432)
* Temporarily disable DHCP option 226
2017-04-03 16:12:32 -07:00
pavel-shirshov
ed746c100c Update sairedis and utilities to get fast-reboot support (#467) 2017-03-31 23:51:09 -07:00
Taoyu Li
fed908fc6b [config-engine] minigraph.py refactoring (#448)
* Refactor minigraph.py
See description in https://github.com/Azure/sonic-buildimage/pull/448 for detail
2017-03-30 15:25:31 -07:00
Joe LeVeque
71d299bed4 [swsssdk]: Update nomenclature: 'sswsdk' -> 'swsssdk' (#445) 2017-03-30 11:51:05 -07:00