OpenNSL API Guide and Reference Manual
Data Fields
opennsl_mpls_tunnel_switch_s Struct Reference

MPLS tunnel switch structure. More...

#include <mplsX.h>

Data Fields

opennsl_mpls_switch_action_t action
 MPLS label action.
 
opennsl_mpls_switch_action_t action_if_bos
 MPLS label action if BOS.
 
opennsl_mpls_switch_action_t action_if_not_bos
 MPLS label action if not BOS.
 
uint32 class_id
 Class ID.
 
opennsl_if_t egress_if
 Outgoing egress object.
 
opennsl_mpls_egress_label_t egress_label
 Outgoing label information.
 
opennsl_gport_t egress_port
 Outgoing egress port.
 
int exp_map
 EXP-map ID.
 
opennsl_failover_t failover_id
 Failover Object Identifier for protected tunnel.
 
opennsl_gport_t failover_tunnel_id
 Failover Tunnel ID.
 
uint32 flags
 OPENNSL_MPLS_SWITCH_xxx.
 
opennsl_if_t ingress_if
 Ingress Interface object.
 
int inlif_counting_profile
 In LIF counting profile.
 
int int_pri
 Internal priority.
 
opennsl_mpls_label_t label
 Incoming label value.
 
opennsl_multicast_t mc_group
 P2MP Multicast group.
 
int mtu
 MTU.
 
uint16 oam_global_context_id
 OAM global context id passed from ingress to egress XGS chip.
 
opennsl_policer_t policer_id
 Policer ID to be associated with the incoming label.
 
opennsl_gport_t port
 Incoming port.
 
int qos_map_id
 QOS map identifier.
 
uint32 reserved1
 
int reserved2
 
int reserved3
 
opennsl_mpls_label_t second_label
 Incoming second label.
 
opennsl_gport_t tunnel_id
 Tunnel ID.
 
opennsl_if_t tunnel_if
 hierarchical interface, relevant for when action is OPENNSL_MPLS_SWITCH_ACTION_POP.
 
opennsl_vpn_t vpn
 L3 VPN used if action is POP.
 

Detailed Description

MPLS tunnel switch structure.

Definition at line 206 of file mplsX.h.

Field Documentation

opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action

MPLS label action.

Definition at line 212 of file mplsX.h.

opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action_if_bos

MPLS label action if BOS.

Definition at line 213 of file mplsX.h.

opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action_if_not_bos

MPLS label action if not BOS.

Definition at line 214 of file mplsX.h.

uint32 opennsl_mpls_tunnel_switch_s::class_id

Class ID.

Definition at line 237 of file mplsX.h.

opennsl_if_t opennsl_mpls_tunnel_switch_s::egress_if

Outgoing egress object.

Definition at line 222 of file mplsX.h.

opennsl_mpls_egress_label_t opennsl_mpls_tunnel_switch_s::egress_label

Outgoing label information.

Definition at line 221 of file mplsX.h.

opennsl_gport_t opennsl_mpls_tunnel_switch_s::egress_port

Outgoing egress port.

Definition at line 234 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::exp_map

EXP-map ID.

Definition at line 216 of file mplsX.h.

opennsl_failover_t opennsl_mpls_tunnel_switch_s::failover_id

Failover Object Identifier for protected tunnel.

Used for 1+1 protection also

Definition at line 226 of file mplsX.h.

opennsl_gport_t opennsl_mpls_tunnel_switch_s::failover_tunnel_id

Failover Tunnel ID.

Definition at line 230 of file mplsX.h.

uint32 opennsl_mpls_tunnel_switch_s::flags

OPENNSL_MPLS_SWITCH_xxx.

Definition at line 207 of file mplsX.h.

opennsl_if_t opennsl_mpls_tunnel_switch_s::ingress_if

Ingress Interface object.

Definition at line 223 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::inlif_counting_profile

In LIF counting profile.

Definition at line 238 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::int_pri

Internal priority.

Definition at line 217 of file mplsX.h.

opennsl_mpls_label_t opennsl_mpls_tunnel_switch_s::label

Incoming label value.

Definition at line 209 of file mplsX.h.

opennsl_multicast_t opennsl_mpls_tunnel_switch_s::mc_group

P2MP Multicast group.

Definition at line 215 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::mtu

MTU.

Definition at line 224 of file mplsX.h.

uint16 opennsl_mpls_tunnel_switch_s::oam_global_context_id

OAM global context id passed from ingress to egress XGS chip.

Definition at line 235 of file mplsX.h.

opennsl_policer_t opennsl_mpls_tunnel_switch_s::policer_id

Policer ID to be associated with the incoming label.

Definition at line 218 of file mplsX.h.

opennsl_gport_t opennsl_mpls_tunnel_switch_s::port

Incoming port.

Definition at line 211 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::qos_map_id

QOS map identifier.

Definition at line 225 of file mplsX.h.

uint32 opennsl_mpls_tunnel_switch_s::reserved1

Definition at line 208 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::reserved2

Definition at line 239 of file mplsX.h.

int opennsl_mpls_tunnel_switch_s::reserved3

Definition at line 240 of file mplsX.h.

opennsl_mpls_label_t opennsl_mpls_tunnel_switch_s::second_label

Incoming second label.

Definition at line 210 of file mplsX.h.

opennsl_gport_t opennsl_mpls_tunnel_switch_s::tunnel_id

Tunnel ID.

Definition at line 229 of file mplsX.h.

opennsl_if_t opennsl_mpls_tunnel_switch_s::tunnel_if

hierarchical interface, relevant for when action is OPENNSL_MPLS_SWITCH_ACTION_POP.

Definition at line 231 of file mplsX.h.

opennsl_vpn_t opennsl_mpls_tunnel_switch_s::vpn

L3 VPN used if action is POP.

Definition at line 220 of file mplsX.h.


The documentation for this struct was generated from the following file: