diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-10-16 14:18:19 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-10-16 14:18:19 -0700 |
commit | df2b952a898d4ee2e0cd63315c87137ca079cd4a (patch) | |
tree | ecc781e11ed97c87966f8ddc9dfd66a90bf8fd09 | |
parent | 37e46574b2f8121478b9721e06190c04874380b8 (diff) | |
download | vyatta-cfg-df2b952a898d4ee2e0cd63315c87137ca079cd4a.tar.gz vyatta-cfg-df2b952a898d4ee2e0cd63315c87137ca079cd4a.zip |
- Use quagga to set default gateway.
-rw-r--r-- | templates/system/gateway-address/node.def | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def deleted file mode 100644 index c82e3fe..0000000 --- a/templates/system/gateway-address/node.def +++ /dev/null @@ -1,17 +0,0 @@ -type: txt -help: "Configure default gateway" -create: "sh -c \"echo \ -'static_routes/static_routes/0.1/add_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=$(@)&metric:u32=1' \ ->> /tmp/cli.log && \ -/opt/vyatta/libexec/xorp/call_xrl 'static_routes/static_routes/0.1/add_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=$(@)&metric:u32=1' >> /tmp/cli.log ; \ -echo \\$? >> /tmp/cli.log\" " -update: "sh -c \"echo \ -'static_routes/static_routes/0.1/replace_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=$(@)&metric:u32=1' \ ->> /tmp/cli.log && \ -/opt/vyatta/libexec/xorp/call_xrl 'static_routes/static_routes/0.1/replace_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=$(@)&metric:u32=1' >> /tmp/cli.log ; \ -echo \\$? >> /tmp/cli.log\" " -delete: "sh -c \"echo \ -'static_routes/static_routes/0.1/delete_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=0.0.0.0' \ ->> /tmp/cli.log && \ -/opt/vyatta/libexec/xorp/call_xrl 'static_routes/static_routes/0.1/delete_route4?unicast:bool=true&multicast:bool=false&network:ipv4net=0.0.0.0/0&nexthop:ipv4=0.0.0.0' >> /tmp/cli.log ; \ -echo \\$? >> /tmp/cli.log\" " |