From c7bf6a06757dd9eae5a58234605989976db56116 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sun, 21 May 2023 11:58:25 +0200 Subject: [PATCH] Python CLI Package: protocol Static --- python/BIRD/Protocol/Static.py | 6 ++++++ python/BIRD/Protocol/__init__.py | 1 + 2 files changed, 7 insertions(+) create mode 100644 python/BIRD/Protocol/Static.py diff --git a/python/BIRD/Protocol/Static.py b/python/BIRD/Protocol/Static.py new file mode 100644 index 00000000..e0c9a7fe --- /dev/null +++ b/python/BIRD/Protocol/Static.py @@ -0,0 +1,6 @@ +from BIRD.Protocol import Protocol, ProtocolList + +class StaticProtocol(Protocol): + match = "Static" + +ProtocolList.register(StaticProtocol) diff --git a/python/BIRD/Protocol/__init__.py b/python/BIRD/Protocol/__init__.py index 861794dc..f44c3f56 100644 --- a/python/BIRD/Protocol/__init__.py +++ b/python/BIRD/Protocol/__init__.py @@ -242,3 +242,4 @@ class Channel(Basic): import BIRD.Protocol.Kernel import BIRD.Protocol.Babel import BIRD.Protocol.RAdv +import BIRD.Protocol.Static