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

Missing pluginService in NewConfigurationManagementServer function

parent b1b50dec
No related branches found
No related tags found
1 merge request!401Change the current gosdn plugin implementation from Go's internal plugin system to hashicorp's go-plugins
...@@ -94,7 +94,7 @@ func (v *VenvManager) ReadAndSendSDNConfig() error { ...@@ -94,7 +94,7 @@ func (v *VenvManager) ReadAndSendSDNConfig() error {
return nil return nil
} }
// getSDNConfigData gets the sDN configuration data. // sendSDNConfigData gets the sDN configuration data.
func (v *VenvManager) sendSDNConfigData(sdnConfigData *string) error { func (v *VenvManager) sendSDNConfigData(sdnConfigData *string) error {
conn, err := v.createConnection() conn, err := v.createConnection()
if err != nil { if err != nil {
......
...@@ -37,12 +37,15 @@ func NewConfigurationManagementServer( ...@@ -37,12 +37,15 @@ func NewConfigurationManagementServer(
topologyService topology.Service, topologyService topology.Service,
nodeService nodes.Service, nodeService nodes.Service,
portService ports.Service, portService ports.Service,
pluginService plugin.Service,
) *ConfigurationManagementServer { ) *ConfigurationManagementServer {
return &ConfigurationManagementServer{ return &ConfigurationManagementServer{
pndStore: pndStore, pndStore: pndStore,
topologyService: topologyService, topologyService: topologyService,
nodeService: nodeService, nodeService: nodeService,
portService: portService} portService: portService,
pluginService: pluginService,
}
} }
// sdnConfig is used to parse the sdnConfig into JSON. // sdnConfig is used to parse the sdnConfig into JSON.
......
...@@ -68,7 +68,7 @@ func NewNBI( ...@@ -68,7 +68,7 @@ func NewNBI(
App: NewAppServer(apps), App: NewAppServer(apps),
NetworkElement: NewNetworkElementServer(networkDomain), NetworkElement: NewNetworkElementServer(networkDomain),
Routes: NewRoutingTableServiceServer(routeService, nodeService, portService), Routes: NewRoutingTableServiceServer(routeService, nodeService, portService),
ConfigurationManagement: NewConfigurationManagementServer(pnds, topologyService, nodeService, portService), ConfigurationManagement: NewConfigurationManagementServer(pnds, topologyService, nodeService, portService, pluginService),
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment