From acfbf6315f3c4e2821649ec0a440a62c8d888dd2 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 9 Mar 2020 20:39:12 +0100 Subject: Use better help text for next-hop-interface --- .../route/node.tag/next-hop/node.tag/next-hop-interface/node.def | 2 +- .../static/route6/node.tag/next-hop/node.tag/interface/node.def | 4 +--- .../route/node.tag/next-hop/node.tag/next-hop-interface/node.def | 2 +- .../static/route6/node.tag/next-hop/node.tag/interface/node.def | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/templates/protocols/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def b/templates/protocols/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def index 17979d4b..e9d41146 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def @@ -1,5 +1,5 @@ type: txt -help: network interface +help: IPv4 gateway interface name allowed: sh -c "${vyos_completion_dir}/list_interfaces.py" end: if [[ ${COMMIT_ACTION} = 'DELETE' ]] diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.tag/interface/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.tag/interface/node.def index 8675ffdd..c8479a63 100644 --- a/templates/protocols/static/route6/node.tag/next-hop/node.tag/interface/node.def +++ b/templates/protocols/static/route6/node.tag/next-hop/node.tag/interface/node.def @@ -1,7 +1,5 @@ type: txt - -help: Outgoing interface - +help: IPv6 gateway interface name # show all current interface # but syntax accepts any interface since it may exist later (ppp etc) allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all diff --git a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def index e4bbb99d..c2bbd4ca 100644 --- a/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def +++ b/templates/protocols/vrf/node.tag/static/route/node.tag/next-hop/node.tag/next-hop-interface/node.def @@ -1,5 +1,5 @@ type: txt -help: network interface +help: IPv4 gateway interface name allowed: sh -c "${vyos_completion_dir}/list_interfaces.py" end: VRF_NAME=$VAR(../../../../@) diff --git a/templates/protocols/vrf/node.tag/static/route6/node.tag/next-hop/node.tag/interface/node.def b/templates/protocols/vrf/node.tag/static/route6/node.tag/next-hop/node.tag/interface/node.def index bd24aca3..c8479a63 100644 --- a/templates/protocols/vrf/node.tag/static/route6/node.tag/next-hop/node.tag/interface/node.def +++ b/templates/protocols/vrf/node.tag/static/route6/node.tag/next-hop/node.tag/interface/node.def @@ -1,5 +1,5 @@ type: txt -help: Outgoing interface +help: IPv6 gateway interface name # show all current interface # but syntax accepts any interface since it may exist later (ppp etc) allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all -- cgit v1.2.3