Contents
Table of Contents outline true
Design Overview
Genius contains four main components:
- Interface Manager
- Tunnel Manager
- Aliveness Monitor
- ID-Manager
...
Contents
Table of Contents outline true
Design Overview
Genius contains four main components:
- Interface Manager
- Tunnel Manager
- Aliveness Monitor
- ID-Manager
these modules are developed as karaf features which can be independently installed. However, there is some dependency among these modules. The diagram below provides a dependency relationship of these modules.
...
Follwoing diagram provides a toplevel architecture of Interface Manager.
In addition to these datamodels, it also implements several RPCs for accessing interface operational data. Details of these datamodels and RPCs are described in following sections. Interface Manager also uses ODL Inventory and Topology datastores to retrive southbound configurations and events. As described above Interface Manager uses other Genius modules for its operations. It mainly interacts with following other modules-
Modules used by InterfaceManager
...
Introducing Egress Service Binding
Currently Interface Manager supports service binding on port ingress only. However, there are services that need packet processing on the egress, before sending the packet out to particular port/interface. To accommodate this, interface manager will be enhanced to support egress service binding also. This will be achieved by introducing a new “egress dispatcher table” at the egress of packet pipeline before the interface egress groups.
On different application request, Interface Manager returns the egress actions for interfaces. Service modules program use these actions to send the packet to particular interface. Generally, these egress actions include sending packet out to port or appropriate interface egress group. With the inclusion of the egress dispatcher table the egress actions for the services would be to
...
- Inventory DCN Listener in InterfaceManager does the following:
- Updates interface-state DS.
- Generate if-index for the interface
- Update if-index to interface reverse lookup map
- If interface maps to a vlan trunk entity, operational states of all vlan trunk members are updated
- If interface maps to tunnel entity, add ingress tunnel flow
Bridge is created on vSWitch
- Topology DCN Listener in InterfaceManager does the following:
- Update odl-interface-meta OperDS to have the dpid to bridge reference
- Retrieve all pre provisioned bridge Interface Entries for this dpn, and add ports to bridge using ovsdb
ELAN/VPNManager does a bind service
- Interface service-bindings config DS is populated with service name, priority and lport dispatcher flow instruction details
- Based on the service priority, the higher priority service flow will go in dispatcher table with match as if-index
- Lower priority service will go in the same lport dispatcher table with match as if-index and service priority
Interface Manager Sequence Diagrams
Following gallery contains sequence diagrams for different IFM operations -
...
...
- Generate if-index for the interface
- Update if-index to interface reverse lookup map
- If interface maps to a vlan trunk entity, operational states of all vlan trunk members are updated
- If interface maps to tunnel entity, add ingress tunnel flow
Bridge is created on vSWitch
- Topology DCN Listener in InterfaceManager does the following:
- Update odl-interface-meta OperDS to have the dpid to bridge reference
- Retrieve all pre provisioned bridge Interface Entries for this dpn, and add ports to bridge using ovsdb
ELAN/VPNManager does a bind service
- Interface service-bindings config DS is populated with service name, priority and lport dispatcher flow instruction details
- Based on the service priority, the higher priority service flow will go in dispatcher table with match as if-index
- Lower priority service will go in the same lport dispatcher table with match as if-index and service priority
Interface Manager Sequence Diagrams
Following gallery contains sequence diagrams for different IFM operations -
Removal of Tunnel Interface When Removal of Tunnel Interfaces Updating of Tunnel Interfaces Creation of tunnel-interface when OF switch is
OF Switch is Connected in Pre provisioning Mode in Pre provisioning Mode connected and PortName already in OperDS