Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
OVA: Minor changes to validate CSM endpoint (#1496)
Browse files Browse the repository at this point in the history
* port  number added in curl command

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>

* added minor change

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>

* minor change to remove hostname from curl

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>

* minor change to remove hostname from curl

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>

* minor changes

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>

* minor changes

Signed-off-by: Mukul Malhotra <mukul.malhotra@seagate.com>
  • Loading branch information
mukul-seagate11 authored Apr 28, 2022
1 parent ec345f3 commit d5a6372
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/ova/2.0.0/PI-6/CORTX_on_Open_Virtual_Appliance_PI-6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,12 @@ Procedure
Validate CSM endpoint via REST API
**********************************

#. Validate the CSM endpoint using below command. Use hostname or ipaddress as per your VM
#. Validate the CSM endpoint using below command:

::
curl --request POST '<https://$HOSTNAME:31169/api/v2/login?debug>' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k

curl --request POST '<https://$IPADDRESS>:31169/api/v2/login?debug>' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k
export IPADDRESS=`ifconfig ens32 | grep inet -w | awk '{print $2}'` && echo $IPADDRESS
curl --request POST 'https://$IPADDRESS:31169/api/v2/login?debug' --header 'Content-Tycation/json' -d '{"username":"cortxadmin","password":"Cortxadmin@123"}' -k



Expand Down

0 comments on commit d5a6372

Please sign in to comment.