X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=README.md;h=01d9710f20aa93e90b3f0465b9bbd1161d896cd3;hb=a6392b46c7b808b8adeede97c4dd69c5032e0d11;hp=07aa32e32e249159f865490fb4d088cb60f9c6b9;hpb=f3ce354b2e6c538b50ed990ba359d3af2283c901;p=pti%2Fo2.git diff --git a/README.md b/README.md index 07aa32e..01d9710 100644 --- a/README.md +++ b/README.md @@ -131,8 +131,8 @@ kubectl get pods -A ## setup local repo: o2imsrepo ```sh -# helm repo add chartmuseum https://chartmuseum.github.io/charts -# helm repo update +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 @@ -264,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", @@ -276,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", @@ -287,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= @@ -309,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}' ```