For traffic arriving on a VPLS interface, a router supports PBF to steer traffic over another VPLS SAP in the same service. An OF controller can rely on this functionality and program PBF steering action for H-OFS instances with the switch-defined-cookie command enabled using the following OF encoding:
flow_mod:
instruction type: OFPIT_WRITE_ACTIONS or OFPIT_APPLY_ACTION,
Action 1:
action type: OFPAT_OUTPUT,
The port uses encoding as described in the SR OS H-OFS port and VLAN encoding section.
Action 2:
action type=OFPAT_SET_FIELD
OXM TLVs encode SAP VLANs as described in the SR OS H-OFS port and VLAN encoding section:
- OXM_OF_VLAN_VID
- OFL_OUT_VLAN_ID (optional)