Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Nov 15, 2024
1 parent 6a49a4a commit 9f56ff4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion srv6-ctrl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT

FROM golang:1.22 AS builder
ARG COMMIT=v0.0.17
ARG COMMIT=v0.0.18
RUN : ${COMMIT:? Missing build-arg COMMIT.} && go install github.com/nextmn/srv6-ctrl@${COMMIT}


Expand Down
5 changes: 3 additions & 2 deletions srv6-ctrl/template-srv6-ctrl.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pfcp-address: "%N4"
http-address: "%HTTP_ADDRESS"
http-port: "%HTTP_PORT"
control:
uri: "http://[%HTTP_ADDRESS]:%HTTP_PORT"
bind-addr: "[%HTTP_ADDRESS]:%HTTP_PORT"
logger:
level: "%LOG_LEVEL"
downlink:
Expand Down
2 changes: 1 addition & 1 deletion srv6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT

FROM golang:1.22 AS builder
ARG COMMIT=v0.0.21
ARG COMMIT=v0.0.22
RUN : ${COMMIT:? Missing build-arg COMMIT.} && go install github.com/nextmn/srv6@${COMMIT} \
&& find /go/pkg/mod/github.com/nextmn -iname 'srv6@*' -type d -exec ln -s {} /configuration \;

Expand Down
5 changes: 3 additions & 2 deletions srv6/template-srv6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
hooks: %HOOKS

http-address: "%HTTP_ADDRESS"
http-port: "%HTTP_PORT"
control:
uri: "http://[%HTTP_ADDRESS]:%HTTP_PORT"
bind-addr: "[%HTTP_ADDRESS]:%HTTP_PORT"
controller-uri: "%CONTROLLER_URI"
backbone-ip: "%BACKBONE_IP"

Expand Down

0 comments on commit 9f56ff4

Please sign in to comment.