a10_slb_template_cache¶
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’= nc_req_header; ‘nc_res_header’= nc_res_header; ‘rv_success’= rv_success; ‘rv_failure’= rv_failure; ‘ims_request’= ims_request; ‘nm_response’= nm_response; ‘rsp_type_CL’= rsp_type_CL; ‘rsp_type_CE’= rsp_type_CE; ‘rsp_type_304’= rsp_type_304; ‘rsp_type_other’= rsp_type_other; ‘rsp_no_compress’= rsp_no_compress; ‘rsp_gzip’= rsp_gzip; ‘rsp_deflate’= rsp_deflate; ‘rsp_other’= rsp_other; ‘nocache_match’= nocache_match; ‘match’= match; ‘invalidate_match’= invalidate_match; ‘content_toobig’= content_toobig; ‘content_toosmall’= content_toosmall; ‘entry_create_failures’= entry_create_failures; ‘mem_size’= mem_size; ‘entry_num’= entry_num; ‘replaced_entry’= replaced_entry; ‘aging_entry’= aging_entry; ‘cleaned_entry’= cleaned_entry; |
||
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 |
Field nc_req_header |
||
nc_res_header str |
Field nc_res_header |
||
rv_success str |
Field rv_success |
||
rv_failure str |
Field rv_failure |
||
ims_request str |
Field ims_request |
||
nm_response str |
Field nm_response |
||
rsp_type_CL str |
Field rsp_type_CL |
||
rsp_type_CE str |
Field rsp_type_CE |
||
rsp_type_304 str |
Field rsp_type_304 |
||
rsp_type_other str |
Field rsp_type_other |
||
rsp_no_compress str |
Field rsp_no_compress |
||
rsp_gzip str |
Field rsp_gzip |
||
rsp_deflate str |
Field rsp_deflate |
||
rsp_other str |
Field rsp_other |
||
nocache_match str |
Field nocache_match |
||
match str |
Field match |
||
invalidate_match str |
Field invalidate_match |
||
content_toobig str |
Field content_toobig |
||
content_toosmall str |
Field content_toosmall |
||
entry_create_failures str |
Field entry_create_failures |
||
mem_size str |
Field mem_size |
||
entry_num str |
Field entry_num |
||
replaced_entry str |
Field replaced_entry |
||
aging_entry str |
Field aging_entry |
||
cleaned_entry str |
Field cleaned_entry |
||
name str |
Specify cache template name |