[PATCH] protocol templates

Alexander V. Chernikov melifaro at ipfw.ru
Sat Oct 29 00:24:27 CEST 2011


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

Hello list!

Patch permits templates generation via 'template' keyword. Protocols can
inherit templates (and templates can inherit templates) via 'inherit'
keyword. At the moment patch supports BGP only (however adding other
protocols is trivial)

E.g.

template bgp rr_client_general {
  local as 65000;
  multihop;
  rr client;
}

template bgp rr_client_bb {
  inherit bgp_rr_client_general;
  rr cluster id 1.2.3.4;
}

protocol bgp rr_cl_ft {
  inherit rr_client_bb;
  neighbor 10.4.7.2 as 65000;
}


Review/comments are welcome



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6rK5oACgkQwcJ4iSZ1q2lTrgCfa6qKEgDv312ixHuQSg0/cAzY
6+cAoIGtXS7xWRKj4wXXpXBdUXN+kUxF
=k0LL
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-general-protocol-templates-support.-Permit-BGP-t.patch
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20111029/2bf82787/attachment.ksh>


More information about the Bird-users mailing list