Протоколы Internet


Язык описания маршрутной политики RPSL - часть 46


export_factor_list: export_factor ';' | export_factor_list export_factor ';'

//// термин import/export ////////////////////////////////////////////////

import_term: import_factor ';' | '{' import_factor_list '}'

export_term: export_factor ';' | '{' export_factor_list '}'

//// выражение import/export //////////////////////////////////////////

import_expression: import_term | import_term KEYW_REFINE import_expression

| import_term KEYW_EXCEPT import_expression

export_expression: export_term | export_term KEYW_REFINE export_expression

| export_term KEYW_EXCEPT export_expression

//// протокол ///////////////////////////////////////////////////////////

opt_protocol_from: | KEYW_PROTOCOL tkn_word

opt_protocol_into: | KEYW_INTO tkn_word

//**** атрибуты import/export ****************************************

import_attribute: ATTR_IMPORT

| ATTR_IMPORT opt_protocol_from opt_protocol_into import_factor

export_attribute: ATTR_EXPORT

| ATTR_EXPORT opt_protocol_from opt_protocol_into export_factor

opt_default_filter: | KEYW_NETWORKS filter

default_attribute: ATTR_DEFAULT KEYW_TO peering

filter_attribute: ATTR_FILTER filter

peering_attribute: ATTR_PEERING peering

//**** класс inet-rtr **************************************************

ifaddr_attribute: ATTR_IFADDR TKN_IPV4 KEYW_MASKLEN TKN_INT opt_action

//// атрибут peer ////////////////////////////////////////////////////

opt_peer_options: | peer_options

peer_options: peer_option | peer_options ',' peer_option

peer_option: tkn_word '(' generic_list ')'

peer_id: TKN_IPV4 | TKN_DNS | TKN_RTRSNAME | TKN_PRNGNAME

peer_attribute: ATTR_PEER tkn_word peer_id opt_peer_options

//**** класс route *****************************************************

aggr_bndry_attribute: ATTR_AGGR_BNDRY as_expression

aggr_mtd_attribute: ATTR_AGGR_MTD KEYW_INBOUND

| ATTR_AGGR_MTD KEYW_OUTBOUND opt_as_expression

//// атрибут inject //////////////////////////////////////////////////

opt_inject_expression: | KEYW_UPON inject_expression




Начало  Назад  Вперед