X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=osm_ro%2Ftests%2Ftest_vimconn_vmware_xml_response.py;h=968cb1f24ed5b1fdd653a58d8a244eca3ac3aab8;hp=41793241679c50d689aea36711b135b3e9438a07;hb=5db670b68349fd1f00a5efc8c0ccd0ef9d073dca;hpb=c30a04ecfb1b64d931b9523fcbd8445be442e376 diff --git a/osm_ro/tests/test_vimconn_vmware_xml_response.py b/osm_ro/tests/test_vimconn_vmware_xml_response.py index 41793241..968cb1f2 100644 --- a/osm_ro/tests/test_vimconn_vmware_xml_response.py +++ b/osm_ro/tests/test_vimconn_vmware_xml_response.py @@ -99,33 +99,33 @@ vdc_xml_response = """ """ network_xml_response = """ - - - - - Openmano created - - - - true - 12.169.24.23 - 255.255.255.0 - 12.169.24.102 - corp.local - true - - - 12.169.24.115 - 12.169.241.150 - - - - - bridged - false - - false - """ + + + + + Openmano created + + + + true + 12.169.24.23 + 255.255.255.0 + 12.169.24.102 + corp.local + true + + + 12.169.24.115 + 12.169.241.150 + + + + + bridged + false + + false + """ delete_network_xml_response = """ @@ -292,5 +292,346 @@ vapp_xml_response = """ Specifies the operating system installedUbuntu Linux (64-bit)Specifies the available VM network connections0 0 12.19.21.20 true 00:50:56:01:12:a2 DHCPSpecifies Guest OS Customization Settingstruefalse47d12505-5968-4e16-95a7-18743edb0c8bfalsefalsefalsetruefalse0falseUbuntu-vm-001Specifies Runtime infoSnapshot information section2017-09-21T01:15:53.863-07:00Ubuntu-vm VMware ESXi 6.0.0 VMware, Inc. en falsefalse""" -task_xml = """ -
""" +poweroff_task_xml = """ + + + + +
+ """ + +org_xml_response = """ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Organization 3 + +""" + +delete_catalog_xml_response = """\n + + + + + + + + + + +80d8488f67ba1de98b7f485fba6abbd2 + + + + + false + +2017-09-24T02:30:23.623-07:00 +2 +""" + +delete_catalog_item_xml_response = """ + + + + + medial_file_name vApp Template + 2017-09-24T02:30:26.380-07:00 +1 +""" + +undeploy_task_xml = """ + + + +
+ +""" + +delete_task_xml = """ + + + +
+""" + +status_task_xml = """ + + + +
+ +""" + +vm_xml_response = """ + + + + + + + + + + + + + + + + + + + + + + + + + + +Virtual hardware requirements + +Virtual Hardware Family +0 +Ubuntu_no_nic +vmx-11 + +00:50:56:01:14:1a +0 +true +testing_6SNBKa9pz62P-63e13553-ebf9-4518-a33d-6ea922a6d2ce +Vmxnet3 ethernet adapter on "testing_6SNBKa9pz62P-63e13553-ebf9-4518-a33d-6ea922a6d2ce" +Network adapter 0 +1 +VMXNET3 +10 +0SCSI Controller +SCSI Controller 0 +2 +lsilogic +6 +0 +Hard disk +Hard disk 1 + 2000 +217 +10737418240 +byte +1 +IDE Controller +IDE Controller 1 +3 +5 +0 +false +CD/DVD Drive +CD/DVD Drive 1 +3002 +3 +15 +0 +false +Floppy Drive +Floppy Drive 1 +8000 +14 + + +hertz * 10^6 +Number of Virtual CPUs +1 virtual CPU(s) +4 +0 +3 +1 +0 +1 + + +byte * 2^20 +Memory Size +1024 MB of memory +5 +0 +4 +1024 +0 + + + + + + + + + + + + + + + + + Specifies the operating system installed + Ubuntu Linux (64-bit) + + + + Specifies the available VM network connections + 0 + + 0 + 172.16.27.72 + true + 00:50:56:01:14:1a + DHCP + VMXNET3 + + + + + Specifies the available VM network connections + 0 + + 0 + 172.16.27.72 + true + 00:50:56:01:14:1a + DHCP + + + + + Specifies Guest OS Customization Settings + true + false + 53a529b2-10d8-4d56-a7ad-8182acdbe71c + false + false + false + true + false + 0 + false + Ubuntunonic-001 + + + + Specifies Runtime info + + + + Snapshot information section + + 2018-04-19T04:19:28.150-07:00 + Ubuntu_no_nic + + +VMware ESXi +6.0.0 +VMware, Inc. +en + + + + + + + + + + + + + + + + + + + + + false + false + + +""" + +delete_tenant = """\n\n \n \n \n resgroup-9025\n RESOURCE_POOL\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n opnemano\n AllocationVApp\n \n \n MHz\n 0\n 2048\n 0\n 0\n 0\n \n \n MB\n 0\n 2048\n 0\n 0\n 0\n \n \n \n \n \n \n vmx-04\n vmx-07\n vmx-08\n vmx-09\n vmx-10\n vmx-11\n \n \n 100\n 100\n 0\n 50\n true\n \n \n \n 1000\n\n""" + +catalog_list_xml = """2017-10-14T23:52:58.097-07:001""" + +catalogItem_xml = """\n\n \n \n \n \n \n \n 2017-10-14T23:52:58.097-07:00\n 1\n""" + +vapp_template_xml = """\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Specifies the available VM network connections\n \n \n Specifies Guest OS Customization Settings\n true\n false\n bd3fe155-3fb2-40a8-af48-89c276983166\n false\n false\n false\n true\n false\n 0\n false\n Ubuntunonic-001\n \n \n Virtual hardware requirements\n \n Virtual Hardware Family\n 0\n Ubuntu_no_nic\n vmx-11\n \n \n 0\n SCSI Controller\n SCSI Controller 0\n 1\n lsilogic\n 6\n \n \n 0\n Hard disk\n Hard disk 1\n \n 2000\n 1\n 17\n 5368709120\n byte\n \n \n 1\n IDE Controller\n IDE Controller 1\n 2\n 5\n \n \n 0\n false\n CD/DVD Drive\n CD/DVD Drive 1\n \n 3002\n 2\n 15\n \n \n 0\n false\n Floppy Drive\n Floppy Drive 1\n \n 8000\n 14\n \n \n hertz * 10^6\n Number of Virtual CPUs\n 1 virtual CPU(s)\n 3\n 0\n 3\n 1\n 0\n 1\n \n \n byte * 2^20\n Memory Size\n 1024 MB of memory\n 4\n 0\n 4\n 1024\n 0\n \n \n \n \n \n \n \n \n Ubuntu_no_nic\n 2017-10-14T23:52:58.790-07:00\n \n \n \n The list of logical networks\n \n \n The configuration parameters for logical networks\n \n \n Lease settings section\n \n 7776000\n 2018-08-22T02:41:54.567-07:00\n \n \n VApp template customization section\n true\n \n 2017-10-14T23:52:58.790-07:00\n\n""" + +deployed_vapp_xml = """\n\n \n \n \n \n \n \n Vapp instantiation\n \n \n \n \n \n 1\n
\n \n \n 2018-06-02T01:14:32.870-07:00\n \n \n \n false\n"""