•
Configuring a Layer 3_Dual-stack Logical Switch for the OpenFlow Agent, page 292
•
Enabling TLS , page 293
•
Configuring NetFlow for the OpenFlow Agent, page 294
•
Configuration Examples: Openflow, page 297
•
Usecase for Layer2, page 299
•
Usecase for Layer3, page 299
OpenFlow
Openflow is an open standard to communicate between controllers, which are running applications and network
elements (such as, routers and switches). The OpenFlow agent runs on RSP and connects to an external
OpenFlow controller and converts OpenFlow messages to corresponding OnePK APIs.
For details regarding OpenFlow, please refer the OpenFlow chapter in the Cisco ASR 9000 Series Aggregation
Services Router System Management Configuration Guide.
An overview of OFA
OpenFlow is a specification from the Open Networking Foundation (ONF) that defines a flowbased forwarding
infrastructure (L2-L4 Ethernet switch model) and a standardized application programmatic interface (protocol
definition) to learn capabilities, add and remove flow control entries and request statistics. OpenFlow allows
a controller to direct the forwarding functions of a switch through a secure channel. Local device configuration
is out of scope of the OpenFlow protocol. OpenFlow essentially provides a forwarding instruction set, allowing
applications to directly program any-to-any routing and switching, with header field rewrite. New matches
and actions can be applied to packets in arbitrary unconstrained fashion, allowing routing and switching on
the new criteria. Routers and switches embed the fast packet forwarding and the high level routing decisions
together into their software on the same device. With only a few exceptions based on user configuration, all
routing and switching decisions are made by the built-in protocols and control plane logic that reside on the
switch.
Prerequisites for OpenFlow Agent
The following prerequisites are required to use the OpenFlow agent on the platforms supporting IOS-XR:
•
Special build of the Release 5.1.x software that has the OpenFlow functionality is required.
•
The Enhanced Ethernet line card for the Cisco ASR 9000 Series Router is required for the OpenFlow
agent feature.
•
Any controller with version 1.1 or 1.3 is required (example, POX, ODL ).
•
The asr9k-k9sec Package Installation Envelope (PIE) must be present. The asr9k-mpls PIE is required
for support on MPLS core (such as, PWHE).
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
274
Implementing Open Flow Agent
OpenFlow