0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-11 03:21:53 +00:00
bird/python/BIRD/Protocol/Kernel.py

17 lines
328 B
Python
Raw Normal View History

from BIRD.Protocol import Protocol, ProtocolList
class DeviceProtocol(Protocol):
match = "Device"
ProtocolList.register(DeviceProtocol)
class DirectProtocol(Protocol):
match = "Direct"
ProtocolList.register(DirectProtocol)
class KernelProtocol(Protocol):
match = "Kernel"
ProtocolList.register(KernelProtocol)