BUG-2383 : Application peer rework.
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / IdentifierUtils.java
index 9c7b158d8d06170fe0bf6518ec0a4ad3688a1f02..89b8fcf3a0bc37ebed0b70112a63ad58b54d2b63 100644 (file)
@@ -68,4 +68,7 @@ final class IdentifierUtils {
         return firstKeyOf(id, IS_TABLES);
     }
 
+    static NodeIdentifierWithPredicates domPeerId(final PeerId peer) {
+        return new NodeIdentifierWithPredicates(Peer.QNAME, PEER_ID, peer.getValue());
+    }
 }