Commit 88b4d7c7 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch...

Merge branch 'feat/147-integrate-support-for-ip-e2e-optical-sdn-controllers-to-manage-hierarchical-virtual' into 'develop'

Resolve "Integrate Support for IP-E2E-Optical SDN controllers to manage hierarchical virtual topologies"

See merge request !225
parents 89020c87 cd221992
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ include:
  - local: '/src/telemetry/.gitlab-ci.yml'
  - local: '/src/analytics/.gitlab-ci.yml'
  - local: '/src/qos_profile/.gitlab-ci.yml'
  - local: '/src/vnt_manager/.gitlab-ci.yml'
  - local: '/src/e2e_orchestrator/.gitlab-ci.yml'

  # This should be last one: end-to-end integration tests
  - local: '/src/tests/.gitlab-ci.yml'

ecoc24

0 → 120000
+1 −0
Original line number Diff line number Diff line
src/tests/ecoc24/
 No newline at end of file
+16 −22
Original line number Diff line number Diff line
@@ -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:
@@ -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"]
@@ -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
+10 −0
Original line number Diff line number Diff line
@@ -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:
@@ -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"]
@@ -77,3 +83,7 @@ spec:
      protocol: TCP
      port: 9192
      targetPort: 9192
    - name: ws
      protocol: TCP
      port: 8762
      targetPort: 8762
+77 −0
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
Loading