bgp_route_service

Enumerations

Enumeration: RoutingBgpRouteMonitorEntryBgpRouteMonitorOper

Field Default Value
ROUTE_UPDATE 0
ROUTE_REMOVE 1
END_OF_RIBS 2

Enumeration: RoutingBgpRouteInitializeReplyBgpRouteInitializeStatus

Field Default Value
SUCCESS 0
SUCCESS_STATE_REBOUND 1
INTERNAL_ERROR 2
ALREADY_INITIALIZED 3
GATEWAY_INVALID 4
CLEANUP_PENDING 5
BGP_NOT_READY 6

Enumeration: RoutingBgpRouteCleanupReplyBgpRouteCleanupStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2

Enumeration: RoutingBgpRouteOperReplyBgpRouteOperStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2
NO_OP 3
TOO_MANY_OPS 4
TABLE_INVALID 5
TABLE_NOT_READY 6
PREFIX_INVALID 7
PREFIX_LEN_TOO_SHORT 8
PREFIX_LEN_TOO_LONG 9
GATEWAY_INVALID 10
NEXTHOP_INVALID 11
NEXTHOP_ADDRESS_INVALID 12
NEXTHOP_ECMP_LIMIT 13
COMMUNITY_LIST_INVALID 14
ASPATH_INVALID 15
LABEL_INFO_INVALID 16
ROUTE_EXISTS 17
ROUTE_NOT_FOUND 18
CLUSTER_LIST_INVALID 19
PROTOCOL_INVALID 20
ROUTE_ADD_FAILED 21
BGP_NOT_READY 22
TRY_AGAIN 23
REQUEST_UNSUPPORTED 24
PEER_TYPE_INVALID 25
SEGMENT_LIST_INVALID 26
SEGMENT_INVALID 27
SEGMENT_LABEL_INVALID 28
SEGMENT_ID_INVALID 29
SEGMENT_LIST_COUNT_INVALID 30
SEGMENT_COUNT_INVALID 31
SRTE_ROUTE_DATA_INVALID 32
FLOWSPEC_ADDR_INVALID 33
FLOWSPEC_MTCH_FLDS_INVALID 34
FLOWSPEC_ACTION_INVALID 35
FLOWSPEC_STATIC_RT_EXISTS 36

Enumeration: RoutingBgpRouteGetReplyBgpRouteGetStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2
TABLE_INVALID 3
TABLE_NOT_READY 4
PREFIX_INVALID 5
PREFIX_LEN_TOO_SHORT 6
PREFIX_LEN_TOO_LONG 7
ROUTE_NOT_FOUND 8
PROTOCOL_INVALID 9
ROUTE_INVALID 10
REQUEST_UNSUPPORTED 11
TRY_AGAIN 12
ROUTE_COUNT_INVALID 13
COMMUNITY_LIST_INVALID 14
FLOWSPEC_ADDR_INVALID 15
FLOWSPEC_MTCH_FLDS_INVALID 16
FLOWSPEC_ACTION_INVALID 17

Enumeration: RoutingBgpRouteMonitorRegisterReplyBgpRouteMonitorRegisterStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2
REGISTRATIONS_EXCEEDED 3
ALREADY_REGISTERED 4
ROUTE_COUNT_INVALID 5
ADDRESS_FORMAT_INVALID 6
TABLE_FORMAT_INVALID 7

Enumeration: RoutingBgpRouteMonitorUnregisterReplyBgpRouteMonitorUnregisterStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2
NOT_REGISTERED 3

Enumeration: RoutingBgpRouteMonitorRefreshReplyBgpRouteMonitorRefreshStatus

Field Default Value
SUCCESS 0
INTERNAL_ERROR 1
NOT_INITIALIZED 2
NOT_REGISTERED 3

Enumeration: RoutingRouteProtocol

Field Default Value
PROTO_UNSPECIFIED 0
PROTO_BGP 1
PROTO_BGP_STATIC 2

Enumeration: RoutingRouteOperation

Field Default Value
UNSPECIFIED 0
NO_ADVERTISE 1
NO_EXPORT 2
USE_NH_REJECT 4

Enumeration: RoutingBgpPeerType

Field Default Value
BGP_INTERNAL 0
BGP_EXTERNAL 1

Data structures

Struct: RoutingBgpRouteOperationFlags

Key Field Type Description Requiredness Default value
1 no_advertise bool optional
2 no_export bool optional
3 use_nexthop_reject bool optional
4 use_nexthop_fictitious bool optional

Struct: RoutingBgpAttrib32

Key Field Type Description Requiredness Default value
1 value string optional

Struct: RoutingBgpAttrib64

Key Field Type Description Requiredness Default value
1 value string optional

Struct: RoutingCommunity

Key Field Type Description Requiredness Default value
1 community_string string optional

Struct: RoutingCommunityList

Key Field Type Description Requiredness Default value
1 com_list list<RoutingCommunity> default

Struct: RoutingAsPath

Key Field Type Description Requiredness Default value
1 aspath_string string optional

Struct: RoutingBgpRouteMatch

Key Field Type Description Requiredness Default value
1 dest_prefix prpd_common.RoutingRoutePrefix optional
2 dest_prefix_len string optional
3 table prpd_common.RoutingRouteTable optional
4 protocol RoutingRouteProtocol optional
5 path_cookie string optional
6 communities RoutingCommunityList optional

Union: BgpRouteEntryLabelInfo

Key Field Type Description Requiredness Default value
10 vpn_label string optional
11 labels prpd_common.RoutingLabelStack optional

Struct: RoutingBgpRouteEntry

Key Field Type Description Requiredness Default value
1 dest_prefix prpd_common.RoutingRoutePrefix optional
2 dest_prefix_len string optional
3 table prpd_common.RoutingRouteTable optional
4 protocol RoutingRouteProtocol optional
5 path_cookie string optional
6 route_preference RoutingBgpAttrib32 optional
7 local_preference RoutingBgpAttrib32 optional
8 med RoutingBgpAttrib32 optional
9 aigp_distance RoutingBgpAttrib64 optional
12 communities RoutingCommunityList optional
13 aspath RoutingAsPath optional
14 originator_id RoutingBgpAttrib32 optional
15 cluster_list list<RoutingBgpAttrib32> default
16 cluster_id RoutingBgpAttrib32 optional
17 route_oper_flag string optional
18 protocol_nexthops list<jnx_addr.JnxBaseIpAddress> default
19 route_type RoutingBgpPeerType optional
20 route_flags RoutingBgpRouteOperationFlags optional
21 route_data prpd_common.RoutingAddressFamilySpecificData optional
10 LabelInfo BgpRouteEntryLabelInfo optional

Struct: RoutingBgpRouteMonitorEntry

Key Field Type Description Requiredness Default value
1 operation RoutingBgpRouteMonitorEntryBgpRouteMonitorOper optional
2 bgp_route RoutingBgpRouteEntry optional

Struct: RoutingBgpRouteInitializeRequest

Key Field Type Description Requiredness Default value

Struct: RoutingBgpRouteInitializeReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteInitializeReplyBgpRouteInitializeStatus optional
2 gw_n_routes string optional

Struct: RoutingBgpRouteCleanupRequest

Key Field Type Description Requiredness Default value

Struct: RoutingBgpRouteCleanupReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteCleanupReplyBgpRouteCleanupStatus optional

Struct: RoutingBgpRouteUpdateRequest

Key Field Type Description Requiredness Default value
1 bgp_routes list<RoutingBgpRouteEntry> default

Struct: RoutingBgpRouteRemoveRequest

Key Field Type Description Requiredness Default value
1 or_longer bool optional
2 bgp_routes list<RoutingBgpRouteMatch> default

Struct: RoutingBgpRouteGetRequest

Key Field Type Description Requiredness Default value
1 bgp_route RoutingBgpRouteMatch optional
2 or_longer bool optional
3 active_only bool optional
4 reply_address_format jnx_addr.JnxBaseAddressFormat optional
5 reply_table_format prpd_common.RoutingRouteTableFormat optional
6 route_count string optional

Struct: RoutingBgpRouteOperReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteOperReplyBgpRouteOperStatus optional
2 operations_completed string optional

Struct: RoutingBgpRouteGetReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteGetReplyBgpRouteGetStatus optional
2 bgp_routes list<RoutingBgpRouteEntry> default

Struct: RoutingBgpRouteMonitorRegisterRequest

Key Field Type Description Requiredness Default value
1 reply_address_format jnx_addr.JnxBaseAddressFormat optional
2 reply_table_format prpd_common.RoutingRouteTableFormat optional
3 route_count string optional

Struct: RoutingBgpRouteMonitorRegisterReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteMonitorRegisterReplyBgpRouteMonitorRegisterStatus optional
2 monitor_entries list<RoutingBgpRouteMonitorEntry> default

Struct: RoutingBgpRouteMonitorUnregisterRequest

Key Field Type Description Requiredness Default value

Struct: RoutingBgpRouteMonitorUnregisterReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteMonitorUnregisterReplyBgpRouteMonitorUnregisterStatus optional

Struct: RoutingBgpRouteMonitorRefreshRequest

Key Field Type Description Requiredness Default value

Struct: RoutingBgpRouteMonitorRefreshReply

Key Field Type Description Requiredness Default value
1 status RoutingBgpRouteMonitorRefreshReplyBgpRouteMonitorRefreshStatus optional

Services

Service: RoutingBgpRoute

Function: RoutingBgpRoute.BgpRouteInitialize

RoutingBgpRouteInitializeReply

Function: RoutingBgpRoute.BgpRouteCleanup

RoutingBgpRouteCleanupReply

Function: RoutingBgpRoute.BgpRouteAdd

RoutingBgpRouteOperReply

Function: RoutingBgpRoute.BgpRouteModify

RoutingBgpRouteOperReply

Function: RoutingBgpRoute.BgpRouteUpdate

RoutingBgpRouteOperReply

Function: RoutingBgpRoute.BgpRouteRemove

RoutingBgpRouteOperReply

Function: RoutingBgpRoute.BgpRouteGet

bool

Function: RoutingBgpRoute.BgpRouteMonitorRegister

bool

Function: RoutingBgpRoute.BgpRouteMonitorUnregister

RoutingBgpRouteMonitorUnregisterReply

Function: RoutingBgpRoute.BgpRouteMonitorRefresh

RoutingBgpRouteMonitorRefreshReply