github.com/vmware/go-vcloud-director/v2@v2.24.0/govcd/sample_govcd_test_config.yaml (about) 1 # COPY THIS FILE to govcd_test_config.yaml 2 # in the same directory and change the values 3 # to match your environment. 4 # 5 # All items in this file must exist already 6 # (They will not be removed or left altered) 7 # The test will create a vApp and remove it at the end 8 # 9 provider: 10 # vCD administrator credentials 11 # (Providing org credentials will skip some tests) 12 user: someuser 13 password: somepassword 14 # If token is provided, username and password are ignored 15 token: an_auth_token 16 # If useSamlAdfs is true - client will try to authenticate against ADFS using SAML. 17 useSamlAdfs: false 18 # customAdfsRptId allows to specify custom Relaying Party Trust Identifier. By default client 19 # will use vCD SAML Entity ID 20 # customAdfsRptId: "" 21 22 # The 3 fields below allow to set SAML credentials for tests that specifically use it. 23 # May be useful when local user credentials are used by default. Such credentials will 24 # authenticate to Org specified in vcd.org parameter. 25 # samlUser: test@test-forest.net 26 # samlPassword: XXX 27 # samlCustomRptId: "my-optional-custom-relaying-party-trust-id" 28 # 29 # The vCD address, in the format https://vCD_IP/api 30 # or https://vCD_host_name/api 31 url: https://11.111.1.111/api 32 # 33 # The organization you are authenticating with 34 sysOrg: System 35 # (Optional) MaxRetryTimeout specifies a time limit (in seconds) for retrying requests made by the SDK 36 # where VMware Cloud Director may take time to respond and retry mechanism is needed. 37 # This must be >0 to avoid instant timeout errors. If omitted - default value is set. 38 # maxRetryTimeout: 60 39 # 40 # (Optional) httpTimeout specifies a time limit (in seconds) for waiting http response. 41 # If omitted - default value is set. 42 # httpTimeout: 600 43 # 'tenants' is an array of org users with their relative organization 44 # This structure makes it easier to run go-vcloud-director tests as org-user 45 # with the options '-vcd-test-org-user' (bool) and '-vcd-connect-tenant' (int) 46 tenants: 47 # the first user is the one that will be picked by default when -vcd-test-org-user is set 48 - user: user-first-org 49 password: password-first-user 50 sysOrg: first-org 51 token: optional-token 52 api_token: optional-api-token 53 # with -vcd-connect-tenant=1 the second user will be picked for connection 54 - user: user-second-org 55 password: password-second-org 56 sysOrg: second-org 57 token: optional-token 58 api_token: optional-api-token 59 vcd: 60 # Name of the organization (mandatory) 61 org: myorg 62 # 63 # The virtual data center (mandatory) 64 # The tests will create a vApp here 65 # 66 vdc: myvdc 67 # Provider VDC; if omitted, some tests will be skipped 68 provider_vdc: 69 name: myprovidervdc 70 storage_profile: mystorageprofile 71 network_pool: mynetworkpool 72 # Provider VDC details for NSX-T testing 73 nsxt_provider_vdc: 74 name: nsxTPvdc1 75 storage_profile: "*" 76 storage_profile_2: "Development2" 77 network_pool: "NSX-T Overlay 1" 78 # A VM Group that needs to exist in the backing vSphere. This VM Group can be used 79 # to create VM Placement Policies. 80 placementPolicyVmGroup: testVmGroup 81 nsxt: 82 # NSX-T manager name to be used as defined in VCD 83 manager: nsxManager1 84 # NSX-T tier-0 router used for external network tests 85 tier0router: tier-0-router 86 # NSX-T tier-0 VRF router used for external network tests 87 tier0routerVrf: tier-0-router-vrf 88 # Gateway QoS Profile used for NSX-T Edge Gateway Rate Limiting (defined in NSX-T Manager) 89 gatewayQosProfile: Gateway QoS Profile 1 90 # Existing External Network with correct configuration 91 externalNetwork: tier0-backed-external-network 92 # Existing NSX-T based VDC 93 vdc: nsxt-vdc-name 94 # Distributed Virtual Port Group in vSphere that is available for NSX-T cluster 95 nsxtDvpg: test-nsxt-dvpg-no-uplink 96 # Existing NSX-T edge gateway 97 edgeGateway: nsxt-gw-name 98 # Existing NSX-T segment to test NSX-T Imported Org Vdc network 99 nsxtImportSegment: vcd-org-vdc-imported-network-backing 100 # Existing NSX-T segment to test Edge Gateway Uplinks 101 nsxtImportSegment2: vcd-org-vdc-imported-network-backing2 102 # Existing NSX-T Edge Cluster name 103 nsxtEdgeCluster: existing-nsxt-edge-cluster 104 # AVI Controller URL 105 nsxtAlbControllerUrl: https://unknown-hostname.com 106 # AVI Controller username 107 nsxtAlbControllerUser: admin 108 # AVI Controller password 109 nsxtAlbControllerPassword: CHANGE-ME 110 # AVI Controller importable Cloud name 111 nsxtAlbImportableCloud: NSXT AVI Cloud 112 # Service Engine Group name within (Should be configured in Active Standby mode) 113 nsxtAlbServiceEngineGroup: active-standby-service-engine-group 114 # IP Discovery profile defined in NSX-T Manager 115 ipDiscoveryProfile: "ip-discovery-profile" 116 # MAC Discovery profile defined in NSX-T Manager 117 macDiscoveryProfile: "mac-discovery-profile" 118 # Spoof Guard profile defined in NSX-T Manager 119 spoofGuardProfile: "spoof-guard-profile" 120 # QoS profile defined in NSX-T Manager 121 qosProfile: "qos-profile" 122 # Segment Security profile defined in NSX-T Manager 123 segmentSecurityProfile: "segment-security-profile" 124 # An Org catalog, possibly containing at least one item 125 catalog: 126 name: mycat 127 nsxtBackedCatalogName: my-nsxt-catalog 128 # One item in the catalog. It will be used to compose test vApps. Some tests rely on it 129 # being Photon OS. If it is not Photon OS - some tests will be skipped 130 catalogItem: myitem 131 # One item in the NSX-T catalog. It will be used to compose test vApps. Some tests rely on it 132 # being Photon OS. If it is not Photon OS - some tests will be skipped 133 nsxtCatalogItem: my-nsxt-item 134 # Item in the NSX-T catalog that has a newer hardware version and supports EFI boot. 135 catalogItemWithEfiSupport: my-cat-item-with-efi-support 136 # 137 # An optional description for the catalog. Its test will be skipped if omitted. 138 # If provided, it must be the current description of the catalog 139 description: mycat for loading 140 # 141 # An optional description for the catalog item 142 catalogItemDescription: myitem to create vapps 143 # 144 # Item in the catalog. If available it will be used to test vApp with multi VMs and `ovaMultiVmPath` will be ignored 145 catalogItemWithMultiVms: my item with multi VMs 146 # Name of VM in `catalogItemWithMultiVms` template or in `ovaMultiVmPath` if `catalogItemWithMultiVms` isn't provided. Default vmName `thirdVM` in default OVA. 147 vmNameInMultiVmItem: thirdVM 148 # Existing VDC networks. At least one is needed. 149 network: 150 # First vdc network (mandatory) 151 network1: "mynet" 152 # Second vdc network. If omitted, some tests will be skipped. 153 network2: "mynet2" 154 # Storage profiles used in the vDC 155 # One or two can be listed 156 storageProfile: 157 # First storage profile (mandatory) 158 storageProfile1: Development 159 # Second storage profile. If omitted, some tests will be skipped. 160 storageProfile2: "*" 161 # An edge gateway 162 # (see https://pubs.vmware.com/vca/topic/com.vmware.vcloud.api.doc_56/GUID-18B0FB8B-385C-4B6D-982C-4B24D271C646.html) 163 edgeGateway: myedgegw 164 # 165 # The IP of the gateway (must exist) 166 externalIp: 10.150.10.10 167 # 168 # netmask for the external IP (MANDATORY for edge GW VPN) 169 externalNetmask: 255.255.224.0 170 # 171 # A free IP in the Org vDC network 172 internalIp: 192.168.1.10 173 # 174 # netmask for the internal IP (MANDATORY for edge GW VPN) 175 internalNetmask: 255.255.255.0 176 # 177 # An existing external Network name 178 externalNetwork: myexternalnet 179 # 180 # A port group name for creating a new external network in tests 181 externalNetworkPortGroup: ForTestingPG 182 # 183 # A port group type for creating a new external network in tests. Can be DV_PORTGROUP or NETWORK 184 externalNetworkPortGroupType: NETWORK 185 # 186 # A vSphere server name for creating an external network 187 vimServer: vc9 188 # 189 # IP of a pre-configured LDAP server 190 # using Docker image https://github.com/rroemhild/docker-test-openldap 191 ldap_server: 10.10.10.99 192 vsphere: 193 # resource pools needed to create new provider VDCs 194 resourcePoolForVcd1: resource-pool-for-vcd-01 195 resourcePoolForVcd2: resource-pool-for-vcd-02 196 logging: 197 # All items in this section are optional 198 # Logging is disabled by default. 199 # See ./util/LOGGING.md for more info 200 # 201 # Enables or disables logs 202 enabled: true 203 # 204 # changes the log name 205 logFileName: "go-vcloud-director.log" 206 # 207 # Defines whether we log the requests in HTTP operations 208 logHttpRequests: true 209 # 210 # Defines whether we log the responses in HTTP operations 211 logHttpResponses: true 212 # 213 # Comma-separated list of XML tags to skip from the API logs 214 skipResponseTags: SupportedVersions,VAppTemplate 215 # 216 # Comma-separated list of functions from where we log the API calls. 217 # When this is set, we only log API requests and responses if the name 218 # of the function matches any of the names in this list. 219 logFunctions: FindVAppByName,GetAdminOrgByName 220 # 221 # Shows details of cleanup operations after tests 222 verboseCleanup: true 223 ova: 224 # The ova for uploading catalog item for tests. 225 # Default paths are simple ova provided by project 226 # Empty values skips the tests 227 # Absolute or relative path 228 ovaPath: ../test-resources/test_vapp_template.ova 229 # 230 # The chunked ova (vmdk inside are split) for tests 231 ovaChunkedPath: ../test-resources/template_with_custom_chunk_size.ova 232 # 233 # The ova with multi VMs for tests. 234 ovaMultiVmPath: ../test-resources/vapp_with_3_vms.ova 235 # 236 # The ova with no VMDK size in ovf for tests. 237 ovaWithoutSizePath: ../test-resources/template_without_vmdk_size.ova 238 # 239 # The ovf for uploading catalog item for tests. 240 ovfPath: ../test-resources/test_vapp_template_ovf/descriptor.ovf 241 # 242 # The OVF URL for uploading catalog item for tests. 243 ovfUrl: https://raw.githubusercontent.com/vmware/go-vcloud-director/main/test-resources/test_vapp_template_ovf/descriptor.ovf 244 media: 245 # The iso for uploading media item for tests. 246 # Default paths are simple iso provided by project 247 # Empty values skips the tests 248 # Absolute or relative path 249 mediaPath: ../test-resources/test.iso 250 # Existing media in NSX-V backed VDC 251 mediaName: uploadedMediaName 252 # Existing media in NSX-T backed VDC 253 nsxtBackedMediaName: nsxtMediaName 254 # A valid UI Plugin to use in tests 255 uiPluginPath: ../test-resources/ui_plugin.zip 256 cse: 257 # The CSE version installed in VCD 258 version: "4.2.0" 259 # The organization where Container Service Extension (CSE) Server is running 260 solutionsOrg: "solutions_org" 261 # The organization where the Kubernetes clusters are created 262 tenantOrg: "tenant_org" 263 # The VDC where the Kubernetes clusters are created 264 tenantVdc: "tenant_vdc" 265 # The network which the Kubernetes clusters use 266 routedNetwork: "tenant_net_routed" 267 # The edge gateway which the Kubernetes clusters use 268 edgeGateway: "tenant_edgegateway" 269 # The storage profile which the Kubernetes clusters use 270 storageProfile: "*" 271 # The catalog which the Kubernetes clusters use 272 ovaCatalog: "tkgm_catalog" 273 # The TKGm OVA which the Kubernetes clusters use 274 ovaName: "ubuntu-2004-kube-v1.25.7+vmware.2-tkg.1-8a74b9f12e488c54605b3537acb683bc"