GRT-only and multi-service H-OFS modes of operations

SR OS supports two modes of operation for an H-OFS instance: GRT-only and multi-service. The modes of operation are operator-controlled per H-OFS instance by enabling or disabling the switch-defined-cookie option (config>open-flow>of-switch>flowtable 0). For backward compatibility, GRT-only mode of operation is default but, because multi-service mode is a functional superset, Nokia recommends operating in multi-service mode whenever possible. The operator can change the mode in which an H-OFS instance operates but a shutdown is required first. This purges all the rules forcing the OF controller to reprogram the switch instance after it is re-enabled in a new mode. SR OS supports both H-OFS modes of operation concurrently for different switch instances.

Multi-service modes of operation uses part of the FlowTable cookie field (higher-order 32 bits) to provide the enhanced functionality; the lower-order FlowTable cookie bits are fully controlled by the OF controller. Table: Multi-service mode — higher-order bit flow table cookie encoding depicts higher-order bit Flow Table cookie encoding used when operating in the multi-service mode of operation.

Table: Multi-service mode — higher-order bit flow table cookie encoding
sros-cookie Name sros-cookie Type

(Bits 63...60)

sros-cookie Value

(Bits 59...32)

FlowTable Entry Interpretation Based on the sros-cookie

grt

0000

0

FlowTable rule is applicable to GRT instance (IES and router interfaces)

system

1000

0

FlowTable rule is applicable to system filters

service

1100

service-id for existing VPLS or VPRN service

FlowTable rule is applicable to an existing VPRN or VPLS service specified by the sros-cookie value

To enable multi-service mode of operation, an operator must embed the OF switch in an ACL filter policy, and, because multi-service H-OFS supports a mix of VPRN/VPLS/GRT/System rules, an additional scope of embedding must be selected (embed open-flow service, embed open-flow system - grt scope used by default). After embedding H-OFS instance, an ACL policy contains rules specific to a VPRN or VPLS service instance or to a GRT or to a System Filter Policy. Therefore, the ACL filter policy can only be used in the scope defined by H-OFS embedding.

Rules programmed by an OF controller with grt, system, and service cookies specified are accepted even if the H-OFS instance is not embedded by a filter activated in a specific context. Rules programmed by an OF controller with a service cookie specified, when the service ID is not one of the supported service types, or when the service with the specified ID does not exist, are rejected with an error returned back to the controller. If an H-OFS is embedded into a line card policy with a specific service context, the embedding must be removed before that service is deleted.

Table: Differences between GRT mode and multi-service mode summarizes the main differences between the two modes of operation.

Table: Differences between GRT mode and multi-service mode
Function GRT Mode

(no switch-defined-cookie)

Multi-service Mode

(switch-defined-cookie)

Support OF on IES access interfaces

Yes

Yes

Support OF on router interfaces in GRT instance

Yes

Yes

Support OF on VPRN access and network interfaces

No (lack of native OF service virtualization)

Yes

Support OF on VPLS access and network interfaces

No (lack of native OF service virtualization)

Yes

Support port and VLAN in flowtable match (see the following section)

No

Yes

Support OF control of System ACL policies

No

Yes

Traffic steering actions

Forward, drop, redirect to LSP, Layer 3 PBR actions only

All

Scale

Up to ingress ACL filter policy entry scale

Up to OF system scale limit per H-OFS instance, and up to 64 534 entries per unique sros-cookie value

Restrictions: