Hybrid OpenFlow Switch
Router Configuration Guide 667
The supported range in OF is limited to a 24-bit service ID value range (a subset of VPRN
IDs supported by the SR OS system).
Logical port values other than RSVP-TE LSP and MPLS-TP LSP require H-OFS with
switch-defined-cookie enabled. GRT instance and VPRN ID logical ports are not stored in
the H-OFS logical port table, hence functionality such as retrieving statistics per port is not
available for those values.
SR OS H-OFS Port and VLAN Encoding
The OF controller can use port and VLAN values other than ANY for VPLS SAP match and
for VPLS steering to SAP for H-OFS instances with switched-defined-cookie enabled.
To specify a port in an OF message, SR OS TmnxPortId encoding must be used. The allowed
values are those for Ethernet physical ports and LAG.
To encode VLAN tags, OXM_OF_VLAN_ID and new experimenter OFL_OUT_VLAN_ID
fields are used as per Table 68.
Table 69 shows how OF programmed values are translated to SR OS SAPs.
Table 68: VLAN Tag Encoding
NULL tag, dot1Q tag, inner QinQ tag VlanId Outer QinQ tag VlanId
OXM_OF_VLAN_VID OFL_OUT_VLAN_ID (Experimenter field uses same
encoding as OXM_OF_VLAN_VID)
Table 69: Translation of OF Programmed Values to SR OS SAPs
OXM_OF_IN_P
ORT
OXM_OF_VLAN
_VID
OFL_OUT_VLA
N_ID
Matching
SAP SR OS
Encoding
Supporte
d in
flow_add
Supporte
d in
flow_mod
flow_del
mp_req
Comme
nt
TmnxPortId for
port or LAG
Value: 0x0000
Mask: Absent
Must be absent port-id
lag-id
Yes Yes Mask
must be
absent
TmnxPortId for
port or LAG
Value: 0x1yyy,
yyy encodes
qtag1
Mask: Absent
Must be absent port-
id:qtag1
lag-id:qtag1
Yes Yes Mask
must be
absent