Commit 3bb2289a authored by Mohamad Rahhal's avatar Mohamad Rahhal Committed by Lluis Gifre Renom
Browse files

Device component - MikrotikRouterOS Driver:

- Added Driver, To configure UNDERLAY-OVERLAY
parent 26a57404
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ spec:
            - containerPort: 9192
          env:
            - name: LOG_LEVEL
              value: "INFO"
              value: "DEBUG"
          startupProbe:
            exec:
              command: ["/bin/grpc_health_probe", "-addr=:2020"]
+2 −2
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ export CRDB_PASSWORD="tfs123"
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=""
@@ -211,7 +211,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=""
+1 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ enum DeviceDriverEnum {
  DEVICEDRIVER_GNMI_NOKIA_SRLINUX = 19;
  DEVICEDRIVER_OPENROADM = 20;
  DEVICEDRIVER_RESTCONF_OPENCONFIG = 21;
  DEVICEDRIVER_MIKROTIK_ROUTEROS = 22;
}

enum DeviceOperationalStatusEnum {
+24 −0
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.


PROJECTDIR=`pwd`

cd $PROJECTDIR/src
RCFILE=$PROJECTDIR/coverage/.coveragerc

# Run unitary tests and analyze coverage of code at same time
coverage run --rcfile=$RCFILE --append -m pytest --log-level=INFO -o log_cli=true --verbose \
     tests/mikrotik_routeros/test_bgp.py
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ class DeviceTypeEnum(Enum):
    MORPHEUS                        = 'morpheus'
    OPENFLOW_RYU_CONTROLLER         = 'openflow-ryu-controller'
    DSCM_NODE                       = 'dscm'
    MIKROTIK_ROUTEROS               = 'mikrotik_routeros'

    # ETSI TeraFlowSDN controller
    TERAFLOWSDN_CONTROLLER          = 'teraflowsdn'
Loading