X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Ftests%2Ftest_vimconn_vmware_xml_response.py;fp=osm_ro%2Ftests%2Ftest_vimconn_vmware_xml_response.py;h=0000000000000000000000000000000000000000;hb=7d782eff123e5b44d41437377ccca66ad1e8b21b;hp=968cb1f24ed5b1fdd653a58d8a244eca3ac3aab8;hpb=5db670b68349fd1f00a5efc8c0ccd0ef9d073dca;p=osm%2FRO.git diff --git a/osm_ro/tests/test_vimconn_vmware_xml_response.py b/osm_ro/tests/test_vimconn_vmware_xml_response.py deleted file mode 100644 index 968cb1f2..00000000 --- a/osm_ro/tests/test_vimconn_vmware_xml_response.py +++ /dev/null @@ -1,637 +0,0 @@ -# -*- coding: utf-8 -*- - -## -# Copyright 2016-2017 VMware Inc. -# This file is part of ETSI OSM -# All Rights Reserved. -# -# 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. -# -# For those usages not covered by the Apache License, Version 2.0 please -# contact: osslegalrouting@vmware.com -## - -vdc_xml_response = """ - - - - - - - - - - - - - - - - - - - Org3-VDC-PVDC1 - AllocationVApp - - - MHz - 0 - 0 - 0 - 2000 - 0 - - - MB - 0 - 0 - 0 - 2048 - 71 - - - - - - - - - - - - - - - - - - - - - vmx-04 - vmx-07 - vmx-08 - vmx-09 - vmx-10 - vmx-11 - - - 0 - 1000 - 0 - 0 - true - - - - - 1000 - """ - -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 - """ - -delete_network_xml_response = """ - - - - - Openmano created - - - - true - 12.169.24.23 - 255.255.255.0 - 12.169.24.102 - corp.local - true - - - 12.169.241.115 - 12.169.241.150 - - - bridged - false - - false - """ - -create_network_xml_response = """ - - - - - - - - Openmano created - - - - - -
- - - - - false - 12.16.113.1 - 255.255.255.0 - 12.16.113.2 - true - - 12.168.113.3 - 12.168.113.52 - - - - bridged - false - false - """ - -catalog1_xml_response = """ - - - - - - - - - - - Ubuntu-vm -false2017-03-17T03:17:11.293-07:005 -""" - -catalog2_xml_response = """ - - - - - - - - - - - cirros -false2017-03-08T02:06:07.003-08:005 -""" - -vapp_xml_response = """ - - - - - - - - - - - - - - - - - - - - -Lease settings section - 07776000 -VApp startup section - - The list of logical networks -External-Network-1074 - -The configuration parameters for logical networks - -External-Network-1074false192.168.254.1255.255.255.0 -true192.168.254.100192.168.254.199 -isolatedfalsetrue - -true -192.169.241.253255.255.255.0192.169.241.102corp.localtrue -192.169.241.115192.169.241.150 -bridgedfalse -trueSnapshot information section2017-09-21T01:15:31.627-07:00 - -false - - - - - - - - - - - - - - - - - - - - - - - - - -Ubuntu-vm Virtual hardware requirementsVirtual Hardware Family0 Test1_vm-69a18104-8413-4cb8-bad7-b5afaec6f9favmx-11 00:50:56:01:12:a20 true testing_T6nODiW4-68f68d93-0350-4d86-b40b-6e74dedf994d Vmxnet3 ethernet adapter on "testing_T6nODiW4-68f68d93-0350-4d86-b40b-6e74dedf994d" Network adapter 0 1 VMXNET3 10 0 SCSI Controller SCSI Controller 0 2 lsilogic 6 0 Hard disk Hard disk 1 2000 2 17 42949672960 byte 0 SATA Controller SATA Controller 0 3 vmware.sata.ahci 20 0 false CD/DVD Drive CD/DVD Drive 1 16000 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 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""" - -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"""