diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-02-13 14:55:21 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-02-13 14:55:21 -0800 |
commit | 026280d9c1dd53425fc43b8945700d92c6fc2f0c (patch) | |
tree | 7395e9123d967a561c484db1be656e0e3bf5182e | |
parent | bfc47df97acb41cd4c7acbd7a4b1c46f258acd36 (diff) | |
download | vyatta-cfg-quagga-026280d9c1dd53425fc43b8945700d92c6fc2f0c.tar.gz vyatta-cfg-quagga-026280d9c1dd53425fc43b8945700d92c6fc2f0c.zip |
Add "set interface <type> ip ospf bandwidth" to OSPF cost calculation.
-rw-r--r-- | templates/interfaces/ethernet/node.tag/ip/ospf/bandwidth/node.def | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/ip/ospf/bandwidth/node.def b/templates/interfaces/ethernet/node.tag/ip/ospf/bandwidth/node.def new file mode 100644 index 00000000..af429604 --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/ip/ospf/bandwidth/node.def @@ -0,0 +1,16 @@ +type: u32 +help: Bandwidth in kilobits/sec +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 10000000; \ + "Must be between 1-10000000" +update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ + -c \"configure terminal \" \ + -c \"interface $VAR(../../../@) \" \ + -c \"bandwidth $VAR(@) \"; " + +delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ + -c \"configure terminal \" \ + -c \"interface $VAR(../../../@) \" \ + -c \"no bandwidth $VAR(@) \"; " + +comp_help: possible completions: + <1-10000000> Set bandwidth in kilobits/sec (for calculating OSPF cost) |