BUG-2877: Allow hello message with no namespace
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)
commit3278bd9dc1a7ee0ed6249e8a5539a91170523e44
tree43f4159fdf14b48d8358d57c8a4d88e12d066f2d
parent8053dacc3d4eef84cfdb47f56108ab0739816381
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