Module slb_template :: Class TemplateDns
[hide private]
[frames] | no frames]

Class TemplateDns

source code

   object --+    
            |    
base.AxObject --+
                |
               TemplateDns


Implementation of the aXAPI slb.template.dns.* method to 
manage the SLB dns template as getAll/searchByName/create/delete/update 

Usage:
    # dns template with options:
    # name               (required) cache template name 
    # name                             dns template name
    # malformed_query                  malformed query, disabled(0), drop(1), forward to service group(2)
    # service_group_malformed_query    service group name, only malformed_query is 2
    # status                           dns template status, disabled(0) or enabled(1)
    # def_policy                       default policy, no cache(0) or cache(1)
    # log_period                       log period (Minutes)
    # max_cache_size
    # class_list         tag for the class list
    #     name                 class list name
    #     lid_list             tag for the collection of LID
    #         id                   LID id
    #         dns_cache_status     DNS cache status, enabled(1) or disabled(0)
    #         ttl
    #         weight
    #         conn_rate_limit      connection rate limit
    #         conn_rate_limit_per  connection rate limit interval
    #         over_limit_action    drop(0), forward(1),
    #         enable               DNS cache(2) or disable dns cache(3)
    #         lockout              lockout
    #         log_status           log status, enabled(1). disabled(0)
    #         log_interval         log interval

Instance Methods [hide private]
 
create(self)
method: slb.template.dns.create Create the dns template.
source code
 
delete(self)
method: slb.template.dns.delete Delete the dns template.
source code
 
update(self)
method: slb.template.dns.update Update the dns template.
source code

Inherited from base.AxObject: __getattr__, __getitem__, __init__, __repr__, __setattr__, __setitem__, __str__, dump, get, getInfo, getObjectDict, getRequestPostDataJson, getRequestPostDataXml

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
getAll()
method : slb.template.dns.getAll Returns a list of dns template in TemplateDns instance.
source code
 
searchByName(name)
method: slb.template.dns.search Search the dns template by given name.
source code
Class Variables [hide private]
  __display__ = ['name']
  __obj_name__ = 'dns_template'
  __xml_convrt__ = {'dns_template_list': 'dns_template', 'lid_li...

Inherited from base.AxObject: __obj_readonly__

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__xml_convrt__

Value:
{'dns_template_list': 'dns_template', 'lid_list': 'lid'}