Commit Graph

1293 Commits

Author SHA1 Message Date
simonJi2018
65b3774487 [nehpos] fix libsainps and nps-sdk bug for support sai 1.2.4 (#1639) 2018-04-25 22:20:14 -07:00
Qi Luo
4dc327d87a
[submodule]: Update submodule sonic-snmpagent (#1642)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-25 14:28:20 -07:00
Andriy Moroz
3726c9fa2f Update swss submodule pointer (#1641)
Includes:
- fix for PFCWD zero profile
- fix for racing condition in buffermgrd

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-25 10:18:07 -07:00
Qi Luo
d117172b23
sonic-cfggen supports hwsku parameter (#1631) 2018-04-24 16:01:17 -07:00
Joe LeVeque
f7151e8ddb
[radvd] Ensure at least one interface is specified in radvd.conf before starting radvd (#1636) 2018-04-24 15:13:51 -07:00
Qi Luo
0adbf782b4
[sonic-mgmt]: Install more azure packages (#1635)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-24 00:14:19 -07:00
Joe LeVeque
242f86d2dc [cli]: Update sudoers file to ensure no 'show' commands prompt for sudo password (#1632)
* [sonic-utilities] Update submodule

* Update sudoers file to ensure no 'show' commands prompt for sudo
2018-04-23 13:43:16 -07:00
yurypm
509e1c4749 [snmpd]: Fix typo in is_platform_arista (#1634) 2018-04-23 08:52:21 -07:00
Qi Luo
f403c1be04 [cfggen]: Fix build by fixing pyangbind version (#1633)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-23 00:09:26 -07:00
sihuihan88
0abb653cf2 [swss]:update submodule (#1630)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-04-20 22:19:22 -07:00
Samuel Angebault
1f05332e5a [snmp]: Fix a race between snmpd-config-updater and snmpd (#1628)
There is a small window in which snmpd might not have registered a
callback for SIGHUP and which will result in its death if
snmpd-config-updater send this signal meant for a config reload.
2018-04-20 22:19:01 -07:00
Taoyu Li
143842ee8f
[tacacs] User with priv_lvl 0 should not be in docker group (#1626) 2018-04-20 18:30:07 -07:00
Joe LeVeque
1df7c9a993
[docker-platform-monitor] Convert ledd from polling-based to subscription-based model (#1623) 2018-04-20 10:42:19 -07:00
pavel-shirshov
cde9a60c41
swss submodule update. Remove the global lock from swss (#1624) 2018-04-19 14:53:37 -07:00
Taoyu Li
8153ce7f05
[sudoer] Enable read-only commands for all users (#1558) 2018-04-19 11:25:08 -07:00
Rodny Molina
d42384168c [sonic-cfggen]: Sorting the information generated by sonic-cfggen for all j2 templates. (#1616)
With this patch all the content of the files generated by "sonic-cfggen -d -t" instructions will now be sorted, which is very useful for operational and troubleshooting purposes. See below a few examples of this behavior. Also, a few sonic-cfggen UT's have been modified to accomodate the new sorted configurations.

admin@lnos-x1-a-asw02:~$ sonic-cfggen -d -t /usr/share/sonic/templates/interfaces.j2 | more
…
auto lo
iface lo inet loopback
iface lo inet static
  address 10.10.1.2
  netmask 255.255.255.255
auto eth0
iface eth0 inet dhcp
allow-hotplug Ethernet112
iface Ethernet112 inet static
   mtu 9100
   address 10.1.2.2
   netmask 255.255.255.0
allow-hotplug Ethernet112
iface Ethernet112 inet6 static
  mtu 9100
  address fc00:1:2::2
  netmask 64
allow-hotplug Ethernet116
iface Ethernet116 inet static
   mtu 9100
   address 10.2.2.2
   netmask 255.255.255.0
allow-hotplug Ethernet116
iface Ethernet116 inet6 static
  mtu 9100
  address fc00:2:2::2
  netmask 64
allow-hotplug Ethernet120
iface Ethernet120 inet static
  mtu 9100
  address 10.3.2.2
  netmask 255.255.255.0

root@lnos-x1-a-csw01:/# sonic-cfggen -d -y /etc/sonic/deployment_id_asn_map.yml -t /usr/share/sonic/templates/bgpd.conf.j2
…
router bgp 65100
…
  network 10.10.2.1/32
  neighbor 10.0.0.1 remote-as 65200
  neighbor 10.0.0.1 description ARISTA01T2
  address-family ipv4
    neighbor 10.0.0.1 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.11 remote-as 65200
  neighbor 10.0.0.11 description ARISTA06T2
  address-family ipv4
    neighbor 10.0.0.11 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.13 remote-as 65200
  neighbor 10.0.0.13 description ARISTA07T2
  address-family ipv4
    neighbor 10.0.0.13 activate
    maximum-paths 64
  exit-address-family
  neighbor 10.0.0.15 remote-as 65200
  neighbor 10.0.0.15 description ARISTA08T2
  address-family ipv4
    neighbor 10.0.0.15 activate
    maximum-paths 64
  exit-address-family

root@lnos-x1-a-asw02:/# sonic-cfggen -d -t /usr/share/sonic/templates/lldpd.conf.j2
…
configure ports Ethernet4 lldp portidsubtype local Eth2/1 description ixia-card2-port8:Eth1/2/8
configure ports Ethernet112 lldp portidsubtype local Eth29/1 description lnos-x1-a-csw01:Eth29/1
configure ports Ethernet116 lldp portidsubtype local Eth30/1 description lnos-x1-a-csw02:Eth30/1
configure ports Ethernet120 lldp portidsubtype local Eth31/1 description lnos-x1-a-csw03:Eth31/1
configure ports Ethernet124 lldp portidsubtype local Eth32/1 description lnos-x1-a-csw04:Eth32/1

root@lnos-x1-a-asw02:/# sonic-cfggen -d -t /usr/share/sonic/templates/ports.json.j2 | more
[
    {
            "PORT_TABLE:Ethernet0": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
    {
            "PORT_TABLE:Ethernet1": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
    {
            "PORT_TABLE:Ethernet2": {
                        "speed": "10000",
                        "description": ""
    },
        "OP": "SET"
    },
]
2018-04-19 01:43:00 -07:00
Taoyu Li
5ebefeb841 [sonic-cfggen] Be case insensitive to hostname in minigraph (#1614) 2018-04-18 18:26:09 -07:00
Shuotian Cheng
01551363e2 [platform-common]: Update sonic-platform-common submodule (#1620)
[sfputilbase]: Add logic to parse the title of port_config.ini file

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-04-18 14:54:15 -07:00
Volodymyr Samotiy
61793dd05a [ip-in-ip]: Fix config template to apply correct platform depended values (#1619)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-04-18 09:37:27 -07:00
Jipan Yang
f0690b246b [build]: Fix the problem of ENABLE_SYSTEM_TELEMETRY not taking effect in rules/config (#1615)
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2018-04-18 00:31:12 -07:00
Ying Xie
58584ca30c
[test] Adding Broadcom configuration file test (#1611)
* [test] Adding Broadcom configuration file test

In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.

* Invoke test from Debian package builder

* Use $() syntax

* Remove the debug echo statement
2018-04-17 21:10:17 -07:00
sihuihan88
3728009690 [utilities]: Update sonic-utilities submodule (#1613)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-04-17 20:15:46 -07:00
pavel-shirshov
1ba00d27d0
Update sonic-swss submodule (#1612)
This includes priorities into orchagent
2018-04-17 18:56:07 -07:00
padmanarayana
ee811f374e Add support for S6100 switchport LEDs (#1610) 2018-04-17 18:18:09 -07:00
hui-ma
5c66beee66
[sonic-utilities] add pfcstat and queuestat tool (#1606) 2018-04-17 10:14:07 -07:00
pavel-shirshov
8a714c88c7
Use refactored Selectables from sonic-swss-common (#1604) 2018-04-16 18:38:48 -07:00
Andriy Moroz
6383de3907 [Mellanox] Add support for a new platform LS-SN2700
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-14 20:42:31 +00:00
Wenda Ni, Ph.D
f947172c0a [devices]: Merge ingress service pools of lossless and lossy traffic for TD2 (#1578)
Signed-off-by: Wenda <wenni@microsoft.com>
2018-04-13 22:22:21 -07:00
klhaung
0bdb407d3f [device]: Add LED initialzation file for Inventec-d7054q28b-r0 (#1595)
* update SAI profile
* Add a new Initialization file for Broadcom LED microprocessors
2018-04-13 17:06:12 -07:00
yurypm
2b9f877b8f [baseimage]: Fix tcpdmatch dependency (#1594)
* Fix tcpdmatch dependency

Issue: sonic_debian_extension.j2 uses tcpdmatch from src folder
       which is result of libwrap build
Fix: added tcpd.deb to build results and extract required files
     from build results

* Install libwrap0 and tcpd deb packages
2018-04-13 17:00:38 -07:00
Qi Luo
b097b9672c
Fix syntax error in snmpd.conf.j2 (#1597)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-13 10:50:58 -07:00
Prince Sunny
fcbbb8a369
50G support for Arista 7060 (#1580)
* 50G SKU for Arista 7060
2018-04-12 18:06:26 -07:00
Ying Xie
7759bc8b92 [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-10 (#1591)
* [Broadcom SAI] upgrade Broadcom SAI to version 3.1.3.4-9

Includes configuration files for following devices:

- Quanta 1X1B-32X
- Dell Z9264F
- Inventec D7054Q28B and D7032Q28B

* [bcm sai] upgrade sai version to 3.1.3.4-10

include configuration change to 7060 T0.
2018-04-12 17:55:08 -07:00
Qi Luo
f12ab9473e [minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth (#1592)
* [minigraph] Fix parser on PNG DeviceInterfaceLink Bandwidth

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-12 15:44:57 -07:00
lguohan
2d54d43a0f
[minigraph]: ignore minigraph ports which are not in port_config.ini (#1593)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-12 04:04:32 -07:00
ZivErlich
622d357719 Marvell's updates for SONiC 201803 over SAI v1.2 (#1588) 2018-04-11 16:52:58 -07:00
Harish Venkatraman
0d5dc775de [device/dell] Update pg_profile_lookup.ini (#1586)
This commit updates the pg_profile_lookuip.ini file with
correct xoff values for 50G. 25G/40m xoff value is updated
to reflect the correct value.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2018-04-11 08:12:37 -07:00
Joe LeVeque
291321d851 Incorporate swss-common Table Name Separator Changes (#1584)
* Table name separator now determined by database ID, no longer passed manually upon table creation

* Update submodules to include table name separator changes
2018-04-11 01:50:17 -07:00
Prince Sunny
7b31f7df32 [devices]: Fix type for qos.json in 7060 and S6100 (#1582) 2018-04-10 22:45:59 -07:00
Taoyu Li
856fc830b5 [snmp] support multiple community strings (proposal 2) (#1583)
* [snmp] support multiple community strings

* Use community old if communities is absent
2018-04-10 20:20:35 -07:00
Samuel Angebault
ca111db34d [device] Update Arista driver submodule (#1585)
Watchdog timeout increased
2018-04-10 20:16:07 -07:00
Qi Luo
ccff73bb33 [snmp]: Bind snmpd to all ip addresses (#1587)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-10 20:15:20 -07:00
byu343
27e57c06ab [devices]: Fix the issue of ma1 not found in boot0 for Arista (#1579) 2018-04-10 20:14:45 -07:00
Joe LeVeque
c626dc921f
Allow one Service ACL to bind to multiple services (#1576)
* [caclmgrd] Also ignore IP protocol if found in rule; we will only use our predefined protocols
2018-04-10 18:14:12 -07:00
pavel-shirshov
83f81c9676
Use eth0 interface only to generate lldpd SystemId (#1577) 2018-04-10 13:37:46 -07:00
simonJi2018
2f53bcf8be [platform/nephos]add makefile for 7116 board (#1572) 2018-04-10 09:43:26 -07:00
Qi Luo
c29def6379 [installer]: Umount before delete partition (#1575)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-04-09 23:51:43 -07:00
lguohan
af0013e939
[cfggen]: ignore acl when its type is not defined (#1568)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-09 16:41:51 -07:00
lguohan
4d3f44bc32
[submodules]: update sonic-utilities (#1571)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-07 15:50:37 -07:00
lguohan
5a47b81c4b
[submodules]: update sonic-swss (#1570)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-07 10:19:55 -07:00