Commit Graph

1054 Commits

Author SHA1 Message Date
SuvarnaMeenakshi
fad2d47421 [systemd-generator]: Fix dependency update for multi-asic platform (#4820)
* [systemd-generator]: Fix the code to make sure that dependencies
of host services are generated correctly for multi-asic platforms.
Add code to make sure that systemd timer files are also modified
to add the correct service dependency for multi-asic platforms.

Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>

* [systemd-generator]: Minor fix, remove debug code and
remove unused variable.
2020-07-05 15:26:07 -07:00
Abhishek Dosi
16d39c6c19 [submodule update] sonic-utilities
Fix for command. show interface transceiver eeprom -d Ethernet (#955)
Updated natshow script to support DNAT Pool changes (#921)
2020-06-22 16:29:36 -07:00
Qi Luo
817ce94215 Fix bug: check port alias even when port_config_file parameter is not provided (#4787) 2020-06-20 08:11:02 -07:00
abdosi
c480de4769 [Submodule update] sonic-dbsyncd (#4801)
lldp: For multi-npu platforms make sure to add Backplane Interface also
as Interface Match List.
2020-06-20 08:09:38 -07:00
judyjoseph
a6877ad1b5
Using (pci) device id to identify the ASIC on sai_switch_create (#4705)
* Update to sonic_cfggen and utilities to populate the (pci) device id in the "asic_id" field in the DEVICE_METADATA. This Id is parsed from the file "asic.conf" file in the device/<platform> dir. The format of entries are  eg:  for a 2 ASIC platform.
DEV_ID_ASIC_0=03:00.0
DEV_ID_ASIC_1=04:00.0
 
Going forward will use this device id as the asic instance ID passed to syncd/sai while doing create_switch. Current support is limited, supports only one TD2 platform.
2020-06-17 18:23:08 -07:00
Abhishek Dosi
1d384be3d3 [submodule update] sonic-sairedis
[syncd] Use steady clock for TimerWatchdog (#613)
2020-06-17 10:15:39 -07:00
Abhishek Dosi
bce65bbd32 [submodule update] sonic-platform-common
[eeprom] Add try-except to catch the IOError (#85)
[sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed
 to read from it (#81)
2020-06-16 10:12:00 -07:00
Abhishek Dosi
a30a2cebcf [submodule update] sonic-swss-common
Add missed BGP tables into the schema (#351)
2020-06-16 10:01:55 -07:00
Abhishek Dosi
85eb651d17 [submodule update] sonic-platfrom-daemons
[syseepromd] Prevent the syseepromd from termination (#56)
 [thermalctld] Fix invalid warning status (#58)
2020-06-16 10:00:44 -07:00
Abhishek Dosi
96a8e24055 [Submodule update] sonic-swss
Revert "[portsorch] Enable port-level buffer drop counters (#1237)"
(#1308) Add more log message, fix test code (#1239)
2020-06-16 09:12:41 -07:00
Abhishek Dosi
c656b4c582 [Submodule update] sonic-util
[201911][thermal control] Backport changes from master branch (#929)
     [201911][config] Support abbreviation (#933)
       Add 'hw-management-generate-dump.sh' to 'show techsupport'
       command (#934)
       [fwutil]: Update fwutil to v2.0.0.0. (#942)
       Fixes bug for PFCWD feature parameters (#838)
     Fixed fast-reboot for BFN platform (#871)
     [config] Add 'interface transceiver' subgroup with 'lpmode' and
     'reset' subcommands (#904)
      [warm-reboot]: added pre-check for ISSU file (#915)
       [config] Don't attempt to restart disabled services (#944)
2020-06-16 09:09:22 -07:00
Dong Zhang
143e4f524c [MultiDB] Add REDIS_TIMEOUT_MSECS back which is removed by mistake (#4757) 2020-06-16 08:19:38 -07:00
Prince Sunny
b4f45e9c15 Submodule update - sonic-restapi (#4749) 2020-06-16 08:16:11 -07:00
Joe LeVeque
42bc14f44c [systemd] Relocate all SONiC unit files to /usr/lib/systemd/system (#4673)
This will allow us to disable services and have it persist across reboots by using the `systemctl mask` operation
2020-06-16 08:12:47 -07:00
Junchao-Mellanox
0a70571011
[201911][thermal control] Backport feature from master branch (#4677)
Backport thermal control feature from master branch to 201911 branch by cherry-picking commits and manually resolving conflicts.
2020-06-08 11:20:43 -07:00
Abhishek Dosi
b5a419e1c8 [submodule update] sonic-swss
Corrected the copp rule as per NAT HLD (#1300)
2020-06-07 20:47:51 -07:00
Kebo Liu
fe8d4616e3
[submodule] Update sonic-linux-kernel pointer to pick up new kernel patches (#4696) 2020-06-04 11:55:33 +03:00
Abhishek Dosi
007eeec0e0 [Submodule update] sonic-util
Make sure db_migrator is run after all config are loaded during (#926)
Vnet alias mapping (#924)
Changes to make lldp show command for multi-npu platforms. (#914)
[Mellanox] Fix thermal control issue: use natural sort for fan
status and thermal status (#836)
[Mellanox] add document for thermal control related cli (#832)
2020-06-03 15:51:28 -07:00
Abhishek Dosi
8a66d9a902 [Submodule update] sonic-swss-common
Fix memory leak in pyext when Selectable is returned to Python (#343)
2020-06-03 15:50:32 -07:00
Abhishek Dosi
3530695ae7 [Submodule update] sonic-swss
[aclorch] Add support for creating ingress and egress MIRROR tables
 concurrently (#1286)
[proxy_arp] Implement proxy ARP feature (#1302)
Fix LAG member test case (#1304)
[orchagent] Set default MTU for the underlay loopback interface (#1299)
2020-06-03 15:49:05 -07:00
Sumukha Tumkur Vani
6ca112e7e6 Update sonic-restapi (#4692)
Auto restart restapi server after cert rollover
2020-06-03 15:40:30 -07:00
Sumukha Tumkur Vani
a693f02362 Read cloudtype info from minigraph (#4642) 2020-05-27 18:08:34 -07:00
Tyler Li
16d9fc8848 Fix vrf test failed after frr update to 7.2 (#3763) 2020-05-27 07:11:23 +00:00
Nazarii Hnydyn
12fb95c561
[201911][sonic-platform-common]: Advance submodule (#4635)
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
2020-05-23 12:21:16 -07:00
Abhishek Dosi
6ebc79e297 [submodule update] sonic-rest API's
PR#39  Setup module versioning
Add support for get all Vlans (#37)
2020-05-21 22:20:18 -07:00
Abhishek Dosi
7b5fb95fc7 [submodule update] sonic-util
Revert "[config] Add 'interface transceiver' subgroup with 'lpmode' and
 'reset' subcommands (#904)"
  Multi-asic changes for config bgp commands and utilities. (#910)
2020-05-20 22:44:14 -07:00
Abhishek Dosi
a197dd46e0 [submodule update] sonic-swss with PR
[vnet] Fix IP2ME route creation logic for BITMAP VNET interface (#1284)
2020-05-20 22:44:14 -07:00
arlakshm
fd2831c15c [config]: Fix the device type and internal bgp session status for multi NPU platforms (#4600)
* The following changes for multi-npu platforms are done
- Set the type in device_metadata for asic configuration to be same as host
- Set the admin-status of internal bgp sessions as up
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
2020-05-20 22:44:14 -07:00
Qi Luo
1f3091c5e1
[minigraph] Support FECDisabled in minigraph parser (#4556) (#4624)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2020-05-20 16:23:16 -07:00
Abhishek Dosi
7234bc120a [Submodule update] sonic-utlities with PR's
[201911][show] Fix abbreviations for 'show ip bgp ...' commands (#909)
Changes to support acl-loader and mirror-session config commands for
multi-npu platforms. (#908)
Changes to commands  config reload/load-minigraph (#919)
Stop/Start restapi server upon config reload (#911)
[config] Add 'interface transceiver' subgroup with 'lpmode' and
'reset' subcommands (#904)
2020-05-20 08:17:23 -07:00
Danny Allen
4079d39697 [minigraph] Add tags for egress mirror tables (#4526)
Signed-off-by: Danny Allen <daall@microsoft.com>
2020-05-20 08:01:38 -07:00
abdosi
f087275e92 Moved utility functions for multi-npu platforms from sonic-utilities to sonic_device_util.py (#4559)
* Moved utility functions for multi-npu platforms from
sonic-utilities config/main.py to here so that they can be used
any module

* Fix the issue with test run during compilation with acl-uploader
PR#908 of sonic-utilities.

* Fix get_num_npu as it was retuning string and not int

* Address Review Comments

* Address Review Comments
2020-05-20 07:52:43 -07:00
abdosi
9ea746e25f Changes for LLDP docker to support multi-npu platforms (#4530)
* Changes for LLDP for Multi NPU Platoforms:-
a) Enable LLDP for Host namespace for Management Port
b) Make sure Management IP is avaliable in per asic namespace
   needed for LLDP Chassis configuration
c) Make sure chassis mac-address is correct in per asic namespace
d) Do not run lldp on eth0 of per asic namespace and avoid chassis
   configuration for same
e) Use Linux hostname instead from Device Metadata for lldp chassis
   configuration since in multi-npu platforms device metadata hostname
   will be differnt

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Address Review Comment with following changes:
a) Use Device Metadata hostname even in per namespace conatiner.
   updated minigraph parsing for same to have hostname as system
   hostname and add new key for asic name

b) Minigraph changes to have MGMT_INTERFACE Key in per asic/namespace
   config also as needed for LLDP for setting chassis management IP.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Address Review Comments
2020-05-20 07:51:49 -07:00
abdosi
8fc4657f68 [sonic-buildimage] updated minigraph for ACL Table data and ACL Interface Binding for Multi-NPU platforms (#4491)
* [sonic-buildimage] updated minigraph for ACL Table data and ACL Interface
binding update for multu-npu platform based on subrole as "Frontend" or
"Backend". For backend npu no ACL table is associated. For frontend npu
only front-panel interface are associated.

Updated with test case and fix typo in sample-mingraph for npu

Address Review comments

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Fixed the logic as per preview comment. Interface Filter logic
only applies to Everflow/Mirror tables.

* Address Review Comments.
2020-05-20 07:50:45 -07:00
pavel-shirshov
2778363049 [FRR]: Update frr to latest 7.2.1-s3 (#4294)
- Updated to latest frr 7.2.1 from the master.
- Updated patches accordingly
2020-05-20 07:48:23 -07:00
Abhishek Dosi
e4ccfa56c4 [sonic-utilities] sub-module update.
Reverted Add 'interface transceiver' subgroup with 'lpmode' and 'reset'
subcommands (#904) as it dependent of #903 which is not marked to
cherry-pick for 201911. Need to add that before we can use this.
2020-05-09 22:47:26 -07:00
Abhishek Dosi
45c2ab63a3 [submodule update] sonic-utilities with PR:
Support load_minigraph command for multi NPU platform
2020-05-09 21:36:44 -07:00
judyjoseph
c808640f4e Multi DB with namespace support, Introducing the database_global.json… (#4477)
* Multi DB with namespace support, Introducing the database_global.json file
for supporting accessing DB's in other namespaces for service running in
linux host

* Updates based on comments

* Adding the j2 templates for database_config and database_global files.

* Updating to retrieve the redis DIR's to be mounted from database_global.json file.

* Additional check to see if asic.conf file exists before sourcing it.

* Updates based on PR comments discussion.

* Review comments update

* Updates to the argument "-n" for namespace used in both context of parsing minigraph and multi DB access.

* Update with the attribute "persistence_for_warm_boot" that was added to database_config.json file earlier.

* Removing the database_config.json file to avioid confusion in future.
We use the database_config.json.j2 file to generate database_config.json files dynamically.

* Update the comments for sudo usage in docker_image_ctrl.j2

* Update with the new logic in PING PONG tests using sonic-db-cli. With this we wait till the
PONG response is received when redis server is up.

* Similar changes in swss and syncd scripts for the PING tests with sonic-db-cli

* Updated with a missing , in the database_config.json.j2 file, Do pip install of j2cli in docker-base-buster.
2020-05-09 21:33:07 -07:00
rlhui
87f3592d22 Added the below PRs:
[Vnet] Fix NameError for 'swsssdk' and align output (#902)
[config] Add 'interface transceiver' subgroup with 'lpmode' and 'reset' subcommands (#904)
Improved route_check tool and adopt to 20191130 image. (#898)
2020-05-09 19:38:48 -07:00
SuvarnaMeenakshi
c02f6d929f [minigraph.py]: Fix undefined variable error. (#4555)
Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
2020-05-09 18:15:17 -07:00
Neetha John
596bec1b32 [qos]: Alpha and ECN settings change for Th (#4564)
Dynamic threshold setting changed to 0 and WRED profile green min threshold set to 250000 for Tomahawk devices

Changed the dynamic threshold settings in pg_profile_lookup.ini
Added a macro for WRED profiles in qos.json.j2 for Tomahawk devices
Necessary changes made in qos.config.j2 to use the macro if present

Signed-off-by: Neetha John <nejo@microsoft.com>
2020-05-09 18:13:10 -07:00
shlomibitton
8367dfebaa
hw-mgmt_V.7.0000.3034 integration (#4518)
Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
2020-05-06 12:14:41 +03:00
Abhishek Dosi
acd82fcdc1 [sonic-pyswssdk] submodule update with PR's:
[configdb.py]: Allow deletion of entire table from mod_config API. (#61)
[MultiDB] mimic redis-dump-load , adding sonic_db_dump_load.py and so… 
[MultiDB] add sonic-db-cli PING all instances support (#65)
Fix sonic-db-cli script to be compatible with python3 and python2.7 (#66)
Namespace support in SonicV2Connector (#63)
[Multiasic]: Add calculation of interface index for backplane interfa…
2020-05-05 11:29:40 -07:00
SuvarnaMeenakshi
3bf2bf9a52 [config engine] Parser changes to support parsing of multi-asic device minigraph (#4222)
- Changes to minigraph.py to parse minigraph.xml of a multi asic platform 
- Changes to portconfig.py to parse additional column "asic_port_name" in
port_config.ini
- Add a new option -n to sonic-cfggen for multi asic platforms
- Add unit tests for config generation for multi asic platforms

Signed-off-by: SuvarnaMeenakshi <sumeenak@microsoft.com>
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
2020-05-05 11:03:39 -07:00
Nazarii Hnydyn
c266435d40
Revert "Add thermal control support for SONiC (#3949)" (#4527)
This reverts commit 109a13cc03.

Conflicts:
	dockers/docker-platform-monitor/docker-pmon.supervisord.conf.j2
2020-05-04 21:20:47 +03:00
rlhui
fed5009834 [config] Add support for multi-ASIC devices (#877) 2020-05-03 22:14:26 -07:00
Junchao-Mellanox
109a13cc03 Add thermal control support for SONiC (#3949) 2020-04-30 22:39:17 -07:00
Abhishek Dosi
f762c7786a [submodule update] sonic-utilities
[fwutil]: Fix firmware update command. (#895)
[utility] Filter FDB entries (#890)
2020-04-30 22:24:17 -07:00
Sumukha Tumkur Vani
e624183aa3 [docker-restapi]: add restapi config to config Db (#4495) 2020-04-30 22:17:41 -07:00
Sumukha Tumkur Vani
3c92bc02cd Parse Device region field in Minigraph (#4486) 2020-04-30 22:17:08 -07:00
Tamer Ahmed
cd57d4579a [dhcpmon] Filter DHCP O/A Messages of Neighboring Vlans (#4469)
* [dhcpmon] Filter DHCP O/A Messages of Neighboring Vlans

This code fixes a bug where two or more vlans exist. Cross contamination
happens for DHCP packets Offer/Ack when received on shared northbound links.
The code filters out those packet based on dst IP equal Vlan loopback IP.

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
2020-04-30 22:12:21 -07:00
rlhui
fad7e417ed Update swss with PR1269 - pass asic instance as SAI attribute 2020-04-30 13:58:32 -07:00
Abhishek Dosi
827aab79d5 [submodule update] sonic-utilities with PR's
[Vxlan] : adding show vnet/vxlan cmds (#880)
[show][bgp] Use only 'show ip bgp' as the base and use bgp_frr_v4 file
for FRR routing stack (#884)
[fast reboot] set a fast-reboot DB flag (#887)
[show] Add 'ip/ipv6 bgp network' commands (#888)
2020-04-27 09:03:51 -07:00
Abhishek Dosi
6c65e79548 [submodule-update] sonic-swss with PR's
[routeorch] Handle the empty "nexthop" field for backward compatibility (#1263)
[vnet] Set MTU for the VNET bridge RIF in BITMAP implementation (#1271)
 [vnet] Verify if BITMAP route exists before creating new one to avoid
 dublication (#1272)
2020-04-27 08:55:23 -07:00
Kebo Liu
1d7d8fac66 [Mellanox] Update hw-mgmt package to V.7.0000.3020 (#4362)
* update hw-mgmt package to V.7.0000.3020
* update sonic-linux-kernel repo to pick up new patches
2020-04-27 08:50:23 -07:00
pavel-shirshov
2f44bcd071 [bgpcfgd]: Split one bgp mega-template to chunks. (#4143)
The one big bgp configuration template was splitted into chunks.

Currently we have three types of bgp neighbor peers:

general bgp peers. They are represented by CONFIG_DB::BGP_NEIGHBOR table entries
dynamic bgp peers. They are represented by CONFIG_DB::BGP_PEER_RANGE table entries
monitors bgp peers. They are represented by CONFIG_DB::BGP_MONITORS table entries
This PR introduces three templates for each peer type:

bgp policies: represent policieas that will be applied to the bgp peer-group (ip prefix-lists, route-maps, etc)
bgp peer-group: represent bgp peer group which has common configuration for the bgp peer type and uses bgp routing policy from the previous item
bgp peer-group instance: represent bgp configuration, which will be used to instatiate a bgp peer-group for the bgp peer-type. Usually this one is simple, consist of the referral to the bgp peer-group, bgp peer description and bgp peer ip address.
This PR redefined constant.yml file. Now this file has a setting for to use or don't use bgp_neighbor metadata. This file has more parameters for now, which are not used. They will be used in the next iteration of bgpcfgd.

Currently all tests have been disabled. I'm going to create next PR with the tests right after this PR is merged.

I'm going to introduce better bgpcfgd in a short time. It will include support of dynamic changes for the templates.

FIX:: #4231
2020-04-25 09:41:28 +00:00
Abhishek Dosi
898f8789a7 [submodule update] sonic-swss-common with PR's
[DBConnector] Add methods to set/get Redis client name (#335)
2020-04-19 16:57:49 -07:00
Abhishek Dosi
ca926f2e75 [Submodule update] sonic-platform-common with PR's
[Chassis base] Add sfp error event definition #80
SFP(sff8472 attributes) transciever eeprom attribute support #74
2020-04-19 16:52:19 -07:00
Abhishek Dosi
9c43360652 [submodule update] sonic-platform-daemons
[xcvrd] Extend xcvrd with SFP error event handling (#52)
[thermal fix] 1. Catch exception for each update iteration; 2. add
unit test (#51)
 Add thermal control daemon to monitor FAN and thermal status and run
 thermal policy (#49
2020-04-19 16:48:00 -07:00
Abhishek Dosi
8f8ea04891 [Submodule update] sonic-utilities with PR's:
[201911] Explicitly specify command names with underscores (continued)
(#868)
[fwutil]: Update Command-Reference.md. (#876)
2020-04-19 16:42:26 -07:00
Abhishek Dosi
4324f307ef [Submodule update] swss with following PR's:
Do not set PG to Buffer porfile mapping again if already exist. (#1261)
[sub intf] Use m_lag_id to be the parent port object id when parent port
is LAG (#1235)
2020-04-19 16:38:10 -07:00
pavel-shirshov
c7c78f03bc Update frr to latest 7.2.1 (#4145) 2020-04-19 16:25:07 -07:00
rlhui
e8bfde39f8 Update SAI to v1.5.2 2020-04-16 18:19:02 -07:00
Sumukha Tumkur Vani
23aed5ae6a [docker-restapi]: Fix authentication in restapi (#4383)
- enabling http/https endpoint and mounting the certificates directory
- updating the sonic-restapi submodule
2020-04-15 13:14:14 -07:00
noaOrMlnx
68448856a7 Bug fix: #4011 #4012 - "show run acl", "show run interfaces" - traceback when no ACL_RULE/INTERFACE is present. (#4226)
* Fix bugs - "show run acl/interfaces" returns traceback when no ACL_RULE/INTERFACE is present in configuration
- Change logic in main to take data only if the var_json appears in DB.
- Add unit testing for bug fix & fix comments

Signed-off-by: Noa Or <noaor@mellanox.com>
2020-04-15 13:06:33 -07:00
Abhishek Dosi
4f1b9ff6f3 [SubModule Update] sonic-swss
Fixed SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE to uint64_t
2020-04-10 21:33:00 -07:00
Abhishek Dosi
a78789f15a [sonic-swss] sunmodule update with PR's:
[portsorch] Enable port-level buffer drop counters (#1237)
 [vnet]: Fix double route installation for BITMAP VNET interface (#1114)
2020-04-06 17:30:36 -07:00
Abhishek Dosi
d4bcd3305a [sonic-utilities] submodule update with PR's:
[watermarkstat] Fix issue of fields overwritten before display (#862)
2020-04-06 17:29:49 -07:00
CharlieChenEC
63450d7d21 Fix the error that 'sensord' daemon cannot be spawn correctly in pmon container (#4354)
- This commit fixes the issue #4021 (Sensord not able to start up on
  both master and 201911 branches)
- Add the new patch file for "lm-sensors" to perform dh_installinit to
  include sensord.init in the packed deb. So that the missing init
  script file for 'sensord' will be included in the created 'sensord'
  deb.

Signed-off-by: Charlie Chen <charlie_chen@edge-core.com>
2020-04-06 17:13:00 -07:00
rlhui
d35e382dad [multi-asic]: Update reload of systemd services to support multi-asic
platform
2020-03-29 23:07:08 -07:00
Renuka Manavalan
83c7770d3a [submodule]: Update sonic-mgmt-framework to fix a build break fix. (#4318)
Module updated: sonic-mgmt-framework
Azure/sonic-mgmt-framework#44
2020-03-26 12:11:08 -07:00
Abhishek Dosi
1ba8944268 [Submodule Update] sonic-utilities Following Changes:
[fwutil]: Use overlay driver when mounting next image filesystem (#825)
Fix for adding L3 interface to Vlan group (#826)Fix for adding L3 interface to Vlan group (#826)
[db_migrator]Do DB migration for buffer pool size change on Mellanox platform (#833)
explicitly specify command with underscores (#846)
[intfutil] set speed to 0 when interface speed is not available (#839)
2020-03-24 15:43:16 -07:00
Abhishek Dosi
4a99a763d2 [SubModule Update] sonic-swsss . Following changes:
Don't remove RIF for Vnet interface when ip prefix is deleted (#1225)
2020-03-24 15:40:42 -07:00
lguohan
8969b7c06f [telemetry]: move default certs location from device metadata to telemetry (#4307)
maintains backward compatibility to search original x509 location
when telemetry table does not have certs

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2020-03-24 15:14:40 -07:00
Joe LeVeque
d0bae82247 [minigraph.py] Add support for 'OutAcl' keyword and attaching ACLs to VLAN interfaces (#4229)
- Support parsing egress ACLs from minigraph file specified by the "OutAcl" element
- Support attaching ACLs to VLAN interfaces
2020-03-22 23:02:11 -07:00
Renuka Manavalan
de2afc4947 [mgmt-framework]: Update submodule to take build break fix. (#4302)
Brief:
The community code for has been updated, which mismatched with the existing sonic-mgmt-framework. Hence it broke the build.

Submodule-PR: #43

Details:
The SONiC mgmt Framework, pulls down the community modules in two steps.

Pull the existing; This does a transparent compile too.
Then checkout the specific commit-id for each and do the final compile.
The community code change broke in the compilation phase of step-1.
Fix: For the two affected modules, do download only.

Proper fix:
As part of the next phase of changes, the mgmt-framework is moving go-submodule mode, which will ensure the download happens for the assigned commit-ids only.
e.g. Refer go.mod in sonic-telemetry
2020-03-22 01:57:05 +00:00
Abhishek Dosi
505d4bfb65 [Submodule-Update] sonic-swss with following changes:
Multi-Db changes for NAT feature. (#1202)
    [cfgmgr] clear loopback and vrf in kernel if not warmstart (#1141)
     upon cold reboot, skip remove mgmt vrf table from the kernel (#1214)
2020-03-15 09:33:58 -07:00
Abhishek Dosi
9f2664e4c1 [Submodule-Update] sonic-swss with following changes:
Multi-Db changes for NAT feature. (#1202)
[cfgmgr] clear loopback and vrf in kernel if not warmstart (#1141)
 upon cold reboot, skip remove mgmt vrf table from the kernel (#1214)
2020-03-15 09:19:27 -07:00
Olivier Singla
a8baca0d6e [kernel]: security kernel update to 4.9.189 (#3913)
This patch upgrade the kernel from version
4.9.0-9-2 (4.9.168-1+deb9u3) to 4.9.0-11-2 (4.9.189-3+deb9u2)

Co-authored-by: rajendra-dendukuri <47423477+rajendra-dendukuri@users.noreply.github.com>
2020-03-15 08:52:29 -07:00
rlhui
a6533a593f fix build error in sonic-mgmt-framework 2020-03-14 13:32:44 -07:00
lguohan
bf4a282a41
[libteam]: Disregard current state when considering port enablement (#4215) 2020-03-04 11:58:41 -08:00
Abhishek Dosi
d6abe354e3 [Submodule Update] sonic-Utilities with following changes:
[fwutil]: Set default socket timeout for FW download to 30 sec. (#821)
Update config/show to include PFC Watchdog commands (#736)
2020-03-04 10:58:33 -08:00
Abhishek Dosi
42e3996a2a [Submodule-Update] sonic-swss. Following changes:
Enable m_isCombinedMirrorV6Table for BFN platform (#1212)
[vnet]: Update VNET route table size to 40K for BITMAP implementation (#1132)
 Default action for Egress ACL Table not poulated. (#1208)
Add/Del lag_name_map item according to lag adding and removing (#1124)
Increase ip2me CIR/CBR for faster in-band file transfers (#1000)
2020-03-04 10:53:51 -08:00
Joe LeVeque
bd99464d52 [sonic-cfggen] Load JSON files before minigraph file (#4202)
If sonic-cfggen is passed the -m argument (to load the minigraph file) along with one or more -j <json_file> arguments, load the JSON files before loading the minigraph file.

This ensures that the init_cfg.json file is loaded before the minigraph, therefore the minigraph can override any default configuration options specified in init_cfg.json. Currently, the behavior is reversed.

Note: This is not an issue if loading loading multiple JSON files, because sonic-cfggen loads them in the left-to-right order they were specified on the command line, therefore providing flexibility for loading JSON files in a specific order. As long as init_cfg.json is specified before config_db.json, the values specified in config_db.json will take precedence.
2020-03-03 19:21:51 -08:00
rajendra-dendukuri
69879e4ed4 [sonic-ztp]: Add Azure/sonic-ztp as a submodule to Azure/sonic-buildimage (#3903) 2020-02-24 14:31:05 -08:00
Abhishek Dosi
1aac1535b2 [Submodule Update] sonic-swss
Following PR have been CHerry-picked:
* [portsorch] fix wrong orchagent behaviour when LAG member gets
disabled
* [team sync/mgr] Add debug message before cleaning up LAGs
2020-02-24 11:11:41 -08:00
abdosi
315663241d Made Change to have Configurable option to enable/disable docker image (#4171)
* Made Change to have Configurable option to enable/disable docker image

* [Submodule-Update] sonic-utilities .
Following PR has been merged tp 201911
* Platform Driver Development Framework (PDDF): Adding PDDF CLI utils
* [config] Add 'feature' subcommand
* [fwutil]: Command-line utility for interacting with platform components
* [show] Add subcommand to display the status of auto-restart feature
                                                for each container
* [config] Add subcommand to configure the status of auto-restart
                                                feature for each
                                                container
* [Command Reference] Document CLI commands related to container
                                                auto-restart feature
* [config/main.py] Modify reload() function to load configuration from
                                                init_cfg.json
* Fix for dhcp_relay deletion on a VLAN
* [config] Check if service exists before start/stop/restart of service
* Multi-Db changes for NAT feature
* [reboot] make sure the reboot happens even if platform reboot failed
2020-02-24 11:00:27 -08:00
rlhui
887ea003e1 cherry pick PR 599 for ztp 2020-02-15 00:20:23 -08:00
yozhao101
71225ea4cc [Service] Enable/disable container auto-restart based on configuration. (#4073) 2020-02-13 16:20:21 -08:00
pavel-shirshov
a6acc1ef70 teamd: fix possible race in master ifname callback (#4109)
- What I did
Ported a fix from libteam master to our master.
Fixes #4070
Fixes #3649

- How I did it
Applied patch jpirko/libteam@c723737 from upstream.

- How to verify it
Build image for your DUT and warm-reboot your DUT 10 times. Check that all PortChannels are up and no error messages in teamd.log
2020-02-13 16:04:51 -08:00
pavel-shirshov
cdab1fc49d [frr]: Use tag for building frr (#4082)
Changed logic for building frr. Previously we used latest commit in the FRR_BRANCH. Now the buildsystem will use a tag to identify a commit for building. New approach will let us to update sonic-frr without corrupting building sonic-buildimage.
2020-02-13 16:03:25 -08:00
Stephen Sun
96f5a757ab [daemon_base]fix error: syslog is not a member of DaemonBase (#4039) 2020-02-13 16:02:28 -08:00
kannankvs
74ac9b02dc modified down rules to pre-down rules to ensure that default route is… (#3853)
* modified down rules to pre-down rules to ensure that default route is deleted just before interface is made down
2020-02-13 16:01:21 -08:00
Abhishek
d192e0c965 [SubModule Update] sonic-swss
[aclorch] Enable IN_PORTS ACL qualifier on MIRROR tables (#1176)
2020-02-04 12:10:06 -08:00
Abhishek
d09b1ab78a [Submodule Update] sonic-utilities
*792: [neighbor advertiser] remove http endpoint access
*789: [fdbshow][nbrshow] Print interface OID in lieu of name if there is
no OID->interface name mapping
*788 [acl-loader] Use V6 EtherType for IPv6 ACL rule
*786 ipaddr module to ipaddress
*785 [dropconfig] Move prefix-handling from CLI to orchagent
*645  Changes in swss-utilities submodule to support NAT feature
2020-02-04 11:48:37 -08:00
Abhishek
7843d94a2e [Submodule update] sonic-swss
Revert the PR#1166 portsorch fix wrong orchagent behaviour when LAG
member gets disabled.
2020-02-03 17:13:45 -08:00
Abhishek
96d05a0cb5 [Submodule update] sonic-swss-common
* 323 [Enhancement] debian/conffiles will give prompt when file existing, need
    a way to supress prompt
2020-02-03 16:55:14 -08:00
Abhishek
9f132d9a97 [Submodule Commit] sonic-platofrm-daemons
* 50 : Fix missing DOM threshold info from DB
2020-02-03 16:50:55 -08:00
Abhishek
becf49414f [SubModule Update] sonic-linux-kernel
* 100 Added support in the kernel for fullcone 3-tuple unique nat.
2020-02-03 16:45:45 -08:00
Abhishek
3ebcf132e7 [Submodule update] sonic-swss-common
* 323 [Enhancement] debian/conffiles will give prompt when file existing, need
a way to supress prompt
2020-02-03 16:33:16 -08:00