github.com/vmware/govmomi@v0.51.0/simulator/vpx/setting.go (about)

     1  // © Broadcom. All Rights Reserved.
     2  // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  package vpx
     6  
     7  import "github.com/vmware/govmomi/vim25/types"
     8  
     9  // TODO: figure out whether this is Setting or AdvancedOptions - see esx/setting.go for the difference
    10  
    11  // Setting is captured from VC's ServiceContent.OptionManager.setting
    12  var Setting = []types.BaseOptionValue{
    13  	// This list is currently pruned to include sso options only with sso.enabled set to false
    14  	&types.OptionValue{
    15  		Key:   "config.vpxd.sso.sts.uri",
    16  		Value: "https://127.0.0.1/sts/STSService/vsphere.local",
    17  	},
    18  	&types.OptionValue{
    19  		Key:   "config.vpxd.sso.solutionUser.privateKey",
    20  		Value: "/etc/vmware-vpx/ssl/vcsoluser.key",
    21  	},
    22  	&types.OptionValue{
    23  		Key:   "config.vpxd.sso.solutionUser.name",
    24  		Value: "vpxd-b643d01c-928f-469b-96a5-d571d762a78e@vsphere.local",
    25  	},
    26  	&types.OptionValue{
    27  		Key:   "config.vpxd.sso.solutionUser.certificate",
    28  		Value: "/etc/vmware-vpx/ssl/vcsoluser.crt",
    29  	},
    30  	&types.OptionValue{
    31  		Key:   "config.vpxd.sso.groupcheck.uri",
    32  		Value: "https://127.0.0.1/sso-adminserver/sdk/vsphere.local",
    33  	},
    34  	&types.OptionValue{
    35  		Key:   "config.vpxd.sso.enabled",
    36  		Value: "false",
    37  	},
    38  	&types.OptionValue{
    39  		Key:   "config.vpxd.sso.default.isGroup",
    40  		Value: "false",
    41  	},
    42  	&types.OptionValue{
    43  		Key:   "config.vpxd.sso.default.admin",
    44  		Value: "Administrator@vsphere.local",
    45  	},
    46  	&types.OptionValue{
    47  		Key:   "config.vpxd.sso.admin.uri",
    48  		Value: "https://127.0.0.1/sso-adminserver/sdk/vsphere.local",
    49  	},
    50  	&types.OptionValue{
    51  		Key:   "VirtualCenter.InstanceName",
    52  		Value: "127.0.0.1",
    53  	},
    54  	&types.OptionValue{
    55  		Key:   "event.batchsize",
    56  		Value: int32(2000),
    57  	},
    58  	&types.OptionValue{
    59  		Key:   "event.maxAge",
    60  		Value: int32(30),
    61  	},
    62  	&types.OptionValue{
    63  		Key:   "event.maxAgeEnabled",
    64  		Value: bool(true),
    65  	},
    66  }