a10_slb_template_cache
Synopsis
RAM caching template
Parameters
Parameters |
Choices/Defaults |
Comment |
|
---|---|---|---|
state str/required |
[‘noop’, ‘present’, ‘absent’] |
State of the object to be created. |
|
ansible_host str/required |
Host for AXAPI authentication |
||
ansible_username str/required |
Username for AXAPI authentication |
||
ansible_password str/required |
Password for AXAPI authentication |
||
ansible_port int/required |
Port for AXAPI authentication |
||
a10_device_context_id int |
[‘1-8’] |
Device ID for aVCS configuration |
|
a10_partition str |
Destination/target partition for object/command |
||
name str/required |
Specify cache template name |
||
accept_reload_req bool |
Accept reload requests via cache-control directives in HTTP headers |
||
age int |
Specify duration in seconds cached content valid, default is 3600 seconds (seconds that the cached content is valid (default 3600 seconds)) |
||
default_policy_nocache bool |
Specify default policy to be to not cache |
||
disable_insert_age bool |
Disable insertion of age header in response served from RAM cache |
||
disable_insert_via bool |
Disable insertion of via header in response served from RAM cache |
||
max_cache_size int |
Specify maximum cache size in megabytes, default is 80MB (RAM cache size in megabytes (default 80MB)) |
||
min_content_size int |
Minimum size (bytes) of response that can be cached - default 512 |
||
max_content_size int |
Maximum size (bytes) of response that can be cached - default 81920 (80KB) |
||
local_uri_policy list |
Field local_uri_policy |
||
local_uri str |
Specify Local URI for caching (Specify URI pattern that the policy should be applied to, maximum 63 charaters) |
||
uri_policy list |
Field uri_policy |
||
uri str |
Specify URI for cache policy (Specify URI pattern that the policy should be applied to, maximum 63 charaters) |
||
cache_action str |
‘cache’= Specify if certain URIs should be cached; ‘nocache’= Specify if certain URIs should not be cached; |
||
cache_value int |
Specify seconds that content should be cached, default is age specified in cache template |
||
invalidate str |
Specify if URI should invalidate cache entries matching pattern (pattern that would match entries to be invalidated (64 chars max)) |
||
remove_cookies bool |
Remove cookies in response and cache |
||
replacement_policy str |
‘LFU’= LFU; |
||
logging str |
Specify logging template (Logging Config name) |
||
verify_host bool |
Verify request using host before sending response from RAM cache |
||
uuid str |
uuid of the object |
||
user_tag str |
Customized tag |
||
sampling_enable list |
Field sampling_enable |
||
counters1 str |
‘all’= all; ‘hits’= Cache hits; ‘miss’= Cache misses; ‘bytes_served’= Bytes served from cache; ‘total_req’= Total requests received; ‘caching_req’= Total requests to cache; ‘nc_req_header’= slbTemplateCacheNcReqHeader, help nc_req_header; ‘nc_res_header’= slbTemplateCacheNcResHeader, help nc_res_header; ‘rv_success’= some help string; ‘rv_failure’= slbTemplateCacheRvFailure, help rv_failure; ‘ims_request’= some help string; ‘nm_response’= some help string; ‘rsp_type_CL’= some help string; ‘rsp_type_CE’= some help string; ‘rsp_type_304’= some help string; ‘rsp_type_other’= some help string; ‘rsp_no_compress’= some help string; ‘rsp_gzip’= some help string; ‘rsp_deflate’= some help string; ‘rsp_other’= some help string; ‘nocache_match’= some help string; ‘match’= some help string; ‘invalidate_match’= some help string; ‘content_toobig’= slbTemplateCacheContentToobig, help content_toobig; ‘content_toosmall’= slbTemplateCacheContentToosmall, help content_toosmall; ‘entry_create_failures’= slbTemplateCacheEntryCreateFailures, help entry_create_failures; ‘mem_size’= some help string; ‘entry_num’= some help string; ‘replaced_entry’= some help string; ‘aging_entry’= some help string; ‘cleaned_entry’= some help string; ‘rsp_type_stream’= some help string; ‘header_save_error’= some help string; |
||
packet_capture_template str |
Name of the packet capture template to be bind with this object |
||
stats dict |
Field stats |
||
hits str |
Cache hits |
||
miss str |
Cache misses |
||
bytes_served str |
Bytes served from cache |
||
total_req str |
Total requests received |
||
caching_req str |
Total requests to cache |
||
nc_req_header str |
slbTemplateCacheNcReqHeader, help nc_req_header |
||
nc_res_header str |
slbTemplateCacheNcResHeader, help nc_res_header |
||
rv_success str |
some help string |
||
rv_failure str |
slbTemplateCacheRvFailure, help rv_failure |
||
ims_request str |
some help string |
||
nm_response str |
some help string |
||
rsp_type_CL str |
some help string |
||
rsp_type_CE str |
some help string |
||
rsp_type_304 str |
some help string |
||
rsp_type_other str |
some help string |
||
rsp_no_compress str |
some help string |
||
rsp_gzip str |
some help string |
||
rsp_deflate str |
some help string |
||
rsp_other str |
some help string |
||
nocache_match str |
some help string |
||
match str |
some help string |
||
invalidate_match str |
some help string |
||
content_toobig str |
slbTemplateCacheContentToobig, help content_toobig |
||
content_toosmall str |
slbTemplateCacheContentToosmall, help content_toosmall |
||
entry_create_failures str |
slbTemplateCacheEntryCreateFailures, help entry_create_failures |
||
mem_size str |
some help string |
||
entry_num str |
some help string |
||
replaced_entry str |
some help string |
||
aging_entry str |
some help string |
||
cleaned_entry str |
some help string |
||
rsp_type_stream str |
some help string |
||
header_save_error str |
some help string |
||
name str |
Specify cache template name |
Examples
Return Values
- modified_values (changed, dict, )
Values modified (or potential changes if using check_mode) as a result of task operation
- axapi_calls (always, list, )
Sequential list of AXAPI calls made by the task
- endpoint (, str, [‘/axapi/v3/slb/virtual_server’, ‘/axapi/v3/file/ssl-cert’])
The AXAPI endpoint being accessed.
- http_method (, str, [‘POST’, ‘GET’])
HTTP method being used by the primary task to interact with the AXAPI endpoint.
- request_body (, complex, )
Params used to query the AXAPI
- response_body (, complex, )
Response from the AXAPI
Status
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by community.