
Example 10 Lists primary tags associated with a specific application
Curl equivalent command
curl --noproxy
<controller_ip>
-X GET --header
"X-Auth-Token:
<token>
" --fail -ksSfL --url
"https://
<controller_ip>
:8443/sdn/v2.0/metrics/apps/
<app_id>
/primaries"
Curl output for
app_id
=com.hp.sdn
{"primaries":["jvm"]}
Result
The only primary tag associated with the controller is
jvm
.
218
Examples of Metrics