Commit 7e08fbf9 authored by Mohamad Rahhal's avatar Mohamad Rahhal
Browse files

First verison of CAMARA QoD NBI connector

parent 2e9f9cb2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ spec:
            - containerPort: 8762
          env:
            - name: LOG_LEVEL
              value: "INFO"
              value: "DEBUG"
            - name: IETF_NETWORK_RENDERER
              value: "LIBYANG"
            - name: WS_E2E_PORT
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ spec:
            - containerPort: 9192
          env:
            - name: LOG_LEVEL
              value: "INFO"
              value: "DEBUG"
            - name: CRDB_DATABASE
              value: "tfs_qos_profile"
          envFrom:

my_deploy.sh

100755 → 100644
+3 −3
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ export TFS_COMPONENTS="context device pathcomp service slice nbi webui"
#export TFS_COMPONENTS="${TFS_COMPONENTS} kpi_manager kpi_value_writer kpi_value_api telemetry analytics automation"

# Uncomment to activate QoS Profiles
#export TFS_COMPONENTS="${TFS_COMPONENTS} qos_profile"
export TFS_COMPONENTS="${TFS_COMPONENTS} qos_profile"

# Uncomment to activate BGP-LS Speaker
#export TFS_COMPONENTS="${TFS_COMPONENTS} bgpls_speaker"
@@ -137,7 +137,7 @@ export CRDB_DATABASE="tfs"
export CRDB_DEPLOY_MODE="single"

# Disable flag for dropping database, if it exists.
export CRDB_DROP_DATABASE_IF_EXISTS=""
export CRDB_DROP_DATABASE_IF_EXISTS="YES"

# Disable flag for re-deploying CockroachDB from scratch.
export CRDB_REDEPLOY=""
@@ -189,7 +189,7 @@ export QDB_TABLE_MONITORING_KPIS="tfs_monitoring_kpis"
export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups"

# Disable flag for dropping tables if they exist.
export QDB_DROP_TABLES_IF_EXIST=""
export QDB_DROP_TABLES_IF_EXIST="YES"

# Disable flag for re-deploying QuestDB from scratch.
export QDB_REDEPLOY=""
+2 −0
Original line number Diff line number Diff line
@@ -88,6 +88,8 @@ COPY src/slice/__init__.py slice/__init__.py
COPY src/slice/client/. slice/client/
COPY src/qkd_app/__init__.py qkd_app/__init__.py
COPY src/qkd_app/client/. qkd_app/client/
COPY src/qos_profile/__init__.py qos_profile/__init__.py
COPY src/qos_profile/client/. qos_profile/client/
COPY src/vnt_manager/__init__.py vnt_manager/__init__.py
COPY src/vnt_manager/client/. vnt_manager/client/
RUN mkdir -p /var/teraflow/tests/tools
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ from common.Settings import (
)
from .NbiService import NbiService
from .rest_server.RestServer import RestServer
from .rest_server.nbi_plugins.camara_qod import register_camara_qod
from .rest_server.nbi_plugins.etsi_bwm import register_etsi_bwm_api
from .rest_server.nbi_plugins.ietf_hardware import register_ietf_hardware
from .rest_server.nbi_plugins.ietf_l2vpn import register_ietf_l2vpn
@@ -70,6 +71,7 @@ def main():
    grpc_service.start()

    rest_server = RestServer()
    register_camara_qod(rest_server)
    register_etsi_bwm_api(rest_server)
    register_ietf_hardware(rest_server)
    register_ietf_l2vpn(rest_server)  # Registering L2VPN entrypoint
Loading