github.com/vmware/govmomi@v0.43.0/simulator/esx/setting.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 "github.com/vmware/govmomi/vim25/types" 20 21 // HardwareVersion is the default VirtualMachine.Config.Version 22 var HardwareVersion = "vmx-13" 23 24 // AdvancedOptions is captured from ESX's HostSystem.configManager.advancedOption 25 // Capture method: 26 // 27 // govc object.collect -s -dump $(govc object.collect -s HostSystem:ha-host configManager.advancedOption) setting 28 var AdvancedOptions = []types.BaseOptionValue{ 29 // This list is currently pruned to include a single option for testing 30 &types.OptionValue{ 31 Key: "Config.HostAgent.log.level", 32 Value: "info", 33 }, 34 } 35 36 // Setting is captured from ESX's HostSystem.ServiceContent.setting 37 // Capture method: 38 // 39 // govc object.collect -s -dump OptionManager:HostAgentSettings setting 40 var Setting = []types.BaseOptionValue{}