diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 15:30:11 -0800 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 15:30:11 -0800 |
commit | 90499a83317bd972e7b731aa9d68a11ea2080145 (patch) | |
tree | 062410a2e007033093e410bf488ccc5b42abdaeb /templates/policy/route-map | |
parent | 700821ae3472ee3f8b038e6edf944dd3de4f44fc (diff) | |
download | vyatta-cfg-quagga-90499a83317bd972e7b731aa9d68a11ea2080145.tar.gz vyatta-cfg-quagga-90499a83317bd972e7b731aa9d68a11ea2080145.zip |
bug 2716: set metric-type is not implemented
Diffstat (limited to 'templates/policy/route-map')
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/set/metric-type/node.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/metric-type/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/metric-type/node.def new file mode 100644 index 00000000..318def7e --- /dev/null +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/metric-type/node.def @@ -0,0 +1,13 @@ +type: txt +help: Set OSPF external metric-type +syntax:expression: $VAR(@) in "type-1", "type-2"; "Must be (type-1, type-2)" +commit:expression: $VAR(../../action/) != ""; "You must specify an action for route-map $VAR(../../../@) rule $VAR(../../@)" +update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ + -c \"route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)\" \ + -c \"set metric-type $VAR(@)\" " +delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \ + -c \"route-map $VAR(../../../@) $VAR(../../action/@) $VAR(../../@)\" \ + -c \"no set metric-type \" " +comp_help: possible completions: + type-1 OSPF external type 1 metric + type-2 OSPF external type 2 metric |