[ONOS-5281] JUNIT Test cases for device-controllers and device-setcontrollers as FUJITSU NETCONF
Change-Id: I2a6b30d357061ca265175a0a6057728bf83fa5a7
diff --git a/drivers/fujitsu/src/test/resources/setcontrollers.xml b/drivers/fujitsu/src/test/resources/setcontrollers.xml
new file mode 100644
index 0000000..6311281
--- /dev/null
+++ b/drivers/fujitsu/src/test/resources/setcontrollers.xml
@@ -0,0 +1,48 @@
+<!--
+ ~ Copyright 2016-present Open Networking Laboratory
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+
+<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+ <edit-config>
+ <target><running/></target>
+ <default-operation>merge</default-operation>
+ <config>
+ <volt-ne xmlns="http://fujitsu.com/ns/volt/1.1">
+ <volt-ofconfig>
+ <of-controllers>
+ <of-controller>
+ <ofconfig-id>1</ofconfig-id>
+ <controller-info>
+ <id>1</id>
+ <ip-address>172.10.10.55</ip-address>
+ <port>2222</port>
+ <protocol>tcp</protocol>
+ </controller-info>
+ </of-controller>
+ <of-controller>
+ <ofconfig-id>3</ofconfig-id>
+ <controller-info>
+ <id>3</id>
+ <ip-address>172.20.33.11</ip-address>
+ <port>6633</port>
+ <protocol>tcp</protocol>
+ </controller-info>
+ </of-controller>
+ </of-controllers>
+ </volt-ofconfig>
+ </volt-ne>
+ </config>
+ </edit-config>
+</rpc>