Forum Discussion
Set Protocol Profile (Server) And HTTP Profile (Server) via the SDK
Yes, that is exactly what I was doing. I had to change the dictionary from just an array of profile names to a list of dictionaries with name/value pairs for the name of the profile and the context:
FROM THIS
profiles = {
"profiles": [ "f5-tcp-lan", "f5-tcp-progressive", "http_x_forward_for", "custom", "clientssl", "serverssl" ]
}
TO THIS
profiles = {
"profiles": [ {"name": "f5-tcp-lan", "context": "clientside"},{"name": "f5-tcp-progressive", "context": "server
side"}, {"name": "http_x_forward_for", "context": "clientside"}, {"name":"custom", "context": "all"}, {"name":
"clientssl", "context": " clientside"}, {"name": "serverssl", "context": "serverssl"} ]
}
Recent Discussions
Related Content
* 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