Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F459120
0001-T1981-Allow-route-map-rule-set-src-to-also-be-IPv6.patch
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
bbs2web
Jan 22 2020, 7:37 AM
2020-01-22 07:37:38 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
0001-T1981-Allow-route-map-rule-set-src-to-also-be-IPv6.patch
View Options
From 3e0219a9175abc6a2644b09b42d874a72563655a Mon Sep 17 00:00:00 2001
From: bbs2web <bbs2web@hotmail.com>
Date: Wed, 22 Jan 2020 09:34:33 +0200
Subject: [PATCH] T1981 - Allow route-map rule 'set src' to also be IPv6
Signed-off-by: bbs2web <bbs2web@hotmail.com>
---
templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
index 2fd2a75..16b5566 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
@@ -1,6 +1,8 @@
-type: ipv4
+type: txt
help: Source address for route
-val_help: IP address
+val_help: ipv4; IPv4 address
+val_help: ipv6; IPv6 address
+syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --exec \"${vyos_validators_dir}/ipv4-address \" --exec \"${vyos_validators_dir}/ipv6-address \" --value \'$VAR(@)\'"; "Invalid value"
commit:expression: $VAR(../../action/) != ""; "you must specify an action"
--
1.7.12.4
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7f/36/0861fc766b81b16aa7bdddbba44e
Default Alt Text
0001-T1981-Allow-route-map-rule-set-src-to-also-be-IPv6.patch (1 KB)
Attached To
Mode
T1981: Allow route-map 'set src' to reference both IPv4 and IPv6
Attached
Detach File
Event Timeline
Log In to Comment