Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swss: Dataplane telemetry support in SONiC #521

Merged
merged 96 commits into from
Jul 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
475e2da
initial barefoot support october 2017
Nov 2, 2017
3772494
import changes from telemetry branch
Nov 3, 2017
5183cf2
Fix merge issues w.r.t rel_6_0 branch
Nov 3, 2017
4a02a6f
add validate and get port speed APIs - cleanup deletes from earlier c…
Nov 3, 2017
9aa8377
Merge branch 'rel_6_0' into bf-master
Nov 3, 2017
c78f25f
missed changes from earlier
Nov 4, 2017
56d480e
missed integration delete
Nov 4, 2017
e0cad33
trying to get close to master version - and not break other vendor
Nov 5, 2017
1531771
set the port config in the ASIC_DB
Nov 6, 2017
0011df4
update hostif oper status besides the DB update
Nov 6, 2017
52b553f
Fix compilation issues
Nov 7, 2017
b5f5856
merge closer to master - including spaces and comments
Nov 8, 2017
1b347a4
fix typos
Nov 9, 2017
c5eae16
Merge branch 'rel_6_0' into rel_6_0_telemetry
Nov 10, 2017
41cff68
Merge remote-tracking branch 'azure/master' into bf-master
Nov 13, 2017
8c1d488
cosmetic fix
Nov 13, 2017
55ccc28
Fix errors due to saiacl.h changes
Nov 16, 2017
34fa4c0
Fix more errors due to sai header file changes
Nov 16, 2017
c944692
Merge remote-tracking branch 'azure/master' into bf-master
Nov 18, 2017
f9d4999
Merge remote-tracking branch 'azure/master' into bf-master
Nov 21, 2017
2505270
fix the order of nexthop/neighbor delete
Nov 22, 2017
5a1db21
Merge remote-tracking branch 'origin/rel_6_1' into bf-master
Nov 22, 2017
95abdfd
Fix compilation issues and few issues seen in testing
Nov 27, 2017
ac4cdda
Changes needed to add new Dtel api support to sairedis
Nov 29, 2017
d728c39
Report session DTel table related fixes
Dec 1, 2017
8b93a9d
Add more error handling code
Dec 1, 2017
2324da5
Fix logic to read table name and keys from m_toSync map
Dec 4, 2017
e5a9005
Update value for dtel actions
Dec 6, 2017
07b725e
Handle boolean attributes to accept true/false as well as presence/ab…
Dec 6, 2017
6c209bb
Merge remote-tracking branch 'origin/rel_6_0_telemetry' into telemetry
Dec 8, 2017
bc72e6e
Fix merge errors
Dec 8, 2017
620463a
Incorporate configdb related changes for dtel
Dec 9, 2017
5aabe44
Merge remote-tracking branch 'azure/master' into bf-master
Dec 11, 2017
34f5fdc
fix code merge issue
Dec 14, 2017
b5cef3e
Incorporate configdb related changes for dtel
Dec 9, 2017
0b921c6
Merge remote-tracking branch 'azure/master' into bf-master
Dec 18, 2017
3e7243b
Merge remote-tracking branch 'azure/master' into bf-master
Dec 18, 2017
6ad7ece
add pfc_detect lua script
Dec 18, 2017
84b7ccd
Changes to incorporate new DTel SAI changes
Dec 22, 2017
f6c84f3
Merge branch 'telemetry_cfgdb' into rel_7_0_telemetry
Jan 10, 2018
cc056e9
Merge branch 'telemetry_exp_sai' into rel_7_0_telemetry
Jan 10, 2018
64d3d14
SONiC changes due to DTel experimental SAI changes
Jan 4, 2018
5374ea1
cleanup configure.ac to allow barefoot platform includes
Mar 5, 2018
7bf3da3
fix typo
Mar 6, 2018
870cf49
revert commented tunneldecap
Mar 6, 2018
041d82d
test selective tunneldecap
Mar 7, 2018
75aed6e
revert too ambitious an attempt and just push_back into vector!
Mar 7, 2018
f7df97f
change fec mode to string (from integer)
Mar 7, 2018
a12a2e5
cleanup based on review
Mar 12, 2018
5d049e8
closer to 201712 - cosmetic cleanup
Mar 13, 2018
933960f
address review comments
Mar 15, 2018
bc95cca
fix format
lguohan Mar 16, 2018
ca55556
Support for platforms based on Barefoot Networks' device (#452)
Mar 16, 2018
5c90f45
Fix issue with "config save" followed by reboot
Apr 27, 2018
59d0db1
Merge branch 'master' into sonicSaiv1.3
mkbalani May 14, 2018
7ed4761
Temp remove crmorch
mkbalani May 31, 2018
c419695
Initial code changes to address community design review comments
May 31, 2018
98c75be
Temp remove crmorch
mkbalani May 31, 2018
a8713ef
Merge branch 'bf-master' into sonicSaiv1.3
mkbalani May 31, 2018
b9cd4b7
Merge pull request #1 from barefootnetworks/sonicSaiv1.3
mkbalani Jun 1, 2018
bd2bf43
More changes to address review comments
Jun 1, 2018
6b6fe2c
Merge branch 'dtel_review_comments' into dtel_master_merge
Jun 1, 2018
9a8186f
Fix build errors
Jun 5, 2018
fc61b9d
Fix for orchagent crash
Jun 6, 2018
718daf5
Fix queue report deletion error
Jun 7, 2018
dee4d73
Merge pull request #2 from barefootnetworks/dtel_master_merge
shruthi9 Jun 7, 2018
b3b72f2
Bug fixes
Jun 8, 2018
bdd5cc5
Re-enable crm orchagent (#3)
mkbalani Jun 20, 2018
8c34206
Add support for new watchlist attribute to enable/disable tail drop r…
Jun 26, 2018
a10281a
Merge pull request #4 from barefootnetworks/dtel_fixes
shruthi9 Jun 27, 2018
a8b259c
Add new VS test for Dataplane Telemetry feature
Jul 4, 2018
533fb60
Add support for AN and FEC to be specified in port_config.ini
Mar 16, 2018
055b31f
do not set autoneg if it is already set
lguohan Jul 5, 2018
8ef7880
Address review comments
Jul 6, 2018
b27f975
Fix compilation errors
Jul 6, 2018
2ab8dd8
Merge pull request #5 from barefootnetworks/dtel_ab_comments
shruthi9 Jul 6, 2018
8d3cfd8
Merge remote-tracking branch 'azure/master' into azure-merge
Jul 9, 2018
1568c1d
Merge pull request #6 from barefootnetworks/azure-merge
shruthi9 Jul 10, 2018
326b00f
set port adv speed for AN and add test
lguohan Jul 11, 2018
a3beecc
Convert all the tabs to spaces
Jul 11, 2018
07c88f8
Bring in changes for port an/fec from azure master
mkbalani Jul 12, 2018
983646c
Merge remote-tracking branch 'lguohan/port' into port_an_fec_fix
mkbalani Jul 12, 2018
657744f
Address review comments
Jul 12, 2018
5a04ef6
Remove trailing whitespaces
Jul 12, 2018
d3cea52
Merge pull request #7 from barefootnetworks/port_an_fec_fix
mkbalani Jul 13, 2018
e15596b
Merge remote-tracking branch 'azure/master' into bf-master
Jul 13, 2018
f0a7129
Fix vs test indentation
Jul 13, 2018
42ca6ed
Address review comments
Jul 13, 2018
3f653dd
Merge branch 'bf-master' into dtel_rev_comments
Jul 13, 2018
6a96973
Fix for VS test
Jul 13, 2018
f047cde
Merge pull request #8 from barefootnetworks/dtel_rev_comments
shruthi9 Jul 13, 2018
98f3c2b
Fix VS test failure
Jul 13, 2018
ed71655
Fix for VS test
Jul 13, 2018
658e4a3
More VS test fixes
Jul 14, 2018
6f033e3
Merge remote-tracking branch 'azure/master' into bf-master
Jul 15, 2018
533773e
Fix for test_mirror VS test that was failing due to new DTel ACL tables
Jul 15, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ esac],[gtest=false])
AM_CONDITIONAL(GTEST, test x$gtest = xtrue)

CFLAGS_COMMON="-std=c++11 -Wall -fPIC -Wno-write-strings -I/usr/include/libnl3 -I/usr/include/swss"

AM_CONDITIONAL(sonic_asic_platform_barefoot, test x$CONFIGURED_PLATFORM = xbarefoot)
AM_COND_IF([sonic_asic_platform_barefoot],
[CFLAGS_COMMON+=" -I/opt/bfn/install/include/switchsai"])

CFLAGS_COMMON+=" -Werror"
CFLAGS_COMMON+=" -Wno-reorder"
CFLAGS_COMMON+=" -Wcast-align"
Expand Down
3 changes: 3 additions & 0 deletions orchagent/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ swssdir = $(datadir)/swss
dist_swss_DATA = \
pfc_detect_mellanox.lua \
pfc_detect_broadcom.lua \
pfc_detect_barefoot.lua \
pfc_restore.lua

bin_PROGRAMS = orchagent routeresync
Expand Down Expand Up @@ -41,6 +42,7 @@ orchagent_SOURCES = \
request_parser.cpp \
vrforch.cpp \
countercheckorch.cpp \
dtelorch.cpp \
flexcounterorch.cpp\
acltable.h \
aclorch.h \
Expand All @@ -67,6 +69,7 @@ orchagent_SOURCES = \
crmorch.h
request_parser.h \
vrforch.h \
dtelorch.h \
countercheckorch.h \
flexcounterorch.h

Expand Down
Loading