Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

Rest APi limitation on Role Operator

Hello,

I would like to ask a question about rest api. We have a situation in here where we have a account with Operator role and this account can disable/enable nodes. However there is a problem, limit most likely where i can call api only 2 times per 60s and this is something what causing us a lot of issues. Can this limit be lift up or disable please ?

Thx Regards Mike

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

OK sorted. If you use PATCH request type it work like a charm... :) It must be a bug in F5 os..

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

I have not seen any such limitation on API unless your application has set some limit. Connection limit only applies to node/member enable/disable functionality? What F5 code are you using? What is the response time with admin access?

0
Comments on this Answer
Comment made 15-Feb-2018 by Michal Seckar 70

Well using Operator role on account with this usage:

https://192.168.x.x/mgmt/tm/ltm/node/$node

and sending it as put with params

{"state":"user-down","session":"user-disabled"}

With role admin or resource admin this not happening..

Got: BIG-IP 13.1.0 Build 0.0.1868 Final

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

From my 11.x curl archive, request is as follow for pool member disable:

curl -k -u user1:password1 -H "Content-Type: application/json" -X POST -d '{"name":"TestServer:80","partition":"test","session":"user-disabled", "address":"192.xx.xx.xx"}' https://10.xx.xx.xx/mgmt/tm/ltm/pool/~test~pool1/members

0
Comments on this Answer
Comment made 16-Feb-2018 by Michal Seckar 70

well this is different this code will shut down memer of the pool, not node itselfe..

0
Comment made 16-Feb-2018 by Only1masterblaster 608

I don't have 13.x. but 11.x node disable is like this:

curl -k -u user:password1 -H "Content-Type: application/json" -X PUT -d '{"session":"user-disabled"}' https://10.xx.xx.xx/mgmt/tm/ltm/node/~Common~NodeA

0
Comment made 16-Feb-2018 by Michal Seckar 70

as i said this is not about functionality. It works but i cannot spamm the api if role of the account im using is operator.Problem is elsewhere not in usage..

0
Comment made 16-Feb-2018 by Michal Seckar 70

OK sorted. If you use PATCH request type it work like a charm... :) It must be a bug in F5 os..

0