Fix vnflcm vnf pep8 error
[vfc/gvnfm/vnflcm.git] / lcm / lcm / nf / vnfs / const.py
1 # Copyright 2017 ZTE Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 from lcm.pub.utils.jobutil import enum
16
17 VNF_STATUS = enum(NULL='null', INSTANTIATING="instantiating", INACTIVE='inactive', ACTIVE="active",
18                   FAILED="failed", TERMINATING="terminating", SCALING="scaling", OPERATING="operating",
19                   UPDATING="updating", HEALING="healing")
20
21 # inst_req_data
22 inst_req_data = {
23     "flavourId": "flavour_1",
24     "instantiationLevelId": "instantiationLevel_1",
25     "extVirtualLinks": [
26         {
27             "vlInstanceId": "1",
28             "vim": {
29                 "vimInfoId": "1",
30                 "vimId": "1",
31                 "interfaceInfo": {
32                     "vimType": "vim",
33                     "apiVersion": "v2",
34                     "protocolType": "http"
35                 },
36                 "accessInfo": {
37                     "tenant": "tenant_vCPE",
38                     "username": "vCPE",
39                     "password": "vCPE_321"
40                 },
41                 "interfaceEndpoint": "http://10.43.21.105:80/"
42             },
43             "resourceId": "1246",
44             "extCps": [
45                 {
46                     "cpdId": "11",
47                     "addresses": [
48                         {
49                             "addressType": "MAC",
50                             "l2AddressData": "00:f3:43:20:a2:a3"
51                         },
52                         {
53                             "addressType": "IP",
54                             "l3AddressData": {
55                                 "iPAddressType": "IPv4",
56                                 "iPAddress": "192.168.104.2"
57                             }
58                         }
59                     ],
60                     "numDynamicAddresses": 0
61                 }
62             ]
63         },
64         {
65             "vlInstanceId": '55',
66             "resourceId": '55_network',
67             "resourceSubnetId": '55_subnet',
68             "cpdId": 'cpId1',
69             "vim": {
70                 "vimid": '55_vimid'
71             }
72         }
73     ],
74     "localizationLanguage": "en_US",
75     "additionalParams": {
76         "inputs": {
77             "key1": "test1",
78             "key2": "test2"
79         },
80         "extVirtualLinks": [
81             {
82                 "vlInstanceId": '55',
83                 "resourceId": '55_network',
84                 "resourceSubnetId": '55_subnet',
85                 "cpdId": 'cpId1',
86                 "vim": {
87                     "vimid": '55_vimid'
88                 }
89             }
90         ]
91     }
92 }
93
94
95 # vnfd_rawdata
96 vnfd_rawdata = {
97     "rawData": {
98         "instance": {
99             "metadata": {
100                 "designer": "sdno",
101                 "name": "underlayervpn",
102                 "csarVersion": "1.0",
103                 "csarType": "SSAR",
104                 "csarProvider": "huawei",
105                 "version": "1.0",
106                 "type": "SSAR",
107                 "id": "ns_underlayervpn_1_0"
108             },
109             "nodes": [
110                 {
111                     "id": "ac2_fdhrbk3dvan8hl5wifm9lp1e9",
112                     "type_name": "tosca.nodes.sdn.l3ac",
113                     "template_name": "ac2",
114                     "properties": {
115                         "ip": {
116                             "type_name": "string"
117                         },
118                         "route": {
119                             "type_name": "string"
120                         },
121                         "port": {
122                             "type_name": "string"
123                         },
124                         "svlan": {
125                             "type_name": "string"
126                         }
127                     },
128                     "interfaces": [
129                         {
130                             "name": "Standard",
131                             "type_name": "tosca.interfaces.node.lifecycle.Standard"
132                         }
133                     ],
134                     "capabilities": [
135                         {
136                             "name": "feature",
137                             "type_name": "tosca.capabilities.Node"
138                         },
139                         {
140                             "name": "ac",
141                             "type_name": "tosca.capabilities.sdn.ac"
142                         }
143                     ],
144                     "relationships": [
145                         {
146                             "target_node_id": "pe2_go3vo1ctxr1vlbl0ij8stbtj6",
147                             "target_capability_name": "feature"
148                         },
149                         {
150                             "target_node_id": "ac2_fdhrbk3dvan8hl5wifm9lp1e9",
151                             "target_capability_name": "feature"
152                         }
153                     ]
154                 },
155                 {
156                     "id": "ac1_jqows1ai0j0cmwk9jdvuknt97",
157                     "type_name": "tosca.nodes.sdn.l3ac",
158                     "template_name": "ac1",
159                     "properties": {
160                         "ip": {
161                             "type_name": "string"
162                         },
163                         "route": {
164                             "type_name": "string"
165                         },
166                         "port": {
167                             "type_name": "string"
168                         },
169                         "svlan": {
170                             "type_name": "string"
171                         }
172                     },
173                     "interfaces": [
174                         {
175                             "name": "Standard",
176                             "type_name": "tosca.interfaces.node.lifecycle.Standard"
177                         }
178                     ],
179                     "capabilities": [
180                         {
181                             "name": "feature",
182                             "type_name": "tosca.capabilities.Node"
183                         },
184                         {
185                             "name": "ac",
186                             "type_name": "tosca.capabilities.sdn.ac"
187                         }
188                     ],
189                     "relationships": [
190                         {
191                             "target_node_id": "pe1_e58ekps6m45g6w9egs9lue2j7",
192                             "target_capability_name": "feature"
193                         },
194                         {
195                             "target_node_id": "ac2_fdhrbk3dvan8hl5wifm9lp1e9",
196                             "target_capability_name": "feature"
197                         }
198                     ]
199                 },
200                 {
201                     "id": "vpn_ie0xim076f7cje67fvrrq9tg1",
202                     "type_name": "tosca.nodes.sdn.underlayVPN",
203                     "template_name": "vpn",
204                     "properties": {
205                         "serviceType": {
206                             "type_name": "string"
207                         },
208                         "description": {
209                             "type_name": "string"
210                         },
211                         "name": {
212                             "type_name": "string"
213                         },
214                         "topology": {
215                             "type_name": "string"
216                         }
217                     },
218                     "interfaces": [
219                         {
220                             "name": "Standard",
221                             "type_name": "tosca.interfaces.node.lifecycle.Standard"
222                         }
223                     ],
224                     "capabilities": [
225                         {
226                             "name": "feature",
227                             "type_name": "tosca.capabilities.Node"
228                         }
229                     ],
230                     "relationships": [
231                         {
232                             "target_node_id": "ac1_jqows1ai0j0cmwk9jdvuknt97",
233                             "target_capability_name": "feature"
234                         },
235                         {
236                             "target_node_id": "ac2_fdhrbk3dvan8hl5wifm9lp1e9",
237                             "target_capability_name": "feature"
238                         }
239                     ]
240                 },
241                 {
242                     "id": "pe1_e58ekps6m45g6w9egs9lue2j7",
243                     "type_name": "tosca.nodes.sdn.l3pe",
244                     "template_name": "pe1",
245                     "properties": {
246                         "id": {
247                             "type_name": "string"
248                         }
249                     },
250                     "interfaces": [
251                         {
252                             "name": "Standard",
253                             "type_name": "tosca.interfaces.node.lifecycle.Standard"
254                         }
255                     ],
256                     "capabilities": [
257                         {
258                             "name": "feature",
259                             "type_name": "tosca.capabilities.Node"
260                         },
261                         {
262                             "name": "pe",
263                             "type_name": "tosca.capabilities.sdn.pe"
264                         }
265                     ]
266                 },
267                 {
268                     "id": "pe2_go3vo1ctxr1vlbl0ij8stbtj6",
269                     "type_name": "tosca.nodes.sdn.l3pe",
270                     "template_name": "pe2",
271                     "properties": {
272                         "id": {
273                             "type_name": "string"
274                         }
275                     },
276                     "interfaces": [
277                         {
278                             "name": "Standard",
279                             "type_name": "tosca.interfaces.node.lifecycle.Standard"
280                         }
281                     ],
282                     "capabilities": [
283                         {
284                             "name": "feature",
285                             "type_name": "tosca.capabilities.Node"
286                         },
287                         {
288                             "name": "pe",
289                             "type_name": "tosca.capabilities.sdn.pe"
290                         }
291                     ]
292                 }
293             ],
294             "substitution": {
295                 "node_type_name": "tosca.nodes.sdn.ext.NS.ns_underlayervpn"
296             },
297             "inputs": {
298                 "ac2_ip": {
299                     "type_name": "string",
300                     "description": "ac2_ipofunderlayvpn"
301                 },
302                 "ac2_route": {
303                     "type_name": "string",
304                     "description": "ac2_routeofunderlayvpn"
305                 },
306                 "serviceType": {
307                     "type_name": "string",
308                     "description": "serviceTypeofunderlayvpn"
309                 },
310                 "description": {
311                     "type_name": "string",
312                     "description": "descriptionofunderlayvpn"
313                 },
314                 "pe2_id": {
315                     "type_name": "string",
316                     "description": "pe2_idofunderlayvpn"
317                 },
318                 "ac1_route": {
319                     "type_name": "string",
320                     "description": "ac1_routeofunderlayvpn"
321                 },
322                 "ac1_svlan": {
323                     "type_name": "integer",
324                     "description": "ac1_svlanofunderlayvpn"
325                 },
326                 "name": {
327                     "type_name": "string",
328                     "description": "Nameofunderlayervpn"
329                 },
330                 "ac1_ip": {
331                     "type_name": "string",
332                     "description": "ac1_ipofunderlayvpn"
333                 },
334                 "ac2_port": {
335                     "type_name": "string",
336                     "description": "ac2_portofunderlayvpn"
337                 },
338                 "pe1_id": {
339                     "type_name": "string",
340                     "description": "pe1_idofunderlayvpn"
341                 },
342                 "technology": {
343                     "type_name": "string",
344                     "description": "technologyofunderlayvpn"
345                 },
346                 "ac1_port": {
347                     "type_name": "string",
348                     "description": "ac1_portofunderlayvpn"
349                 },
350                 "ac2_svlan": {
351                     "type_name": "integer",
352                     "description": "ac2_svlanofunderlayvpn"
353                 },
354                 "topology": {
355                     "type_name": "string",
356                     "description": "topologyofunderlayvpn"
357                 }
358             }
359         }
360     }
361 }
362
363 # vnfd_model_dict
364 vnfd_model_dict = {
365     'metadata': {
366         'vendor': u'zte',
367         'is_shared': False,
368         'description': '',
369         'domain_type': u'CN',
370         'version': u'v4.14.10',
371         'vmnumber_overquota_alarm': False,
372         'cross_dc': False,
373         'vnf_type': u'SSS',
374         'vnfd_version': u'V00000001',
375         'id': u'sss-vnf-template',
376         'name': u'sss-vnf-template'
377     },
378     'vdus': [
379         {
380             "vdu_id": "vdu1Id",
381             "description": "vdu description",
382             "properties": {
383                 "name": "vduinstname",
384                 "vdu_type": "OMP",
385                 "key_vdu": True,
386                 "support_scaling": True,
387                 "location_info": {
388                     "vimid": "vimid",
389                     "tenant": "tenantname",
390                     "availability_zone": "zone1",
391                     "host": "host1"
392                 },
393                 "local_affinity_antiaffinity_rule": [
394                     {
395                         "affinity_antiaffinity": "anti-affinity",
396                         "scope": "node"
397                     },
398                     {
399                         "affinity_antiaffinity": "affinity",
400                         "scope": "zone"
401                     }
402                 ],
403                 "inject_data_list": [
404                     {
405                         "file_name": "abc.xml",
406                         "file_data": "<a>xxx</a><b>ssss</b>"
407                     }
408                 ],
409                 "storage_policy": "HIGH",
410                 "template_id": "26",
411                 "manual_scale_select_vim": False,
412                 "watchdog": {
413                     "enabledelay": 600000,
414                     "action": "reset"
415                 },
416                 "is_predefined": False,
417                 "allow_scale_updown": False,
418                 "inject_network_address": True,
419                 "inner_hugepage_num": 100,
420                 "inner_hugepage_size": "2048",
421                 "action": "add"
422             },
423             "image_file": u'sss',
424             "local_storages": [
425                 "local_storage_id1",
426                 "local_storage_id2"
427             ],
428             "volume_storages": [
429                 {
430                     "volume_storage_id": "volume_storage1",
431                     "location": "/usr/data",
432                     "device": "/dev/hda1"
433                 }
434             ],
435             "dependencies": [
436                 "vdu1Id",
437                 "vduNId"
438             ],
439             "nfv_compute": {
440                 "num_cpus": 4,
441                 "mem_size": "1 GB",
442                 "cpu_frequency": "1GHz",
443                 "flavor_extra_specs": {
444                     "hw: cpu_policy": "shared",
445                     "hw: cpu_max_threads": 50,
446                     "hw: cpu_sockets": 10,
447                     "hw: cpu_max_sockets": 20,
448                     "hw: cpu_max_cores": 8,
449                     "hw: cpu_threads": 30,
450                     "hw: numa_mem.0": 12288,
451                     "hw: hugepage_num": 100,
452                     "hw: high_performance": "dvs_high",
453                     "hw: numa_nodes": 1,
454                     "hw: numa_cpus.0": "2,4,8",
455                     "hw: numa_pci": True,
456                     "hw: cpu_cores": 4,
457                     "pci_passthrough: alias": "ColetoCreek: 1",
458                     "hw: mem_page_size": "large",
459                     "hw: mem_paging_mechanism": "EPT"
460                 }
461             },
462             "vls": [
463                 "vlId1",
464             ],
465             "cps": [
466                 "cpId1",
467             ],
468             "scalable": {
469                 "min_instances": 1,
470                 "max_instances": 2,
471                 "default_instances": 1
472             },
473             "interfaces": {
474                 "Standard": {
475                     "create": {
476                         "implementation": "<implementationScript>",
477                         "inputs": {
478                             "param1Name": "value1",
479                             "paramNName": "valueN"
480                         }
481                     },
482                     "configure": {
483                         "implementation": "<implementationScript>",
484                         "inputs": {
485                             "param1Name": "value1",
486                             "paramNName": "valueN"
487                         }
488                     },
489                     "start": {
490                         "implementation": "<implementationScript>",
491                         "inputs": {
492                             "param1Name": "value1",
493                             "paramNName": "valueN"
494                         }
495                     },
496                     "stop": {
497                         "implementation": "<implementationScript>",
498                         "inputs": {
499                             "param1Name": "value1",
500                             "paramNName": "valueN"
501                         }
502                     },
503                     "delete": {
504                         "implementation": "<implementationScript>",
505                         "inputs": {
506                             "param1Name": "value1",
507                             "paramNName": "valueN"
508                         }
509                     }
510                 }
511             },
512             "artifacts": [
513                 {
514                     "artifact_name": "software_version_file",
515                     "type": "tosca.artifacts.Deployment",
516                     "file": "AppSoftwares/zte-cn-xgw-V5.16.11_NFV-version.zip",
517                     "repository": "",
518                     "deploy_path": ""
519                 }
520             ]
521         }
522     ],
523     'volume_storages': [
524         {
525             "volume_storage_id": "volume_storage1",
526             "description": "",
527             "properties": {
528                 "size": "100 GB",
529                 "volume_id": "",
530                 "volume_name": "volumeStorage1",
531                 "custom_volume_type": "type1",
532                 "disk_type": "data",
533                 "delete_on_termination_vm": True,
534                 "location_info": {
535                     "vimid": "vimid_1",
536                     "tenant": "tenantname_1",
537                     "availability_zone": "zone1"
538                 },
539                 "is_predefined": False,
540                 "is_shared": False
541             },
542             "image_file": [
543                 "volume_image"
544             ]
545         }
546     ],
547     'policies': {
548         'scaling': {
549             'targets': {
550
551             },
552             'policy_id': u'policy_scale_sss-vnf-template',
553             'properties': {
554                 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
555             },
556             'description': ''
557         }
558     },
559     'image_files': [
560         {
561             'description': '',
562             'properties': {
563                 'name': u'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
564                 'checksum': '',
565                 'disk_format': u'VMDK',
566                 'file_url': u'./zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
567                 'container_type': 'vm',
568                 'version': '',
569                 'hypervisor_type': 'kvm'
570             },
571             'image_file_id': u'opencos_sss_omm_img_release_20150723-1-disk1'
572         },
573         {
574             'description': '',
575             'properties': {
576                 'name': u'sss.vmdk',
577                 'checksum': '',
578                 'disk_format': u'VMDK',
579                 'file_url': u'./zte-cn-sss-main-image/NE/sss.vmdk',
580                 'container_type': 'vm',
581                 'version': '',
582                 'hypervisor_type': 'kvm'
583             },
584             'image_file_id': u'sss'
585         }
586     ],
587     'vls': [
588         {
589             "vl_id": "vldId1",
590             "description": "",
591             "properties": {
592                 "name": "umac_241_control",
593                 "network_name": "umac_control",
594                 "is_predefined": False,
595                 "vendor": "zte",
596                 "netmask": "255.255.255.0",
597                 "mtu": 1500,
598                 "network_type": "vlan",
599                 "physical_network": "phynet01",
600                 "segmentation_id": "30",
601                 "vlan_transparent": False,
602                 "vds_name": "vds1",
603                 "cidr": "192.168.199.0/24",
604                 "ip_version": 4,
605                 "gateway_ip": "192.168.199.1",
606                 "dhcp_enabled": False,
607                 "dns_nameservers": [
608                     "192.168.0.4",
609                     "192.168.0.10"
610                 ],
611                 "start_ip": "192.168.199.2",
612                 "end_ip": "192.168.199.254",
613                 "host_routes": [
614                     {
615                         "destination": "10.43.26.0/24",
616                         "nexthop": "10.41.23.1"
617                     }
618                 ],
619                 "location_info": {
620                     "vimid": "vimid_1",
621                     "tenant": "tenantname_1"
622                 },
623                 "cloud_type": "IaaS"
624             },
625             "route_id": "router01",
626             "route_external": False
627         }
628     ],
629     'cps': [
630         {
631             "cp_id": "cpId1",
632             "description": "",
633             "properties": {
634                 "name": "",
635                 "mac_address": "00:d9:00:82:11:e1",
636                 "ip_address:": "192.168.1.21",
637                 "ip_range_start": "192.168.1.20",
638                 "ip_range_end": "192.168.1.29",
639                 "floating_ip_address": {
640                     "external_network": "extnet01",
641                     "ip_address": "10.43.53.23"
642                 },
643                 "service_ip_address": "192.168.1.23",
644                 "order": 1,
645                 "bandwidth": 1000,
646                 "vnic_type": "normal",
647                 "allowed_address_pairs": [
648                     {
649                         "ip": "192.168.1.13",
650                         "mac": "00:f3:43:20:a2:a3"
651                     }
652                 ],
653                 "bond": "none",
654                 "bond_index": 1,
655                 "macbond": "00:d9:00:82:11:d1",
656                 "sfc_encapsulation": "",
657                 "direction": "",
658                 "gateway_ip": "192.168.199.1",
659                 "netmask": "255.255.255.0",
660                 "interface_name": "fe-01-02",
661                 "is_virtual": False,
662                 "function": "control"
663             },
664             "vl_id": "vldId1",
665             "vdu_id": "vdu1Id"
666         }
667     ],
668     'local_storages': [
669
670     ],
671 }
672
673 # get_tenant_id
674 c1_data_get_tenant_id = {
675     "tenants": [
676         {
677             "id": "1",
678             "name": "tenantname_1"
679         }
680     ]
681 }
682
683 # create_volume
684 c2_data_create_volume = {
685     "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
686     "name": "volume1",
687     "returnCode": 1,
688     "vimId": "vim_volume_1",
689     "vimName": "vim_volume_1",
690     "tenantId": "vim_volume_1",
691     "volumeType": "123",
692     "availabilityZone": "availabilityZone",
693     "status": "availuable",
694     "createTime": "2015-12-02T06:39:40.000000",
695     "type": None,
696     "size": 40
697 }
698
699 # get_volume
700 c3_data_get_volume = {
701     "status": "available",
702     "name": "wangsong",
703     "attachments": [
704         {
705             "device": "/dev/vdc",
706             "serverId": "3030e666-528e-4954-88f5-cc21dab1262b",
707             "volumeId": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
708             "hostName": None,
709             "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31"
710         }
711     ],
712     "createTime": "2015-12-02T06:39:40.000000",
713     "type": None,
714     "id": "4bd3e9eb-cd8b-456a-8589-910836a0ab31",
715     "size": 40
716 }
717
718 # create_network
719 c4_data_create_network = {
720     "returnCode": 0,
721     "vimId": "11111",
722     "vimName": "11111",
723     "status": "ACTIVE",
724     "id": "3c9eebdbbfd345658269340b9ea6fb73",
725     "name": "net1",
726     "tenantId": "tenant1",
727     "networkName": "ommnet",
728     "shared": True,
729     "vlanTransparent": True,
730     "networkType": "vlan",
731     "segmentationId": 202,
732     "physicalNetwork": "ctrl",
733     "routerExternal": False
734 }
735
736 # create_subnet
737 c5_data_create_subnet = {
738     "returnCode": 0,
739     "vimId": "11111",
740     "vimName": "11111",
741     "status": " ACTIVE",
742     "id": "d62019d3-bc6e-4319-9c1d-6722fc136a23",
743     "tenantId": "tenant1",
744     "networkId": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
745     "networkName": "networkName",
746     "name": "subnet1",
747     "cidr": "10.43.35.0/24",
748     "ipVersion": 4,
749     "enableDhcp": 1,
750     "gatewayIp": "10.43.35.1",
751     "dnsNameservers": [],
752     "allocationPools": [
753         {
754             "start": "192.168.199.2",
755             "end": "192.168.199.254"
756         }
757     ],
758     "hostRoutes": []
759 }
760
761 # create_ports
762 c6_data_create_port = {
763     "returnCode": 0,
764     "vimId": "11111",
765     "vimName": "11111",
766     "status": " ACTIVE",
767     "id": " 872019d3-bc6e-4319-9c1d-6722fc136afg",
768     "tenantId": "tenant1",
769     "name": "subnet1",
770     "networkId": "d32019d3-bc6e-4319-9c1d-6722fc136a22",
771     "networkName": "networkName",
772     "subnetId": "d62019d3-bc6e-4319-9c1d-6722fc136a23",
773     "subnetName": "subnet1",
774     "macAddress": "212.12.61.23",
775     "ip": "10.43.38.11",
776     "vnicType": "normal",
777     "securityGroups": ""
778 }
779
780 # create_flavor
781 c7_data_create_flavor = {
782     "returnCode": 0,
783     "vimId": "11111",
784     "vimName": "11111",
785     "id": "142019d3-bc6e-4319-9c1d-6722fc136afg",
786     "tenantId": "tenant1",
787     "name": "subnet1",
788     "vcpu": 5,
789     "memory": 2,
790     "disk": 40,
791     "ephemeral": 40,
792     "swap": 20,
793     "isPublic": True,
794     "extraSpecs": "testtt"
795 }
796
797 # list_image
798 c8_data_list_image = {
799     "vimid": "",
800     "vimname": "",
801     "images": [
802         {
803             "status": "active",
804             "id": "5e2757c1-f846-4727-915c-9a872553ed75",
805             "size": 862016,
806             "name": u'sss.vmdk'
807         }
808     ]
809 }
810
811 # create_vm
812 c9_data_create_vm = {
813     "returnCode": 1,
814     "id": "3c9eebdbbfd345658269340b9ea6fb73",
815     "name": "vm1",
816     "vimId": "11111",
817     "vimName": "11111",
818     "tenantId": "tenant1",
819     "boot": "boot_1",
820     "nicArray": "dfdf",
821     "volumeArray": "dfdf",
822     "availabilityZone": "fdvfdv",
823     "flavorId": "fdvfdv",
824     "metadata": "fdvfdv",
825     "securityGroups": "fdvfdv",
826     "serverGroup": "fdvfdv",
827     "status": "ACTIVE"
828 }
829
830 # get_vm
831 c10_data_get_vm = {
832     "returnCode": 1,
833     "id": "3c9eebdbbfd345658269340b9ea6fb73",
834     "name": "vm1",
835     "vimId": "11111",
836     "vimName": "11111",
837     "tenantId": "tenant1",
838     "status": "ACTIVE"
839 }