github.com/vmware/govmomi@v0.37.1/simulator/vpx/setting.go (about) 1 /* 2 Copyright (c) 2017 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 vpx 18 19 import "github.com/vmware/govmomi/vim25/types" 20 21 // TODO: figure out whether this is Setting or AdvancedOptions - see esx/setting.go for the difference 22 23 // Setting is captured from VC's ServiceContent.OptionManager.setting 24 var Setting = []types.BaseOptionValue{ 25 // This list is currently pruned to include sso options only with sso.enabled set to false 26 &types.OptionValue{ 27 Key: "config.vpxd.sso.sts.uri", 28 Value: "https://127.0.0.1/sts/STSService/vsphere.local", 29 }, 30 &types.OptionValue{ 31 Key: "config.vpxd.sso.solutionUser.privateKey", 32 Value: "/etc/vmware-vpx/ssl/vcsoluser.key", 33 }, 34 &types.OptionValue{ 35 Key: "config.vpxd.sso.solutionUser.name", 36 Value: "vpxd-b643d01c-928f-469b-96a5-d571d762a78e@vsphere.local", 37 }, 38 &types.OptionValue{ 39 Key: "config.vpxd.sso.solutionUser.certificate", 40 Value: "/etc/vmware-vpx/ssl/vcsoluser.crt", 41 }, 42 &types.OptionValue{ 43 Key: "config.vpxd.sso.groupcheck.uri", 44 Value: "https://127.0.0.1/sso-adminserver/sdk/vsphere.local", 45 }, 46 &types.OptionValue{ 47 Key: "config.vpxd.sso.enabled", 48 Value: "false", 49 }, 50 &types.OptionValue{ 51 Key: "config.vpxd.sso.default.isGroup", 52 Value: "false", 53 }, 54 &types.OptionValue{ 55 Key: "config.vpxd.sso.default.admin", 56 Value: "Administrator@vsphere.local", 57 }, 58 &types.OptionValue{ 59 Key: "config.vpxd.sso.admin.uri", 60 Value: "https://127.0.0.1/sso-adminserver/sdk/vsphere.local", 61 }, 62 &types.OptionValue{ 63 Key: "VirtualCenter.InstanceName", 64 Value: "127.0.0.1", 65 }, 66 &types.OptionValue{ 67 Key: "event.batchsize", 68 Value: int32(2000), 69 }, 70 &types.OptionValue{ 71 Key: "event.maxAge", 72 Value: int32(30), 73 }, 74 &types.OptionValue{ 75 Key: "event.maxAgeEnabled", 76 Value: bool(true), 77 }, 78 }