github.com/vmware/govmomi@v0.37.1/simulator/esx/host_hardware_info.go (about)

     1  /*
     2  Copyright (c) 2017-2023 VMware, Inc. All Rights Reserved.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8  http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  package esx
    18  
    19  import (
    20  	"time"
    21  
    22  	"github.com/vmware/govmomi/vim25/types"
    23  )
    24  
    25  // HostHardwareInfo is the default template for the HostSystem hardware property.
    26  // Capture method:
    27  //
    28  //	govc object.collect -s -dump HostSystem:ha-host hardware
    29  var HostHardwareInfo = &types.HostHardwareInfo{
    30  	SystemInfo: types.HostSystemInfo{
    31  		Vendor: "VMware, Inc.",
    32  		Model:  "VMware Virtual Platform",
    33  		Uuid:   "e88d4d56-9f1e-3ea1-71fa-13a8e1a7fd70",
    34  		OtherIdentifyingInfo: []types.HostSystemIdentificationInfo{
    35  			{
    36  				IdentifierValue: " No Asset Tag",
    37  				IdentifierType: &types.ElementDescription{
    38  					Description: types.Description{
    39  						Label:   "Asset Tag",
    40  						Summary: "Asset tag of the system",
    41  					},
    42  					Key: "AssetTag",
    43  				},
    44  			},
    45  			{
    46  				IdentifierValue: "[MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]",
    47  				IdentifierType: &types.ElementDescription{
    48  					Description: types.Description{
    49  						Label:   "OEM specific string",
    50  						Summary: "OEM specific string",
    51  					},
    52  					Key: "OemSpecificString",
    53  				},
    54  			},
    55  			{
    56  				IdentifierValue: "Welcome to the Virtual Machine",
    57  				IdentifierType: &types.ElementDescription{
    58  					Description: types.Description{
    59  						Label:   "OEM specific string",
    60  						Summary: "OEM specific string",
    61  					},
    62  					Key: "OemSpecificString",
    63  				},
    64  			},
    65  			{
    66  				IdentifierValue: "VMware-56 4d 8d e8 1e 9f a1 3e-71 fa 13 a8 e1 a7 fd 70",
    67  				IdentifierType: &types.ElementDescription{
    68  					Description: types.Description{
    69  						Label:   "Service tag",
    70  						Summary: "Service tag of the system",
    71  					},
    72  					Key: "ServiceTag",
    73  				},
    74  			},
    75  		},
    76  	},
    77  	CpuPowerManagementInfo: &types.HostCpuPowerManagementInfo{
    78  		CurrentPolicy:   "Balanced",
    79  		HardwareSupport: "",
    80  	},
    81  	CpuInfo: types.HostCpuInfo{
    82  		NumCpuPackages: 2,
    83  		NumCpuCores:    2,
    84  		NumCpuThreads:  2,
    85  		Hz:             3591345000,
    86  	},
    87  	CpuPkg: []types.HostCpuPackage{
    88  		{
    89  			Index:       0,
    90  			Vendor:      "intel",
    91  			Hz:          3591345000,
    92  			BusHz:       115849838,
    93  			Description: "Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz",
    94  			ThreadId:    []int16{0},
    95  			CpuFeature: []types.HostCpuIdInfo{
    96  				{
    97  					Level:  0,
    98  					Vendor: "",
    99  					Eax:    "0000:0000:0000:0000:0000:0000:0000:1101",
   100  					Ebx:    "0111:0101:0110:1110:0110:0101:0100:0111",
   101  					Ecx:    "0110:1100:0110:0101:0111:0100:0110:1110",
   102  					Edx:    "0100:1001:0110:0101:0110:1110:0110:1001",
   103  				},
   104  				{
   105  					Level:  1,
   106  					Vendor: "",
   107  					Eax:    "0000:0000:0000:0010:0000:0110:1101:0111",
   108  					Ebx:    "0000:0000:0000:0001:0000:1000:0000:0000",
   109  					Ecx:    "1001:0111:1011:1010:0010:0010:0010:1011",
   110  					Edx:    "0000:1111:1010:1011:1111:1011:1111:1111",
   111  				},
   112  				{
   113  					Level:  -2147483648,
   114  					Vendor: "",
   115  					Eax:    "1000:0000:0000:0000:0000:0000:0000:1000",
   116  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   117  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   118  					Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   119  				},
   120  				{
   121  					Level:  -2147483647,
   122  					Vendor: "",
   123  					Eax:    "0000:0000:0000:0000:0000:0000:0000:0000",
   124  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   125  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0001",
   126  					Edx:    "0010:1000:0001:0000:0000:1000:0000:0000",
   127  				},
   128  				{
   129  					Level:  -2147483640,
   130  					Vendor: "",
   131  					Eax:    "0000:0000:0000:0000:0011:0000:0010:1010",
   132  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   133  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   134  					Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   135  				},
   136  			},
   137  		},
   138  		{
   139  			Index:       1,
   140  			Vendor:      "intel",
   141  			Hz:          3591345000,
   142  			BusHz:       115849838,
   143  			Description: "Intel(R) Xeon(R) CPU E5-1620 0 @ 3.60GHz",
   144  			ThreadId:    []int16{1},
   145  			CpuFeature: []types.HostCpuIdInfo{
   146  				{
   147  					Level:  0,
   148  					Vendor: "",
   149  					Eax:    "0000:0000:0000:0000:0000:0000:0000:1101",
   150  					Ebx:    "0111:0101:0110:1110:0110:0101:0100:0111",
   151  					Ecx:    "0110:1100:0110:0101:0111:0100:0110:1110",
   152  					Edx:    "0100:1001:0110:0101:0110:1110:0110:1001",
   153  				},
   154  				{
   155  					Level:  1,
   156  					Vendor: "",
   157  					Eax:    "0000:0000:0000:0010:0000:0110:1101:0111",
   158  					Ebx:    "0000:0010:0000:0001:0000:1000:0000:0000",
   159  					Ecx:    "1001:0111:1011:1010:0010:0010:0010:1011",
   160  					Edx:    "0000:1111:1010:1011:1111:1011:1111:1111",
   161  				},
   162  				{
   163  					Level:  -2147483648,
   164  					Vendor: "",
   165  					Eax:    "1000:0000:0000:0000:0000:0000:0000:1000",
   166  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   167  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   168  					Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   169  				},
   170  				{
   171  					Level:  -2147483647,
   172  					Vendor: "",
   173  					Eax:    "0000:0000:0000:0000:0000:0000:0000:0000",
   174  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   175  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0001",
   176  					Edx:    "0010:1000:0001:0000:0000:1000:0000:0000",
   177  				},
   178  				{
   179  					Level:  -2147483640,
   180  					Vendor: "",
   181  					Eax:    "0000:0000:0000:0000:0011:0000:0010:1010",
   182  					Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   183  					Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   184  					Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   185  				},
   186  			},
   187  		},
   188  	},
   189  	MemorySize: 4294430720,
   190  	NumaInfo: &types.HostNumaInfo{
   191  		Type:     "NUMA",
   192  		NumNodes: 1,
   193  		NumaNode: []types.HostNumaNode{
   194  			{
   195  				TypeId:            0x0,
   196  				CpuID:             []int16{1, 0},
   197  				MemoryRangeBegin:  4294967296,
   198  				MemoryRangeLength: 1073741824,
   199  			},
   200  		},
   201  	},
   202  	SmcPresent: types.NewBool(false),
   203  	PciDevice: []types.HostPciDevice{
   204  		{
   205  			Id:           "0000:00:00.0",
   206  			ClassId:      1536,
   207  			Bus:          0x0,
   208  			Slot:         0x0,
   209  			Function:     0x0,
   210  			VendorId:     -32634,
   211  			SubVendorId:  5549,
   212  			VendorName:   "Intel Corporation",
   213  			DeviceId:     29072,
   214  			SubDeviceId:  6518,
   215  			ParentBridge: "",
   216  			DeviceName:   "Virtual Machine Chipset",
   217  		},
   218  		{
   219  			Id:           "0000:00:01.0",
   220  			ClassId:      1540,
   221  			Bus:          0x0,
   222  			Slot:         0x1,
   223  			Function:     0x0,
   224  			VendorId:     -32634,
   225  			SubVendorId:  0,
   226  			VendorName:   "Intel Corporation",
   227  			DeviceId:     29073,
   228  			SubDeviceId:  0,
   229  			ParentBridge: "",
   230  			DeviceName:   "440BX/ZX/DX - 82443BX/ZX/DX AGP bridge",
   231  		},
   232  		{
   233  			Id:           "0000:00:07.0",
   234  			ClassId:      1537,
   235  			Bus:          0x0,
   236  			Slot:         0x7,
   237  			Function:     0x0,
   238  			VendorId:     -32634,
   239  			SubVendorId:  5549,
   240  			VendorName:   "Intel Corporation",
   241  			DeviceId:     28944,
   242  			SubDeviceId:  6518,
   243  			ParentBridge: "",
   244  			DeviceName:   "Virtual Machine Chipset",
   245  		},
   246  		{
   247  			Id:           "0000:00:07.1",
   248  			ClassId:      257,
   249  			Bus:          0x0,
   250  			Slot:         0x7,
   251  			Function:     0x1,
   252  			VendorId:     -32634,
   253  			SubVendorId:  5549,
   254  			VendorName:   "Intel Corporation",
   255  			DeviceId:     28945,
   256  			SubDeviceId:  6518,
   257  			ParentBridge: "",
   258  			DeviceName:   "PIIX4 for 430TX/440BX/MX IDE Controller",
   259  		},
   260  		{
   261  			Id:           "0000:00:07.3",
   262  			ClassId:      1664,
   263  			Bus:          0x0,
   264  			Slot:         0x7,
   265  			Function:     0x3,
   266  			VendorId:     -32634,
   267  			SubVendorId:  5549,
   268  			VendorName:   "Intel Corporation",
   269  			DeviceId:     28947,
   270  			SubDeviceId:  6518,
   271  			ParentBridge: "",
   272  			DeviceName:   "Virtual Machine Chipset",
   273  		},
   274  		{
   275  			Id:           "0000:00:07.7",
   276  			ClassId:      2176,
   277  			Bus:          0x0,
   278  			Slot:         0x7,
   279  			Function:     0x7,
   280  			VendorId:     5549,
   281  			SubVendorId:  5549,
   282  			VendorName:   "VMware",
   283  			DeviceId:     1856,
   284  			SubDeviceId:  1856,
   285  			ParentBridge: "",
   286  			DeviceName:   "Virtual Machine Communication Interface",
   287  		},
   288  		{
   289  			Id:           "0000:00:0f.0",
   290  			ClassId:      768,
   291  			Bus:          0x0,
   292  			Slot:         0xf,
   293  			Function:     0x0,
   294  			VendorId:     5549,
   295  			SubVendorId:  5549,
   296  			VendorName:   "VMware",
   297  			DeviceId:     1029,
   298  			SubDeviceId:  1029,
   299  			ParentBridge: "",
   300  			DeviceName:   "SVGA II Adapter",
   301  		},
   302  		{
   303  			Id:           "0000:00:11.0",
   304  			ClassId:      1540,
   305  			Bus:          0x0,
   306  			Slot:         0x11,
   307  			Function:     0x0,
   308  			VendorId:     5549,
   309  			SubVendorId:  0,
   310  			VendorName:   "VMware",
   311  			DeviceId:     1936,
   312  			SubDeviceId:  0,
   313  			ParentBridge: "",
   314  			DeviceName:   "PCI bridge",
   315  		},
   316  		{
   317  			Id:           "0000:00:15.0",
   318  			ClassId:      1540,
   319  			Bus:          0x0,
   320  			Slot:         0x15,
   321  			Function:     0x0,
   322  			VendorId:     5549,
   323  			SubVendorId:  0,
   324  			VendorName:   "VMware",
   325  			DeviceId:     1952,
   326  			SubDeviceId:  0,
   327  			ParentBridge: "",
   328  			DeviceName:   "PCI Express Root Port",
   329  		},
   330  		{
   331  			Id:           "0000:00:15.1",
   332  			ClassId:      1540,
   333  			Bus:          0x0,
   334  			Slot:         0x15,
   335  			Function:     0x1,
   336  			VendorId:     5549,
   337  			SubVendorId:  0,
   338  			VendorName:   "VMware",
   339  			DeviceId:     1952,
   340  			SubDeviceId:  0,
   341  			ParentBridge: "",
   342  			DeviceName:   "PCI Express Root Port",
   343  		},
   344  		{
   345  			Id:           "0000:00:15.2",
   346  			ClassId:      1540,
   347  			Bus:          0x0,
   348  			Slot:         0x15,
   349  			Function:     0x2,
   350  			VendorId:     5549,
   351  			SubVendorId:  0,
   352  			VendorName:   "VMware",
   353  			DeviceId:     1952,
   354  			SubDeviceId:  0,
   355  			ParentBridge: "",
   356  			DeviceName:   "PCI Express Root Port",
   357  		},
   358  		{
   359  			Id:           "0000:00:15.3",
   360  			ClassId:      1540,
   361  			Bus:          0x0,
   362  			Slot:         0x15,
   363  			Function:     0x3,
   364  			VendorId:     5549,
   365  			SubVendorId:  0,
   366  			VendorName:   "VMware",
   367  			DeviceId:     1952,
   368  			SubDeviceId:  0,
   369  			ParentBridge: "",
   370  			DeviceName:   "PCI Express Root Port",
   371  		},
   372  		{
   373  			Id:           "0000:00:15.4",
   374  			ClassId:      1540,
   375  			Bus:          0x0,
   376  			Slot:         0x15,
   377  			Function:     0x4,
   378  			VendorId:     5549,
   379  			SubVendorId:  0,
   380  			VendorName:   "VMware",
   381  			DeviceId:     1952,
   382  			SubDeviceId:  0,
   383  			ParentBridge: "",
   384  			DeviceName:   "PCI Express Root Port",
   385  		},
   386  		{
   387  			Id:           "0000:00:15.5",
   388  			ClassId:      1540,
   389  			Bus:          0x0,
   390  			Slot:         0x15,
   391  			Function:     0x5,
   392  			VendorId:     5549,
   393  			SubVendorId:  0,
   394  			VendorName:   "VMware",
   395  			DeviceId:     1952,
   396  			SubDeviceId:  0,
   397  			ParentBridge: "",
   398  			DeviceName:   "PCI Express Root Port",
   399  		},
   400  		{
   401  			Id:           "0000:00:15.6",
   402  			ClassId:      1540,
   403  			Bus:          0x0,
   404  			Slot:         0x15,
   405  			Function:     0x6,
   406  			VendorId:     5549,
   407  			SubVendorId:  0,
   408  			VendorName:   "VMware",
   409  			DeviceId:     1952,
   410  			SubDeviceId:  0,
   411  			ParentBridge: "",
   412  			DeviceName:   "PCI Express Root Port",
   413  		},
   414  		{
   415  			Id:           "0000:00:15.7",
   416  			ClassId:      1540,
   417  			Bus:          0x0,
   418  			Slot:         0x15,
   419  			Function:     0x7,
   420  			VendorId:     5549,
   421  			SubVendorId:  0,
   422  			VendorName:   "VMware",
   423  			DeviceId:     1952,
   424  			SubDeviceId:  0,
   425  			ParentBridge: "",
   426  			DeviceName:   "PCI Express Root Port",
   427  		},
   428  		{
   429  			Id:           "0000:00:16.0",
   430  			ClassId:      1540,
   431  			Bus:          0x0,
   432  			Slot:         0x16,
   433  			Function:     0x0,
   434  			VendorId:     5549,
   435  			SubVendorId:  0,
   436  			VendorName:   "VMware",
   437  			DeviceId:     1952,
   438  			SubDeviceId:  0,
   439  			ParentBridge: "",
   440  			DeviceName:   "PCI Express Root Port",
   441  		},
   442  		{
   443  			Id:           "0000:00:16.1",
   444  			ClassId:      1540,
   445  			Bus:          0x0,
   446  			Slot:         0x16,
   447  			Function:     0x1,
   448  			VendorId:     5549,
   449  			SubVendorId:  0,
   450  			VendorName:   "VMware",
   451  			DeviceId:     1952,
   452  			SubDeviceId:  0,
   453  			ParentBridge: "",
   454  			DeviceName:   "PCI Express Root Port",
   455  		},
   456  		{
   457  			Id:           "0000:00:16.2",
   458  			ClassId:      1540,
   459  			Bus:          0x0,
   460  			Slot:         0x16,
   461  			Function:     0x2,
   462  			VendorId:     5549,
   463  			SubVendorId:  0,
   464  			VendorName:   "VMware",
   465  			DeviceId:     1952,
   466  			SubDeviceId:  0,
   467  			ParentBridge: "",
   468  			DeviceName:   "PCI Express Root Port",
   469  		},
   470  		{
   471  			Id:           "0000:00:16.3",
   472  			ClassId:      1540,
   473  			Bus:          0x0,
   474  			Slot:         0x16,
   475  			Function:     0x3,
   476  			VendorId:     5549,
   477  			SubVendorId:  0,
   478  			VendorName:   "VMware",
   479  			DeviceId:     1952,
   480  			SubDeviceId:  0,
   481  			ParentBridge: "",
   482  			DeviceName:   "PCI Express Root Port",
   483  		},
   484  		{
   485  			Id:           "0000:00:16.4",
   486  			ClassId:      1540,
   487  			Bus:          0x0,
   488  			Slot:         0x16,
   489  			Function:     0x4,
   490  			VendorId:     5549,
   491  			SubVendorId:  0,
   492  			VendorName:   "VMware",
   493  			DeviceId:     1952,
   494  			SubDeviceId:  0,
   495  			ParentBridge: "",
   496  			DeviceName:   "PCI Express Root Port",
   497  		},
   498  		{
   499  			Id:           "0000:00:16.5",
   500  			ClassId:      1540,
   501  			Bus:          0x0,
   502  			Slot:         0x16,
   503  			Function:     0x5,
   504  			VendorId:     5549,
   505  			SubVendorId:  0,
   506  			VendorName:   "VMware",
   507  			DeviceId:     1952,
   508  			SubDeviceId:  0,
   509  			ParentBridge: "",
   510  			DeviceName:   "PCI Express Root Port",
   511  		},
   512  		{
   513  			Id:           "0000:00:16.6",
   514  			ClassId:      1540,
   515  			Bus:          0x0,
   516  			Slot:         0x16,
   517  			Function:     0x6,
   518  			VendorId:     5549,
   519  			SubVendorId:  0,
   520  			VendorName:   "VMware",
   521  			DeviceId:     1952,
   522  			SubDeviceId:  0,
   523  			ParentBridge: "",
   524  			DeviceName:   "PCI Express Root Port",
   525  		},
   526  		{
   527  			Id:           "0000:00:16.7",
   528  			ClassId:      1540,
   529  			Bus:          0x0,
   530  			Slot:         0x16,
   531  			Function:     0x7,
   532  			VendorId:     5549,
   533  			SubVendorId:  0,
   534  			VendorName:   "VMware",
   535  			DeviceId:     1952,
   536  			SubDeviceId:  0,
   537  			ParentBridge: "",
   538  			DeviceName:   "PCI Express Root Port",
   539  		},
   540  		{
   541  			Id:           "0000:00:17.0",
   542  			ClassId:      1540,
   543  			Bus:          0x0,
   544  			Slot:         0x17,
   545  			Function:     0x0,
   546  			VendorId:     5549,
   547  			SubVendorId:  0,
   548  			VendorName:   "VMware",
   549  			DeviceId:     1952,
   550  			SubDeviceId:  0,
   551  			ParentBridge: "",
   552  			DeviceName:   "PCI Express Root Port",
   553  		},
   554  		{
   555  			Id:           "0000:00:17.1",
   556  			ClassId:      1540,
   557  			Bus:          0x0,
   558  			Slot:         0x17,
   559  			Function:     0x1,
   560  			VendorId:     5549,
   561  			SubVendorId:  0,
   562  			VendorName:   "VMware",
   563  			DeviceId:     1952,
   564  			SubDeviceId:  0,
   565  			ParentBridge: "",
   566  			DeviceName:   "PCI Express Root Port",
   567  		},
   568  		{
   569  			Id:           "0000:00:17.2",
   570  			ClassId:      1540,
   571  			Bus:          0x0,
   572  			Slot:         0x17,
   573  			Function:     0x2,
   574  			VendorId:     5549,
   575  			SubVendorId:  0,
   576  			VendorName:   "VMware",
   577  			DeviceId:     1952,
   578  			SubDeviceId:  0,
   579  			ParentBridge: "",
   580  			DeviceName:   "PCI Express Root Port",
   581  		},
   582  		{
   583  			Id:           "0000:00:17.3",
   584  			ClassId:      1540,
   585  			Bus:          0x0,
   586  			Slot:         0x17,
   587  			Function:     0x3,
   588  			VendorId:     5549,
   589  			SubVendorId:  0,
   590  			VendorName:   "VMware",
   591  			DeviceId:     1952,
   592  			SubDeviceId:  0,
   593  			ParentBridge: "",
   594  			DeviceName:   "PCI Express Root Port",
   595  		},
   596  		{
   597  			Id:           "0000:00:17.4",
   598  			ClassId:      1540,
   599  			Bus:          0x0,
   600  			Slot:         0x17,
   601  			Function:     0x4,
   602  			VendorId:     5549,
   603  			SubVendorId:  0,
   604  			VendorName:   "VMware",
   605  			DeviceId:     1952,
   606  			SubDeviceId:  0,
   607  			ParentBridge: "",
   608  			DeviceName:   "PCI Express Root Port",
   609  		},
   610  		{
   611  			Id:           "0000:00:17.5",
   612  			ClassId:      1540,
   613  			Bus:          0x0,
   614  			Slot:         0x17,
   615  			Function:     0x5,
   616  			VendorId:     5549,
   617  			SubVendorId:  0,
   618  			VendorName:   "VMware",
   619  			DeviceId:     1952,
   620  			SubDeviceId:  0,
   621  			ParentBridge: "",
   622  			DeviceName:   "PCI Express Root Port",
   623  		},
   624  		{
   625  			Id:           "0000:00:17.6",
   626  			ClassId:      1540,
   627  			Bus:          0x0,
   628  			Slot:         0x17,
   629  			Function:     0x6,
   630  			VendorId:     5549,
   631  			SubVendorId:  0,
   632  			VendorName:   "VMware",
   633  			DeviceId:     1952,
   634  			SubDeviceId:  0,
   635  			ParentBridge: "",
   636  			DeviceName:   "PCI Express Root Port",
   637  		},
   638  		{
   639  			Id:           "0000:00:17.7",
   640  			ClassId:      1540,
   641  			Bus:          0x0,
   642  			Slot:         0x17,
   643  			Function:     0x7,
   644  			VendorId:     5549,
   645  			SubVendorId:  0,
   646  			VendorName:   "VMware",
   647  			DeviceId:     1952,
   648  			SubDeviceId:  0,
   649  			ParentBridge: "",
   650  			DeviceName:   "PCI Express Root Port",
   651  		},
   652  		{
   653  			Id:           "0000:00:18.0",
   654  			ClassId:      1540,
   655  			Bus:          0x0,
   656  			Slot:         0x18,
   657  			Function:     0x0,
   658  			VendorId:     5549,
   659  			SubVendorId:  0,
   660  			VendorName:   "VMware",
   661  			DeviceId:     1952,
   662  			SubDeviceId:  0,
   663  			ParentBridge: "",
   664  			DeviceName:   "PCI Express Root Port",
   665  		},
   666  		{
   667  			Id:           "0000:00:18.1",
   668  			ClassId:      1540,
   669  			Bus:          0x0,
   670  			Slot:         0x18,
   671  			Function:     0x1,
   672  			VendorId:     5549,
   673  			SubVendorId:  0,
   674  			VendorName:   "VMware",
   675  			DeviceId:     1952,
   676  			SubDeviceId:  0,
   677  			ParentBridge: "",
   678  			DeviceName:   "PCI Express Root Port",
   679  		},
   680  		{
   681  			Id:           "0000:00:18.2",
   682  			ClassId:      1540,
   683  			Bus:          0x0,
   684  			Slot:         0x18,
   685  			Function:     0x2,
   686  			VendorId:     5549,
   687  			SubVendorId:  0,
   688  			VendorName:   "VMware",
   689  			DeviceId:     1952,
   690  			SubDeviceId:  0,
   691  			ParentBridge: "",
   692  			DeviceName:   "PCI Express Root Port",
   693  		},
   694  		{
   695  			Id:           "0000:00:18.3",
   696  			ClassId:      1540,
   697  			Bus:          0x0,
   698  			Slot:         0x18,
   699  			Function:     0x3,
   700  			VendorId:     5549,
   701  			SubVendorId:  0,
   702  			VendorName:   "VMware",
   703  			DeviceId:     1952,
   704  			SubDeviceId:  0,
   705  			ParentBridge: "",
   706  			DeviceName:   "PCI Express Root Port",
   707  		},
   708  		{
   709  			Id:           "0000:00:18.4",
   710  			ClassId:      1540,
   711  			Bus:          0x0,
   712  			Slot:         0x18,
   713  			Function:     0x4,
   714  			VendorId:     5549,
   715  			SubVendorId:  0,
   716  			VendorName:   "VMware",
   717  			DeviceId:     1952,
   718  			SubDeviceId:  0,
   719  			ParentBridge: "",
   720  			DeviceName:   "PCI Express Root Port",
   721  		},
   722  		{
   723  			Id:           "0000:00:18.5",
   724  			ClassId:      1540,
   725  			Bus:          0x0,
   726  			Slot:         0x18,
   727  			Function:     0x5,
   728  			VendorId:     5549,
   729  			SubVendorId:  0,
   730  			VendorName:   "VMware",
   731  			DeviceId:     1952,
   732  			SubDeviceId:  0,
   733  			ParentBridge: "",
   734  			DeviceName:   "PCI Express Root Port",
   735  		},
   736  		{
   737  			Id:           "0000:00:18.6",
   738  			ClassId:      1540,
   739  			Bus:          0x0,
   740  			Slot:         0x18,
   741  			Function:     0x6,
   742  			VendorId:     5549,
   743  			SubVendorId:  0,
   744  			VendorName:   "VMware",
   745  			DeviceId:     1952,
   746  			SubDeviceId:  0,
   747  			ParentBridge: "",
   748  			DeviceName:   "PCI Express Root Port",
   749  		},
   750  		{
   751  			Id:           "0000:00:18.7",
   752  			ClassId:      1540,
   753  			Bus:          0x0,
   754  			Slot:         0x18,
   755  			Function:     0x7,
   756  			VendorId:     5549,
   757  			SubVendorId:  0,
   758  			VendorName:   "VMware",
   759  			DeviceId:     1952,
   760  			SubDeviceId:  0,
   761  			ParentBridge: "",
   762  			DeviceName:   "PCI Express Root Port",
   763  		},
   764  		{
   765  			Id:           "0000:03:00.0",
   766  			ClassId:      263,
   767  			Bus:          0x3,
   768  			Slot:         0x0,
   769  			Function:     0x0,
   770  			VendorId:     5549,
   771  			SubVendorId:  5549,
   772  			VendorName:   "VMware",
   773  			DeviceId:     1984,
   774  			SubDeviceId:  1984,
   775  			ParentBridge: "0000:00:15.0",
   776  			DeviceName:   "PVSCSI SCSI Controller",
   777  		},
   778  		{
   779  			Id:           "0000:0b:00.0",
   780  			ClassId:      512,
   781  			Bus:          0xb,
   782  			Slot:         0x0,
   783  			Function:     0x0,
   784  			VendorId:     5549,
   785  			SubVendorId:  5549,
   786  			VendorName:   "VMware Inc.",
   787  			DeviceId:     1968,
   788  			SubDeviceId:  1968,
   789  			ParentBridge: "0000:00:16.0",
   790  			DeviceName:   "vmxnet3 Virtual Ethernet Controller",
   791  		},
   792  		{
   793  			Id:           "0000:13:00.0",
   794  			ClassId:      512,
   795  			Bus:          0x13,
   796  			Slot:         0x0,
   797  			Function:     0x0,
   798  			VendorId:     5549,
   799  			SubVendorId:  5549,
   800  			VendorName:   "VMware Inc.",
   801  			DeviceId:     1968,
   802  			SubDeviceId:  1968,
   803  			ParentBridge: "0000:00:17.0",
   804  			DeviceName:   "vmxnet3 Virtual Ethernet Controller",
   805  		},
   806  	},
   807  	CpuFeature: []types.HostCpuIdInfo{
   808  		{
   809  			Level:  0,
   810  			Vendor: "",
   811  			Eax:    "0000:0000:0000:0000:0000:0000:0000:1101",
   812  			Ebx:    "0111:0101:0110:1110:0110:0101:0100:0111",
   813  			Ecx:    "0110:1100:0110:0101:0111:0100:0110:1110",
   814  			Edx:    "0100:1001:0110:0101:0110:1110:0110:1001",
   815  		},
   816  		{
   817  			Level:  1,
   818  			Vendor: "",
   819  			Eax:    "0000:0000:0000:0010:0000:0110:1101:0111",
   820  			Ebx:    "0000:0000:0000:0001:0000:1000:0000:0000",
   821  			Ecx:    "1001:0111:1011:1010:0010:0010:0010:1011",
   822  			Edx:    "0000:1111:1010:1011:1111:1011:1111:1111",
   823  		},
   824  		{
   825  			Level:  -2147483648,
   826  			Vendor: "",
   827  			Eax:    "1000:0000:0000:0000:0000:0000:0000:1000",
   828  			Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   829  			Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   830  			Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   831  		},
   832  		{
   833  			Level:  -2147483647,
   834  			Vendor: "",
   835  			Eax:    "0000:0000:0000:0000:0000:0000:0000:0000",
   836  			Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   837  			Ecx:    "0000:0000:0000:0000:0000:0000:0000:0001",
   838  			Edx:    "0010:1000:0001:0000:0000:1000:0000:0000",
   839  		},
   840  		{
   841  			Level:  -2147483640,
   842  			Vendor: "",
   843  			Eax:    "0000:0000:0000:0000:0011:0000:0010:1010",
   844  			Ebx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   845  			Ecx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   846  			Edx:    "0000:0000:0000:0000:0000:0000:0000:0000",
   847  		},
   848  	},
   849  	BiosInfo: &types.HostBIOSInfo{
   850  		BiosVersion:          "6.00",
   851  		ReleaseDate:          nil,
   852  		Vendor:               "",
   853  		MajorRelease:         0,
   854  		MinorRelease:         0,
   855  		FirmwareMajorRelease: 0,
   856  		FirmwareMinorRelease: 0,
   857  	},
   858  	ReliableMemoryInfo: &types.HostReliableMemoryInfo{},
   859  }
   860  
   861  func init() {
   862  	date, _ := time.Parse("2006-01-02", "2015-07-02")
   863  
   864  	HostHardwareInfo.BiosInfo.ReleaseDate = &date
   865  }