Tunnel Namespace

Namespace: Tunnel.

class zlogging.enum.tunnel.Type(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Tunnel::Type.

NONE = 1
IP = 2
AYIYA = 4
TEREDO = 8
SOCKS = 16
GTPv1 = 32
HTTP = 64
GRE = 128
VXLAN = 256
GENEVE = 512
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None

class zlogging.enum.tunnel.Action(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Tunnel::Action.

Types of interesting activity that can occur with a tunnel.

DISCOVER = 1

A new tunnel (encapsulating “connection”) has been seen.

CLOSE = 2

A tunnel connection has closed.

EXPIRE = 4

No new connections over a tunnel happened in the amount of time indicated by Tunnel::expiration_interval.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None