python command reference

python hierarchy descriptions

This section provides the following python hierarchy descriptions:

configure python command hierarchy


    configure
      — python
          — python-policy
http2

python command descriptions

This section provides the following python command descriptions:

configure python command descriptions

http2

Syntax
  • http2 type direction {ingress | egress} script script-name
  • no http2 type direction {ingress | egress}
Context
  • [Tree] configure python python-policy http2
Description

This command configures a Python script for HTTP2 messages on interface like SBI Service Based interfaces (SBi), such as N7, N10, N11, and N40.

The no form of this command removes the script for the specified direction.

Parameters
type
Specifies the message type to which the Python script is applied.
Values:
  • http2-request – HTTP/2 request message, including GET, POST, and PUT messages
  • http2-response – HTTP/2 response message
direction
Specifies the direction of the message.
Values:
  • ingress – Keyword to indicate that the script is only applied to messages received by the MAG-c.
  • egress – Keyword to indicate that the script is only applied to messages sent by the the MAG-c.
script-name

A reference to a Python script name as defined using the configure python python-script command, up to 32 characters.