Recupera l'elenco di informazioni dettagliate per un volume
/api/v1/vol/info?app=application&vol=volume&vdc=controller-name
Nome dell'applicazione
Nome del volume.
Nome del data center virtuale di destinazione
sincrona
GET
Recupera l'elenco di informazioni dettagliate per test:vol1.
GET http://192.168.123.200/api/v1/vol/info?app=test&vol=vol1&vdc=mygrid
<volume> <name>vol1</name> <comment></comment> <filesystem>ext3</filesystem> <link></link> <mirror srv1.v-f13f4c46-b84a-496b-9288-188be464ab56> <server>srv1</server> <state>ok</state> </mirror srv1.v-f13f4c46-b84a-496b-9288-188be464ab56> <mount_path>none</mount_path> <mount_state>available</mount_state> <n_mirrors>1</n_mirrors> <n_users>0</n_users> <size>1073741824</size> <state>ok</state> <time_accessed>1272052234</time_accessed> <time_created>1272052031</time_created> <time_written>1272052032</time_written> <uuid>cf432100-63fc-450d-8eb7-2da6deca8627</uuid> </volume>
{
"link" : "",
"time_created" : "1272052031",
"time_accessed" : "1272052240",
"name" : "vol1",
"uuid" : "cf432100-63fc-450d-8eb7-2da6deca8627",
"mount_state" : "available",
"mirror srv1,v-f13f4c46-b84a-496b-9288-188be464ab56" : {
"server" : "srv1",
"state" : "ok"
},
"size" : "1073741824",
"state" : "ok",
"n_users" : "0",
"time_written" : "1272052032",
"mount_path" : "none",
"comment" : "",
"filesystem" : "ext3",
"n_mirrors" : "1"
}
Entità vdc mygrid non trovata - È stato specificato un nome di VDC non configurato nell'applicazione WS_API.
Argomenti necessari mancanti (app). - Argomento app=app mancante nella richiesta.
Argomenti necessari mancanti (vol). - Argomento vol=vol mancante nella richiesta.
Il volume 'test:data' non esiste. - Applicazione o volume non validi specificati nella richiesta.
| Copyright © 2012 CA. Tutti i diritti riservati. |
|