For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
The operator can configure one or more instances of an H-OFS (using SNMP/CLI interfaces) with each instance controlled by an OF-controller over a unique OF channel (using openflow protocol). One OF controller can control multiple H-OFS instances (using dedicated channels), or a dedicated OF controller per switch can be deployed. For each switch, up to two OF controllers can be deployed for redundancy. If two controllers are programmed, they can operate in either OFPCR_ROLE_EQUAL roles or in OFPCR_ROLE_MASTER and OFPCR_ROLE_SLAVE roles. Figure 25 depicts this architecture:SR OS supports two modes of operations for an H-OFS instance: GRT-only and multi-service. The mode of operations is operator-controlled per H-OFS instance by enabling or disabling switch-defined-cookie option (configure>open-flow>of-switch>flowtable 0). For backward compatibility, GRT-only mode of operation is default but, since multi-service mode is a functional superset, it is recommended to operate 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 will purge all the rules forcing the OF controller to reprogram the switch instance once re-enabled in a new mode. An SROS router supports both H-OFS operational modes concurrently for different switch instances.Multi-service operational mode 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 11 depicts higher order bit Flow Table cookie encoding used when operating in the multi-service mode.
Table 12 summarizes the main differences between the two modes of operation.
• The 7x50 H-OFS always requires sros-cookie to be provided for FlowTable operations and will fail any operation without the cookie when switch-defined-cookie is enabled.
→ H-OFS with switch-define-cookie disabled
— Valid flow_priority_range 1 to max-size – 1
— flow_priority_value 0 is reserved (no match action)
→ H-OFS with switch-define-cookie enabled
— Valid flow_priority_range 1 to 65534
— flow-priority_value 0 is reserved (no match action)
→ H-OFS with switch-define-cookie disabled
— filter entry ID = max-size – flow_priority + embedding offset
→ A flow table rule with a port/VLAN ID match is programmed only if the matching SAP has this H-OFS instance embedded in its ACL ingress filter policy using SAP scope of embedding (embed open-flow sap). Please see SR OS H-OFS Port and VLAN Encoding for required encoding of port and VLAN IDs.“_tmnx_ofs_<ofs_name>”, with the same name for IPv4 and IPv6 filters used.
• Note: For an H-OFS with switch-defined-cookie enabled, embedded filters are created for each unique context in the H-OFS instead.
1. Statistics for SR-OS H-OFS logical ports
Logical port statistics are available for RSVP-TE and MPLS-TP LSP logical ports. The
non-zero statistics will be returned as long as a given LSP has its statistics enabled through an MPLS configuration. The statistics can be retrieved irrespective of whether a given OF switch uses the specified LSP or not. The statistics account for an aggregate of all
packets/bytes forwarded over a given LSP. High availability follows MPLS statistics support.
Statistics are not available for any other logical ports encodings.
2. Statistics for SR-OS H-OFS flow table
Flow table statistics can be retrieved for one or more flow table entries of a given H-OFS. The returned packet/bytes values are based on ACL statistics collected in hardware. An
OpenFlow controller can retrieve statistics either directly from hardware or from the ACL CPM-based bulk request cache. The ACL cache is used when processing an OpenFlow statistics multi-part aggregate request message (OFPMP_AGGREGATE), or when an OpenFlow statistics multi-part flow message request (OFPM_FLOW) is translated to multiple flow table entries (a bulk request). When an OpenFlow multi-part flow statistics request message
(OFPM_FLOW) is translated to a single flow table entries requests (a single entry request), the counters are read from hardware in real-time.
A mix of the two methods can be used to retrieve some flow table statistics from hardware in real-time while retrieving other statistics from the cache. See the Filter Policy Statistics section of this guide for more details on ACL cache and ACL statistics.
VPRN Id: LPT: 0100, LPT-S: 0001 (L3 routing instance), LPT-V: VPRN Service ID for a VPRN instance configured on the system. Note that 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.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 encode VLAN tags, OXM_OF_VLAN_ID and new experimenter OFL_OUT_VLAN_ID fields are used as per Table 14.
Table 14: VLAN Tag Encoding Table 15 shows how OF programmed values are translated to SR-OS SAPs.
A router supports redirection of IPv4 or IPv6 next-hop for traffic arriving on a L3 interface. An OF controller can rely on this functionality and program PBR next-hop steering actions for H-OFS instances with switched-defined-cookie enabled using the following OF encoding:A router supports redirection of IPv4 or IPv6 traffic arriving on an L3 interface to a different routing instance (GRT or VRF). An OF controller can rely on this functionality and program PBR actions for GRT/VRF steering for H-OFS instances with switched-defined-cookie enabled using the following OF encoding:flow_mod:port= SR-OS LOGICAL port encoding GRT or VPRN Service ID as outlined in the SR OS H-OFS Logical Port section.A router supports redirection of IPv4 or IPv6 traffic arriving on an L3 interface to a different routing instance (GRT or VRF) and next-hop IP at the same time. An OF controller can rely on this functionality and program PBR steering action for H-OFS instances with switched-defined-cookie enabled using the following OF encoding:flow_mod:Encoding as outlined in the Redirect to IP next-hop section (indirect flag must be set).port= SR-OS LOGICAL port encoding GRT or VPRN Service ID as outlined in the SR OS H-OFS Logical Port section.port= SR-OS LOGICAL port encoding RSVP-TE or MPLS-TP LSP as outlined in SR OS H-OFS Logical Port sectionFor 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 switched-defined-cookie enabled using the following OF encoding:port: = Encoding as outlined in SR OS H-OFS Port and VLAN Encoding sectionwhere NORMAL is a OF reserved value.