prpd_common

Enumerations

Enumeration: RoutingLabelEntryWellKnownLabels

Field Default Value
IPV4_EXPLICIT_NULL_LABEL 0
ROUTER_ALERT_LABEL 1
IPV6_EXPLICIT_NULL_LABEL 2
IMPLICIT_NULL_LABEL 3

Enumeration: RoutingReturnCode

Field Default Value
RET_SUCCESS 0
RET_FAILURE 1
RET_NOT_FOUND 2
RET_INVALID_PARAMS 3

Enumeration: RoutingRouteTableFormat

Field Default Value
TABLE_STRING 0
TABLE_ID 1

Enumeration: RoutingRouteAfType

Field Default Value
RT_AF_UNSPEC 0
RT_AF_INET 1
RT_AF_INET6 2
RT_AF_INETVPN 3
RT_AF_INET6VPN 4
RT_AF_LABELED_INET 5
RT_AF_LABELED_INET6 6
RT_AF_INET_SRTE 7
RT_AF_INET6_SRTE 8
RT_AF_INET_FLOWSPEC 9
RT_AF_INET6_FLOWSPEC 10

Enumeration: RoutingLabelOperation

Field Default Value
NOOP 0
POP 1
PUSH 2
SWAP 3

Enumeration: RoutingRouteProtoType

Field Default Value
ANY 0
DIRECT 1
LOCAL 2
KERNEL 3
REDIRECT 4
OSPF 5
OSPF3 6
OSPF_ANY 7
RIP 8
RIPNG 9
BGP 10
STATIC 11
ISIS 12
IGMP 13
AGGREGATE 14
DVMRP 15
PIM 16
MSDP 17
MPLS 18
RSVP 19
CCC 20
LDP 21
VPN 22
MVPN 23
MCAST 24
L2VPN 25
L2CKT 26
BGP_STATIC 27
RIFT 28
OTHER 29

Data structures

Struct: RoutingRouteTableName

Key Field Type Description Requiredness Default value
1 name string optional

Struct: RoutingRouteTableId

Key Field Type Description Requiredness Default value
1 id string optional

Union: RouteTableRtTableFormat

Key Field Type Description Requiredness Default value
1 rtt_id RoutingRouteTableId optional
2 rtt_name RoutingRouteTableName optional

Struct: RoutingRouteTable

Key Field Type Description Requiredness Default value
1 RtTableFormat RouteTableRtTableFormat optional

Struct: RoutingRdType0

Key Field Type Description Requiredness Default value
1 as_number string optional
2 assigned_number string optional

Struct: RoutingRdType1

Key Field Type Description Requiredness Default value
1 ip_address jnx_addr.JnxBaseIpAddress optional
2 assigned_number string optional

Struct: RoutingRdType2

Key Field Type Description Requiredness Default value
1 as_number string optional
2 assigned_number string optional

Union: RouteDistinguisherRdFormat

Key Field Type Description Requiredness Default value
1 rd0 RoutingRdType0 optional
2 rd1 RoutingRdType1 optional
3 rd2 RoutingRdType2 optional

Struct: RoutingRouteDistinguisher

Key Field Type Description Requiredness Default value
1 RdFormat RouteDistinguisherRdFormat optional

Struct: RoutingL3vpnAddress

Key Field Type Description Requiredness Default value
1 rd RoutingRouteDistinguisher optional
2 vpn_addr jnx_addr.JnxBaseIpAddress optional

Struct: RoutingLabelEntry

Key Field Type Description Requiredness Default value
1 label string optional
2 traffic_class string optional
3 ttl string optional
4 bottom_of_stack bool optional

Struct: RoutingLabelStackEntry

Key Field Type Description Requiredness Default value
1 opcode RoutingLabelOperation optional
2 label_entry RoutingLabelEntry optional

Struct: RoutingMplsAddress

Key Field Type Description Requiredness Default value
1 label string optional

Struct: RoutingLabelStack

Key Field Type Description Requiredness Default value
1 entries list<RoutingLabelStackEntry> default

Union: SidEntrySidEntryType

Key Field Type Description Requiredness Default value
1 sid_label_entry RoutingLabelEntry optional

Struct: RoutingSidEntry

Key Field Type Description Requiredness Default value
1 SidEntryType SidEntrySidEntryType optional

Struct: RoutingSegmentType1

Key Field Type Description Requiredness Default value
1 sid_label_entry RoutingLabelEntry optional

Union: SRTESegmentSRTEType

Key Field Type Description Requiredness Default value
1 segment_type1 RoutingSegmentType1 optional

Struct: RoutingSRTESegment

Key Field Type Description Requiredness Default value
1 SRTEType SRTESegmentSRTEType optional

Struct: RoutingSRTESegmentList

Key Field Type Description Requiredness Default value
1 weight string optional
2 segments list<RoutingSRTESegment> default

Struct: RoutingSRTEDistinguisher

Key Field Type Description Requiredness Default value
1 distinguisher string optional

Struct: RoutingSRTEColor

Key Field Type Description Requiredness Default value
1 color string optional

Struct: RoutingSRTEBindingSID

Key Field Type Description Requiredness Default value
1 binding_sr_id RoutingSidEntry optional

Struct: RoutingSRTEAddress

Key Field Type Description Requiredness Default value
1 destination jnx_addr.JnxBaseIpAddress optional
2 sr_color RoutingSRTEColor optional
3 sr_distinguisher RoutingSRTEDistinguisher optional

Struct: RoutingSRTERouteData

Key Field Type Description Requiredness Default value
1 binding_sid RoutingSRTEBindingSID optional
2 preference string optional
3 segment_lists list<RoutingSRTESegmentList> default

Struct: RoutingFlowspecRouteData

Key Field Type Description Requiredness Default value
1 discard bool optional
2 mark_dscp string optional
3 rate_limit_val string optional
4 redirect_inst_rt_comm string optional
5 sample bool optional

Union: AddressFamilySpecificDataRouteDataAf

Key Field Type Description Requiredness Default value
1 srte_policy_data RoutingSRTERouteData optional
2 flowspec_data RoutingFlowspecRouteData optional

Struct: RoutingAddressFamilySpecificData

Key Field Type Description Requiredness Default value
1 RouteDataAf AddressFamilySpecificDataRouteDataAf optional

Struct: RoutingFlowspecAddress

Key Field Type Description Requiredness Default value
1 destination jnx_addr.JnxBaseIpAddress optional
2 dest_prefix_len string optional
3 source jnx_addr.JnxBaseIpAddress optional
4 source_prefix_len string optional
5 ip_protocols jnx_addr.JnxBaseNumericRangeList optional
6 ports jnx_addr.JnxBaseNumericRangeList optional
7 dest_ports jnx_addr.JnxBaseNumericRangeList optional
8 src_ports jnx_addr.JnxBaseNumericRangeList optional
9 icmp_types jnx_addr.JnxBaseNumericRangeList optional
10 icmp_codes jnx_addr.JnxBaseNumericRangeList optional
11 tcp_flags jnx_addr.JnxBaseTcpFlags optional
12 pkt_lengths jnx_addr.JnxBaseNumericRangeList optional
13 dscps jnx_addr.JnxBaseNumericRangeList optional
14 fragment jnx_addr.JnxBaseIpFragementFlags optional

Union: RoutePrefixRoutePrefixAf

Key Field Type Description Requiredness Default value
1 inet jnx_addr.JnxBaseIpAddress optional
2 inet6 jnx_addr.JnxBaseIpAddress optional
3 inetvpn RoutingL3vpnAddress optional
4 inet6vpn RoutingL3vpnAddress optional
5 labeled_inet jnx_addr.JnxBaseIpAddress optional
6 labeled_inet6 jnx_addr.JnxBaseIpAddress optional
7 inet_srte_policy RoutingSRTEAddress optional
8 inet6_srte_policy RoutingSRTEAddress optional
9 inet_flowspec RoutingFlowspecAddress optional
10 inet6_flowspec RoutingFlowspecAddress optional

Struct: RoutingRoutePrefix

Key Field Type Description Requiredness Default value
1 RoutePrefixAf RoutePrefixRoutePrefixAf optional

Union: NetworkAddressAf

Key Field Type Description Requiredness Default value
1 inet jnx_addr.JnxBaseIpAddress optional
2 inet6 jnx_addr.JnxBaseIpAddress optional
3 mpls RoutingMplsAddress optional

Struct: RoutingNetworkAddress

Key Field Type Description Requiredness Default value
1 Af NetworkAddressAf optional