slb http2

Configure http2

http2 Specification

   
Type Configuration Resource
Element Name http2
Element URI /axapi/v3/slb/http2
Element Attributes http2_attributes
Statistics Data URI /axapi/v3/slb/http2/stats
Operational Data URI /axapi/v3/slb/http2/oper
Schema http2 schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/http2

http2 attributes

Get Object

GET

/axapi/v3/slb/http2

http2 attributes

Modify Object

POST

/axapi/v3/slb/http2

http2 attributes

Replace Object

PUT

/axapi/v3/slb/http2

http2 attributes

Delete Object

DELETE

/axapi/v3/slb/http2

http2 attributes

http2 attributes

sampling-enable

Type: List

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

sampling-enable

Specification  
Type list
Block object keys  

counters1

Description ‘all’: all; ‘curr_proxy’: Curr Proxy Conns; ‘total_proxy’: Total Proxy Conns; ‘connection_preface_rcvd’: Connection preface rcvd; ‘control_frame’: Control Frame Rcvd; ‘headers_frame’: HEADERS Frame Rcvd; ‘continuation_frame’: CONTINUATION Frame Rcvd; ‘rst_frame_rcvd’: RST_STREAM Frame Rcvd; ‘settings_frame’: SETTINGS Frame Rcvd; ‘window_update_frame’: WINDOW_UPDATE Frame Rcvd; ‘ping_frame’: PING Frame Rcvd; ‘goaway_frame’: GOAWAY Frame Rcvd; ‘priority_frame’: PRIORITY Frame Rcvd; ‘data_frame’: DATA Frame Recvd; ‘unknown_frame’: Unknown Frame Recvd; ‘connection_preface_sent’: Connection preface sent; ‘settings_frame_sent’: SETTINGS Frame Sent; ‘settings_ack_sent’: SETTINGS ACK Frame Sent; ‘empty_settings_sent’: Empty SETTINGS Frame Sent; ‘ping_frame_sent’: PING Frame Sent; ‘window_update_frame_sent’: WINDOW_UPDATE Frame Sent; ‘rst_frame_sent’: RST_STREAM Frame Sent; ‘goaway_frame_sent’: GOAWAY Frame Sent; ‘header_to_app’: HEADER Frame to HTTP; ‘data_to_app’: DATA Frame to HTTP; ‘protocol_error’: Protocol Error; ‘internal_error’: Internal Error; ‘proxy_alloc_error’: HTTP2 Proxy alloc Error; ‘split_buff_fail’: Splitting Buffer Failed; ‘invalid_frame_size’: Invalid Frame Size Rcvd; ‘error_max_invalid_stream’: Max Invalid Stream Rcvd; ‘data_no_stream’: DATA Frame Rcvd on non-existent stream; ‘flow_control_error’: Flow Control Error; ‘settings_timeout’: Settings Timeout; ‘frame_size_error’: Frame Size Error; ‘refused_stream’: Refused Stream; ‘cancel’: cancel; ‘compression_error’: compression error; ‘connect_error’: connect error; ‘enhance_your_calm’: enhance your calm error; ‘inadequate_security’: inadequate security; ‘http_1_1_required’: HTTP1.1 Required; ‘deflate_alloc_fail’: deflate alloc fail; ‘inflate_alloc_fail’: inflate alloc fail; ‘inflate_header_fail’: Inflate Header Fail; ‘bad_connection_preface’: Bad Connection Preface; ‘cant_allocate_control_frame’: Cant allocate control frame; ‘cant_allocate_settings_frame’: Cant allocate SETTINGS frame; ‘bad_frame_type_for_stream_state’: Bad frame type for stream state; ‘wrong_stream_state’: Wrong Stream State; ‘data_queue_alloc_error’: Data Queue Alloc Error; ‘buff_alloc_error’: Buff alloc error; ‘cant_allocate_rst_frame’: Cant allocate RST_STREAM frame; ‘cant_allocate_goaway_frame’: Cant allocate GOAWAY frame; ‘cant_allocate_ping_frame’: Cant allocate PING frame; ‘cant_allocate_stream’: Cant allocate stream; ‘cant_allocate_window_frame’: Cant allocate WINDOW_UPDATE frame; ‘header_no_stream’: header no stream; ‘header_padlen_gt_frame_payload’: Header padlen greater than frame payload size; ‘streams_gt_max_concur_streams’: Streams greater than max allowed concurrent streams; ‘idle_state_unexpected_frame’: Unxpected frame received in idle state; ‘reserved_local_state_unexpected_frame’: Unexpected frame received in reserved local state; ‘reserved_remote_state_unexpected_frame’: Unexpected frame received in reserved remote state; ‘half_closed_remote_state_unexpected_frame’: Unexpected frame received in half closed remote state; ‘closed_state_unexpected_frame’: Unexpected frame received in closed state; ‘zero_window_size_on_stream’: Window Update with zero increment rcvd; ‘exceeds_max_window_size_stream’: Window Update with increment that results in exceeding max window; ‘stream_closed’: stream closed; ‘continuation_before_headers’: CONTINUATION frame with no headers frame; ‘invalid_frame_during_headers’: frame before headers were complete; ‘headers_after_continuation’: headers frame before CONTINUATION was complete; ‘push_promise_frame_sent’: Push Promise Frame Sent; ‘invalid_push_promise’: unexpected PUSH_PROMISE frame; ‘invalid_stream_id’: received invalid stream ID; ‘headers_interleaved’: headers interleaved on streams; ‘trailers_no_end_stream’: trailers not marked as end-of-stream; ‘invalid_setting_value’: invalid setting-frame value; ‘invalid_window_update’: window-update value out of range; ‘frame_header_bytes_received’: frame header bytes received; ‘frame_header_bytes_sent’: frame header bytes sent; ‘control_bytes_received’: HTTP/2 control frame bytes received; ‘control_bytes_sent’: HTTP/2 control frame bytes sent; ‘header_bytes_received’: HTTP/2 header bytes received; ‘header_bytes_sent’: HTTP/2 header bytes sent; ‘data_bytes_received’: HTTP/2 data bytes received; ‘data_bytes_sent’: HTTP/2 data bytes sent; ‘total_bytes_received’: HTTP/2 total bytes received; ‘total_bytes_sent’: HTTP/2 total bytes sent; ‘peak_proxy’: Peak Proxy Conns; ‘control_frame_sent’: Control Frame Sent; ‘continuation_frame_sent’: CONTINUATION Frame Sent; ‘data_frame_sent’: DATA Frame Sent; ‘headers_frame_sent’: HEADERS Frame Sent; ‘priority_frame_sent’: PRIORITY Frame Sent; ‘settings_ack_rcvd’: SETTINGS ACK Frame Rcvd; ‘empty_settings_rcvd’: Empty SETTINGS Frame Rcvd; ‘alloc_fail_total’: Alloc Fail - Total; ‘err_rcvd_total’: Error Rcvd - Total; ‘err_sent_total’: Error Rent - Total; ‘err_sent_proto_err’: Error Sent - PROTOCOL_ERROR; ‘err_sent_internal_err’: Error Sent - INTERNAL_ERROR; ‘err_sent_flow_control’: Error Sent - FLOW_CONTROL_ERROR; ‘err_sent_setting_timeout’: Error Sent - SETTINGS_TIMEOUT; ‘err_sent_stream_closed’: Error Sent - STREAM_CLOSED; ‘err_sent_frame_size_err’: Error Sent - FRAME_SIZE_ERROR; ‘err_sent_refused_stream’: Error Sent - REFUSED_STREAM; ‘err_sent_cancel’: Error Sent - CANCEL; ‘err_sent_compression_err’: Error Sent - COMPRESSION_ERROR; ‘err_sent_connect_err’: Error Sent - CONNECT_ERROR; ‘err_sent_your_calm’: Error Sent - ENHANCE_YOUR_CALM; ‘err_sent_inadequate_security’: Error Sent - INADEQUATE_SECURITY; ‘err_sent_http11_required’: Error Sent - HTTP_1_1_REQUIRED; ‘http2_rejected’: HTTP2 Rejected;

Type: string

Supported Values: all, curr_proxy, total_proxy, connection_preface_rcvd, control_frame, headers_frame, continuation_frame, rst_frame_rcvd, settings_frame, window_update_frame, ping_frame, goaway_frame, priority_frame, data_frame, unknown_frame, connection_preface_sent, settings_frame_sent, settings_ack_sent, empty_settings_sent, ping_frame_sent, window_update_frame_sent, rst_frame_sent, goaway_frame_sent, header_to_app, data_to_app, protocol_error, internal_error, proxy_alloc_error, split_buff_fail, invalid_frame_size, error_max_invalid_stream, data_no_stream, flow_control_error, settings_timeout, frame_size_error, refused_stream, cancel, compression_error, connect_error, enhance_your_calm, inadequate_security, http_1_1_required, deflate_alloc_fail, inflate_alloc_fail, inflate_header_fail, bad_connection_preface, cant_allocate_control_frame, cant_allocate_settings_frame, bad_frame_type_for_stream_state, wrong_stream_state, data_queue_alloc_error, buff_alloc_error, cant_allocate_rst_frame, cant_allocate_goaway_frame, cant_allocate_ping_frame, cant_allocate_stream, cant_allocate_window_frame, header_no_stream, header_padlen_gt_frame_payload, streams_gt_max_concur_streams, idle_state_unexpected_frame, reserved_local_state_unexpected_frame, reserved_remote_state_unexpected_frame, half_closed_remote_state_unexpected_frame, closed_state_unexpected_frame, zero_window_size_on_stream, exceeds_max_window_size_stream, stream_closed, continuation_before_headers, invalid_frame_during_headers, headers_after_continuation, push_promise_frame_sent, invalid_push_promise, invalid_stream_id, headers_interleaved, trailers_no_end_stream, invalid_setting_value, invalid_window_update, frame_header_bytes_received, frame_header_bytes_sent, control_bytes_received, control_bytes_sent, header_bytes_received, header_bytes_sent, data_bytes_received, data_bytes_sent, total_bytes_received, total_bytes_sent, peak_proxy, control_frame_sent, continuation_frame_sent, data_frame_sent, headers_frame_sent, priority_frame_sent, settings_ack_rcvd, empty_settings_rcvd, alloc_fail_total, err_rcvd_total, err_sent_total, err_sent_proto_err, err_sent_internal_err, err_sent_flow_control, err_sent_setting_timeout, err_sent_stream_closed, err_sent_frame_size_err, err_sent_refused_stream, err_sent_cancel, err_sent_compression_err, err_sent_connect_err, err_sent_your_calm, err_sent_inadequate_security, err_sent_http11_required, http2_rejected

stats data

  Counter Size Description
       
  total_proxy 8 Total Proxy Conns
  headers_frame 8 HEADERS Frame Rcvd
  cant_allocate_ping_frame 8 Cant allocate PING frame
  err_sent_inadequate_security 8 Error Sent - INADEQUATE_SECURITY
  err_sent_frame_size_err 8 Error Sent - FRAME_SIZE_ERROR
  headers_after_continuation 8 headers frame before CONTINUATION was complete
  invalid_window_update 8 window-update value out of range
  goaway_frame 8 GOAWAY Frame Rcvd
  refused_stream 8 Refused Stream
  control_frame 8 Control Frame Rcvd
  data_no_stream 8 DATA Frame Rcvd on non-existent stream
  rst_frame_rcvd 8 RST_STREAM Frame Rcvd
  half_closed_remote_state_unexpected_frame 8 Unexpected frame received in half closed remote state
  reserved_local_state_unexpected_frame 8 Unexpected frame received in reserved local state
  http_1_1_required 8 HTTP1.1 Required
  continuation_frame 8 CONTINUATION Frame Rcvd
  cant_allocate_settings_frame 8 Cant allocate SETTINGS frame
  connection_preface_sent 8 Connection preface sent
  settings_frame 8 SETTINGS Frame Rcvd
  inflate_header_fail 8 Inflate Header Fail
  streams_gt_max_concur_streams 8 Streams greater than max allowed concurrent streams
  bad_connection_preface 8 Bad Connection Preface
  error_max_invalid_stream 8 Max Invalid Stream Rcvd
  stream_closed 8 stream closed
  header_padlen_gt_frame_payload 8 Header padlen greater than frame payload size
  protocol_error 8 Protocol Error
  split_buff_fail 8 Splitting Buffer Failed
  invalid_stream_id 8 received invalid stream ID
  inflate_alloc_fail 8 inflate alloc fail
  control_frame_sent 8 Control Frame Sent
  err_sent_http11_required 8 Error Sent - HTTP_1_1_REQUIRED
  err_sent_your_calm 8 Error Sent - ENHANCE_YOUR_CALM
  trailers_no_end_stream 8 trailers not marked as end-of-stream
  wrong_stream_state 8 Wrong Stream State
  idle_state_unexpected_frame 8 Unxpected frame received in idle state
  frame_header_bytes_received 8 frame header bytes received
  unknown_frame 8 Unknown Frame Recvd
  ping_frame 8 PING Frame Rcvd
  data_bytes_sent 8 HTTP/2 data bytes sent
  header_to_app 8 HEADER Frame to HTTP
  total_bytes_sent 8 HTTP/2 total bytes sent
  peak_proxy 8 Peak Proxy Conns
  err_sent_setting_timeout 8 Error Sent - SETTINGS_TIMEOUT
  ping_frame_sent 8 PING Frame Sent
  http2_rejected 8 HTTP2 Rejected
  invalid_frame_during_headers 8 frame before headers were complete
  reserved_remote_state_unexpected_frame 8 Unexpected frame received in reserved remote state
  priority_frame_sent 8 PRIORITY Frame Sent
  curr_proxy 8 Curr Proxy Conns
  deflate_alloc_fail 8 deflate alloc fail
  settings_frame_sent 8 SETTINGS Frame Sent
  compression_error 8 compression error
  settings_timeout 8 Settings Timeout
  empty_settings_rcvd 8 Empty SETTINGS Frame Rcvd
  err_sent_total 8 Error Rent - Total
  control_bytes_received 8 HTTP/2 control frame bytes received
  continuation_before_headers 8 CONTINUATION frame with no headers frame
  err_sent_stream_closed 8 Error Sent - STREAM_CLOSED
  bad_frame_type_for_stream_state 8 Bad frame type for stream state
  err_sent_refused_stream 8 Error Sent - REFUSED_STREAM
  connect_error 8 connect error
  data_frame_sent 8 DATA Frame Sent
  proxy_alloc_error 8 HTTP2 Proxy alloc Error
  cant_allocate_goaway_frame 8 Cant allocate GOAWAY frame
  err_sent_compression_err 8 Error Sent - COMPRESSION_ERROR
  buff_alloc_error 8 Buff alloc error
  window_update_frame 8 WINDOW_UPDATE Frame Rcvd
  err_sent_flow_control 8 Error Sent - FLOW_CONTROL_ERROR
  exceeds_max_window_size_stream 8 Window Update with increment that results in exceeding max window
  cant_allocate_window_frame 8 Cant allocate WINDOW_UPDATE frame
  cancel 8 cancel
  goaway_frame_sent 8 GOAWAY Frame Sent
  window_update_frame_sent 8 WINDOW_UPDATE Frame Sent
  rst_frame_sent 8 RST_STREAM Frame Sent
  invalid_frame_size 8 Invalid Frame Size Rcvd
  settings_ack_rcvd 8 SETTINGS ACK Frame Rcvd
  header_no_stream 8 header no stream
  cant_allocate_control_frame 8 Cant allocate control frame
  data_queue_alloc_error 8 Data Queue Alloc Error
  empty_settings_sent 8 Empty SETTINGS Frame Sent
  internal_error 8 Internal Error
  header_bytes_sent 8 HTTP/2 header bytes sent
  frame_header_bytes_sent 8 frame header bytes sent
  err_sent_cancel 8 Error Sent - CANCEL
  continuation_frame_sent 8 CONTINUATION Frame Sent
  total_bytes_received 8 HTTP/2 total bytes received
  priority_frame 8 PRIORITY Frame Rcvd
  enhance_your_calm 8 enhance your calm error
  data_to_app 8 DATA Frame to HTTP
  cant_allocate_rst_frame 8 Cant allocate RST_STREAM frame
  inadequate_security 8 inadequate security
  flow_control_error 8 Flow Control Error
  control_bytes_sent 8 HTTP/2 control frame bytes sent
  push_promise_frame_sent 8 Push Promise Frame Sent
  closed_state_unexpected_frame 8 Unexpected frame received in closed state
  err_sent_connect_err 8 Error Sent - CONNECT_ERROR
  header_bytes_received 8 HTTP/2 header bytes received
  data_bytes_received 8 HTTP/2 data bytes received
  settings_ack_sent 8 SETTINGS ACK Frame Sent
  invalid_push_promise 8 unexpected PUSH_PROMISE frame
  connection_preface_rcvd 8 Connection preface rcvd
  zero_window_size_on_stream 8 Window Update with zero increment rcvd
  cant_allocate_stream 8 Cant allocate stream
  data_frame 8 DATA Frame Recvd
  headers_frame_sent 8 HEADERS Frame Sent
  err_rcvd_total 8 Error Rcvd - Total
  frame_size_error 8 Frame Size Error
  err_sent_internal_err 8 Error Sent - INTERNAL_ERROR
  alloc_fail_total 8 Alloc Fail - Total
  err_sent_proto_err 8 Error Sent - PROTOCOL_ERROR
  invalid_setting_value 8 invalid setting-frame value
  headers_interleaved 8 headers interleaved on streams

operational data

  Counter Size Description
       
  cpu-count number cpu-count
  http2-cpu-list   http2-cpu-list