VMware Orchestrator Plugin and CURL PUT statements

2 issues:

1) Trying new plugins (F5 Networks 2.0.1.1) for VMware Orchestrator 5.5. Disabling and enabling pool member plugin not working correctly. Disables/enables a different pool member than one specified. Note: Debugging verified proper pool member was being specified.

2) Using CURL, my attempts to change the session state fails:

C:\Program Files\cURL\bin>curl -k -u admin: -H “Content-Type:application/json” -X PUT -d ‘{“session”:“user-disabled”}’ https:///mgmt/tm/ltm/pool//members/:80 {“code”:400,“message”:“Found invalid JSON body in the request.”,“errorStack”:[]}

C:\Program Files\cURL\bin>curl -fsS -k -u admin: -H “Content-Type:application/json” -X PUT -d ‘{“session”:“user-disabled”}’ https:///mgmt/tm/ltm/pool//members/:80 curl: (22) The requested URL returned error: 400 Bad Request

Currently using “BIG-IP 11.5.1 Build 0.0.110 Final” VMware virtual machine.

I would like to be able to use the plugins; however, I am concerned about their reliability. I am further at loss as to why the CURL PUTs do not work. Any suggestions?

Please note the pool and pool member was specified. It should look like: C:\Program Files\cURL\bin>curl -k -u admin: -H “Content-Type:application/json” -X PUT -d `{“session”:“user-disabled”}’ https://(LTM mgmt IP address)/mgmt/tm/ltm/pool/LBPool/members/(pool member):80 {“code”:400,“message”:“Found invalid JSON body in the request.”,“errorStack”:[]}

Note: replaced parentheses with actual values

Orchestrator script problems caused the Plugin to not respond properly. Please disregard comments about the plugin not functioning correctly. However, if anyone has ideas about the CURL statements not working I would appreciate your insight.

This appears to be an issue with the Windows version of Curl. Your syntax should work with a Linux version of Curl.

Thanks!