summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-address-ipv4-multi.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-16 15:46:23 +0100
committerGitHub <noreply@github.com>2023-11-16 15:46:23 +0100
commit71823db0fceee36f631484d3ff6767569e1ca825 (patch)
tree3528e9ba826be0ba71556f2393685402f44a22ec /interface-definitions/include/source-address-ipv4-multi.xml.i
parentcab0d62af86ced1ded6edefb53c2e902249b160d (diff)
parentb9493ce110fb1ae2090299a5bcb5d3c7fc3dfd60 (diff)
downloadvyos-1x-71823db0fceee36f631484d3ff6767569e1ca825.tar.gz
vyos-1x-71823db0fceee36f631484d3ff6767569e1ca825.zip
Merge pull request #2489 from vyos/mergify/bp/sagitta/pr-2476
pim(6): T5733: add missing FRR related features (backport #2476)
Diffstat (limited to 'interface-definitions/include/source-address-ipv4-multi.xml.i')
-rw-r--r--interface-definitions/include/source-address-ipv4-multi.xml.i18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/source-address-ipv4-multi.xml.i b/interface-definitions/include/source-address-ipv4-multi.xml.i
new file mode 100644
index 000000000..319a118f3
--- /dev/null
+++ b/interface-definitions/include/source-address-ipv4-multi.xml.i
@@ -0,0 +1,18 @@
+<!-- include start from source-address-ipv4-multi.xml.i -->
+<leafNode name="source-address">
+ <properties>
+ <help>IPv4 source address used to initiate connection</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_local_ips.sh --ipv4</script>
+ </completionHelp>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 source address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- include end -->