From 133b72347631663ee595312579dd2991059280cb Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Wed, 17 Sep 2008 17:01:54 -0700
Subject: Add support for bonding

Bugfix 3173
Add support for bonding device creation and adding slaves
---
 templates/interfaces/bonding/node.def | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 templates/interfaces/bonding/node.def

(limited to 'templates/interfaces/bonding/node.def')

diff --git a/templates/interfaces/bonding/node.def b/templates/interfaces/bonding/node.def
new file mode 100644
index 00000000..a0a56a8d
--- /dev/null
+++ b/templates/interfaces/bonding/node.def
@@ -0,0 +1,9 @@
+tag:
+type: txt
+help: Set bonding interface
+syntax:expression: pattern $VAR(@) "^bond[0-9]+$" \
+         ; "bonding must be (bond0-bond99)"
+create: ${vyatta_sbindir}/vyatta-bonding.pl --create $VAR(@)
+delete: ${vyatta_sbindir}/vyatta-bonding.pl --delete $VAR(@)
+end: ${vyatta_sbindir}/vyatta-bonding.pl --mode-change $VAR(@)
+comp_help: Enter bond interface name (bond0 - bond99)
-- 
cgit v1.2.3

