Class DefaultBGPTableTypeRegistryConsumer
java.lang.Object
org.opendaylight.protocol.bgp.openconfig.spi.DefaultBGPTableTypeRegistryConsumer
- All Implemented Interfaces:
BGPTableTypeRegistryConsumer
,org.opendaylight.yangtools.concepts.Immutable
@Beta
@Singleton
@MetaInfServices(BGPTableTypeRegistryConsumer.class)
public final class DefaultBGPTableTypeRegistryConsumer
extends Object
implements org.opendaylight.yangtools.concepts.Immutable
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal AfiSafiType
getAfiSafiType
(BgpTableType bgpTableType) Looks for AfiSafiType based on BgpTableType.final AfiSafiType
getAfiSafiType
(TablesKey tablesKey) Looks for AfiSafiType based on TablesKey.final TablesKey
getTableKey
(AfiSafiType afiSafiType) Looks for BgpTableType based on OpenConfig AFI/SAFI.final BgpTableType
getTableType
(AfiSafiType afiSafiType) Looks for BgpTableType based on OpenConfig AFI/SAFI.
-
Constructor Details
-
DefaultBGPTableTypeRegistryConsumer
public DefaultBGPTableTypeRegistryConsumer() -
DefaultBGPTableTypeRegistryConsumer
@Inject public DefaultBGPTableTypeRegistryConsumer(Iterable<BGPTableTypeRegistryProviderActivator> activators) -
DefaultBGPTableTypeRegistryConsumer
-
-
Method Details
-
getTableType
Description copied from interface:BGPTableTypeRegistryConsumer
Looks for BgpTableType based on OpenConfig AFI/SAFI.- Specified by:
getTableType
in interfaceBGPTableTypeRegistryConsumer
- Parameters:
afiSafiType
- afiSafi Type- Returns:
- Optional of BgpTableType or empty, if the table type is not supported.
-
getTableKey
Description copied from interface:BGPTableTypeRegistryConsumer
Looks for BgpTableType based on OpenConfig AFI/SAFI.- Specified by:
getTableKey
in interfaceBGPTableTypeRegistryConsumer
- Parameters:
afiSafiType
- afiSafi Type- Returns:
- Optional of TableKey or empty, if the table type is not supported.
-
getAfiSafiType
Description copied from interface:BGPTableTypeRegistryConsumer
Looks for AfiSafiType based on BgpTableType.- Specified by:
getAfiSafiType
in interfaceBGPTableTypeRegistryConsumer
- Parameters:
bgpTableType
- Bgp TableType- Returns:
- Optional of OpenConfig AFI/SAFI or empty, if the table type is not supported.
-
getAfiSafiType
Description copied from interface:BGPTableTypeRegistryConsumer
Looks for AfiSafiType based on TablesKey.- Specified by:
getAfiSafiType
in interfaceBGPTableTypeRegistryConsumer
- Parameters:
tablesKey
- Tables Key- Returns:
- Optional of OpenConfig AFI/SAFI or empty, if the table type is not supported.
-