commit | 55faf85cfbeb94f616e371633b5319e8da4a9a65 | [log] [tgz] |
---|---|---|
author | yoonseon <yoonseon@onlab.us> | Wed Nov 02 14:59:12 2016 -0400 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Nov 07 15:59:00 2016 +0000 |
tree | 0bf78de452554535afaade94bb33172c80e8625a | |
parent | afe2d3f41c972cb8675fd92c541d0ce06c329d8f [diff] |
[ONOS-5586] CopyConfig() of NetConf driver should add namespace of NetConf on RPC Change-Id: Ieb82c93006718cd8c9155c70714f361f4a374699
diff --git a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfSessionImpl.java b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfSessionImpl.java index e805dda..aef6942 100644 --- a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfSessionImpl.java +++ b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfSessionImpl.java
@@ -441,7 +441,8 @@ + "</config>"; } StringBuilder rpc = new StringBuilder(XML_HEADER); - rpc.append("<rpc>"); + rpc.append(RPC_OPEN); + rpc.append(NETCONF_BASE_NAMESPACE).append(">\n"); rpc.append("<copy-config>"); rpc.append("<target>"); rpc.append("<").append(targetConfiguration).append("/>");