summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-17 15:23:00 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-17 15:23:12 +0100
commit328dba073dc72fd2d87ba85e4e8eb93e50358f31 (patch)
tree2e5f1686a41f0cab6bb53fc37b72704df78fba45 /python
parent324b74f7420bed3e9f7b5aee4a7caf926fd8eb91 (diff)
downloadvyos-1x-328dba073dc72fd2d87ba85e4e8eb93e50358f31.tar.gz
vyos-1x-328dba073dc72fd2d87ba85e4e8eb93e50358f31.zip
ifb: T4938: add Python implementation for input function block interfaces
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/input.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/input.py b/python/vyos/ifconfig/input.py
index db7d2b6b4..3e5f5790d 100644
--- a/python/vyos/ifconfig/input.py
+++ b/python/vyos/ifconfig/input.py
@@ -1,4 +1,4 @@
-# Copyright 2020 VyOS maintainers and contributors <maintainers@vyos.io>
+# Copyright 2023 VyOS maintainers and contributors <maintainers@vyos.io>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -17,6 +17,16 @@ from vyos.ifconfig.interface import Interface
@Interface.register
class InputIf(Interface):
+ """
+ The Intermediate Functional Block (ifb) pseudo network interface acts as a
+ QoS concentrator for multiple different sources of traffic. Packets from
+ or to other interfaces have to be redirected to it using the mirred action
+ in order to be handled, regularly routed traffic will be dropped. This way,
+ a single stack of qdiscs, classes and filters can be shared between
+ multiple interfaces.
+ """
+
+ iftype = 'ifb'
definition = {
**Interface.definition,
**{