Class 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 supplied TablesKey.
      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 supplied TablesKey.
      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 supplied TablesKey.
    • 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 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 node
        afi - Class representing AFI
        safi - 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 node
        afi - Class representing AFI
        safi - 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 supplied TablesKey.
        Parameters:
        id - QNAME representing node
        tablesKey - 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 supplied TablesKey.
        Parameters:
        id - QNAME representing node
        tablesKey - 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 supplied TablesKey.
        Parameters:
        tablesKey - Tables key representing table.
        Returns:
        NodeIdentifierWithPredicates of Tables for specified AFI, SAFI combination.