public class SfcTableIndexMapper extends Object
SfcTableIndexMapperBuilder
class) by providing the table indexes it uses for each SFC table (this
mechanism exists in order not to have a circular dependency between
sfc-genius and the sfc renderer). Later, at flow writing time, the flow
programmer will use this class in order to retrieve the correct table indexes
for each SFC table
In short, this class allows to perform Genius-based application coexistence at table level, while keeping the previous application coexistence when genius is not used
Modifier | Constructor and Description |
---|---|
protected |
SfcTableIndexMapper(short externalClassifierTable,
short externalTransportIngressTable,
short externalPathMapperTable,
short externalPathMapperAclTable,
short externalNextHopTable,
short externalTransportEgressTable) |
Modifier and Type | Method and Description |
---|---|
Optional<Short> |
getTableIndex(short externalSfcTableIndex)
External - Genius SFC table index translation.
|
protected SfcTableIndexMapper(short externalClassifierTable, short externalTransportIngressTable, short externalPathMapperTable, short externalPathMapperAclTable, short externalNextHopTable, short externalTransportEgressTable)
public Optional<Short> getTableIndex(short externalSfcTableIndex)
externalSfcTableIndex
- the table index used by the external componentCopyright © 2017 OpenDaylight. All rights reserved.