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
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -16,7 +16,7 @@ import (
"github.com/google/uuid"
)
// ConfigurationManagementServer represents a core server.
// ConfigurationManagementServer represents ConfigurationManagementServer...
type ConfigurationManagementServer struct {
pndStore networkdomain.PndStore
topologyService topology.Service
@@ -24,7 +24,7 @@ type ConfigurationManagementServer struct {
portService ports.Service
}
// ConfigurationManagementServer receives a pndStore and returns a new coreServer.
// NewConfigurationManagementServer creates the ConfigurationManagementServer..
func NewConfigurationManagementServer(
pndStore networkdomain.PndStore,
topologyService topology.Service,
@@ -37,6 +37,7 @@ func NewConfigurationManagementServer(
portService: portService}
}
// SDNConfig is used to aprse the SDNConfig into JSON.
type SDNConfig struct {
PndID string `json:"pndID"`
NetworkElements []networkelement.NetworkElement `json:"networkelements"`
Loading