layout | page_title | sidebar_current | description |
---|---|---|---|
oneview |
Oneview: server_profile_template |
docs-oneview-server-profile-template |
Creates a server profile template. |
Creates a server profile template.
resource "oneview_server_profile_template" "default" {
name = "test-server-profile-template"
enclosure_group = "my_enclosure_group"
server_hardware_type = "BL460c Gen9 1"
}
The following arguments are supported:
-
name
- (Required) A unique name for the resource. -
enclosure_group
- (Required) Identifies the enclosure group name for which the Server Profile Template was designed. The enclosure group is determined when the profile template is created and cannot be modified. -
server_hardware_type
- (Required) Identifies the server hardware type name for which the Server Profile Template was designed. The server hardware type is determined when the profile template is created and cannot be modified.
-
affinity
- (Optional) This identifies the behavior of the server profiles created from this template when the server hardware is removed or replaced. This can be set to Bay or BayAndServer. This defaults to Bay. -
network
- (Optional) Network connection to be configured for the server. Can be specified multiple times. Network configuration is specified below. -
hide_unused_flex_nics
- (Optional) Hides flex nics that aren't in use. This defaults to true. -
serial_number_type
- (Optional) Specifies the type of Serial Number and UUID to be programmed into the server ROM. The value can be 'Virtual' or 'Physical'. Changing this forces a new resource. This defaults to 'Virtual'. -
wwn_type
- (Optional) Specifies the type of WWN address to be programmed into the IO devices. The value can be 'Virtual' or 'Physical'. Changing this forces a new resource. This defaults to 'Virtual'. -
mac_type
- (Optional) Specifies the type of MAC address to be programmed into the IO devices. The value can be 'Virtual' or 'Physical'. Changing this forces a new resource. This defaults to 'Virtual'. -
mac_type
- (Optional) Specifies the type of MAC address to be programmed into the IO devices. The value can be 'Virtual' or 'Physical'. Changing this forces a new resource. This defaults to 'Virtual'. -
boot_order
- (Optional) Defines the order in which boot will be attempted on the available devices. Different hardware take different boot orders. Refer to the api documentation for your specific boot order options.
Network supports the following:
-
name
- (Required) A unique name for the resource. -
function_type
- (Required) Type of function required for the connection. Values can be 'Ethernet' or 'FibreChannel' Changing this forces a new resoure. -
network_uri
- (Required) Identifies the network or network set to be connected. -
port_id
- (Optional) Identifies the port (FlexNIC) used for this connection. Defaults to "Lom 1:1-a". -
requested_mbps
- (Optional) The transmit throughput (mbps) that should be allocated to this connection. Defaults to2500
In addition to the arguments listed above, the following computed attributes are exported:
-
uri
- The URI of the created resource. -
eTag
- Entity tag/version ID of the resource.