report diagstatus from UdpHandler/TcpHandler on Netty thread terminate 77/78677/11
authorMichael Vorburger <vorburger@redhat.com>
Wed, 12 Dec 2018 11:41:56 +0000 (12:41 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Thu, 20 Dec 2018 23:10:17 +0000 (00:10 +0100)
This introduces new OPENFLOW_SERVER-{address}:{port} diagstatus service
names in SwitchConnectionProviderImpl, where UdpHandler/TcpHandler
start.

The Thread is now named including the same -{address}:{port} suffix.

This is a counter-proposal to the idea of "add a channelFuture to
listen for when the channel is closed and then update diagstatus"
originally proposed in Ieb78f225c1fcdd2ebf72ad1a99a49d4993a6a5b6,
because if/when that channel is closed, the UdpHandler/TcpHandler
Runnable thread exits, so this will achieve the same result in a
more general safer way.

This may (TBC) indirectly also fix OPNFLPLUG-1057.

JIRA: OPNFLWPLUG-1053
Change-Id: I5af740faa55ee55fbbe55acc34ea62905869fe35
Signed-off-by: Michael Vorburger <vorburger@redhat.com>

No differences found