diff --git a/README.md b/README.md index 7a78ee8..fdfdad7 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ environment: Environment variables for templating: ```yaml environment: + N4: "203.0.113.2" ``` #### Routing @@ -53,7 +54,45 @@ environment: Environment variables for templating: ```yaml environment: - N4: "203.0.113.2" + DEBUG: "false" + HOOKS: |- + pre-init-hook: pre-init-hook.sh + post-init-hook: post-init-hook.sh + pre-exit-hook: pre-exit-hook.sh + post-exit-hook: post-exit-hook.sh + LOCATOR: "fd00:51D5:0000:1::/64" + HEADENDS: |- + - name: "gtp4 to sr" + to: "10.0.200.3/32" + provider: "NextMN" + behavior: "H.M.GTP4.D" + policy: + - match: + teid: 0x0001 + bsid: + bsid-prefix: "fd00:51D5:000:2::/80" + segments-list: + - "fd00:51D5:0000:3::" + - "fd00:51D5:0000:4::" + source-address-prefix: "fd00:51D5:000:1:9999::/80" + - name: "linux test" + to: "10.0.300.0/24" + provider: "Linux" + behavior: "H.Encaps" + policy: + - bsid: + segments-list: + - "fd00:51D5:0000:2::" + - "fd00:51D5:0000:3::" + ENDPOINTS: |- + - prefix: "fd00:51D5:0000:1:11::/80" + behavior: "End.DX4" + provider: "Linux" + - prefix: "fd00:51D5:0000:1:1::/80" + behavior: "End" + provider: "Linux" + LINUX-HEADEND-SET-SOURCE-ADDRESS: fd00:51D5:0000:: + IPV4-HEADEND-PREFIX: 10.0.200.3/32 ``` #### Container deployment diff --git a/srv6-ctrl/Dockerfile b/srv6-ctrl/Dockerfile index 667cd45..8865489 100644 --- a/srv6-ctrl/Dockerfile +++ b/srv6-ctrl/Dockerfile @@ -31,7 +31,7 @@ ENV ROUTING_SCRIPT="docker-setup" \ TEMPLATE_SCRIPT="template-script.sh" \ TEMPLATE_SCRIPT_ARGS="" \ CONFIG_FILE="/etc/nextmn/srv6-ctrl.yaml" \ - CONFIG_TEMPLATE="/usr/local/share/nextmn/srv6-ctrl.yaml" \ + CONFIG_TEMPLATE="/usr/local/share/nextmn/srv6-ctrl.yaml" ENTRYPOINT ["entrypoint.sh"] CMD ["--help"] diff --git a/srv6/Dockerfile b/srv6/Dockerfile index 9972746..4e79087 100644 --- a/srv6/Dockerfile +++ b/srv6/Dockerfile @@ -32,7 +32,7 @@ COPY ./template-srv6.yaml /usr/local/share/nextmn/ ENV TEMPLATE_SCRIPT="template-script.sh" \ TEMPLATE_SCRIPT_ARGS="" \ CONFIG_FILE="/etc/nextmn/srv6-ctrl.yaml" \ - CONFIG_TEMPLATE="/usr/local/share/nextmn/srv6-ctrl.yaml" \ + CONFIG_TEMPLATE="/usr/local/share/nextmn/srv6-ctrl.yaml" ENTRYPOINT ["entrypoint.sh"] CMD ["--help"]