Loading config_db.json 0 → 100644 +1 −0 Changes for config_db.json: 1 added line, 0 removed lines. Original line number Diff line number Diff line { "DEVICE_METADATA": { "localhost": { "hostname": "whitebox-emu" } } } manifests/nginx_ingress_http.yaml +7 −0 Changes for manifests/nginx_ingress_http.yaml: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -128,3 +128,10 @@ spec: name: nbiservice port: number: 8080 - path: /()(ztp-api/.*) pathType: Prefix backend: service: name: nbiservice port: number: 8080 manifests/ztp_server.yaml→manifests/ztp_serverservice.yaml +6 −6 Changes for manifests/ztp_serverservice.yaml: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -15,16 +15,16 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ztp_serverservice name: ztp-serverservice spec: selector: matchLabels: app: ztp_serverservice app: ztp-serverservice #replicas: 1 template: metadata: labels: app: ztp_serverservice app: ztp-serverservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -55,13 +55,13 @@ spec: apiVersion: v1 kind: Service metadata: name: ztp_serverservice name: ztp-serverservice labels: app: ztp_serverservice app: ztp-serverservice spec: type: ClusterIP selector: app: ztp_serverservice app: ztp-serverservice ports: - name: http protocol: TCP Loading my_deploy.sh +3 −0 Changes for my_deploy.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ export TFS_COMPONENTS="context device pathcomp service nbi webui" # Uncomment to activate ZTP #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp" # Uncomment to activate ZTP Server #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp_server" # Uncomment to activate Policy Manager #export TFS_COMPONENTS="${TFS_COMPONENTS} policy" Loading scripts/show_logs_ztp_server.sh 0 → 100644 +28 −0 Changes for scripts/show_logs_ztp_server.sh : 28 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ######################################################################################################################## # Define your deployment settings here ######################################################################################################################## # If not already set, set the name of the Kubernetes namespace to deploy to. export TFS_K8S_NAMESPACE=${TFS_K8S_NAMESPACE:-"tfs"} ######################################################################################################################## # Automated steps start here ######################################################################################################################## kubectl -n ${TFS_K8S_NAMESPACE:-tfs} logs deploy/ztp-serverservice -c server Loading
config_db.json 0 → 100644 +1 −0 Changes for config_db.json: 1 added line, 0 removed lines. Original line number Diff line number Diff line { "DEVICE_METADATA": { "localhost": { "hostname": "whitebox-emu" } } }
manifests/nginx_ingress_http.yaml +7 −0 Changes for manifests/nginx_ingress_http.yaml: 7 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -128,3 +128,10 @@ spec: name: nbiservice port: number: 8080 - path: /()(ztp-api/.*) pathType: Prefix backend: service: name: nbiservice port: number: 8080
manifests/ztp_server.yaml→manifests/ztp_serverservice.yaml +6 −6 Changes for manifests/ztp_serverservice.yaml: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -15,16 +15,16 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ztp_serverservice name: ztp-serverservice spec: selector: matchLabels: app: ztp_serverservice app: ztp-serverservice #replicas: 1 template: metadata: labels: app: ztp_serverservice app: ztp-serverservice spec: terminationGracePeriodSeconds: 5 containers: Loading Loading @@ -55,13 +55,13 @@ spec: apiVersion: v1 kind: Service metadata: name: ztp_serverservice name: ztp-serverservice labels: app: ztp_serverservice app: ztp-serverservice spec: type: ClusterIP selector: app: ztp_serverservice app: ztp-serverservice ports: - name: http protocol: TCP Loading
my_deploy.sh +3 −0 Changes for my_deploy.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ export TFS_COMPONENTS="context device pathcomp service nbi webui" # Uncomment to activate ZTP #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp" # Uncomment to activate ZTP Server #export TFS_COMPONENTS="${TFS_COMPONENTS} ztp_server" # Uncomment to activate Policy Manager #export TFS_COMPONENTS="${TFS_COMPONENTS} policy" Loading
scripts/show_logs_ztp_server.sh 0 → 100644 +28 −0 Changes for scripts/show_logs_ztp_server.sh : 28 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash # Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ######################################################################################################################## # Define your deployment settings here ######################################################################################################################## # If not already set, set the name of the Kubernetes namespace to deploy to. export TFS_K8S_NAMESPACE=${TFS_K8S_NAMESPACE:-"tfs"} ######################################################################################################################## # Automated steps start here ######################################################################################################################## kubectl -n ${TFS_K8S_NAMESPACE:-tfs} logs deploy/ztp-serverservice -c server