Commit Graph

742 Commits

Author SHA1 Message Date
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
Oleksandr Ivantsiv
350718ee77 [Mellanox]: Update SAI version (#740)
- Initialize ECMP default hashing with IPv6 packets
2017-06-22 21:27:49 -07:00
Shuotian Cheng
d1b12dc0ca [swss]: Sleep 5 min regardless of arp_update return code (#743)
- arp_update return code is not guaranteed to be true/false.
  When there is no VLAN, arp_update will return true.
  When there are VLANs, arp_update will return false because the
  command arping returns 1 due to the option '-w 0'.
- This script should be run every 5 minutes regardless of the return
  code.
2017-06-22 21:26:33 -07:00
lguohan
4bdcac8e4f [bgp]: move allowas-in into ipv6 section to enable allowas-in for ipv6 (#741) 2017-06-22 19:50:24 -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
Joe LeVeque
629362cad7 [docker-syncd-brcm]: Sleep to allow syncd to create socket before calling bcmcmd (#733)
* [docker-syncd-brcm]: Sleep to allow syncd to create socket before calling bcmcmd

* Instead of fixed sleep interval, continually check for presence of socket
2017-06-21 18:53:28 -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
Roy Lee
66859385b6 Remove exsiting sonic-platform-modules-accton and apply submodule add… (#717)
* Remove exsiting sonic-platform-modules-accton and apply submodule adding on this folder.

* Remove redundant commnet

* Remove folder platform/broadcom/sonic-platform-modules-accton.

* Add this dir for submodule.
2017-06-20 20:52:16 -07:00
Shuotian Cheng
c4133e166b [Broadcom]: Update SAI package to support Accton-AS7712-C32 (#720) 2017-06-20 20:50:51 -07:00
Samuel Angebault
6feef14f2e [platform]: Update sonic-platform-modules-arista (#727) 2017-06-20 20:39:42 -07:00
Joe LeVeque
c2c232a161 Add Broadcom LED microprocessor initialization for Dell S6000 (#726)
* Add Broadcom LED microprocessor initialization for Dell S6000

* Increase bcmcmd timeout to 60 seconds
2017-06-20 16:37:06 -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
894976e155 [platform]: turn on/off four leds for breakout-able front panel ports (#723)
turn on/off four leds for breakout-able front panel ports on arista 7050 qx32 platform
2017-06-19 22:16:50 -07:00
lguohan
fe56389a0f [submodule]: update sonic-platform-daemons (#722) 2017-06-19 22:16:21 -07:00
lguohan
493edb4584 [image]: add debian security update in the apt source list (#724) 2017-06-19 22:16:05 -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
lguohan
2f231f3653 [image]: expand dockerfs.tar.gz directly on to disk without intermediate file (#715) 2017-06-18 15:52:49 -07:00
lguohan
897cc2bbb5 [platform]: fix file mode for acction platform to create clean build (#714) 2017-06-18 14:38:31 -07:00
sihuihan88
6867458058 [docker-ptf]: Install exabgp in docker ptf (#709) 2017-06-16 07:25:40 -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
lguohan
7472cd303e [image]: load platform specific settings in sonic-to-sonic upgrade (#710) 2017-06-16 00:05:41 -07:00
Polly Hsu
c1c8a122be [Accton]: Add a new supported device and platform, AS7712-32X (#662)
* platform/broadcom: Add a new supported device and platform, AS7712-32X

* Switch Vendor: Edge-core
* Switch SKU:  AS7712-32X
* ASIC Vendor: Broadcom
* Swich ASIC: Tomahawk
* Port Configuration: 32x100G
* SONiC Image: SONiC-ONIE-Broadcom

  Signed-off-by: polly_hsu@accton.com
2017-06-15 10:33:42 -07:00
Haiyang Zheng
9041288359 [build_debian]: Add dbus package to update timezone (#702)
Signed-off-by: Hiayang Zheng haiyang.z@alibaba.inc
2017-06-15 10:31:13 -07:00
Qi Luo
88b98c7b89 [image]: Update login message (#706) 2017-06-14 15:18:02 -07:00
Shuotian Cheng
8843c6f192 [logrotate]: Add /var/log/swss/*.rec to logrotate target (#703)
SwSS record files in /var/log/swss/ folder get larger and
larger and were not rotated. Add them here to rotate these files.
2017-06-14 07:05:34 -07:00
lguohan
e46cf29f0b [sonic-mgmt]: fix paramiko to version 2.1.2 (#704) 2017-06-13 19:16:43 -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
lguohan
d9cf398855 [pmon]: add swsssdk dependency for pmon docker (#700) 2017-06-12 21:13:11 -07:00
Qi Luo
f1ea4aa34f Update submodule sonic-snmpagent (#694) 2017-06-12 16:00:46 -07:00
Taoyu Li
5e6620e19e [bgp] Save bgp admin state (#690)
* [bgp] Save admin state and set default state to shutdown

* Set default behavior to no shutdown

* Add build option SHUTDOWN_BGP_ON_START

* Script change for default admin state to be on

* Address CR comments to bgp_neighbor script

* Fix script bug
2017-06-12 11:05:22 -07:00
Qi Luo
c7908e1d42 [slave]: remove apt-get clean (#693) 2017-06-11 11:46:17 -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
pavel-shirshov
390591de90 [docker-bgp]: Use address-family ipv6 for ipv6 vlan addresses (#692)
* Fix SAI submodule id

* Fix bgpd template. Use v6 address family for vlan ipv6 addr
2017-06-10 17:05:48 -07:00
Qi Luo
942e2062af Update submodule sonic-snmpagent (#687) 2017-06-09 08:40:14 -07:00
Marian Pritsak
30db4ec191 [slave.mk]: Move initialization of ENABLE_SYNCD_RPC up (#680)
ENABLE_SYNCD_RPC should be initialized before all recipes are included
in order for them to be able to use this variable

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-06-08 18:24:28 -07:00
lguohan
bc5bca66cc [dockerbase]: remove apt-get clean (#685) 2017-06-08 02:47:53 -07:00
Marian Pritsak
3903b45d41 [teamd.sh]: Remove LAG interfaces on exit (#643)
Use -k option for teamd to properly remove LAG interfaces when docker is
exiting.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-06-08 01:53:51 -07:00
Taoyu Li
cefd024c26 Kill dhclient when reconfig interfaces (#683) 2017-06-08 01:50:04 -07:00
lguohan
a7de6ebe24 [dockerbase]: make sure /var/cache/apt/archives directory exists (#684) 2017-06-08 00:26:42 -07:00
lguohan
ea4dfa48c9 Revert "[baseos] Avoid disconnecting mgmt when re-cfg interfaces" (#681)
This reverts commit e74196cd75.
2017-06-07 10:37:49 -07:00
wadelnn
50aba596a9 [platform]: Update submodule platform/broadcom/sonic-platform-modules-ingrasys (#670)
* Update submodule platform/broadcom/sonic-platform-modules-ingrasys

* Fixed FAN Status Setup Error.
* Add Drivers deinitialization feature.
* Allow for updating drivers on a running system.
* Let fans returned to full speed when driver uninstalled.
* Change S8900-64XC fancontrol config
* Delete S9100 syncd.conf

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

* Update submodule
* Fixed build error in fsroot on different kernel versions between host and rootfs.
* Fixed Read HW Revision in CPLD.
* rmmod check to avoid error.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-06-07 10:29:19 -07:00
lguohan
67acc0171b [platform]: update platform modules for dell s6100 and z9100 (#679) 2017-06-07 00:41:25 -07:00
Qi Luo
ec273c8892 Disable snmpd native ipCidrRouteTable implementation (#675)
The SNMP subagent implements ipCidrRouteTable. If there is no nexthops
for default route, ie. switch isolated, the SNMP subagent will response
'no instance'. Then snmpd will response kernel routes, which include
non-front panel interfaces. To remove snmpd native implementation, we
only expose SNMP subagent's implementation.
2017-06-06 22:58:58 -07:00
Taoyu Li
e74196cd75 [baseos] Avoid disconnecting mgmt when re-cfg interfaces (#553)
* [baseos] Avoid disconnecting mgmt when recfg interfaces

* Kill dhclient after interfaces-config
2017-06-06 17:12:26 -07:00