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
Docs: update the dms v1 path changes; Fix INF-254 through retry
[pti/o2.git]
/
docs
/
user-guide.rst
diff --git
a/docs/user-guide.rst
b/docs/user-guide.rst
index
d1559d8
..
ca4a19f
100644
(file)
--- a/
docs/user-guide.rst
+++ b/
docs/user-guide.rst
@@
-208,7
+208,7
@@
SMO.
.. code:: bash
.. code:: bash
- curl --location --request POST "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor" \
+ curl --location --request POST "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "cfwdesc1",
--header 'Content-Type: application/json' \
--data-raw '{
"name": "cfwdesc1",
@@
-220,9
+220,9
@@
SMO.
"outputParams": "{\"output1\": 100}"
}'
"outputParams": "{\"output1\": 100}"
}'
- curl --location --request GET "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor"
+ curl --location --request GET "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor"
- export descId=` curl -X 'GET' "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor" -H 'accept: application/json' -H 'X-Fields: id' 2>/dev/null | jq .[].id | xargs echo`
+ export descId=` curl -X 'GET' "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeploymentDescriptor" -H 'accept: application/json' -H 'X-Fields: id' 2>/dev/null | jq .[].id | xargs echo`
echo ${descId} # check the exported descriptor id
echo ${descId} # check the exported descriptor id
@@
-234,7
+234,7
@@
SMO.
.. code:: bash
.. code:: bash
- curl --location --request POST "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment" \
+ curl --location --request POST "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment" \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "cfw100",
--header 'Content-Type: application/json' \
--data-raw '{
"name": "cfw100",
@@
-243,7
+243,7
@@
SMO.
"parentDeploymentId": ""
}'
"parentDeploymentId": ""
}'
- curl --location --request GET "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment"
+ curl --location --request GET "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment"
- Check pods of the firewall sample
- Check pods of the firewall sample
@@
-255,8
+255,8
@@
SMO.
.. code:: shell
.. code:: shell
- export NfDeploymentId=`curl --location --request GET "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment" 2>/dev/null | jq .[].id | xargs echo`
+ export NfDeploymentId=`curl --location --request GET "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment" 2>/dev/null | jq .[].id | xargs echo`
echo ${NfDeploymentId} # Check the exported deployment id
echo ${NfDeploymentId} # Check the exported deployment id
- curl --location --request DELETE "http://${OAM_IP}:30205/o2dms/${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}"
+ curl --location --request DELETE "http://${OAM_IP}:30205/o2dms/
v1/
${dmsId}/O2dms_DeploymentLifecycle/NfDeployment/${NfDeploymentId}"