diff options
Diffstat (limited to 'interface-definitions/protocols-vrf.xml.in')
-rw-r--r-- | interface-definitions/protocols-vrf.xml.in | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/interface-definitions/protocols-vrf.xml.in b/interface-definitions/protocols-vrf.xml.in new file mode 100644 index 000000000..77297938b --- /dev/null +++ b/interface-definitions/protocols-vrf.xml.in @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<interfaceDefinition> + <node name="protocols"> + <children> + <tagNode name="vrf" owner="${vyos_conf_scripts_dir}/protocols_vrf.py"> + <properties> + <help>Name of VRF to add route for</help> + <completionHelp> + <path>vrf name</path> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>VRF instance name</description> + </valueHelp> + <constraint> + <validator name="vrf-name"/> + </constraint> + <constraintErrorMessage>VRF instance name must be 15 characters or less and can not\nbe named as regular network interfaces.\n</constraintErrorMessage> + </properties> + <children> + <node name="static"> + <properties> + <help>Static route parameters</help> + </properties> + <children> + #include <include/static-route.xml.i> + #include <include/static-route6.xml.i> + </children> + </node> + #include <include/vni.xml.i> + </children> + </tagNode> + </children> + </node> +</interfaceDefinition> |