+Create_Car_List
+ [Documentation] Send a request to create a list of cars in the sample test data label and check that the request went OK.
+ ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ NetconfViaRestconf.Post_Xml_Template_Folder_Via_Restconf ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}cars ${template_as_string}
+
+Check_Car_List_Created
+ [Documentation] Get the device data label as XML and make sure it matches the content posted as JSON in the previous case.
+ ${data}= Get_Config_Data
+ BuiltIn.Should_Contain ${data} <id>KEEP</id>
+ BuiltIn.Should_Not_Contain ${data} <id>SMALL</id>
+ BuiltIn.Should_Not_Contain ${data} <model>Isetta</model>
+ BuiltIn.Should_Not_Contain ${data} <manufacturer>BMW</manufacturer>
+ BuiltIn.Should_Not_Contain ${data} <year>1953</year>
+ BuiltIn.Should_Not_Contain ${data} <category>microcar</category>
+ BuiltIn.Should_Not_Contain ${data} <id>TOYOTA</id>
+ BuiltIn.Should_Not_Contain ${data} <model>Camry</model>
+ BuiltIn.Should_Not_Contain ${data} <manufacturer>Toyota</manufacturer>
+ BuiltIn.Should_Not_Contain ${data} <year>1982</year>
+ BuiltIn.Should_Not_Contain ${data} <category>sedan</category>
+
+Add_Device_Data_Item_1_Via_XML_Post
+ [Documentation] Send a request to create a data item in the test list and check that the request went OK.
+ ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ NetconfViaRestconf.Post_Xml_Template_Folder_Via_Restconf ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}item1 ${template_as_string}
+
+Check_Item1_Is_Created
+ [Documentation] Get the device data as XML and make sure it matches the content posted as JSON in the previous case.
+ ${data}= Get_Config_Data
+ BuiltIn.Should_Contain ${data} <id>SMALL</id>
+ BuiltIn.Should_Contain ${data} <model>Isetta</model>
+ BuiltIn.Should_Contain ${data} <manufacturer>BMW</manufacturer>
+ BuiltIn.Should_Contain ${data} <year>1953</year>
+ BuiltIn.Should_Contain ${data} <category>microcar</category>
+ BuiltIn.Should_Not_Contain ${data} <id>TOYOTA</id>
+ BuiltIn.Should_Not_Contain ${data} <model>Camry</model>
+ BuiltIn.Should_Not_Contain ${data} <manufacturer>Toyota</manufacturer>
+ BuiltIn.Should_Not_Contain ${data} <year>1982</year>
+ BuiltIn.Should_Not_Contain ${data} <category>sedan</category>
+
+Add_Device_Data_Item_2_Via_JSON_Post
+ [Documentation] Send a JSON request to change the sample test data and check that the request went OK.
+ ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ NetconfViaRestconf.Post_Json_Template_Folder_Via_Restconf ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}item2 ${template_as_string}
+
+Check_Item2_Is_Created
+ [Documentation] Get the device data as XML and make sure it matches the content posted as JSON in the previous case.
+ ${data}= Get_Config_Data
+ BuiltIn.Should_Contain ${data} <id>SMALL</id>
+ BuiltIn.Should_Contain ${data} <model>Isetta</model>
+ BuiltIn.Should_Contain ${data} <manufacturer>BMW</manufacturer>
+ BuiltIn.Should_Contain ${data} <year>1953</year>
+ BuiltIn.Should_Contain ${data} <category>microcar</category>
+ BuiltIn.Should_Contain ${data} <id>TOYOTA</id>
+ BuiltIn.Should_Contain ${data} <model>Camry</model>
+ BuiltIn.Should_Contain ${data} <manufacturer>Toyota</manufacturer>
+ BuiltIn.Should_Contain ${data} <year>1982</year>
+ BuiltIn.Should_Contain ${data} <category>sedan</category>
+