X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;h=01d9710f20aa93e90b3f0465b9bbd1161d896cd3;hb=5143e92a36bd2142e04d0d80dbc60d68c3da03d7;hp=aae2c5ce126e148a3a509b3700a7a5f9e980e624;hpb=d14329a57d8d01d443e4158fa5030a5b5ada4060;p=pti%2Fo2.git diff --git a/README.md b/README.md index aae2c5c..01d9710 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,9 @@ kubectl get pods -A ```sh helm repo add chartmuseum https://chartmuseum.github.io/charts +helm repo update +helm pull chartmuseum/chartmuseum # download chartmuseum-3.4.0.tgz to local +tar zxvf chartmuseum-3.4.0.tgz export NODE_IP= @@ -143,6 +146,7 @@ service: type: NodePort nodePort: 30330 EOF + helm install chartmuseumrepo chartmuseum/chartmuseum -f chartmuseum-override.yaml kubectl get pods Kubectl get services @@ -260,7 +264,7 @@ docker logs -f o2_redis_pubsub_1 curl --location --request GET 'http://localhost:5005/o2ims_infrastructureInventory/v1/deploymentManagers' export dmsId= -curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \ +curl --location --request POST 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "cfwdesc1", @@ -272,9 +276,9 @@ curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo "outputParams": "{\"output1\": 100}" }' -curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' +curl --location --request GET 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' -curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \ +curl --location --request POST 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "cfw100", @@ -283,7 +287,7 @@ curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo "parentDeploymentId": "" }' -curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' +curl --location --request GET 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' export NfDeploymentId= @@ -305,5 +309,5 @@ open browswer with url: http://:30667 ## bring down CFW ```sh -curl --location --request DELETE 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}' +curl --location --request DELETE 'http://localhost:5005/o2dms/v1/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}' ```