diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-10 19:59:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 19:59:20 +0100 |
commit | aebb458262072457c6a3840d1b17031fbd780eca (patch) | |
tree | b89f9b47d85bc00c758bd2388574270d20858079 /interface-definitions/include | |
parent | e890527d730053ed73227180c77d9dbbb9393ce0 (diff) | |
parent | 4ffec67d04670192d9b722353cbaef04cb0ba129 (diff) | |
download | vyos-1x-aebb458262072457c6a3840d1b17031fbd780eca.tar.gz vyos-1x-aebb458262072457c6a3840d1b17031fbd780eca.zip |
Merge pull request #2777 from aapostoliuk/T5688-multirange
T5688: Changed 'range' to multi in 'client-ip-pool' for accell-ppp
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/accel-ppp/client-ip-pool.xml.i | 4 | ||||
-rw-r--r-- | interface-definitions/include/accel-ppp/default-pool.xml.i | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/client-ip-pool.xml.i b/interface-definitions/include/accel-ppp/client-ip-pool.xml.i index 71fe69f8d..b30a5ee01 100644 --- a/interface-definitions/include/accel-ppp/client-ip-pool.xml.i +++ b/interface-definitions/include/accel-ppp/client-ip-pool.xml.i @@ -27,11 +27,15 @@ <validator name="ipv4-host"/> <validator name="ipv4-range-mask" argument="-m 24 -r"/> </constraint> + <multi/> </properties> </leafNode> <leafNode name="next-pool"> <properties> <help>Next pool name</help> + <completionHelp> + <path>${COMP_WORDS[@]:1:${#COMP_WORDS[@]}-4}</path> + </completionHelp> <valueHelp> <format>txt</format> <description>Name of IP pool</description> diff --git a/interface-definitions/include/accel-ppp/default-pool.xml.i b/interface-definitions/include/accel-ppp/default-pool.xml.i index a08b066b1..e06642c37 100644 --- a/interface-definitions/include/accel-ppp/default-pool.xml.i +++ b/interface-definitions/include/accel-ppp/default-pool.xml.i @@ -2,6 +2,9 @@ <leafNode name="default-pool"> <properties> <help>Default client IP pool name</help> + <completionHelp> + <path>${COMP_WORDS[@]:1:${#COMP_WORDS[@]}-3} client-ip-pool</path> + </completionHelp> <valueHelp> <format>txt</format> <description>Default IP pool</description> |