Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Default Persistence Profile and ssl profile when creating a Virtual server with Python SDK

Masoud_pourshab
Nimbostratus
Nimbostratus

Hello, The follow code works but my issue is setting the Default_Persistence_Profile as source_addr and ssl client and server profile. Thank you,

 

myvirtual = bigip.tm.ltm.virtuals.virtual.create(name=["test virtual server"],

 

                                                     description=["test"],
                                                     destination="%s:%s" % (["8.8.8.8"], ["159"]),
                                                     ipProtocol=["tcp"],
                                                     pool=["mypool"],
                                                     **Default_Persistence_Profile=["source_addr"]**)
1 REPLY 1

Jorge_Roa
Nimbostratus
Nimbostratus

Hi dude maybe it is a little late, but the default persistence profile is named: "persist"

example:

persist=["source_addr"]