-
- Downloads
Try to implement topology, so that clabconfig is initially only used to
parse the passed-in configuration file and then upload to the DB. Twin should then be derived from DB topology data. So far, implemented everything up to UploadTopology(). Also split up NewVEnv() function into multiple functions. - venv.go: CreateDevices(), replaces code in NewVEnv(), uses rtdt_topology instead of clabconfig.topology, add DeriveTopologyFromClabData(), add UploadTopology() - rtdt-topology.go: Add GettNodeByName() function, change Topology members to references, implement converter functions to return api structs - clab-config.go: Add GetNodeByName() function - main.go: Use DeriveTopologyFromClabData() and UploadTopology()
parent
7992b738
Branches
Tags
Pipeline #262660 failed
Stage: build
Stage: build-testing
Stage: test
Stage: analyze
Stage: test-legacy
Showing
- applications/rtdt-manager/clab-config/clab-config.go 10 additions, 0 deletionsapplications/rtdt-manager/clab-config/clab-config.go
- applications/rtdt-manager/main.go 13 additions, 2 deletionsapplications/rtdt-manager/main.go
- applications/rtdt-manager/rtdt-topology/rtdt-topology.go 40 additions, 4 deletionsapplications/rtdt-manager/rtdt-topology/rtdt-topology.go
- applications/rtdt-manager/venv/venv.go 107 additions, 46 deletionsapplications/rtdt-manager/venv/venv.go
Please register or sign in to comment