Forum Discussion
Rob_74473
Cirrus
Sep 12, 2018Trying to get rateLimitMode for virtual server through python sdk
I am trying to get the rateLimitMode from the python sdk. All I get is 'object'.
u'rateLimit': u'disabled',
u'rateLimitDstMask': 0,
u'rateLimitMode': u'object',
u'rateLimitSrcMask': 0,
...
Satoshi_Toyosa1
Sep 17, 2018Ret. Employee
'object' is a string literal, meaning
Per Virtual Server is selected in the Connection Rate Limit Mode field in the virtual server setting.
K93017176: Overview of the Standard virtual server describes 7 available modes. Unfortunately, the mode names in the article and GUI are different from the ones in tmsh and iControl REST. For example, when
Per Virtual Server is selected from the GUI, you get the following:
tmsh list ltm virtual vs rate-limit-mode
ltm virtual vs {
rate-limit-mode object
}
Or
curl -sku admin:admin https:///mgmt/tm/ltm/virtual/vs?\$select=rateLimitMode
{
"rateLimitMode": "object" <<< string literal
}
Run
tmsh help ltm virtual for the names in tmsh/iControl REST.
rate-limit-mode [destination | object | object-destination |
object-source | object-source-destination | source |
source-destination]
Cheers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
