Bug-8942: Fix DelegatedLspsCount 71/62371/3
authorAjay Lele <ajayl.bro@gmail.com>
Thu, 10 Aug 2017 21:49:50 +0000 (14:49 -0700)
committerClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thu, 5 Oct 2017 19:36:40 +0000 (19:36 +0000)
commite2095f8615acdd9b341eb416e48694d27194d464
tree160308e23159f2d64c33a3c40979174d133bb463
parent43c01936a0f8f90599af7baaffe4b019a8cc385e
Bug-8942: Fix DelegatedLspsCount

mbean value returns count of all LSPs and not just
the ones that are delegated

- Fixed code to return count of delegated LSPs only
- Added unit-test

Change-Id: I067b4cff8c7503fa878742ab6605fca2685a6c15
Signed-off-by: Ajay Lele <ajayl.bro@gmail.com>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/AbstractTopologySessionListener.java
pcep/topology-provider/src/test/java/org/opendaylight/bgpcep/pcep/topology/provider/Stateful07TopologySessionListenerTest.java