0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 10:11:53 +00:00
bird/python/BIRD/Protocol/Kernel.py
Maria Matejka 04f96b6705 Python CLI Package: Protocol scaffolding for Kernel, Device, Direct, Babel and RAdv
This choice comes from my own local setup where I use exactly these protocols.
Other protocols will be added later.
2023-05-23 13:44:48 +02:00

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)