Loading 02-osm-nfvi-test-plan.md +68 −2 Original line number Diff line number Diff line Loading @@ -1181,11 +1181,77 @@ TODO: Under ellaboration. Deployment of a new Kubernetes cluster from OSM using ### \[K8s-02\] Register and de-register Kubernetes clusters in OSM TODO: Under ellaboration. Register and de-register pre-existing K8s clusters in OSM. 1. Register the Kubernetes cluster in OSM ```bash osm k8scluster-add --creds <KUBECONFIG_FILE> --version v1 --vim <VIM_NAME> --k8s-nets '{"net1": <VIM_MGMT_NETWORK>}' --description "K8s cluster" osm-k8s-cluster ``` 2. Check that the Kubernetes cluster is successully added ```bash # Get all k8sclusters. The Operational State of the cluster should be "ENABLED" osm k8scluster-list ``` 3. De-register the Kubernetes cluster ```bash osm k8scluster-delete osm-k8s-cluster ``` 4. Review that the cluster has been deleted ```bash # Get all k8sclusters. Our cluster should not appear. osm k8scluster-list ``` ### \[K8s-03\] Deployment of CNF from OSM TODO: Under ellaboration. Deploy a CNF over a K8s cluster known by OSM. 1. Register the Kubernetes cluster in OSM ```bash osm k8scluster-add --creds <KUBECONFIG_FILE> --version v1 --vim <VIM_NAME> --k8s-nets '{"net1": <VIM_MGMT_NETWORK>}' --description "K8s cluster" osm-k8s-cluster ``` 2. Check that the Kubernetes cluster is successully added ```bash # Get all k8sclusters. The Operational State of the cluster should be "ENABLED" osm k8scluster-list ``` 3. Onboard the packages ```bash osm nfpkg-create hackfest_simple_k8s_vnfd.tar.gz osm nspkg-create hackfest_simple_k8s_nsd.tar.gz ``` 4. Instantiate the Network Service ```bash osm ns-create --ns_name simple-k8s --nsd_name --vim_account <VIM_ACCOUNT_NAME> --ssh_keys <PUBLIC_KEY> --config '{vld: [ {name: mgmtnet, vim-network-name: <VIM_MGMT_NET>} ] }' ``` 5. Wait the Network Service to be completed ```bash osm ns-list ``` 6. Delete the Network Service ```bash osm ns-delete simple-k8s ``` 7. Delete the descriptors ```bash osm nspkg-delete hackfest-simple-k8s-ns osm nfpkg-delete hackfest-simple-k8s-vnf ``` ## EPA and performance Loading Loading
02-osm-nfvi-test-plan.md +68 −2 Original line number Diff line number Diff line Loading @@ -1181,11 +1181,77 @@ TODO: Under ellaboration. Deployment of a new Kubernetes cluster from OSM using ### \[K8s-02\] Register and de-register Kubernetes clusters in OSM TODO: Under ellaboration. Register and de-register pre-existing K8s clusters in OSM. 1. Register the Kubernetes cluster in OSM ```bash osm k8scluster-add --creds <KUBECONFIG_FILE> --version v1 --vim <VIM_NAME> --k8s-nets '{"net1": <VIM_MGMT_NETWORK>}' --description "K8s cluster" osm-k8s-cluster ``` 2. Check that the Kubernetes cluster is successully added ```bash # Get all k8sclusters. The Operational State of the cluster should be "ENABLED" osm k8scluster-list ``` 3. De-register the Kubernetes cluster ```bash osm k8scluster-delete osm-k8s-cluster ``` 4. Review that the cluster has been deleted ```bash # Get all k8sclusters. Our cluster should not appear. osm k8scluster-list ``` ### \[K8s-03\] Deployment of CNF from OSM TODO: Under ellaboration. Deploy a CNF over a K8s cluster known by OSM. 1. Register the Kubernetes cluster in OSM ```bash osm k8scluster-add --creds <KUBECONFIG_FILE> --version v1 --vim <VIM_NAME> --k8s-nets '{"net1": <VIM_MGMT_NETWORK>}' --description "K8s cluster" osm-k8s-cluster ``` 2. Check that the Kubernetes cluster is successully added ```bash # Get all k8sclusters. The Operational State of the cluster should be "ENABLED" osm k8scluster-list ``` 3. Onboard the packages ```bash osm nfpkg-create hackfest_simple_k8s_vnfd.tar.gz osm nspkg-create hackfest_simple_k8s_nsd.tar.gz ``` 4. Instantiate the Network Service ```bash osm ns-create --ns_name simple-k8s --nsd_name --vim_account <VIM_ACCOUNT_NAME> --ssh_keys <PUBLIC_KEY> --config '{vld: [ {name: mgmtnet, vim-network-name: <VIM_MGMT_NET>} ] }' ``` 5. Wait the Network Service to be completed ```bash osm ns-list ``` 6. Delete the Network Service ```bash osm ns-delete simple-k8s ``` 7. Delete the descriptors ```bash osm nspkg-delete hackfest-simple-k8s-ns osm nfpkg-delete hackfest-simple-k8s-vnf ``` ## EPA and performance Loading