diff options
Diffstat (limited to 'templates/load-balancing')
3 files changed, 3 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.def b/templates/load-balancing/wan/interface-health/node.def index 2c5a8a1..34786f1 100644 --- a/templates/load-balancing/wan/interface-health/node.def +++ b/templates/load-balancing/wan/interface-health/node.def @@ -1,3 +1,4 @@ tag: type: txt help: Interface name +allowed: sh -c "${vyos_completion_dir}/list_interfaces.py" diff --git a/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def b/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def index b405032..7a372f9 100644 --- a/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def +++ b/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def @@ -1,2 +1,3 @@ type: txt help: Inbound interface name (e.g., "eth0") [REQUIRED] +allowed: sh -c "${vyos_completion_dir}/list_interfaces.py" diff --git a/templates/load-balancing/wan/rule/node.tag/interface/node.def b/templates/load-balancing/wan/rule/node.tag/interface/node.def index 1f8ca20..f1d65af 100644 --- a/templates/load-balancing/wan/rule/node.tag/interface/node.def +++ b/templates/load-balancing/wan/rule/node.tag/interface/node.def @@ -1,3 +1,4 @@ tag: type: txt help: Interface name [REQUIRED] +allowed: sh -c "${vyos_completion_dir}/list_interfaces.py" |