diff options
Diffstat (limited to 'templates/interfaces/vxlan/link/node.def')
-rw-r--r-- | templates/interfaces/vxlan/link/node.def | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/interfaces/vxlan/link/node.def b/templates/interfaces/vxlan/link/node.def new file mode 100644 index 00000000..d21c7d98 --- /dev/null +++ b/templates/interfaces/vxlan/link/node.def @@ -0,0 +1,10 @@ +type: txt +help: Underlay device name of this VXLAN interface +allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default +val_help:<interface>; Interface to be used as underlay of VXLAN interface + +update: + if [ ! -e /tmp/vxlan-$VAR(../@)-create ]; then + echo "Chainging dev requires delete/create this vxlan interface" + exit 1 + fi |