Skip to content
Snippets Groups Projects

Enable export and import of SDN configuration

Merged Ghost User requested to merge export-import-sdn-config into develop
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -108,7 +108,6 @@ func (c ConfigurationManagementServer) ExportSDNConfig(ctx context.Context, requ
// ImportSDNConfig receives an SDN configuration and imports it.
func (c ConfigurationManagementServer) ImportSDNConfig(ctx context.Context, request *cmpb.ImportSDNConfigRequest) (*cmpb.ImportSDNConfigResponse, error) {
var sdnConfig = loadedSDNConfig{}
err := json.Unmarshal([]byte(request.SdnConfigData), &sdnConfig)
if err != nil {
return nil, err
Loading