Sequence state transitions during negotiation start 50/102750/5
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Oct 2022 19:27:51 +0000 (21:27 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Oct 2022 00:31:42 +0000 (02:31 +0200)
commitea556da8f195af133ef9a4b9b85601af526e9f4c
tree04f909618d06e20271d30167a20b34b05d9e5817
parenta4a4f3cde22d044c7bd97b80b307f58c90d12c62
Sequence state transitions during negotiation start

If we fail to write out the initial proposal, we will end up running
listener actions before other negotiation start transitions -- hence
messing up our state.

Inline sendMessage() and dispatch the listener as a last operation of
start().

JIRA: NETCONF-905
Change-Id: I06b3b266ed2c37ec388aff4abb988f84e6fa3863
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java