Loading manifests/e2e_orchestratorservice.yaml +16 −22 Viewed Changes for manifests/e2e_orchestratorservice.yaml: 16 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -20,8 +20,12 @@ spec: selector: matchLabels: app: e2e-orchestratorservice replicas: 1 template: metadata: annotations: config.linkerd.io/skip-outbound-ports: "8761" config.linkerd.io/skip-inbound-ports: "8761" labels: app: e2e-orchestratorservice spec: Loading @@ -33,9 +37,18 @@ spec: ports: - containerPort: 10050 - containerPort: 9192 - containerPort: 8761 env: - name: LOG_LEVEL value: "INFO" - name: WS_IP_HOST value: "nbiservice.tfs-ip.svc.cluster.local" - name: WS_IP_PORT value: 8761 - name: WS_E2E_HOST value: "e2e-orchestratorservice.tfs-e2e.svc.cluster.local" - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10050"] Loading Loading @@ -67,25 +80,6 @@ spec: - name: metrics port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: e2e-orchestratorservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: e2e-orchestratorservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 - name: ws port: 8761 targetPort: 8761 manifests/nbiservice.yaml +10 −0 Viewed Changes for manifests/nbiservice.yaml: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -23,6 +23,9 @@ spec: replicas: 1 template: metadata: annotations: config.linkerd.io/skip-inbound-ports: "8762" config.linkerd.io/skip-outbound-ports: "8762" labels: app: nbiservice spec: Loading @@ -35,11 +38,14 @@ spec: - containerPort: 8080 - containerPort: 9090 - containerPort: 9192 - containerPort: 8762 env: - name: LOG_LEVEL value: "INFO" - name: IETF_NETWORK_RENDERER value: "LIBYANG" - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:9090"] Loading Loading @@ -77,3 +83,7 @@ spec: protocol: TCP port: 9192 targetPort: 9192 - name: ws protocol: TCP port: 8762 targetPort: 8762 manifests/vnt_managerservice.yaml 0 → 100644 +77 −0 Viewed Changes for manifests/vnt_managerservice.yaml: 77 added lines, 0 removed lines. Original line number Diff line number Diff line # Copyright 2022-2024 ETSI OSG/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. apiVersion: apps/v1 kind: Deployment metadata: name: vnt-managerservice spec: selector: matchLabels: app: vnt-managerservice replicas: 1 template: metadata: annotations: config.linkerd.io/skip-outbound-ports: "8765" config.linkerd.io/skip-inbound-ports: "8765" labels: app: vnt-managerservice spec: terminationGracePeriodSeconds: 5 containers: - name: server image: labs.etsi.org:5050/tfs/controller/vnt_manager:latest imagePullPolicy: Always ports: - containerPort: 10080 - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" - name: WS_IP_PORT value: 8761 - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10080"] livenessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10080"] resources: requests: cpu: 250m memory: 128Mi limits: cpu: 1000m memory: 1024Mi --- apiVersion: v1 kind: Service metadata: name: vnt-managerservice labels: app: vnt-managerservice spec: type: ClusterIP selector: app: vnt-managerservice ports: - name: grpc port: 10080 targetPort: 10080 - name: metrics port: 9192 targetPort: 9192 proto/context.proto +8 −0 Viewed Changes for proto/context.proto: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -260,6 +260,7 @@ message Link { string name = 2; repeated EndPointId link_endpoint_ids = 3; LinkAttributes attributes = 4; LinkTypeEnum link_type = 5; } message LinkIdList { Loading @@ -275,6 +276,13 @@ message LinkEvent { LinkId link_id = 2; } enum LinkTypeEnum { LINKTYPE_UNKNOWN = 0; LINKTYPE_COPPER = 1; LINKTYPE_VIRTUAL_COPPER = 2; LINKTYPE_OPTICAL = 3; LINKTYPE_VIRTUAL_OPTICAL = 4; } // ----- Service ------------------------------------------------------------------------------------------------------- message ServiceId { Loading proto/e2eorchestrator.proto +1 −0 Viewed Changes for proto/e2eorchestrator.proto: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import "context.proto"; service E2EOrchestratorService { rpc Compute(E2EOrchestratorRequest) returns (E2EOrchestratorReply) {} rpc PushTopology(context.Topology) returns (context.Empty) {} } message E2EOrchestratorRequest { Loading Loading
manifests/e2e_orchestratorservice.yaml +16 −22 Viewed Changes for manifests/e2e_orchestratorservice.yaml: 16 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -20,8 +20,12 @@ spec: selector: matchLabels: app: e2e-orchestratorservice replicas: 1 template: metadata: annotations: config.linkerd.io/skip-outbound-ports: "8761" config.linkerd.io/skip-inbound-ports: "8761" labels: app: e2e-orchestratorservice spec: Loading @@ -33,9 +37,18 @@ spec: ports: - containerPort: 10050 - containerPort: 9192 - containerPort: 8761 env: - name: LOG_LEVEL value: "INFO" - name: WS_IP_HOST value: "nbiservice.tfs-ip.svc.cluster.local" - name: WS_IP_PORT value: 8761 - name: WS_E2E_HOST value: "e2e-orchestratorservice.tfs-e2e.svc.cluster.local" - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10050"] Loading Loading @@ -67,25 +80,6 @@ spec: - name: metrics port: 9192 targetPort: 9192 --- apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: e2e-orchestratorservice-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: e2e-orchestratorservice minReplicas: 1 maxReplicas: 20 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80 #behavior: # scaleDown: # stabilizationWindowSeconds: 30 - name: ws port: 8761 targetPort: 8761
manifests/nbiservice.yaml +10 −0 Viewed Changes for manifests/nbiservice.yaml: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -23,6 +23,9 @@ spec: replicas: 1 template: metadata: annotations: config.linkerd.io/skip-inbound-ports: "8762" config.linkerd.io/skip-outbound-ports: "8762" labels: app: nbiservice spec: Loading @@ -35,11 +38,14 @@ spec: - containerPort: 8080 - containerPort: 9090 - containerPort: 9192 - containerPort: 8762 env: - name: LOG_LEVEL value: "INFO" - name: IETF_NETWORK_RENDERER value: "LIBYANG" - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:9090"] Loading Loading @@ -77,3 +83,7 @@ spec: protocol: TCP port: 9192 targetPort: 9192 - name: ws protocol: TCP port: 8762 targetPort: 8762
manifests/vnt_managerservice.yaml 0 → 100644 +77 −0 Viewed Changes for manifests/vnt_managerservice.yaml: 77 added lines, 0 removed lines. Original line number Diff line number Diff line # Copyright 2022-2024 ETSI OSG/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. apiVersion: apps/v1 kind: Deployment metadata: name: vnt-managerservice spec: selector: matchLabels: app: vnt-managerservice replicas: 1 template: metadata: annotations: config.linkerd.io/skip-outbound-ports: "8765" config.linkerd.io/skip-inbound-ports: "8765" labels: app: vnt-managerservice spec: terminationGracePeriodSeconds: 5 containers: - name: server image: labs.etsi.org:5050/tfs/controller/vnt_manager:latest imagePullPolicy: Always ports: - containerPort: 10080 - containerPort: 9192 env: - name: LOG_LEVEL value: "INFO" - name: WS_IP_PORT value: 8761 - name: WS_E2E_PORT value: 8762 readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10080"] livenessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:10080"] resources: requests: cpu: 250m memory: 128Mi limits: cpu: 1000m memory: 1024Mi --- apiVersion: v1 kind: Service metadata: name: vnt-managerservice labels: app: vnt-managerservice spec: type: ClusterIP selector: app: vnt-managerservice ports: - name: grpc port: 10080 targetPort: 10080 - name: metrics port: 9192 targetPort: 9192
proto/context.proto +8 −0 Viewed Changes for proto/context.proto: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -260,6 +260,7 @@ message Link { string name = 2; repeated EndPointId link_endpoint_ids = 3; LinkAttributes attributes = 4; LinkTypeEnum link_type = 5; } message LinkIdList { Loading @@ -275,6 +276,13 @@ message LinkEvent { LinkId link_id = 2; } enum LinkTypeEnum { LINKTYPE_UNKNOWN = 0; LINKTYPE_COPPER = 1; LINKTYPE_VIRTUAL_COPPER = 2; LINKTYPE_OPTICAL = 3; LINKTYPE_VIRTUAL_OPTICAL = 4; } // ----- Service ------------------------------------------------------------------------------------------------------- message ServiceId { Loading
proto/e2eorchestrator.proto +1 −0 Viewed Changes for proto/e2eorchestrator.proto: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import "context.proto"; service E2EOrchestratorService { rpc Compute(E2EOrchestratorRequest) returns (E2EOrchestratorReply) {} rpc PushTopology(context.Topology) returns (context.Empty) {} } message E2EOrchestratorRequest { Loading