Test Teardown SetupUtils.Teardown_Test_Show_Bugs_If_Test_Failed
Library RequestsLibrary
Library SSHLibrary
+Resource ${CURDIR}/../../../libraries/CompareStream.robot
Resource ${CURDIR}/../../../libraries/FailFast.robot
Resource ${CURDIR}/../../../libraries/SetupUtils.robot
Resource ${CURDIR}/../../../libraries/SSHKeywords.robot
[Documentation] Commit the removal and check the reply.
Perform_Test merge-multiple-remove-commit
+Connector_Simplified_Pattern
+ [Documentation] Several requests in a (simplified) pattern typical for requests from netconf-connector.
+ Perform_Test none-replace
+ Perform_Test commit-edit
+ Perform_Test delete
+ Perform_Test commit-edit
+
+Test_Bug_7791
+ [Documentation] Send (checking replies) series of netconf messages to trigger
+ ... https://bugs.opendaylight.org/show_bug.cgi?id=7791
+ Perform_Test bug7791-1
+ Perform_Test bug7791-2
+ Perform_Test commit-edit
+ Perform_Test delete
+ Perform_Test commit-edit
+ [Teardown] Utils.Report_Failure_Due_To_Bug 7791
+
Delete_Not_Existing_Element
[Documentation] Attempt to delete the elements again and check that it fails with the correct error.
Perform_Test delete-not-existing
--- /dev/null
+<rpc message-id="m-2" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+ <edit-config>
+ <target>
+ <candidate/>
+ </target>
+ <default-operation>none</default-operation>
+ <config>
+ <cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car" xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="replace">
+ </cars>
+ </config>
+ </edit-config>
+</rpc>
--- /dev/null
+<rpc message-id="m-3" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+ <edit-config>
+ <target>
+ <candidate/>
+ </target>
+ <default-operation>none</default-operation>
+ <config>
+ <cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car">
+ <car-entry xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="replace">
+ <id>bug7791</id>
+ </car-entry>
+ </cars>
+ </config>
+ </edit-config>
+</rpc>
--- /dev/null
+<rpc message-id="m-1" a="64" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+ <edit-config>
+ <target>
+ <candidate/>
+ </target>
+ <default-operation>none</default-operation>
+ <config>
+ <cars xmlns="urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
+ xmlns:a="urn:ietf:params:xml:ns:netconf:base:1.0" a:operation="replace">
+ <car-entry>
+ <id>connector</id>
+ </car-entry>
+ </cars>
+ </config>
+ </edit-config>
+</rpc>