From bfa34102dfe62a1693ed3a8afcffb1dd203f9f6f Mon Sep 17 00:00:00 2001 From: Hiroshi Umehara Date: Thu, 30 Oct 2014 11:08:51 +0900 Subject: vyatta-cfg-system: fix for unusable "link" option In the inital state, the "link" option was not usable, so I moved the "link" directory under "node.tag". Aftewards, the "link" option became usable. --- templates/interfaces/vxlan/link/node.def | 10 ---------- templates/interfaces/vxlan/node.tag/link/node.def | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 templates/interfaces/vxlan/link/node.def create mode 100644 templates/interfaces/vxlan/node.tag/link/node.def diff --git a/templates/interfaces/vxlan/link/node.def b/templates/interfaces/vxlan/link/node.def deleted file mode 100644 index d21c7d98..00000000 --- a/templates/interfaces/vxlan/link/node.def +++ /dev/null @@ -1,10 +0,0 @@ -type: txt -help: Underlay device name of this VXLAN interface -allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default -val_help:; 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 diff --git a/templates/interfaces/vxlan/node.tag/link/node.def b/templates/interfaces/vxlan/node.tag/link/node.def new file mode 100644 index 00000000..d21c7d98 --- /dev/null +++ b/templates/interfaces/vxlan/node.tag/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 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 -- cgit v1.2.3