Author: aconway
Date: Thu Feb 12 17:38:26 2015
New Revision: 1659335

URL: http://svn.apache.org/r1659335
Log:
DISPATCH-112: Router fails with duplicate link ID errors.

Reverted a bad change in r1658584. It used link name as the router.link 
management entity identity.
The link name is not unique unless combined with the remote container name, 
which is a UUID
so that is not a very friendly way to name links. Returned to simple numbering.

Modified:
    qpid/dispatch/trunk/python/qpid_dispatch_internal/management/agent.py

Modified: qpid/dispatch/trunk/python/qpid_dispatch_internal/management/agent.py
URL: 
http://svn.apache.org/viewvc/qpid/dispatch/trunk/python/qpid_dispatch_internal/management/agent.py?rev=1659335&r1=1659334&r2=1659335&view=diff
==============================================================================
--- qpid/dispatch/trunk/python/qpid_dispatch_internal/management/agent.py 
(original)
+++ qpid/dispatch/trunk/python/qpid_dispatch_internal/management/agent.py Thu 
Feb 12 17:38:26 2015
@@ -304,9 +304,8 @@ class DummyEntity(EntityAdapter):
         return (OK, dict(**request.properties))
 
 
-class RouterLinkEntity(EntityAdapter):
-    def _identifier(self):
-        return self.attributes.get('linkName')
+class RouterLinkEntity(EntityAdapter): pass
+
 
 class RouterNodeEntity(EntityAdapter):
     def _identifier(self):



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to