Source code for zlogging.enum.LoadBalancing

# -*- coding: utf-8 -*-
# pylint: disable=line-too-long,import-error
"""Namespace: ``LoadBalancing``."""

from zlogging._compat import enum


[docs]@enum.unique class Method(enum.IntFlag): """Enum: ``LoadBalancing::Method``. See Also: `policy/misc/load-balancing.zeek <https://docs.zeek.org/en/stable/scripts/policy/misc/load-balancing.zeek.html#type-LoadBalancing::Method>`__ """ _ignore_ = 'Method _' Method = vars() #: Apply BPF filters to each worker in a way that causes them to #: automatically flow balance traffic between them. Method['AUTO_BPF'] = enum.auto()