Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Group Recovery Handler

This component of Segement Routing driver handles network element failures and ONOS controller failure.

  • Controller failures: When a ONOS instance restarts and switches connects back to that controller, the Segment Routing driver performs a audit of existing Groups in the switch so that it pushes only the missing groups in to the switch
  • Network element failures: When a port of a switch fails, this component determine all the group buckets where the failed port is part of and perform a OF "GroupMod.MODIFY" operation on all such groups to remove those buckets. As a result, there may be some empty groups (groups with no buckets) lying in the switch. Similarly when the port is UP again, this component determines all the impacted groups and perform a OF "GroupMod.MODIFY" operation on all such groups to add those buckets with the recovered ports.

OF Message Pusher

This component of Segment Routing driver builds Open Flow protocol messages from the provided MatchActionOperationEntry objects from higher layers and sends down to network elements using Floodlight controller's OF Channel Handler.

It . 

Driver API

The Segment Routing driver provides following APIs to higher layers:

  • createGroup: Given a stack of mpls labels and list of outports, this API builds a single or chain of group(s) and return the topmost group ID to the higher layers.
  • removeGroup: Given a group ID, this API removes group associated with that ID and any chained groups if existing
  • pushFlow: This API implements the functionality of OF Message Pusher component 

 

It .