Forum Discussion
Fuchan_Tan_3092
Nimbostratus
Apr 09, 2012How to add a sslClientProfile to a virtual server via Java ICONTROL?
Given the following tcl script :
virtual ${virtualServerName} { profiles ${sslClientProfileName} { clientside } add }
How to add a sslClientProfile to a virtual server via Java ICO...
Big_Daddy_61011
Nimbostratus
Oct 06, 2007Turns out I was missing something basic. Under System Admin -> Web UI -> checkbox "use hostnames when possible".
Problem solved ... I didn't figure it out, F5 support did.
- Apr 06, 2006We don't officially support Python as a dev language but I do know that several users out there are using it. One thing that I've heard is that SOAPpy doesn't support 2-dimensional arrays which we use in a large majority of our methods.
String[] LocalLB::Class::get_external_class_file_name( in String[] class_names );
print server.get_external_class_file_name( SOAPpy.NameType('', 'class_names', 0, {'items': ['myList']}) )
xmlns:ns1="urn:iControl:LocalLB/Class" SOAP-ENC:root="1"> items="">
xmlns:ns1="urn:iControl:LocalLB/Class" SOAP-ENC:root="1"> SOAP-ENC:arrayType="SOAP-ENC:Array[1]"> class_name_goes_here
- Apr 06, 2006This was just passed along to me from a co-worker. Give this a shot.
server.get_external_class_file_name(class_names = ['name1','name2'])
- Mark_Atkinson_5May 25, 2006Historic F5 AccountYou can use the following patch against SOAPBuilder.py to allow SOAPpy to serialize arrays of arrays...
--- SOAPBuilder.py 2005-02-21 12:24:13.000000000 -0800 +++ /tmp/SOAPBuilder.py 2006-03-31 13:53:49.000000000 -0800 @@ -496,7 +496,10 @@ elemsname = tag for i in data: - self.dump(i, elemsname, not same_type, ns_map) + if type(i) == type([]): + self.dump(i,'item') + else: + self.dump(i, elemsname, not same_type, ns_map) if typed: self.out.append('\n' % tag)
url = '%%s://%s:%s@%s/iControl/iControlPortal.cgi' % (admin,passwd,bigip) ProxyBuilder = lambda x: SOAPProxy(url % 'https', namespace='urn:iControl:' + x) sysinfo = ProxyBuilder('System/SystemInfo') ver = sysinfo.get_version() print "version: %s" % ver pool = ProxyBuilder('LocalLB/Pool') try: pool.create(pool_names = ['test_pool'], lb_methods = ['LB_METHOD_ROUND_ROBIN'], members = [[{'address':'172.16.17.1','port':'80'}]]) except faultType, (ErrorFrom, ErrorMessage): faultType is defined by SOAPpy if ErrorMessage.find("already exists") > 0: print "pool test_pool already exists..." else: print "unhandled exception:", ErrorMessage raise
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects