Interface BGPTableTypeRegistryConsumer
-
- All Known Subinterfaces:
BGPTableTypeRegistryProvider
- All Known Implementing Classes:
SimpleBGPTableTypeRegistryProvider
public interface BGPTableTypeRegistryConsumer
Provides access to BGP AFI/SAFI registry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Optional<Class<? extends AfiSafiType>>
getAfiSafiType(@NonNull BgpTableType bgpTableType)
Looks for AfiSafiType based on BgpTableType.@NonNull Optional<Class<? extends AfiSafiType>>
getAfiSafiType(@NonNull TablesKey tablesKey)
Looks for AfiSafiType based on TablesKey.@NonNull Optional<TablesKey>
getTableKey(@NonNull Class<? extends AfiSafiType> afiSafiType)
Looks for BgpTableType based on OpenConfig AFI/SAFI.@NonNull Optional<BgpTableType>
getTableType(@NonNull Class<? extends AfiSafiType> afiSafiType)
Looks for BgpTableType based on OpenConfig AFI/SAFI.
-
-
-
Method Detail
-
getTableType
@NonNull Optional<BgpTableType> getTableType(@NonNull Class<? extends AfiSafiType> afiSafiType)
Looks for BgpTableType based on OpenConfig AFI/SAFI.- Parameters:
afiSafiType
- afiSafi Type- Returns:
- Optional of BgpTableType or empty, if the table type is not supported.
-
getTableKey
@NonNull Optional<TablesKey> getTableKey(@NonNull Class<? extends AfiSafiType> afiSafiType)
Looks for BgpTableType based on OpenConfig AFI/SAFI.- Parameters:
afiSafiType
- afiSafi Type- Returns:
- Optional of TableKey or empty, if the table type is not supported.
-
getAfiSafiType
@NonNull Optional<Class<? extends AfiSafiType>> getAfiSafiType(@NonNull BgpTableType bgpTableType)
Looks for AfiSafiType based on BgpTableType.- Parameters:
bgpTableType
- Bgp TableType- Returns:
- Optional of OpenConfig AFI/SAFI or empty, if the table type is not supported.
-
getAfiSafiType
@NonNull Optional<Class<? extends AfiSafiType>> getAfiSafiType(@NonNull TablesKey tablesKey)
Looks for AfiSafiType based on TablesKey.- Parameters:
tablesKey
- Tables Key- Returns:
- Optional of OpenConfig AFI/SAFI or empty, if the table type is not supported.
-
-