-
- Downloads
Resolve "Creating a new device with type plugin just returns a normal device"
- This commit is a interim solution that allows to create new devices with the `--type plugin` flag. The orchestrator will only request capabilities of the provided device and build/return all the necessary files. Therefore the api has been adjusted to allow to 'only' create gostructs and do not fire up a whole csbi. - Additionaly the issue #176 has been addressed and the bug while creating multiple cSBIs has been fixed. Appending to the `.Methods` string of the global `SouthboundStruct` was the root cause for this bug. Creating a copy of `SouthboundStruct` and using the copy in the process fixes this issue. ## Related Issue <!--- This project only accepts merge requests related to open issues --> <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- If fixing a bug, there should be an issue describing it with steps to reproduce --> <!--- Please link to the issue here: --> #175 , #176 Closes #175
parent
5856f800
No related branches found
No related tags found
This commit is part of merge request !247. Comments created here will be created in the context of that merge request.
Showing
- api/go/gosdn/csbi/csbi.pb.go 211 additions, 138 deletionsapi/go/gosdn/csbi/csbi.pb.go
- api/go/gosdn/csbi/csbi_grpc.pb.go 46 additions, 73 deletionsapi/go/gosdn/csbi/csbi_grpc.pb.go
- api/openapiv2/gosdn_northbound.swagger.json 6 additions, 6 deletionsapi/openapiv2/gosdn_northbound.swagger.json
- api/proto/buf.lock 6 additions, 6 deletionsapi/proto/buf.lock
- api/proto/gosdn/csbi/csbi.proto 8 additions, 3 deletionsapi/proto/gosdn/csbi/csbi.proto
- controller/nucleus/principalNetworkDomain.go 49 additions, 21 deletionscontroller/nucleus/principalNetworkDomain.go
- csbi/deployment.go 1 addition, 1 deletioncsbi/deployment.go
- csbi/grpc.go 31 additions, 50 deletionscsbi/grpc.go
- csbi/write.go 4 additions, 3 deletionscsbi/write.go
Loading
Please register or sign in to comment