[Xorp-cvs] XORP cvs commit: xorp/bgp xorp/etc/templates xorp/policy/common
Marko Zec
zec@icir.org
Wed, 20 Jul 2005 16:56:52 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: zec@xorpc.icir.org 2005-07-20 16:56:52 UTC
XORP CVS repository
Modified files:
bgp bgp_varrw.cc
etc/templates bgp.tp
policy/common elem_set.cc elem_set.hh element.cc element.hh
register_elements.cc register_operations.cc
Log message:
Add a new "com32" element type in policy framework to allow for a more
flexible specification of BGP communities. The preferred format is now
in a MSW:LSW form, where MSW and LSW are 16-bit unsigned integers.
MSW will typically take a value of an AS number. It is however still
legal to specify a community without a ":" sign, in which case it will
be interpreted as 32-bit unsigned int. The numbers can be specified in
base 10 or in hex if prepended by an "0x" string. The three well-known
communities specified in RFC1997 can be specified symbolically (the
values are hardcoded): NO_EXPORT, NO_ADVERTISE, NO_EXPORT_SUBCONFED.
TODO: update the docs.
Revision Changes Path
1.15 +4 -4; commitid: 8cd342de7e717ea6; xorp/bgp/bgp_varrw.cc
1.47 +8 -8; commitid: 8cd342de7e717ea6; xorp/etc/templates/bgp.tp
1.5 +4 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/elem_set.cc
1.5 +2 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/elem_set.hh
1.4 +62 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/element.cc
1.5 +26 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/element.hh
1.4 +2 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/register_elements.cc
1.7 +12 -1; commitid: 8cd342de7e717ea6; xorp/policy/common/register_operations.cc