mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
17 lines
328 B
Python
17 lines
328 B
Python
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)
|