.. _slb_server_port: slb server port =============== Real Server Port port Specification ------------------ ===================================== ======================================================================================== ===================================== ======================================================================================== **Type** *Collection* **Object Key(s)** *port-number, protocol* **Collection Name** :ref:`20_port_list` **Collection URI** /axapi/v3/slb/server/{name}/port **Element Name** port **Element URI** /axapi/v3/slb/server/{name}/port/{port-number}+{protocol} **Element Attributes** port_attributes **Statistics Data URI** /axapi/v3/slb/server/{name}/port/{port-number}+{protocol}/stats **Operational Data URI** /axapi/v3/slb/server/{name}/port/{port-number}+{protocol}/oper **Schema** :download:`port 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
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/slb/server/{name}/port .. raw:: html :ref:`20_port_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/slb/server/{name}/port .. raw:: html :ref:`20_port_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/server/{name}/port/{port-number}+{protocol} .. raw:: html :ref:`20_port_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/slb/server/{name}/port .. raw:: html :ref:`20_port_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/server/{name}/port/{port-number}+{protocol} .. raw:: html :ref:`20_port_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/server/{name}/port/{port-number}+{protocol} .. raw:: html :ref:`20_port_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/slb/server/{name}/port .. raw:: html :ref:`20_port_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/server/{name}/port/{port-number}+{protocol} .. raw:: html :ref:`20_port_attributes` .. raw:: html
.. _20_port_list: port-list --------- port-list is **JSON List** of :ref:`20_port_attributes` port-list : [ { :ref:`20_port_attributes` }, { :ref:`20_port_attributes` }, ... ] .. _20_port_attributes: port attributes --------------- **action** **Description** 'enable': enable; 'disable': disable; 'disable-with-health-check': disable port, but health check work; **Type:** string **Supported Values:** enable, disable, disable-with-health-check **Default:** enable **alternate-port** **Type:** List **auth-cfg** **Description:** auth-cfg is a **JSON Block**. Please see below for :ref:`20_auth-cfg` **Type:** Object **conn-limit** **Description** Connection Limit **Type:** number **Range:** 1-64000000 **Default:** 64000000 **conn-resume** **Description** Connection Resume **Type:** number **Range:** 1-1000000 **extended-stats** **Description** Enable extended statistics on real server port **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **follow-port-protocol** **Description** 'tcp': TCP Port; 'udp': UDP Port; **Type:** string **Supported Values:** tcp, udp **health-check** **Description** Health Check (Monitor Name) **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Mutual Exclusion:** health-checkshared-rport-health-check, health-check-follow-port and health-check-disable are mutually exclusive **Refernce Object:** :doc:`/axapi/v3/health/monitor ` **health-check-disable** **Description** Disable health check **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** health-check-disablehealth-check, shared-rport-health-check, rport-health-check-shared and health-check-follow-port are mutually exclusive **health-check-follow-port** **Description** Specify which port to follow for health status (Port Number) **Type:** number **Range:** 1-65534 **Mutual Exclusion:** health-check-follow-port health-check and health-check-disable are mutually exclusive **no-logging** **Description** Do not log connection over limit event **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **no-ssl** **Description** No SSL **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **port-number** **Description** Port Number **Type:** number **Range:** 0-65534 **protocol** **Description** 'tcp': TCP Port; 'udp': UDP Port; **Type:** string **Supported Values:** tcp, udp **range** **Description** Port range (Port range value - used for vip-to-rport-mapping and vport-rport range mapping) **Type:** number **Range:** 0-254 **Default:** 0 **rport-health-check-shared** **Description** Health Check (Monitor Name) **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Mutual Exclusion:** rport-health-check-shared and health-check-disable are mutually exclusive **Refernce Object:** :doc:`/axapi/v3/health/monitor ` **shared-partition-port-template** **Description** Reference a port template from shared partition **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** shared-partition-port-template and template-port are mutually exclusive **shared-rport-health-check** **Description** Reference a health-check from shared partition **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** shared-rport-health-check health-check and health-check-disable are mutually exclusive **stats-data-action** **Description** 'stats-data-enable': Enable statistical data collection for real server port; 'stats-data-disable': Disable statistical data collection for real server port; **Type:** string **Supported Values:** stats-data-enable, stats-data-disable **Default:** stats-data-enable **support-http2** **Description** Starting HTTP/2 with Prior Knowledge **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **template-port** **Description** Port template (Port template name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Default:** default **Mutual Exclusion:** template-port and shared-partition-port-template are mutually exclusive **Refernce Object:** :doc:`/axapi/v3/slb/template/port ` **template-port-shared** **Description** Port Template Name **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Refernce Object:** :doc:`/axapi/v3/slb/template/port ` **template-server-ssl** **Description** Server side SSL template (Server side SSL Name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Refernce Object:** :doc:`/axapi/v3/slb/template/server-ssl ` **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 **weight** **Description** Port Weight (Connection Weight) **Type:** number **Range:** 1-1000 **Default:** 1 .. _20_alternate-port: alternate-port ^^^^^^^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *list* **Block object keys** =============================== =================================================== **alternate** **Description** Alternate Server Number **Type:** number **Range:** 1-16 **alternate-name** **Description** Alternate Name **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **alternate-server-port** **Description** Port (Alternate Server Port Value) **Type:** number **Range:** 1-65535 .. _20_auth-cfg: auth-cfg ^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *object* =============================== =================================================== **service-principal-name** **Description** Service Principal Name (Kerberos principal name) **Type:** string **Format:** string-rlx **Maximum Length:** 128 characters **Maximum Length:** 1 characters .. _20_stats_port-diameter: stats port-diameter ------------------- .. list-table:: :widths: 10 20 30 80 :header-rows: 2 :stub-columns: 1 * - - Counter - Size - Description * - - - - * - - ccr_in - 2 - Number of CCRs in * - - svrsel_fail - 2 - Number of server selection failed * - - curr - 2 - Current * - - acr_out - 2 - Number of ACRs out * - - dwr_in - 2 - Number of DWRs in * - - cca_in - 2 - Number of CCAs in * - - num - 2 - Number * - - no_route - 2 - Number of no routes * - - server_fail - 2 - Number of server failures * - - user_session - 2 - Number of user sessions * - - ccr_out - 2 - Number of CCRs out * - - aca_out - 2 - Number of ACAs out * - - sta_in - 2 - Number of STAs in * - - total - 2 - Total * - - dwa_in - 2 - Number of DWAs in * - - dwa_out - 2 - Number of DWAs out * - - asa_in - 2 - Number of ASAs in * - - asr_out - 2 - Number of ASRs out * - - cca_out - 2 - Number of CCAs out * - - aca_in - 2 - Number of ACAs in * - - dwr_out - 2 - Number of DWRs out * - - dpa_out - 2 - Number of DPAs out * - - other_out - 2 - Number of other messages out * - - cea_out - 2 - Number of CEAs out * - - dpr_in - 2 - Number of DPRs in * - - asr_in - 2 - Number of ASRs in * - - cer_in - 2 - Number of CERs in * - - str_in - 2 - Number of STRs in * - - sta_out - 2 - Number of STAs out * - - snat_fail - 2 - Number of snat failures * - - client_fail - 2 - Number of client failures * - - cer_out - 2 - Number of CERs out * - - str_out - 2 - Number of STRs out * - - cea_in - 2 - Number of CEAs in * - - asa_out - 2 - Number of ASAs out * - - no_sess - 2 - Number of no sessions * - - dpa_in - 2 - Number of DPAs in * - - dpr_out - 2 - Number of DPRs out * - - other_in - 2 - Number of other messages in * - - acr_in - 2 - Number of ACRs in .. _20_stats_data: stats data ---------- .. list-table:: :widths: 10 20 30 80 :header-rows: 2 :stub-columns: 1 * - - Counter - Size - Description * - - - - * - - es_resp_invalid_http - 8 - Total non-http response * - - curr_req - 8 - Current requests * - - total_rev_pkts_inspected_good_status_code - 8 - Total reverse packets with good status code inspected * - - resp-1xx - 8 - Response status 1xx * - - curr_ssl_conn - 8 - Current SSL connections * - - resp-2xx - 8 - Response status 2xx * - - es_resp_count - 8 - Total proxy response * - - total_fwd_bytes - 8 - Bytes processed in forward direction * - - es_resp_other - 8 - Response status other * - - fastest_rsp_time - 8 - Fastest response time * - - total_fwd_pkts - 8 - Packets processed in forward direction * - - resp-3xx - 8 - Response status 3xx * - - resp-latency - 8 - Time to First Response Byte * - - resp-count - 8 - Total Response Count * - - es_req_count - 8 - Total proxy requests * - - resp-other - 8 - Response status Other * - - es_resp_500 - 8 - Response status 500 * - - peak_conn - 8 - Peak connections * - - total_req - 8 - Total Requests * - - es_resp_400 - 8 - Response status 400 * - - es_resp_300 - 8 - Response status 300 * - - curr_pconn - 8 - Current persistent connections * - - curr_conn - 8 - Current connections * - - es_resp_200 - 8 - Response status 200 * - - total_rev_bytes - 8 - Bytes processed in reverse direction * - - response_time - 8 - Response time * - - resp-4xx - 8 - Response status 4xx * - - total_ssl_conn - 8 - Total SSL connections * - - total_conn - 8 - Total connections * - - total_rev_pkts - 8 - Packets processed in reverse direction * - - total_req_succ - 8 - Total requests succ * - - last_total_conn - 8 - Last total connections * - - total_rev_pkts_inspected - 8 - Total reverse packets inspected * - - resp-5xx - 8 - Response status 5xx * - - slowest_rsp_time - 8 - Slowest response time .. _20_oper_data: operational data ---------------- .. list-table:: :widths: 10 20 30 80 :header-rows: 2 :stub-columns: 1 * - - Counter - Size - Description * - - - - * - - down_grace_period_allowed - number - down_grace_period_allowed * - - nat-pool-addr-list - - nat-pool-addr-list * - - drs-ip-nat-list - - drs-ip-nat-list * - - drs-auto-nat-list - - drs-auto-nat-list * - - auto-nat-addr-list - - auto-nat-addr-list * - - aflow_queue_size - number - aflow_queue_size * - - current_time - number - current_time * - - state - enum - Output contains one of the following values: - Up, Down, Disabled, Maintenance, Unknown, DIS-UP, DIS-DOWN, DIS-MAINTENANCE, DIS-EXCEED-RATE, DIS-DAMP * - - slow_start_conn_limit - number - slow_start_conn_limit * - - resv_conn - number - resv_conn * - - pool_name - string-rlx - pool_name * - - hm-index - number - hm-index * - - down_time_grace_period - number - down_time_grace_period * - - inband_hm_reassign_num - number - inband_hm_reassign_num * - - curr_observe_rate - number - curr_observe_rate * - - curr_conn_rate - number - curr_conn_rate * - - disable - number - disable * - - aflow_conn_limit - number - aflow_conn_limit * - - diameter_enabled - number - diameter_enabled * - - soft_down_time - number - soft_down_time * - - hm-key - number - hm-key * - - es_resp_time - number - es_resp_time * - - conn_rate_unit - string - conn_rate_unit