Loading deploy/all.sh +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ export TFS_REGISTRY_IMAGES=${TFS_REGISTRY_IMAGES:-"http://localhost:32000/tfs/"} # If not already set, set the list of components, separated by spaces, you want to build images for, and deploy. # By default, only basic components are deployed export TFS_COMPONENTS=${TFS_COMPONENTS:-"context device pathcomp service slice nbi webui load_generator"} export TFS_COMPONENTS=${TFS_COMPONENTS:-"context device pathcomp opticalcontroller service slice nbi webui load_generator"} # Uncomment to activate Monitoring (old) #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" Loading manifests/deviceservice.yaml +9 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ spec: template: metadata: annotations: # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd config.linkerd.io/skip-outbound-ports: "8002" labels: app: deviceservice Loading @@ -37,6 +36,10 @@ spec: ports: - containerPort: 2020 - containerPort: 9192 # Add this new port for the Flask API - name: flask-api containerPort: 10065 protocol: TCP env: - name: LOG_LEVEL value: "INFO" Loading Loading @@ -78,3 +81,8 @@ spec: protocol: TCP port: 9192 targetPort: 9192 # Add this new port mapping - name: flask-api protocol: TCP port: 10065 targetPort: 10065 manifests/opticalcontrollerservice.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -70,3 +70,22 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- # 2. New external service (for public access) apiVersion: v1 kind: Service metadata: name: opticalcontrollerservice-external # Different name labels: app: opticalcontrollerservice spec: type: NodePort # Or LoadBalancer selector: app: opticalcontrollerservice ports: - name: grpc-external protocol: TCP port: 10060 targetPort: 10060 nodePort: 31060 # Only for NodePort No newline at end of file proto/context.proto +1 −0 Original line number Diff line number Diff line Loading @@ -675,6 +675,7 @@ message AuthenticationResult { // ---------------- Experimental ------------------------ message OpticalConfigId { string opticalconfig_uuid = 1; } Loading scripts/aa.txt 0 → 100644 +1057 −0 File added.Preview size limit exceeded, changes collapsed. Show changes Loading
deploy/all.sh +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ export TFS_REGISTRY_IMAGES=${TFS_REGISTRY_IMAGES:-"http://localhost:32000/tfs/"} # If not already set, set the list of components, separated by spaces, you want to build images for, and deploy. # By default, only basic components are deployed export TFS_COMPONENTS=${TFS_COMPONENTS:-"context device pathcomp service slice nbi webui load_generator"} export TFS_COMPONENTS=${TFS_COMPONENTS:-"context device pathcomp opticalcontroller service slice nbi webui load_generator"} # Uncomment to activate Monitoring (old) #export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" Loading
manifests/deviceservice.yaml +9 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ spec: template: metadata: annotations: # Required for IETF L2VPN SBI when both parent and child run in same K8s cluster with Linkerd config.linkerd.io/skip-outbound-ports: "8002" labels: app: deviceservice Loading @@ -37,6 +36,10 @@ spec: ports: - containerPort: 2020 - containerPort: 9192 # Add this new port for the Flask API - name: flask-api containerPort: 10065 protocol: TCP env: - name: LOG_LEVEL value: "INFO" Loading Loading @@ -78,3 +81,8 @@ spec: protocol: TCP port: 9192 targetPort: 9192 # Add this new port mapping - name: flask-api protocol: TCP port: 10065 targetPort: 10065
manifests/opticalcontrollerservice.yaml +19 −0 Original line number Diff line number Diff line Loading @@ -70,3 +70,22 @@ spec: protocol: TCP port: 9192 targetPort: 9192 --- # 2. New external service (for public access) apiVersion: v1 kind: Service metadata: name: opticalcontrollerservice-external # Different name labels: app: opticalcontrollerservice spec: type: NodePort # Or LoadBalancer selector: app: opticalcontrollerservice ports: - name: grpc-external protocol: TCP port: 10060 targetPort: 10060 nodePort: 31060 # Only for NodePort No newline at end of file
proto/context.proto +1 −0 Original line number Diff line number Diff line Loading @@ -675,6 +675,7 @@ message AuthenticationResult { // ---------------- Experimental ------------------------ message OpticalConfigId { string opticalconfig_uuid = 1; } Loading
scripts/aa.txt 0 → 100644 +1057 −0 File added.Preview size limit exceeded, changes collapsed. Show changes