Skip to content
Snippets Groups Projects
Commit 3e658022 authored by Malte Bauch's avatar Malte Bauch
Browse files

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
Branches
No related tags found
Loading
Checking pipeline status
This commit is part of merge request !247. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment