Commit Graph

270 Commits

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