-
Bug
-
Resolution: Done
-
None
-
Helium
-
None
-
Operating System: All
Platform: All
-
2837
I have a netconf server that does not advertise urn:ietf:params:netconf:base:1.1
. but advertise a private capability "urn:com:xxx:yyy:ebase:1.1.1"
In the following method, it only check capability with string base:1.1. and get a wrong capability to make ODL sending the base1.1 separators in RPC messages.
private boolean containsBase11Capability(final Document doc) {
final NodeList nList = doc.getElementsByTagName("capability");
for (int i = 0; i < nList.getLength(); i++) {
if (nList.item.getTextContent().contains("base:1.1"))
}
return false;
}
I think the the check should use full capability string "urn:ietf:params:netconf:base:1.1"