Skip to content

Commit

Permalink
Merge branch 'Azure:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiele authored Sep 8, 2022
2 parents 9f62724 + 6d1c50a commit 32332b5
Show file tree
Hide file tree
Showing 26 changed files with 1,157 additions and 98 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dash-md-spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ on:
pull_request:
paths:
- '**/*.md'
- '.wordlist.txt'
push:
paths:
- '**/*.md'
- '.wordlist.txt'
workflow_dispatch:

jobs:
Expand Down
39 changes: 39 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,40 @@ bm
BMV
bmv
BMv
bootup
Bootup
br
breakpoint
Bringup
bruh
buildimage
BulkSyncDone
BW
bw
bz
callout
cd
centos
Cfg
cfg
checkboxes
chris
chrispsommers
ci
CLA
cla
CLI
CloudStorm
CNIP
codebase
compat
Compat
conf
CONFDB
confgen
config
Containerlab
CP
CreatedHalfOpenFlow
CreatedOtherFlow
CreatedTcpFlow
Expand All @@ -90,6 +100,7 @@ CurrentUdpFlow
customizable
Cx
cyberithub
dashsubmodule
DASHOrch
dashorch
DashOrch
Expand All @@ -98,6 +109,11 @@ DataCenter
datagram
Datagram
datagrams
datapath
Datapath
dataplane
Dataplane
dataplanes
datastore
DBs
DDoS
Expand All @@ -110,6 +126,7 @@ DEST
dest
dev
DHCP
dir
Disaggregated
Disaggregation
distro
Expand All @@ -123,12 +140,14 @@ Dockerfiles
dockerfiles
dockerhub
Dockerhub
dockerized
DoS
DotNet
downcasting
DPDK
DPU
dpu
DPUControlMsgs
DPUs
drawio
drilldown
Expand All @@ -149,6 +168,7 @@ DroppedRedirectPackets
DroppedResourcesMemory
DroppedResourcesPacket
DroppedResourcesUnifiedFlow
DSC
DSCP
dst
DuringPortTimer
Expand Down Expand Up @@ -199,6 +219,7 @@ gRPC
grpc
guid
GW
HB
HD
HLD
hld
Expand All @@ -207,6 +228,7 @@ hoc
HOSTIF
HSL
https
hw
HW
ICMP
idempotency
Expand All @@ -219,6 +241,7 @@ InbfromLB
INIT
Init
initializer
integrations
integrators
interoperable
io
Expand Down Expand Up @@ -255,6 +278,7 @@ kvm
lang
libsai
linux
liveness
LLDP
lldp
loadbalancer
Expand All @@ -263,8 +287,10 @@ loopback
LPM
lts
Macsec
makefile
Makefile
Makefiles
makefiles
MatchedHalfOpenFlow
MatchedOtherFlow
MatchedTcpFlow
Expand Down Expand Up @@ -318,6 +344,7 @@ OpenConfig
openconfig
opensource
OpenTrafficGenerator
oper
OPER
orch
OrchAgent
Expand All @@ -336,6 +363,7 @@ params
PAs
PCI
PCIe
Pensando
performant
pingmesh
PIR
Expand Down Expand Up @@ -372,6 +400,7 @@ Pyunit
qcow
QoS
Radv
rdpty
reachability
README
READMEs
Expand All @@ -384,6 +413,7 @@ repos
resimulation
responder
Resttapi
retransmission
retransmit
retransmitted
reviewable
Expand Down Expand Up @@ -420,6 +450,7 @@ sdn
Sflow
SHA
sharding
SInce
SKU
SKUs
SLB
Expand All @@ -443,6 +474,8 @@ SRC
src
STATEDB
stateful
statemachine
struct
subclassed
subdirectories
subdirectory
Expand All @@ -457,10 +490,15 @@ subtype
supportability
SUT
svg
sw
SwitchoverDone
switchovers
SWSS
swss
SynAck
syncd
synched
synching
TBD
tbd
TCP
Expand Down Expand Up @@ -519,6 +557,7 @@ unpair
Unpair
untracked
upcasting
upstreaming
vcpus
veth
VFP
Expand Down
66 changes: 66 additions & 0 deletions dash-pipeline/Makefile.3rdpty
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
all: dash-p4 sai thirdparty-saithrift-server docker-saithrift-client

clean: dash-p4-clean dash-sai-clean

# Submodule location relative to this Makefile
DASHDIR ?=DASH

DASH: dash-submodule

.PHONY: dash-submodule
dash-submodule:
@echo "Initializing DASH submodule..."
git submodule update --init DASH

# Build entire dash-pipeline codebase as sanity check
dash-pipeline-regression: DASH
$(MAKE) -C $(DASHDIR)/dash-pipeline clean
$(MAKE) -C $(DASHDIR)/dash-pipeline all

dash-pipeline-clean: DASH
$(MAKE) -C $(DASHDIR)/dash-pipeline clean

.PHONY: sai
sai: dash-sai-clean dash-sai-headers dash-sai-meta thirdparty-libsai


# Build behavioral model code, needed for SAI headers
dash-p4:
$(MAKE) -C $(DASHDIR)/dash-pipeline p4

dash-p4-clean:
$(MAKE) -C $(DASHDIR)/dash-pipeline p4-clean

dash-sai-clean:
$(MAKE) -C $(DASHDIR)/dash-pipeline sai-clean

# Autogenerate SAI headers
dash-sai-headers:
$(MAKE) -C $(DASHDIR)/dash-pipeline sai-headers

# Autogenerate SAI meta, needed for saithrift client/server
dash-sai-meta:
$(MAKE) -C $(DASHDIR)/dash-pipeline sai-meta

# Implementation-dependent libsai library
thirdparty-libsai:
@echo "Build third-pary libsai"
@echo " Put libsai.so under $(DASHDIR)/dash-pipeline/SAI/lib"
@echo " For use by saithrift-server build stage."

thirdparty-saithrift-server:
@echo "Build third-party saithrift-server"
@echo " Expects libsai.so under $(DASHDIR)/dash-pipeline/SAI/lib"
# For reference:
# $(MAKE) -C $(DASHDIR)/dash-pipeline saithrift-server

docker-saithrift-client:
@echo "Build third-pary saithrift-client"
@echo " Expects saithrift-server already built"
# Uncomment when saithrift server can be built
# $(MAKE) -C $(DASHDIR)/dash-pipeline docker-saithrift-client

run-all-tests:
# Uncomment when saithrift client & server can be built
# Can add more custom tests in addition to DASH tests
# make -C $(DASHDIR)/dash-pipeline run-all-tests
Loading

0 comments on commit 32332b5

Please sign in to comment.