mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-11 11:31:53 +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)
|