Commit 422a27ca authored by Waleed Akbar's avatar Waleed Akbar
Browse files

Add DSCM NBI plugin along with RESTful API for DSCM pluggables configuration

- Implemented a file-backed JSON datastore for managing device configurations. (to be replaced with DSCM component)
- Created a DSCM plugin to handle device-specific configurations using NetConf.
- Added RESTful routes for CRUD operations on device configurations.
- Introduced header enforcement for content negotiation in API requests.
- Developed error handling responses for YANG data formats.
- Implemented path resolution for RESTCONF data paths.
- Added unit tests for the DSCM REST API, including GET, POST, PATCH, and DELETE operations.
- Included requirements for Flask and testing libraries in the requirements.txt.
parent a708871d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
# Avoid including these folders when building the components
.git/
.gitlab/
.github/
.vscode/
coverage/
data/
+1 −0
Original line number Diff line number Diff line
@@ -172,6 +172,7 @@ cython_debug/

# Other
/tmp
.github

# Sqlite
*.db
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ export GRAF_EXT_PORT_HTTP=${GRAF_EXT_PORT_HTTP:-"3000"}
./deploy/kafka.sh

#Deploy Monitoring (Prometheus, Mimir, Grafana)
./deploy/monitoring.sh
# ./deploy/monitoring.sh

# Expose Dashboard
./deploy/expose_dashboard.sh
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ spec:
            - name: ALLOW_EXPLICIT_ADD_LINK_TO_TOPOLOGY
              value: "FALSE"
            - name: CRDB_DATABASE
              value: "tfs_context"
              value: "tfs_ip_context"
          envFrom:
            - secretRef:
                name: crdb-data
+1 −0
Original line number Diff line number Diff line
@@ -232,6 +232,7 @@ enum DeviceDriverEnum {
  DEVICEDRIVER_SMARTNIC = 16;
  DEVICEDRIVER_MORPHEUS = 17;
  DEVICEDRIVER_RYU = 18;
  DRVICEDRIVER_NETCONF_DSCM = 19;
}

enum DeviceOperationalStatusEnum {
Loading