-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom port naming based on config (#354)
* wip port naming * fix * support port map * lint * test * test fix * docs * feedback
- Loading branch information
Showing
18 changed files
with
266 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM us-west1-docker.pkg.dev/openconfig-lemming/internal/builder@sha256:6a960d06bfd63c9cd8cff1f2ab3b3cc21e578b570979b5574d232be644dd0bf9 | ||
WORKDIR /build | ||
COPY patches/sai.patch sai.patch | ||
RUN wget -q https://github.com/opencomputeproject/SAI/archive/refs/tags/v1.11.0.tar.gz && tar xf v1.11.0.tar.gz && rm v1.11.0.tar.gz | ||
RUN mkdir external && mv SAI-1.11.0 external/com_github_opencomputeproject_sai && patch -p1 -d external/com_github_opencomputeproject_sai < sai.patch | ||
COPY go.* . | ||
COPY dataplane/proto/sai/*.proto dataplane/proto/sai/ | ||
COPY dataplane/cpusink/*.go dataplane/cpusink/ | ||
COPY dataplane/standalone/packetio/*.go dataplane/standalone/packetio/ | ||
COPY dataplane/dplaneopts/*.go dataplane/dplaneopts/ | ||
COPY dataplane/forwarding/ dataplane/forwarding/ | ||
COPY dataplane/internal/kernel/*.go dataplane/internal/kernel/ | ||
COPY proto/forwarding/*.go proto/forwarding/ | ||
COPY dataplane/standalone/sai/*.cc dataplane/standalone/sai/ | ||
COPY dataplane/standalone/sai/*.h dataplane/standalone/sai/ | ||
COPY dataplane/standalone/entrypoint.cc dataplane/standalone/entrypoint.cc | ||
COPY Makefile . | ||
RUN make lucius-libsai -j 48 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.