layout | page_title | sidebar_current | description |
---|---|---|---|
oneview |
Provider: OneView |
docs-oneview-index |
The Oneview provider is used to interact with your on premise OneView system. The provider needs to be configured with the proper credentials before it can be used. |
The Oneview provider is used to interact with OneView. The provider needs to be configured with the proper credentials before it can be used.
//Configure the Oneview Provider
provider "oneview" {
ov_username = "username"
ov_password = "password123"
ov_endpoint = oneview_url.com
ov_sslverify = true
ov_apiversion = 200
}
//Create a new ethernet network
resource "oneview_ethernet_network" {
// ...
}
The Oneview provider supports static credentials and environment variables.
The following keys can be used to configure the provider.
-
ov_username
- (Optional) This is the OneView username. It must be provided or sourced from ONEVIEW_OV_USER environment variable. -
ov_password
- (Optional) This is the OneView password. It must be provided or sourced from ONEVIEW_OV_PASSWORD environment variable. -
ov_endpoint
- (Optional) This is the OneView URL. It must be provided or sourced from ONEVIEW_OV_ENDPOINT environment variable. -
ov_sslverify
- (Optional) This is a boolean value for whether ssl is enabled. It must be provided or sourced from ONEVIEW_OV_SSLVERIFY environment variable. -
ov_apiversion
- (Optional) This specifies what API version to use. It must be provided or sourced from ONEVIEW_OV_API_VERSION environment variable. -
ov_domain
- (Optional) This is the domain to use for the oneview system. It can be provided or sourced from ONEVIEW_OV_DOMAIN environment variable. -
icsp_username
- (Optional) This is the username to connect to an ICSP instance It can be provided or sourced from ONEVIEW_ICSP_USER environment variable. -
icsp_password
- (Optional) This is the password to connect to an ICSP instance It can be provided or sourced from ONEVIEW_ICSP_PASSWORD environment variable. -
icsp_endpoint
- (Optional) This is the url to connect to an ICSP instance It can be provided or sourced from ONEVIEW_ICSP_ENDPOINT environment variable. -
icsp_sslverify
- (Optional) This is a boolean value for whether ssl is enabled to an ICSP instance It can be provided or sourced from ONEVIEW_ICSP_SSLVERIFY environment variable. -
icsp_apiversion
- (Optional) This is the api version to be used with an ICSP instance It can be provided or sourced from ONEVIEW_ICSP_API_VERSION environment variable. -
i3s_endpoint
- (Optional) This is the endpoint to connect to an image streamer instance It can be provided or sourced from ONEVIEW_I3S_ENDPOINT environment variable.