| Trees | Indices | Help |
|---|
|
|
object --+
|
base.AxObject --+
|
TemplateServerPort
Implementation of the aXAPI slb.template.cache.* method to
manage the SLB cache template as getAll/searchByName/create/delete/update
Usage:
# cache template with options:
# name (required) cache template name
# Example: create a cache template
# !
# slb template cache my_cache_templ1
# policy uri abc nocache
# policy uri 123 nocache
# !
cache1 = TemplateRamCache(name="my_cache_templ1")
cache1.policy_list = [{"uri": "abc", "action": 1}, {"uri": "123", "action": 1}]
cache1.create()
# get all cache templates
caches = TemplateRamCache.getAll()
for e in caches:
print e
# use aCache 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 |