Get Metadata Proxy Status
Returns the status of the given metadata proxy and attached logical switch.
Please use Policy API: GET /policy/api/v1/infra/metadata-proxies/{metadata-proxy-id}/status
proxy-id
logical-switch-id
OK
{
"error_message": "string",
"proxy_status": "string",
"transport_nodes": [
"string"
]
}
Error message, if available
UP means the metadata proxy is working fine on both transport-nodes(if have); DOWN means the metadata proxy is is down on both transport-nodes(if have), hence the metadata proxy will not repsonse any metadata request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The metadata proxy may be working (or not working); NO_BACK means metadata proxy is working in one of the transport node while not in the other transport-node (if have). Hence if the metadata proxy in the working transport-node goes down, the metadata proxy will go down.
Order of the transport nodes is insensitive because Metadata Proxy is running in Active-Active mode among target transport nodes.
Not Found
curl -H 'Authorization: <value>' https://{api_host}/api/v1/md-proxies/{proxy-id}/{logical-switch-id}/status