Commit Graph

403 Commits

Author SHA1 Message Date
Volodymyr Samotiy
aa845b7c6c [submodules]: Update sonic-swss pointer (#1498)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-03-14 10:12:48 -07:00
lguohan
dd48995482
[submodule]: update sonic linux kernel (#1495) 2018-03-14 09:38:39 -07:00
pavel-shirshov
6839e7043d
Update sonic-quagga submodule. Fix IPv6 ECMP behavior (#1490) 2018-03-13 09:39:07 -07:00
Rodny Molina
913a62c33c [configdb]: Sorting all json config-elements residing in config_db.json (#1454)
Just a simple change to make sonic's user life a little bit easier. Displaying the multiple elements of config_db.json in an orderly fashion allows a more intuitive user-experience.

For this change i'm simply intercepting the config-state that is about to be dumped to config_db.json, and i'm placing it in an ordered-dictionary, so that information is pushed to file in natural/alphanumerical ordering.

Example:

admin@lnos-x1-a-csw01:~$ sudo sonic-cfggen -m /etc/sonic/minigraph.xml --print-data
{
...
      "PORT": {
        "Ethernet0": {
             "alias": "Eth1/1",
             "lanes": "65"
},
        "Ethernet1": {
             "alias": "Eth1/2",
             "lanes": "66"
},
        "Ethernet2": {
             "alias": "Eth1/3",
             "lanes": "67"
},
        "Ethernet3": {
            "alias": "Eth1/4",
            "lanes": "68"
},
        "Ethernet4": {
             "alias": "Eth2/1",
             "lanes": "69"
},
...
...
    "INTERFACE": {
       "Ethernet0|10.0.0.0/31": {},
       "Ethernet1|10.0.0.2/31": {},
       "Ethernet2|10.0.0.4/31": {},
       "Ethernet3|10.0.0.6/31": {},
       "Ethernet4|10.0.0.8/31": {},
2018-03-09 23:51:33 -08:00
Joe LeVeque
41418723a3
[isc-dhcp] Add patch to fix bug which caused log messages to also print to stderr in release builds (#1477) 2018-03-09 11:32:03 -08:00
Joe LeVeque
c161de406a
[lldpmgrd] Fix potential race condition when interfaces are created (#1469) 2018-03-07 17:08:45 -08:00
Taoyu Li
f250fe745a
[minigraph.py] Convert ipv6 addresses into lower case parsing cpg (#1460)
* [minigraph.py] Convert ipv6 addresses into lower case parsing cpg
2018-03-06 12:19:16 -08:00
sihuihan88
b2518c8310
[swss/sairedis]: update submodules (#1459)
* [sairedis]: update submodule

Signed-off-by: Sihui Han <sihan@microsoft.com>

* [swss]: update submodule

* exclude crm in swss submodule
2018-03-05 17:43:25 -08:00
sihuihan88
4c1419ceae
[sonic-utilities]: update submodule (#1458)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-05 13:42:45 -08:00
Taoyu Li
d9aa42e33c [tacacs]: Obfuscate key before printing to syslog (#1453) 2018-03-02 21:23:04 -08:00
AndriiS
cbdcdcd023 [submodule]: Update sonic-sairedis submodule pointer (#1446) 2018-03-02 10:52:10 -08:00
Taoyu Li
a0e68bf399
Update sonic-utilities pointer (#1438) 2018-03-01 15:39:30 -08:00
Ying Xie
720c71399c
Improve: buffer configuration infrastructure (#1403)
* [sonic build] Define folder macro for target folder /usr/sonic/share/templates

* [sonic-cfggen] allow templates to include from common folders

- Allow templates to include files under /usr/share/sonic/templates
- Allow templates to include files in the same folder as the root template

* [Buffer config] install the buffer configuration template

* [Arista7260cx3] Add buffer configuration for Arista7260CX3 T0 topology

- pg profile look up table is incomplete. Currently contains T0 default
  values.

* [Arista7260cx3] Adding QoS configuration

* Address review comments

1. Stop generating ingress pg configuration for lossless pgs.
2. Stop putting ports into speed sets, put all ports in one set.
3. Remove ingress lossless profiles.
4. Added some tailing '-' back to remove leading spaces.
2018-02-27 12:15:56 -08:00
zzhiyuan
59cbfc31c6 src/sonic-platform-daemons: Submodule bump (#1419)
Submodule bump to include latest change to ledd script.

Signed-off-by: Zhi Yuan Zhao zyzhao@arista.com
2018-02-27 10:08:09 -08:00
Ying Xie
ce070219ac [submodule] update swss submodule (#1415) 2018-02-26 21:49:08 -08:00
pavel-shirshov
62d67e6ac3 [submodule]: sonic-utilities submodule update (#1418) 2018-02-26 21:48:43 -08:00
Joe LeVeque
e171d1c27b
[sonic-swss-common] Update submodule (#1417)
- Adds the following changes:

   - [schema] Update Config DB Table name #defines (#188)
   - Extending IpAddress class with method to return the scope of any
     given ip-address (#187)
   - Extending IpPrefix class to return the subnet associated to any
     given prefix (#184)
   - update build instruction (#185)
2018-02-26 15:26:11 -08:00
pavel-shirshov
ec537be065
[Submodule update]: Update submodule sonic-utilities (#1407)
* Update submodule sonic-utilities

* Copy fast-reboot json dumps from /host filesystem

* Update sonic-utilities to latest

* Fix typo
2018-02-26 11:23:29 -08:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
Joe LeVeque
a920e75b41
[sonic-py-swsssdk][sonic-dbsyncd] Update submodules in order to add ability for lldp_syncd to delete stale entries (#1408) 2018-02-22 11:38:24 -08:00
Ying Xie
07853aa113 [sub module] update sonic-utility sub-module (#1402) 2018-02-21 00:52:12 -08:00
Taoyu Li
04b694454a
[sonic-cfggen] Remove machine.conf info and add get_system_mac support (#1397)
[sonic-cfggen] Remove machine.conf info and add get_system_mac support
2018-02-20 14:38:13 -08:00
Taoyu Li
d64658b2c8
Update py-swsssdk and utilities submodule to support config qos (#1396) 2018-02-15 17:50:28 -08:00
pavel-shirshov
f6deaa22f7 [fast-reboot]: Dump default routes before fast-reboot procedure (#1392)
* Insert default routes into the APPL DB in fast-reboot proceduce

Update sonic-utilities submodule
2018-02-14 19:09:28 -08:00
stanepc1
46ec35df81 [device] Add a new platform ly1200 for MiTAC (#1369)
* [device] Add a new platform ly1200 for MiTAC

Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] Update dependency for new kernel.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [minigraph]: Set hostname in all default minigraphs to 'sonic'

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [kernel]: update linux kernel to support ly1200 of MiTAC

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] adapt PSU driver for linux kernel upgrade.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* Resolve the conflict with Quanta

modified files are as below.
.gitmodules
platform/broadcom/one-image.mk
platform/broadcom/rules.mk

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-02-13 21:39:08 +08:00
sihuihan88
345430ca6f [sonic-utilities]: update submodule (#1387)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-02-10 07:50:14 +08:00
Prince Sunny
a145f2c08a
Set FEC to reed-solomon if the port speed is 100G (#1383)
* Set FEC to reed-solomon if the port speed is 100G
2018-02-08 21:26:19 -08:00
byu343
ecf5c8d311 ssh and snmp allow list (#1363)
- Service ACL framework for Arista platforms
2018-02-08 17:43:52 -08:00
sihuihan88
e9dd064f82
[swss/sairedis]: update submodules (#1382)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-02-08 17:23:28 -08:00
Joe LeVeque
01362847d0
[sonic-dbsyncd] Update submodule (#1379) 2018-02-07 17:43:33 -08:00
Taoyu Li
4925d48b1a Fix VLAN_INTERFACE attach issue upon vlan id-name mismatch (#1367) 2018-02-07 22:06:41 +08:00
pavel-shirshov
1ae86ca539
Update swss and swss-common submodules (#1359) 2018-01-31 23:01:24 -08:00
Qi Luo
358949b4e5
Upgrade linux-image version (#1294)
* Upgrade linux-image version
* Add missing dependency of igb
* Fix mft build rule
* Add missing dependency of ixgbe
* [Broadcom]: Update OpenNSL modules to be compatible with kernel 3.16.0-5 (#3)
* [Nephos] Update SDK version to support new kernel module 3.16.0-5 (#4)
* [mellanox]: Update URL for SDK (#5)
2018-01-31 11:39:48 -08:00
Joe LeVeque
a4a91cbd4a
[sonic-cfggen] Add unit test for DHCP relay Jinja2 templates (#1357) 2018-01-31 11:07:00 -08:00
Kebo Liu
653f572f9c [submodules]: update the pointers to pick up clear fdb cli support (#1354) 2018-01-31 08:58:02 -08:00
Joe LeVeque
a36527a6a5
Store ConfigDB init indicator boolean value as 1/0 in Redis to be language-agnostic (#1352) 2018-01-30 15:04:52 -08:00
Joe LeVeque
8cf03b0b28
[sonic-cfggen] Enhance ACL unit test to also test control plane (service) ACLs (#1349) 2018-01-30 11:19:03 -08:00
Prince Sunny
91effa249c
Submodule update (#1351) 2018-01-30 09:13:23 -08:00
Qi Luo
26efb653fc
[snmpagent]: update sonic-snmpagent submodule (#1350)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-29 18:08:10 -08:00
Joe LeVeque
bdbf956dec
[sonic-utilities] Update submodule (#1346) 2018-01-29 11:08:32 -08:00
Andriy Moroz
58d8302b53 Buffers configuration update on port speed change (#1345)
* Move buffer configuration to ConfigDB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Converted Dell and Arista configs

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add buffer configs for ACS-MSN2740

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated buffers template

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fixed j2 unit test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config for Force10-S6100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update VS docker to support speed and buffers test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config generation

- fixed support of sonic-to-sonic install

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update submodules pointers for buffers config

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-29 08:11:05 -08:00
Joe LeVeque
da10ff5aa9 [minigraph.py] Only add 'service' field to control plane ACLs, not dataplane ACLs (#1341)
* [minigraph.py] Only add 'service' field to control plane ACLs, not dataplane ACLs

* Modify unit test accordingly
2018-01-26 20:29:20 -08:00
Ying Xie
2b91c9681d Revert "Buffers configuration update on port speed change (#1250)" (#1340)
This reverts commit 814e50fd5e.
2018-01-26 10:13:43 -08:00
Andriy Moroz
814e50fd5e Buffers configuration update on port speed change (#1250)
* Move buffer configuration to ConfigDB

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Converted Dell and Arista configs

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add buffer configs for ACS-MSN2740

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Updated buffers template

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Fixed j2 unit test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config for Force10-S6100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update VS docker to support speed and buffers test

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Update buffers config generation

- fixed support of sonic-to-sonic install

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-01-26 08:09:31 -08:00
Ying Xie
163a0e2165
[Arista7260cx3] Add platform specific reboot tool (#1318)
* [Arista7260cx3] Add platform specific reboot tool

* [utilities] update sonic-utilities submodule
2018-01-18 17:28:36 -08:00
Qi Luo
8db959d2a3
[sonic-py-swsssdk]: Update submodule pointer (#1319)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-18 14:08:27 -08:00
Joe LeVeque
0fa64cc618
[supervisor] Add patch to prevent 'supervisorctl start' command from hanging if system time has rolled backward (#1311)
* Add patch to prevent 'supervisorctl start' command from hanging if system time has rolled backward

* Also add unit tests for clock rollback scenarios
2018-01-18 11:43:57 -08:00
Joe LeVeque
134707f822
Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
Qi Luo
9d62fbfb66
[snmpagent]: Update sonic-snmpagent submodule (#1314)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-01-17 17:03:44 -08:00
pavel-shirshov
6a8062da2c [submodule]: Update sairedis (#1310) 2018-01-16 16:37:38 -08:00