Fix tox errors
[integration/test.git] / csit / suites / netconf / CRUD-ACTION / CRUD-ACTION.robot
index 7dd52a531ff3d9e6aa0bba02b55adc979768a8c0..5f79140f3e64714dac30bdc8508a486c7169e1f6 100644 (file)
@@ -1,13 +1,13 @@
 *** Settings ***
 Documentation     netconf-connector CRUD-Action test suite.
-...           
+...
 ...               Copyright (c) 2019 Ericsson Software Technology AB. All rights reserved.
-...           
+...
 ...               This program and the accompanying materials are made available under the
 ...               terms of the Eclipse Public License v1.0 which accompanies this distribution,
 ...               and is available at http://www.eclipse.org/legal/epl-v10.html
-...           
-...           
+...
+...
 ...               Perform basic operations (Create, Read, Update and Delete or CRUD) on device
 ...               data mounted onto a netconf connector using RPC for node supporting Yang 1.1
 ...               addition and see if invoking Action Operation work.
@@ -72,6 +72,16 @@ Invoke_Yang1.1_Action_Via_Json_Post
     ${template_as_string} =    BuiltIn.Set_Variable    {'DEVICE_NAME': '${DEVICE_NAME}'}
     TemplatedRequests.Post_As_Json_RFC8040_Templated    ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}dataorigaction    ${template_as_string}
 
+Invoke_Yang1.1_Augmentation_Via_Xml_Post
+    [Documentation]    Send a sample test data label into the device and check that the request went OK.
+    ${template_as_string} =    BuiltIn.Set_Variable    {'DEVICE_NAME': '${DEVICE_NAME}'}
+    TemplatedRequests.Post_As_Xml_Templated    ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}augment    ${template_as_string}
+
+Invoke_Yang1.1_Augmentation_Via_Json_Post
+    [Documentation]    Send a sample test data label into the device and check that the request went OK.
+    ${template_as_string} =    BuiltIn.Set_Variable    {'DEVICE_NAME': '${DEVICE_NAME}'}
+    TemplatedRequests.Post_As_Json_RFC8040_Templated    ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}augment    ${template_as_string}
+
 Deconfigure_Device_From_Netconf
     [Documentation]    Make request to deconfigure the testtool device on Netconf connector.
     [Tags]    critical