BUG-2877: Allow hello message with no namespace 26/16926/3
authorMaros Marsalek <mmarsale@cisco.com>
Tue, 24 Mar 2015 09:38:41 +0000 (10:38 +0100)
committerMaros Marsalek <mmarsale@cisco.com>
Thu, 26 Mar 2015 09:37:14 +0000 (10:37 +0100)
commitb7ed44672b4487c1da3d21fcd6a5a7ccff3eff37
treee011ba32dc51d39de6a1d1f53f241bdbf828326d
parentdc1b52f84eed163fb558b8d5d1122b99053aed78
BUG-2877: Allow hello message with no namespace

Several network equipments (such as Cisco routers) do not set the namespace
attribute (xmlns) in their NETCONF messages. Whether this is valid or not is
unclear according to RFC 6241 (NETCONF). This patch improves interoperability
by relaxing the constraint for a namespace in NETCONF hello messages.

Change-Id: Ie3de4fe454adf0d7dfd3d11eaacacf5d03736502
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSessionNegotiator.java
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfHelloMessage.java
opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/messages/NetconfMessageUtil.java