Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix nfdeployment uninstall issue
[pti/o2.git]
/
README.md
diff --git
a/README.md
b/README.md
index
07aa32e
..
01d9710
100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-131,8
+131,8
@@
kubectl get pods -A
## setup local repo: o2imsrepo
\r
\r
```sh
\r
## setup local repo: o2imsrepo
\r
\r
```sh
\r
-
#
helm repo add chartmuseum https://chartmuseum.github.io/charts
\r
-
#
helm repo update
\r
+helm repo add chartmuseum https://chartmuseum.github.io/charts
\r
+helm repo update
\r
helm pull chartmuseum/chartmuseum # download chartmuseum-3.4.0.tgz to local
\r
tar zxvf chartmuseum-3.4.0.tgz
\r
\r
helm pull chartmuseum/chartmuseum # download chartmuseum-3.4.0.tgz to local
\r
tar zxvf chartmuseum-3.4.0.tgz
\r
\r
@@
-264,7
+264,7
@@
docker logs -f o2_redis_pubsub_1
\r
curl --location --request GET 'http://localhost:5005/o2ims_infrastructureInventory/v1/deploymentManagers'
\r
export dmsId=<DMS ID>
\r
\r
curl --location --request GET 'http://localhost:5005/o2ims_infrastructureInventory/v1/deploymentManagers'
\r
export dmsId=<DMS ID>
\r
-curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \
\r
+curl --location --request POST 'http://localhost:5005/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor' \
\r
--header 'Content-Type: application/json' \
\r
--data-raw '{
\r
"name": "cfwdesc1",
\r
--header 'Content-Type: application/json' \
\r
--data-raw '{
\r
"name": "cfwdesc1",
\r
@@
-276,9
+276,9
@@
curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo
"outputParams": "{\"output1\": 100}"
\r
}'
\r
\r
"outputParams": "{\"output1\": 100}"
\r
}'
\r
\r
-curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor'
\r
+curl --location --request GET 'http://localhost:5005/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor'
\r
\r
\r
-curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \
\r
+curl --location --request POST 'http://localhost:5005/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment' \
\r
--header 'Content-Type: application/json' \
\r
--data-raw '{
\r
"name": "cfw100",
\r
--header 'Content-Type: application/json' \
\r
--data-raw '{
\r
"name": "cfw100",
\r
@@
-287,7
+287,7
@@
curl --location --request POST 'http://localhost:5005/o2dms/${dmsId}/O2dms_Deplo
"parentDeploymentId": ""
\r
}'
\r
\r
"parentDeploymentId": ""
\r
}'
\r
\r
-curl --location --request GET 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment'
\r
+curl --location --request GET 'http://localhost:5005/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment'
\r
\r
export NfDeploymentId=<NfDeployment Id>
\r
\r
\r
export NfDeploymentId=<NfDeployment Id>
\r
\r
@@
-309,5
+309,5
@@
open browswer with url: http://<NODE_IP>:30667
## bring down CFW
\r
\r
```sh
\r
## bring down CFW
\r
\r
```sh
\r
-curl --location --request DELETE 'http://localhost:5005/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}'
\r
+curl --location --request DELETE 'http://localhost:5005/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}'
\r
```
\r
```
\r