Recursive AS-Macros
Tony Bates
Tue Oct 4 21:57:23 CET 1994
Actually, they're already in all PRIDE tools and software. Here's one in the RIPE RR. % whois -r AS-NORDUNET as-macro: AS-NORDUNET descr: Macro with all ASes exported by NORDUnet as-list: AS-SUNET AS3224 AS2603 AS1654 AS224 AS1835 AS1850 AS1741 AS1739 as-list: AS544 AS719 AS565 AS2847 AS2380 AS3221 AS2588 AS1887 AS2895 as-list: AS3240 AS1248 guardian: staff at sunet.se tech-c: Bjorn Carlsson admin-c: Bjorn Eriksen changed: bc at sunet.se 940921 source: RIPE There is even a small PRIDE tool called maxpand to recursively expand these. % maxpand AS-NORDUNET AS224 AS544 AS565 AS719 AS1248 AS1653 AS1654 AS1739 AS1741 AS1835 AS1850 AS1887 AS2380 AS2588 AS2603 AS2831 AS2832 AS2833 AS2834 AS2835 AS2836 AS2837 AS2838 AS2839 AS2840 AS2841 AS2842 AS2843 AS2844 AS2845 AS2846 AS2847 AS2895 AS3221 AS3224 AS3240 I guessed I missed adding it to the text. I will add this in. --Tony. "Dale S. Johnson" <dsj at merit.edu> writes: * (Sigh, last minute change): * * How about allowing AS-Macros to contain AS-Macros. E.g.: * * as-macro: AS-MCI * descr: All MCINet ASs * as-list: AS-MCI-EAST AS-MCI-MIDWEST AS-MCI-WEST * * as-macro: AS-MCI-MIDWEST * descr: MCINet ASs with primary routes through CHI NAP * as-list: AS233 AS237 AS266 AS267 * * as-macro: AS-MCI-EAST * descr: MCINet ASs with primary routes through NY NAP * as-list: AS560 ... * * ... * * This would require a couple of words change on Appendix C, "as-list" * description (plus possibly some code modifications). This may be * particularly useful for simplifying the complexity of representing * policy in *both* AS-IN and INTERAS-IN formats. * * -------- * * (Or, of course, this extension could be handled with whatever normal * mechanisms will be used for additions to RIPE-181 after tomorrow.) * * --Dale * -------- Logged at Tue Oct 4 22:32:51 MET 1994 ---------
[ rr-impl Archive ]