Class RibSupportUtils
- java.lang.Object
-
- org.opendaylight.protocol.bgp.rib.spi.RibSupportUtils
-
public final class RibSupportUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangKey(org.opendaylight.yangtools.yang.common.QName id, Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangKey(org.opendaylight.yangtools.yang.common.QName id, SupportedTablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangKey(org.opendaylight.yangtools.yang.common.QName id, TablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangPathKey(org.opendaylight.yangtools.yang.common.QName id, Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangTablesKey(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates
toYangTablesKey(TablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.
-
-
-
Method Detail
-
toYangTablesKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangTablesKey(Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.- Parameters:
afi
- Class representing AFIsafi
- Class representing SAFI- Returns:
- NodeIdentifierWithPredicates of
Tables
for specified AFI, SAFI combination.
-
toYangKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangKey(org.opendaylight.yangtools.yang.common.QName id, Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.- Parameters:
id
- QNAME representing nodeafi
- Class representing AFIsafi
- Class representing SAFI- Returns:
- NodeIdentifierWithPredicates of 'id' for specified AFI, SAFI combination.
-
toYangPathKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangPathKey(org.opendaylight.yangtools.yang.common.QName id, Class<? extends AddressFamily> afi, Class<? extends SubsequentAddressFamily> safi)
Creates Yang Instance Identifier path argument from supplied AFI and SAFI.- Parameters:
id
- QNAME representing nodeafi
- Class representing AFIsafi
- Class representing SAFI- Returns:
- NodeIdentifierWithPredicates of 'id' for specified AFI, SAFI combination.
-
toYangKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangKey(org.opendaylight.yangtools.yang.common.QName id, TablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.- Parameters:
id
- QNAME representing nodetablesKey
- Tables key representing table.- Returns:
- NodeIdentifierWithPredicates of 'id' for specified AFI, SAFI combination.
-
toYangKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangKey(org.opendaylight.yangtools.yang.common.QName id, SupportedTablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.- Parameters:
id
- QNAME representing nodetablesKey
- Add PAth Tables key representing table.- Returns:
- NodeIdentifierWithPredicates of 'id' for specified AFI, SAFI combination.
-
toYangTablesKey
public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangTablesKey(TablesKey tablesKey)
Creates Yang Instance Identifier path argument from suppliedTablesKey
.- Parameters:
tablesKey
- Tables key representing table.- Returns:
- NodeIdentifierWithPredicates of
Tables
for specified AFI, SAFI combination.
-
-