Bug-4827: BGP Add-Path OpenConfig Support
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / AbstractPeerRoleTracker.java
index 85a5c079558f55ae8ef00b2c0bceb1775d10bbe1..bb39dd31423544051336ecaa563af208f0483239 100644 (file)
@@ -48,7 +48,7 @@ abstract class AbstractPeerRoleTracker {
         peerRoleChanged(peerPath, role);
     }
 
-    static final NodeIdentifier PEER_ROLE_NID = new NodeIdentifier(QName.cachedReference(QName.create(Peer.QNAME, "peer-role")));
+    static final NodeIdentifier PEER_ROLE_NID = new NodeIdentifier(QName.create(Peer.QNAME, "peer-role").intern());
     static final NodeIdentifier PEER_TABLES = new NodeIdentifier(SupportedTables.QNAME);
 
     protected AbstractPeerRoleTracker() {