Forum Discussion
L4L7_53191
Dec 30, 2010Nimbostratus
Wierd. I just created a dummy client ssl profile named 'test' and pasted in your code. Worked fine:
In [100]: cpaste
Pasting code; enter '--' alone on the line to stop.
:opts = s.typefactory.create('LocalLB.ProfileSSLOption')
:option_list = s.typefactory.create('LocalLB.SSLOption')
:opts.values = [option_list.SSL_OPTION_EPHEMERAL_RSA]
:opts.default_flag =0
:s.set_ssl_option(['test'], options = [opts])
:--
In [101]: s.get_ssl_option(['test'])
Out[101]:
[(LocalLB.ProfileSSLOption){
values[] =
"SSL_OPTION_EPHEMERAL_RSA",
default_flag = False
}]
I also confirmed it shows up in the UI as you'd expect. At this point I'd turn on debug on the BigIP as well as pycontrol to see what may be going on.
-Matt