diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-17 17:01:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-17 17:01:54 -0700 |
commit | 133b72347631663ee595312579dd2991059280cb (patch) | |
tree | 909aaf53dfe5abf1551284e06030f2ad2a38d9e8 /templates/interfaces/bonding/node.def | |
parent | 8db79c9b0aa8052e4dee0f073e945d68370a0210 (diff) | |
download | vyatta-cfg-system-133b72347631663ee595312579dd2991059280cb.tar.gz vyatta-cfg-system-133b72347631663ee595312579dd2991059280cb.zip |
Add support for bonding
Bugfix 3173
Add support for bonding device creation and adding slaves
Diffstat (limited to 'templates/interfaces/bonding/node.def')
-rw-r--r-- | templates/interfaces/bonding/node.def | 9 |
1 files changed, 9 insertions, 0 deletions
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) |