.. _cgnv6_template_http_alg: cgnv6 template http-alg ======================= HTTP-ALG Template http-alg Specification ---------------------- ===================================== ======================================================================= **Parameter** **Value** ===================================== ======================================================================= **Type** *Collection* **Object Key(s)** *name* **Collection Name** :ref:`608_http-alg_list` **Collection URI** /axapi/v3/cgnv6/template/http-alg **Element Name** http-alg **Element URI** /axapi/v3/cgnv6/template/http-alg/{name} **Element Attributes** http-alg_attributes **Partition Visibility** shared **Schema** :download:`http-alg schema ` ===================================== ======================================================================= **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/cgnv6/template/http-alg .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/cgnv6/template/http-alg .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/cgnv6/template/http-alg/{name} .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/cgnv6/template/http-alg .. raw:: html :ref:`608_http-alg_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/cgnv6/template/http-alg/{name} .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/cgnv6/template/http-alg/{name} .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/cgnv6/template/http-alg .. raw:: html :ref:`608_http-alg_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/cgnv6/template/http-alg/{name} .. raw:: html :ref:`608_http-alg_attributes` .. raw:: html
.. _608_http-alg_list: http-alg-list ------------- http-alg-list is **JSON List** of :ref:`608_http-alg_attributes` http-alg-list : [ { :ref:`608_http-alg_attributes` }, { :ref:`608_http-alg_attributes` }, ... ] .. _608_http-alg_attributes: http-alg attributes ------------------- **header-name-client-ip** **Description** Header name (default: X-Forwarded-For) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Default:** X-Forwarded-For **header-name-msisdn** **Description** Header name (default: X-MSISDN) **Type:** string **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Default:** X-MSISDN **include-tunnel-ip** **Description** Include the tunnel IP (applies to DS-Lite and 6RD-NAT64 sessions) **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **method** **Description** 'append': Append if there is already a header (default); 'replace': Replace if there is already a header; **Type:** string **Supported Values:** append, replace **Default:** append **name** **Description** HTTP-ALG template name **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **request-insert-client-ip** **Description** Insert Client IP into HTTP request **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **request-insert-msisdn** **Description** Insert MSISDN into HTTP request **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **user-tag** **Description** Customized tag **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters