Forum Discussion
andy_12_5042
Dec 30, 2010Nimbostratus
if I use a python interactive session and look at params, I can see what it is expecting:
>>> s.set_ssl_option.params
[(profile_names, u'Common.StringSequence'), (options, u'LocalLB.ProfileSSLOptionSequence')]
So one would think that this would work , however it does not)
def set_ssl_option(self,option):
self.option=option
option_s=s.typefactory.create('LocalLB.ProfileSSLOptionSequence')
option_s.default_flag = 0
option_s.values=[self.option]
option_s_seq=[option_s]
s.set_ssl_option(profile_names=[self.name],options=[option_s])
This is what the sequence looks like:
>>> option_s
(LocalLB.ProfileSSLOptionSequence){
_arrayType = ""
_offset = ""
_id = ""
_href=""
values[] =
"SSL_OPTION_EPHEMERAL_RSA",
default_flag = 0
}
but when I go to look at the options on my profile after trying to set, I get:
[(LocalLB.ProfileSSLOption){
values[] = empty
default_flag = False
}]