Class TablesUtil


  • public final class TablesUtil
    extends Object
    • Field Detail

      • BMP_TABLES_QNAME

        public static final org.opendaylight.yangtools.yang.common.QName BMP_TABLES_QNAME
      • BMP_ATTRIBUTES_QNAME

        public static final org.opendaylight.yangtools.yang.common.QName BMP_ATTRIBUTES_QNAME
      • BMP_ROUTES_QNAME

        public static final org.opendaylight.yangtools.yang.common.QName BMP_ROUTES_QNAME
      • BMP_AFI_QNAME

        public static final org.opendaylight.yangtools.yang.common.QName BMP_AFI_QNAME
      • BMP_SAFI_QNAME

        public static final org.opendaylight.yangtools.yang.common.QName BMP_SAFI_QNAME
    • 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 AFI
        safi - Class representing SAFI
        Returns:
        NodeIdentifierWithPredicates for specified AFI, SAFI combination.
      • toYangTablesKey

        public static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates toYangTablesKey​(org.opendaylight.yangtools.yang.common.QName nodeName,
                                                                                                                                   Class<? extends AddressFamily> afi,
                                                                                                                                   Class<? extends SubsequentAddressFamily> safi)
        Creates Yang Instance Identifier path argument from supplied QNAMES and AFI and SAFI.
        Parameters:
        nodeName - QName reprenting node
        afi - Class representing AFI
        safi - Class representing SAFI
        Returns:
        NodeIdentifierWithPredicates 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 supplied TablesKey.
        Parameters:
        tablesKey - Tables key representing table.
        Returns:
        NodeIdentifierWithPredicates of for specified AFI, SAFI combination.