Trees | Indices | Help |
---|
|
object --+ | base.AxObject --+ | TemplateSmtp
Implementation of the aXAPI slb.template.smtp.* method to manage the SLB SMTP template as getAll/create/delete/update Usage: # SMTP template with options: # name (required) # starttls STARTTLS, disabled(0), enforced(2) or optional(1) # EXPN SMTP command EXPN, enabled(0) or disabled(1) # TURN SMTP command TURN, enabled(0) or disabled(1) # VRFY SMTP command VRFY, enabled(0) or disabled(1) # server_domain server domain # service_ready_message service ready message # client_domain_switching_list tag for the collection of client switchings # client_domain client domain # service_group service group name # match_type match type, contains(0), starts with(1), ends with(2) # Example: create a smtp template like # ! # slb template smtp my_smpt_temp1 # client-domain-switching contains domain1 service-group sg1 # ! smtp = TemplateSmtp(name="my_smpt_templ") smtp.client_domain_switching_list = [{"client_domain": "domain1", "service_group": "sg1", "match_type": 0}] smtp.create() # get all SMTP templates a_list = TemplateSmtp.getAll() for aSmtp in a_list: # use aSmtp here ...
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|
|||
__display__ =
|
|||
__obj_name__ =
|
|||
__xml_convrt__ =
|
|||
Inherited from |
|
|||
Inherited from |
|
__xml_convrt__
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 27 11:20:20 2013 | http://epydoc.sourceforge.net |