P4G_RAW_CONN_INCARNATION

# set
<module-index>/<port-index> P4G_RAW_CONN_INCARNATION [<group_index>] <mode>

# get
<module-index>/<port-index> P4G_RAW_CONN_INCARNATION [<group_index>] ?

Description

Defines the lifecycle of a connection and how new connections should be established as old connections are closed.

Actions

set, get

Parameters

mode: byte, connection lifecycle mode
  • ONCE = 0

  • IMMORTAL = 1

  • REINCARNATE = 2

Example

# set
input:  0/1 P4G_RAW_CONN_INCARNATION [0] ONCE
output: <OK>

# get
input:  0/1 P4G_RAW_CONN_INCARNATION [0] ?
output: 0/1 P4G_RAW_CONN_INCARNATION [0] ONCE