Commit Graph

224 Commits

Author SHA1 Message Date
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