Forum Discussion

Internet_Suppo1's avatar
Internet_Suppo1
Icon for Nimbostratus rankNimbostratus
Mar 26, 2014

iContorl Rest - Virtual Server Profile?

If I list an existing Virtual Server that has a Performance (Layer 4) profile applied, I would expect to see something to reflect this in the output but i don't?? Am I missing someting, see example below?

 

The real question is that when I create a virtual server using iControl Rest how to I see the "type" to be "Performance (Layer 4)" rather than the default "standard" that is selected. I would have expected something like payload['type'] = 'Performance (Layer 4)' for example.

 

curl -sk -u xxxx:xxxx -X GET https://x.x.x.x/mgmt/tm/ltm/virtual/AAAAAA | sed 's/,/\'$'\n/g'

 

{"kind":"tm:ltm:virtual:virtualstate" "name":"AAAAAA" "generation":0 "lastUpdatedMicros":0 "selfLink":"https://localhost/mgmt/tm/ltm/virtual/AAAAAA" "partition":"/Common/" "autoLasthop":"default" "cmpEnabled":"yes" "connectionLimit":0 "destination":"x.x.x.x:https" "enabled":null "gtmScore":0 "ipProtocol":"tcp" "mask":"255.255.255.255" "mirror":"disabled" "mobileAppTunnel":"disabled" "nat64":"disabled" "pool":"AAAAAA_Pool" "rateLimit":"disabled" "rateLimitDstMask":0 "rateLimitMode":"object" "rateLimitSrcMask":0 "source":"0.0.0.0/0" "sourceAddressTranslation":{"type":"automap"} "sourcePort":"preserve" "synCookieStatus":"not-activated" "translateAddress":"enabled" "translatePort":"enabled" "vlansEnabled":null "vsIndex":30 "vlans":["external"] "profilesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/AAAAAA"}}

 

1 Reply

  • uni's avatar
    uni
    Icon for Altostratus rankAltostratus

    That is listed in the profiles collection. You will need to request this separately:

    curl -sk -u xxxx:xxxx -X GET https://x.x.x.x/mgmt/tm/ltm/virtual/AAAAAA/profiles