summaryrefslogtreecommitdiff
path: root/templates/interfaces/vxlan/link/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-09-25 16:28:02 +0200
committerDaniil Baturin <daniil@baturin.org>2014-09-25 16:28:02 +0200
commitde8a3de7f6f8faa27dc7f56ff09cab1d0b656c2d (patch)
treea1f5eeffe4f32dc1fea1e5a602b4c05d69f47137 /templates/interfaces/vxlan/link/node.def
parentf0d3885c3542f901dca33e13edba3a27760e9884 (diff)
downloadvyatta-cfg-system-de8a3de7f6f8faa27dc7f56ff09cab1d0b656c2d.tar.gz
vyatta-cfg-system-de8a3de7f6f8faa27dc7f56ff09cab1d0b656c2d.zip
Rename "dev" to "link" under VXLAN for consistency with peth
and whatever else we have.
Diffstat (limited to 'templates/interfaces/vxlan/link/node.def')
-rw-r--r--templates/interfaces/vxlan/link/node.def10
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