Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Define CRUD API - add/delete/modify/read MC Tenant.
    1. Cluster from the the Edge location are registered to the ONAP as follows :
      1. Cluster-100.2-labels: { Cascade, SRIOV, QAT,}
      2. Cluster-101.1-labels: { Sky-lake, SRIOV}
      3. Image Added
      4. Image Added
    2. Tenant Object is template in ONAP with following filed


      Code Block
      languagejs
      {
      	"metadata": {
      		"name": "tenant-a",
      		"clusterlabels": "label-A"
      	},
      	"spec": {
      		"users": [
      			{
      				"name": "users-1",
      				"crt": "/path/to/crt"
      			},
      			{
      				"name": "users-2",
      				"crt": "/path/to/crt"
      			}
      		]
      	}
      }


    3. ONAP create the Tenant based on the cluster labels
    4. Find the cluster Artifacts kubeconfig based on the cluster labels
    5. Get the Multicloud k8s-plugin API to create the Tenant json
      1. curl -d @create_tenant-a.json http://NODE_IP:30280/api/multicloud-k8s/v1/v1/tenant
    6. MC Cluster Tenant API - <This section is incomplete and a work in progress ... needs rework and further updates ... >
      1.  Create 
      2. Update 
      3. Delete 
      4. Get
      5. List 
      6. Watch
      7. Patch
    7. Each corresponding MC Cluster Tenant API will have a K8s Tenant CR API

...