P4G_REPLAY_USER_INCARNATION

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

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

Description

Defines the lifecycle mode of a user and its connections, and how new users should be established as old connections are closed.

Actions

set, get

Parameters

mode: byte, defines the lifecycle mode of connections.
  • ONCE = 0

  • IMMORTAL = 1

  • REINCARNATE = 2

Example

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

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