Commit Graph

300 Commits

Author SHA1 Message Date
lguohan
875bdf6be9
[vs] add teamsyncd into vs docker (#1112)
* [vs] add teamsyncd into vs docker

* add build badge for virtual switch
2017-11-03 17:13:39 -07:00
Andriy Moroz
4e1fb6850f Update Mellanox buffers profile to use single pool for lossless (#1101)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-11-03 16:31:02 -07:00
Taoyu Li
ef438002b8 [swsssdk] Update swsssdk pointer (#1107) 2017-11-03 09:33:23 -07:00
Oleksandr Ivantsiv
29f67ebe58 [acl-loader]: acl-loader integration. (#1000)
* [acl-loader]: acl-loader integration.

acl-loader was inplemented based on translate_acl source code. acl-loader
can't be tested with unittest. Same testcases will be covered with testbed tests.

- Remove translate_acl utility and tests.
- Remove mirror template.
- Do not run ACL rules and mirror configuration generators.
- Adopt minigraph parser to work with acl-loader.

* Update sonic-swss-common and sonic-swss submodules.

Enable ACL dynamic config feature.

* Update sonic-utilities submodule.

Include fix for acl-loader incremental update command.

* [sonic-cfggen]: Add test for everflow cfggen configuration.
2017-11-02 15:09:27 -07:00
Bairen Yi
967030f24d Change third party repos from git:// to https:// for better compatibility (#1104)
* Change git:// to https:// for better security and compatibility
2017-11-02 11:19:05 -07:00
Shuotian Cheng
b0c13ea928 [snmpagent]: Update sonic-snmpagent submodule (#1094)
Include the fix:
[mibs]: Add oid:0x prefix to the SAI ID in counter table (#48)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-30 14:47:07 -07:00
Shuotian Cheng
2ba281829c
[swss]: Update sonic-swss submodule (#1091)
Including:
- [swss] a couple non-functional code cleanup changes
- [bufferorch] move buffer pool definitions together
- [orchagent] optimize the code structure
- [orchagent]: Fix hang problem caused by erase operation on empty map
- [orchagent]: Support port/LAG in multiple VLANs

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-29 11:50:49 -07:00
Taoyu Li
437419c79e Update submodule pointer and sonic-slave for test dependency (#1084) 2017-10-26 16:49:25 -07:00
Prince Sunny
3d290b96d9 Submodule updated for py-swsssdk and utilities (#1083) 2017-10-26 14:03:46 -07:00
lguohan
623e7fe939 [utilities]: update sonic-utilities submodule (#1076) 2017-10-25 21:37:09 -07:00
Qi Luo
47c8567d93 [snmp]: Update sonic-snmpagent submodule (#1078) 2017-10-25 16:43:43 -07:00
Taoyu Li
8b8b8a130f [cfg engine] Separate portconfig.py as individual module for port_config.ini parsing (#1072)
Move port_config.ini related parsing code out of minigraph.py and create an independent portconfig.py.
Add support to multiple optional fields according to Porting Guide
2017-10-24 10:56:09 -07:00
lguohan
f073d8c654 [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
zhenggen-xu
a49ac2d211 [FRR]: Change the FRR as a submodule (#1071)
Signed-off-by: zxu@linkedin.com
2017-10-23 21:17:58 -07:00
Qi Luo
3417e78d55 [swss-common]: Update sonic-swss-common submodule (#1064)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-22 13:44:44 -07:00
Taoyu Li
8bc6b55331 [bgpd.conf] Fix template issue with multiple lo addresses (#1060) 2017-10-20 07:15:11 -07:00
Shuotian Cheng
2a56479187 [sonic-cfggen]: Add DEVICE_NEIGHBOR_METADATA field and move msn27xx template (#1025)
This field contains all neighbor devices information using the device
hostname as the key and having lo_addr, mgmt_addr, hwsku, type as the
attributes.

Move the file msn27xx.32ports.buffers.json.j2 from sonic-swss repository to
this repository so that we could add unit test for this file.

Unit test is added for platform ACS-MSN2700.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-19 00:38:25 -07:00
Shu0T1an ChenG
03e532aa81 [utilities]: Update sonic-utilities submodule
[portstat]: Fix typo

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 16:33:33 -07:00
Shuotian Cheng
ee168b0c09 [py-swsssdk]: Update sonic-py-swsssdk submodule (#1048)
Including this commit:
[port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 14:49:20 -07:00
Qi Luo
e5c68d3bfe [snmp]: Update sonic-snmpagent submodule (#1046)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-17 09:28:35 -07:00
Shuotian Cheng
b14c03a14d [utilities]: Update sonic-utilities submodule (#1045)
[portstat]: Combine ADMIN and OPER fields

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 09:28:26 -07:00
Joe LeVeque
37dc7bd478 [interfaces]: Set hwaddr of VLAN interfaces to system MAC upon creation (#1042) 2017-10-16 17:36:21 -07:00
nikos-li
51ebdf43ac [frr]: Support for nhopself, keepalive and holdtime timers, prefer global ebgp nexthop (#1024)
* RR client support in minigraph for FRR
* Fix python warning from previous rrclient commit and move config handling to a more relevant place for this cmd
* Add config support for nhopself, keepalive and holdtime timers.
* Add route-map to prefer global nexthops for ebgp learned prefixes.
2017-10-11 15:31:38 -07:00
lguohan
758c5e9a2e [submodule]: update sonic-utilities (#1020) 2017-10-06 23:37:35 -07:00
Joe LeVeque
8a305ce9c9 [sonic-utilities]: Build as Debian package once again (revert change to wheel) (#1018) 2017-10-06 12:46:47 -07:00
Taoyu Li
7fa502a45e [cfggen] Fix a bug in --var-json option with multi-keys (#1015) 2017-10-05 21:45:34 -07:00
Taoyu Li
bea7476aa8 Update sonic-utilities pointer (#1017) 2017-10-05 21:01:08 -07:00
Joe LeVeque
60339dc27d [sonic-utilities]: Update submodule to fix broken 'show' command (#1013) 2017-10-05 11:30:31 -07:00
Joe LeVeque
1d16a37d48 [DHCP Relay]: Support Multiple VLANs (Separate DHCP Relay Agents, One Per VLAN) (#999)
* [DHCP Relay]: Support new <DhcpRelays> minigraph tag; support multiple VLANs

* Don't start dhcrelay in quiet mode so as to get startup output in syslog

* Update sonic-cfggen tests to support new '<DhcpRelays>' tag

* <DhcpRelays> tag is only present for VLANs which require a DHCP relay agent -- only parse if present

* Don't attempt to configure a DHCP relay agent for VLANs without specified DHCP servers

* Modify to work with Taoyu's minigraph/DB changes (#942)

* Reduce number of DHCP servers in sonic-cfggen unit tests from 4 to 2

* Remove isc-dhcp-relay sample output file from sonic-cfggen test, as we no longer generate that file

* Update Option 82 isc-dhcp-relay patch to load all interface name-alias maps into memory once at start instead of calling sonic-cfggen on each packet we relay

* Remove executable permission from Jinja2 template

* Set max hop count to 1 so that DHCP relay will only relay packets with a hop count of zero

* Replace tabs with spaces

* Modify overlooked sonic-cfggen call, use Config DB instead of minigraph

* Also ensure > 1 VLAN requires a DHCP relay agent before outputting to template

* Generate port name-alias map file using sonic-cfggen and parse that in lieu of parsing port_config.ini directly

* No longer drop packets with hop count > 0; Instead, drop packets which already contain agent info
2017-10-04 23:35:43 -07:00
Joe LeVeque
1cd9818fe9 [build]: sonic-utilities package depends on swsssdk; build as wheel and add build dependency (#1011)
* [build]: sonic-utilities package now depends on swsssdk; add build dependency

* Now building sonic-utilities Python package in wheel format

* Update sonic-utilities submodule

* Change output wheel name to match proper format
2017-10-04 19:50:39 -07:00
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