Syntax of GateD "import" Policy Statement for Merit IDRP
The Merit Network, Inc.
implementation of the Inter-Domain Rout[e]ing Protocol (IDRP)
for the GateD
code base provides for a powerful, flexible implementation of the IDRP
standard (ISO 10949/RFC xxx).
The general syntax of the IDRP-specific "import" statements, for the
GateD configuration file, is:
import proto idrp rdi
;
import proto idrp rdpath
;
where:
is either a specific RDI or the keyword "any";
is an RD Path specification, which is detailed elsewhere;
is mostly what is normal for GateD:
::= restrict
| '{' '}'
;
::= /* Empty */
/* just a GateD preference; same form as other GateD imports */
| gated-pref
| idrp-pref
| gated-pref idrp-pref
| idrp-pref gated-pref
;
HOWEVER...the is whole set of tests which can
appear in any order:
::= /* Empty */
|
|
|
|
|
|
|
|
|
;
The sub-pieces are as follows:
::= local-interface
| local-NET
;
is another curly-brace-delimited
set of tests for incoming destinations, based upon path attributes:
idrp-ps-policy-atts {
}
with
a series of one or more of the following:
::= ';'
| ';'
| ';'
| ';'
| ';'
;
and
::= route-server
| extinfo
| hierarchical-recording
| multi-exit
| multi-exit
;
::=
hopcount
;
::= NET
| NET SNPA
| gateway
| interface
;
::= dist-list-include '{' '}'
| dist-list-exclude '{' '}'
;
::= rd-transit-delay
| rd-transit-delay
| rdlre
| rdlre
| expense
| expense
| priority
| priority
| capacity
| capacity
;
::= /* empty */
| '<'
| "<="
| '=' | "=="
| "!=" | "<>"
| ">="
| '>'
;
::= /* empty */
| restrict
;