bigip的rest api
命令行使用
curl -s -k -u "admin:admin" https://192.168.113.103/mgmt/tm/ltm |python -m json.tool
其中ltm可以换做gtm等。
如果是我们通过api的方式去拿回信息或者修改信息,这可以通过这种方式实现。
{
"items": [
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/global-settings?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/monitor?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/pool?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/wideip?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/datacenter?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/distributed-app?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/link?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/listener?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/prober-pool?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/region?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/rule?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/server?ver=13.1.1.5"
}
},
{
"reference": {
"link": "https://localhost/mgmt/tm/gtm/topology?ver=13.1.1.5"
}
}
],
"kind": "tm:gtm:gtmcollectionstate",
"selfLink": "https://localhost/mgmt/tm/gtm?ver=13.1.1.5"
}