Turn PCEPDispatcherImpl into a component 17/104017/15
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 12 Jan 2023 20:09:48 +0000 (21:09 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 15 Jan 2023 14:12:20 +0000 (15:12 +0100)
commit4359da4bdb13a8f2ed2fee28ed455859a9755a4b
tree4fdc1c40c3e8b8de6e0342004ef634c8b3a6a439
parentb1111369b39e557966f895f0b795892f9240672e
Turn PCEPDispatcherImpl into a component

Clean up Epoll.isAvailable() lifecycle, so that we manage our groups
correctly. At the end of the day, each subsystem should manage the
threads and this patch does exactly that: we no longer rely on global
group, but rather do our own thing.

JIRA: BGPCEP-856
Change-Id: Ibe1c6ba8c2176d54ed41bac677a1184bbfffec98
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/impl/pom.xml
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPDispatcherImpl.java
pcep/impl/src/main/resources/OSGI-INF/blueprint/pcep-impl.xml
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPDispatcherImplTest.java
pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCDispatcherImplTest.java
pcep/pcc-mock/src/test/java/org/opendaylight/protocol/pcep/pcc/mock/PCCMockCommon.java
pcep/testtool/src/main/java/org/opendaylight/protocol/pcep/testtool/Main.java