summaryrefslogtreecommitdiffstats
path: root/src/ovnaction/cmd
diff options
context:
space:
mode:
authorEric Multanen <eric.w.multanen@intel.com>2020-04-23 12:55:38 -0700
committerEric Multanen <eric.w.multanen@intel.com>2020-06-03 17:17:21 -0700
commite80f462ab1621090dd9cf7a2c648eb168aaafa5e (patch)
treea94b336dcb30929756077e80dd8ed581b1455088 /src/ovnaction/cmd
parent8e7a20777f2100324526a34b4b6c943b512df0fb (diff)
Add grpc contextupdate client call to orchestrator
Adds a contextupdate client function that can be invoked for any action or placement controller to process intents for that controller. Adds the corresponding server side handling for the ovnaction controller. Issue-ID: MULTICLOUD-1019 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Ifdfc99e522288a530735bc4c1402d45449f6d057
Diffstat (limited to 'src/ovnaction/cmd')
-rw-r--r--src/ovnaction/cmd/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ovnaction/cmd/main.go b/src/ovnaction/cmd/main.go
index 1f33af25..9e791cd1 100644
--- a/src/ovnaction/cmd/main.go
+++ b/src/ovnaction/cmd/main.go
@@ -26,7 +26,6 @@ import (
"time"
"github.com/gorilla/handlers"
- "github.com/onap/multicloud-k8s/src/ncm/pkg/grpc/contextupdateserver"
updatepb "github.com/onap/multicloud-k8s/src/orchestrator/pkg/grpc/contextupdate"
"github.com/onap/multicloud-k8s/src/orchestrator/pkg/infra/auth"
"github.com/onap/multicloud-k8s/src/orchestrator/pkg/infra/config"
@@ -34,6 +33,7 @@ import (
"github.com/onap/multicloud-k8s/src/orchestrator/pkg/infra/db"
"github.com/onap/multicloud-k8s/src/ovnaction/api"
register "github.com/onap/multicloud-k8s/src/ovnaction/pkg/grpc"
+ "github.com/onap/multicloud-k8s/src/ovnaction/pkg/grpc/contextupdateserver"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/testdata"
@@ -73,10 +73,10 @@ func startGrpcServer() error {
grpcServer := grpc.NewServer(opts...)
updatepb.RegisterContextupdateServer(grpcServer, contextupdateserver.NewContextupdateServer())
- log.Println("Starting Network Configuration Manager gRPC Server")
+ log.Println("Starting OVN Network Action Controller gRPC Server")
err = grpcServer.Serve(lis)
if err != nil {
- log.Fatalf("ncm grpc server is not serving %v", err)
+ log.Fatalf("ovnaction grpc server is not serving %v", err)
}
return err
}