Handle shcema without namespace. 67/52667/12
authorDavid Goldberg <gdavid@hpe.com>
Thu, 2 Mar 2017 16:16:03 +0000 (18:16 +0200)
committerDavid Goldberg <gdavid@hpe.com>
Wed, 22 Mar 2017 08:43:58 +0000 (08:43 +0000)
commita485cbb1eda100ba2cc51e89a48ec1647552eec1
tree4a7edf144ebad2dda991ced0e18fc696c122b17f
parent5a42ea1d44e3aae22deedb0e7d46389b67593177
Handle shcema without namespace.

currently when the ODL connects to a device and recieves a schema
without a namespace it disconnects.
This fix allows the ODL to ignore schemas without namespaces, but still
maintains the connection and handles the rest of the schemas which do
have a namespace.

Change-Id: I9134fce17a85a2b5111e5acd0c63516f4c356db8
Signed-off-by: David Goldberg <gdavid@hpe.com>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfStateSchemas.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/NetconfStateSchemasTest.java
netconf/sal-netconf-connector/src/test/resources/netconf-state.schemas.payload.xml