commit | 25e54fc215ca7081ec8f9d685c2a4bbb70314307 | [log] [tgz] |
---|---|---|
author | yoonseon <yoonseon@onlab.us> | Wed Nov 02 13:07:43 2016 -0400 |
committer | yoonseon <yoonseon@onlab.us> | Wed Nov 02 13:07:43 2016 -0400 |
tree | 22e61e56c90f869c5169adeccacd4711bd1ce9e7 | |
parent | 88addd557e43d723bc367c19e47d15bebbac8a24 [diff] |
[ONOS-5585] CopyConfig() of NETCONF driver generates malformed RPC request Change-Id: Iaceaf5c44f361a0c9b1945a869d881c81d0c9d37
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 9ae5acc..4effb4b 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
@@ -447,7 +447,7 @@ rpc.append("<").append(targetConfiguration).append("/>"); rpc.append("</target>"); rpc.append("<source>"); - rpc.append("<").append(newConfiguration).append("/>"); + rpc.append(newConfiguration); rpc.append("</source>"); rpc.append("</copy-config>"); rpc.append("</rpc>");