<?xml version="1.0"?> <interfaceDefinition> <node name="vrf" owner="${vyos_conf_scripts_dir}/vrf.py"> <properties> <help>Virtual Routing and Forwarding</help> <!-- must be before any interface creation --> <priority>10</priority> </properties> <children> <leafNode name="bind-to-all"> <properties> <help>Enable binding services to all VRFs</help> <valueless/> </properties> </leafNode> <tagNode name="name"> <properties> <help>VRF instance name</help> <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> <valueHelp> <format>name</format> <description>Instance name</description> </valueHelp> </properties> <children> <leafNode name="table"> <properties> <help>Routing table associated with this instance</help> <valueHelp> <format>u32:100-65535</format> <description>Routing table ID</description> </valueHelp> <constraint> <validator name="numeric" argument="--range 100-65535"/> </constraint> <constraintErrorMessage>VRF routing table must be in range from 100 to 65535</constraintErrorMessage> </properties> </leafNode> #include <include/interface/description.xml.i> #include <include/interface/disable.xml.i> </children> </tagNode> </children> </node> </interfaceDefinition>