Commit Graph

1178 Commits

Author SHA1 Message Date
Wenda Ni, Ph.D
1f4ce098b5
Buffers config (#1476)
* Improve memory utilization through more sharing at the ingress on A7050-QX-32S

Signed-off-by: Wenda <wenni@microsoft.com>

* Apply buffers config changes on A7050-QX-32S to A7050-QX32

Signed-off-by: Wenda <wenni@microsoft.com>

* Apply buffers config changes on A7050-QX-32S to S6000
2018-03-12 14:25:57 -07:00
Nadiya
f88734b391 Fix sfp cli commands (#1482)
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
2018-03-12 09:27:36 -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
e6278c1e0e
[radv] Rename service unit file Jinja template to radv.service.j2 (#1480)
- Service unit file not getting generated because I changed the docker
    container name from 'router_advertiser' to 'radv', however I didn't
    rename the service unit file template name to match. However,
    slave.mk generates a service file for every docker based on its
    container name, and since there was no matching 'radv.service.j2'
    template file, this file stopped getting generated and therefore
    the docker container was never getting started.

  - Also add swss.service to 'Requires'
2018-03-09 23:01:49 -08:00
Taoyu Li
e84e093dea
Move all minigraph-related action from rc.local to updategraph (#1452)
- Move all minigraph-related action from rc.local to updategraph
- updategraph service is now after database. All feature services are now after and depending on updategraph
2018-03-09 17:17:08 -08:00
jostar-yang
16f81afe9a [devices]: Add as7716-32xb device code (#1472)
* Add as7716-32xb device code

* Add as7716-32xb drv code
2018-03-09 15:47:10 -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
padmanarayana
02b62ac9bb [fast-reboot]: Support OS9 -> SONiC fast-reboot migration (#1414)
* Support OS9 -> SONiC fast-reboot migration

* Address review comments. Update NOS mac in EEPROM and net.rules for eth0

* Address review comments. Update sonic-platform-modules-dell to fac81d...

* Fix script for POSIX compliance
2018-03-08 16:42:41 -08:00
wadelnn
2d4c8a2ae6 [Platform] Update switch config files for Ingrasys platforms. (#1474)
* Add psuutil for S8900-54XC and S8900-64XC.
* Update syseeprom to CPU EEPROM for S9130-32X, S9200-64X and S9230-64X.
* Update sensors.conf for S9200-64X and S9230-64X.
* Update submodule for platform/broadcom/sonic-platform-modules-ingrasys

Signed-off-by: Wade He <chihen.he@gmail.com>
2018-03-08 11:49:17 -08:00
Ying Xie
e4a02cbf65
[SAI] upgrade to Broadcom SAI 3.1.3.4-4 (#1475) 2018-03-08 10:36:39 -08:00
Joe LeVeque
c161de406a
[lldpmgrd] Fix potential race condition when interfaces are created (#1469) 2018-03-07 17:08:45 -08:00
Samuel Angebault
e18e15f31b [Aboot] refactor boot0.j2 for Aboot bootloader (#1445)
Now properly differenciate the image installation and the kexec
operations. This is useful for fast-reboot operations.

Minor updates include
 - better command line management
 - using partition UUID in the command line
2018-03-07 15:28:14 -08:00
lguohan
667ca3254e
[device]: add platform_reboot for dell s6000 (#1465) 2018-03-07 12:07:47 -08:00
Wenda Ni, Ph.D
ef683848af [devices]: A7050 qx32 mmuconfig (#1463)
* Apply MMU config (buffers, qos) to Arista-7050-QX32

Signed-off-by: Wenda <wenni@microsoft.com>
2018-03-07 07:21:41 -08:00
Roy Lee
763461eeac [devices]: As7816 64x validate sfputil psuutil (#1466) 2018-03-07 00:33:33 -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
7639cc1b53 [pfcwd]: add flag to enable pfc wd on start (#1429) 2018-03-05 23:55:37 -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
ZivErlich
126d08d000 [devices]: Updating SFPUtil plugin for Acton AS7212 and Marvell SLM5401 (#1456) 2018-03-04 17:58:53 -08:00
Wenda Ni, Ph.D
20ab99bf31 [qos]: Apply ECN configuration on lossless queue for 7050-QX-32S and S6000 (#1439) 2018-03-03 10:09:49 -08:00
Harish Venkatraman
2b449420b8 [device/dell] Code supports New Buffer mgmt infra (#1449)
This commit adds new code which supports the new buffer mgmt infra.
 - Added new code to support buffers for T0 and T1 configs of S6100.
 - Added new qos.json file to support qos on S6100.
 - Changed the pg_profile_lookup.ini file to support xon_offset.
 - Changed buffer.json.j2 file according to new buffer mgmt infra.

Unit tested by verifying the above changes by loading S6100 with the
configuration, checked the hardware for broadcom recommended settings
by running bcmcmd. Sent the unit test logs to Ying.

Checked the PG_RESET_OFFSET value which reflects the new xon_offset value of 2288
from the pg_profile_lookup.ini.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-03-02 23:31:41 -08:00
Taoyu Li
09f2385a15 [hostcfgd/tacacs] obfuscate tacacs credentials in syslog (#1444) 2018-03-02 21:24:01 -08:00
Taoyu Li
d9aa42e33c [tacacs]: Obfuscate key before printing to syslog (#1453) 2018-03-02 21:23:04 -08:00
Ying Xie
b9f4aa9f00 [bcm sai] upgrade to sai version 3.1.3.4-3 (#1451)
- included bcm config files missed between 3.0 and 3.1.
2018-03-02 21:21:47 -08:00
lguohan
a9d2e13627
[image]: prevent password related command into syslog (#1450)
* [image]: prevent password related command into syslog
2018-03-02 21:21:25 -08:00
Joe LeVeque
c689253b3f
[LLDP] Add lldpmgrd Daemon to Manage LLDP Configuration (#1428) 2018-03-02 16:46:22 -08:00
Joe LeVeque
eaea792d47
[libnl3] Fix runtime dependencies for libnl-genl-3 and libnl-route-3 (#1440) 2018-03-02 11:05:27 -08:00
AndriiS
cbdcdcd023 [submodule]: Update sonic-sairedis submodule pointer (#1446) 2018-03-02 10:52:10 -08:00
StanleyCi
571a18add4 [Delta ag9032v1]Add attributes for cpupld and swpld. (#1437)
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-03-01 21:15:27 -08:00
sihuihan88
1e6576c5b8 [devices]: Update qos and buffer configuration for Dell S6000 (#1441)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-03-01 20:56:12 -08:00
Taoyu Li
a0e68bf399
Update sonic-utilities pointer (#1438) 2018-03-01 15:39:30 -08:00
cpchang
9f1f95f98f Fix LED activity behavior (#1436) 2018-03-01 15:37:27 -08:00
hans-tseng
837e964854 [devices]: add the delta ag9064 platform (#1435)
* add the ag9064 platform

Signed-off-by: hans <hans.tseng@deltaww.com>
2018-03-01 02:14:26 -08:00
Wenda Ni, Ph.D
33d5a9cfd6
Add qos.json for Arista-7050-QX-32S (#1388)
* Add qos.json for Arista-7050-QX-32S

This file is a modification from the one in the swss docker, and is applied in the base image

Signed-off-by: Wenda <wenni@microsoft.com>

* Prepare buffers.json.j2 alongside with qos.json to allow qos config to take
effect on a7050-QX-32S

Signed-off-by: Wenda <wenni@microsoft.com>
2018-02-28 17:30:34 -08:00
zhenggen-xu
c19daf2def [devices]: Change the alias name for ports on Celestica platforms (#1431) 2018-02-28 10:40:35 -08:00
Andriy Moroz
4f3a356432 [Mellanox] Add sensors config for MSN2740 (#1432)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-02-28 18:06:23 +02:00
Ying Xie
4cac329472
[SAI] upgrade to Broadcom SAI 3.1.3.4-2 (#1427) 2018-02-27 18:34:57 -08:00
StanleyCi
09b9bd8534 [Delta ag9032v1]: Add attributes for cpupld and swpld. (#1422)
Signed-off-by: Stanley Chi <stanley.chi@deltaww.com>
2018-02-27 12:51:53 -08:00
Polly Hsu
f5090d25da [device]: Add a new supported device AS7816-64X (#1426)
* Switch Vendor: Edge-core
* Switch SKU: AS7816-64X
* ASIC Vendor: Broadcom
* Swich ASIC: Tomahawk2
* Port Configuration: 64x100G
* SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: Polly Hsu <polly_hsu@edge-core.com>
2018-02-27 12:50:02 -08:00
Ying Xie
652bc4853c
[Arista7260CX3] add port speed information to port_config.ini (#1412)
* [port_config] add speed information for Arista7260CX3-D108C8

* [port config] add port speed information for Arista-7260CX3-C64
2018-02-27 12:16:15 -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
pavel-shirshov
43a98393e9
Error fix: The function can't have empty body in bash (#1420) 2018-02-26 17:42:20 -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
Jason Tsai
e18bffd105 [s9230-64x] fix switch port led issue (#1413) 2018-02-22 23:24:01 -08:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00