Add grpc contextupdate client call to orchestrator 49/106149/20
authorEric Multanen <eric.w.multanen@intel.com>
Thu, 23 Apr 2020 19:55:38 +0000 (12:55 -0700)
committerEric Multanen <eric.w.multanen@intel.com>
Thu, 4 Jun 2020 00:17:21 +0000 (17:17 -0700)
commite80f462ab1621090dd9cf7a2c648eb168aaafa5e
treea94b336dcb30929756077e80dd8ed581b1455088
parent8e7a20777f2100324526a34b4b6c943b512df0fb
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
13 files changed:
src/orchestrator/api/api.go
src/orchestrator/go.mod
src/orchestrator/go.sum
src/orchestrator/pkg/grpc/contextupdate/contextupdate.pb.go
src/orchestrator/pkg/grpc/contextupdate/contextupdate.proto
src/orchestrator/pkg/grpc/contextupdateclient/client.go [new file with mode: 0644]
src/orchestrator/pkg/infra/rpc/rpc.go [changed mode: 0755->0644]
src/orchestrator/pkg/module/deployment_intent_groups.go
src/ovnaction/cmd/main.go
src/ovnaction/go.mod
src/ovnaction/go.sum
src/ovnaction/internal/action/action.go [new file with mode: 0644]
src/ovnaction/pkg/grpc/contextupdateserver/contextupdateserver.go