mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 18:21:54 +00:00
04f96b6705
This choice comes from my own local setup where I use exactly these protocols. Other protocols will be added later.
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)
|