diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-03-13 17:39:40 -0700 |
---|---|---|
committer | Ritu Sood <Ritu.Sood@intel.com> | 2020-03-23 22:40:28 +0000 |
commit | 529906640a6844dd371de37631e3948d328a390b (patch) | |
tree | a8e56469d3fa70726d0a4623fecae43dc987c121 /src/ncm/pkg/module/module.go | |
parent | e201896e60374698da18cf4258448a0d97617e37 (diff) |
Add Network and Provider Network Intent API support
Add API for CRUD operations to manage network
and provider-network intent resources.
Issue-ID: MULTICLOUD-1029
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: If3c71691b3825db50eacdb0ea87b0d5c436ad80f
Diffstat (limited to 'src/ncm/pkg/module/module.go')
-rw-r--r-- | src/ncm/pkg/module/module.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ncm/pkg/module/module.go b/src/ncm/pkg/module/module.go index c1c24510..a9950901 100644 --- a/src/ncm/pkg/module/module.go +++ b/src/ncm/pkg/module/module.go @@ -18,7 +18,9 @@ package module // Client for using the services in the orchestrator type Client struct { - Cluster *ClusterClient + Cluster *ClusterClient + Network *NetworkClient + ProviderNet *ProviderNetClient // Add Clients for API's here } @@ -26,6 +28,8 @@ type Client struct { func NewClient() *Client { c := &Client{} c.Cluster = NewClusterClient() + c.Network = NewNetworkClient() + c.ProviderNet = NewProviderNetClient() // Add Client API handlers here return c } |