summaryrefslogtreecommitdiff
path: root/templates/interfaces/input/node.def
blob: 06b00c97a6c6572c21daa9e9d9d11a2c542abf62 (plain)
1
2
3
4
5
6
7
8
9
10
11
tag:
priority: 310 # before real devices that redirect
type: txt
help: Input functional block (IFB) interface name
val_help: <ifbN>; Input functional block interface name

syntax:expression: pattern $VAR(@) "^ifb[0-9]+$" ; "name must be (ifb0-ifb999)"

begin: [ -d /sys/module/ifb ] || sudo modprobe ifb numifbs=0
create:	ip link add $VAR(@) type ifb && ip link set $VAR(@) up
delete: ip link delete dev $VAR(@)