-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I needed routing table support for the heartbeat/Route OCF script.
I've attached the diff - may anyone commit it into hg?


BR
B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkth/WMACgkQABMWRpwdNulrywCgvY8BPpqRyRJ9BD+IJSVhDzfY
HTEAn0tHyQp4GjrqTHnLKgcArAjcbAnF
=RUpX
-----END PGP SIGNATURE-----
--- Route.orig  2010-01-28 21:51:56.000000000 +0100
+++ Route       2010-01-28 22:01:51.000000000 +0100
@@ -99,6 +99,14 @@
 <content type="string" default="" />
 </parameter>
 
+<parameter name="table" unique="1">
+<longdesc lang="en">
+The routing table to be configured for the route.
+</longdesc>
+<shortdesc lang="en">Routing table</shortdesc>
+<content type="string" default="" />
+</parameter>
+
 </parameters>
 
 <actions>
@@ -128,6 +136,9 @@
     if [ -n "${OCF_RESKEY_source}" ]; then
        route_spec="${route_spec} src ${OCF_RESKEY_source}"
     fi
+    if [ -n "${OCF_RESKEY_table}" ]; then
+       route_spec="${route_spec} table ${OCF_RESKEY_table}"
+    fi
     echo "$route_spec"
 }
 
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to