You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need the MAC address of the various interfaces after creating a server profile from a server profile template deployed on a Synergy OneView cluster. This is to automate the creation of DHCP reservations in preparation for OS install.
Scenario:
I need the MAC address of the various interfaces after creating a server profile from a server profile template deployed on a Synergy OneView cluster. This is to automate the creation of DHCP reservations in preparation for OS install.
Environment:
Terraform OneView Provider 8.6
API Version: 3800
Example:
resource "oneview_server_profile" "profile" {
name = "servername"
hardware_name = data.oneview_server_hardware.frame1-bay1.name
server_hardware_type = data.oneview_server_profile_template.AZ1-SY480G11-20231215.server_hardware_type
template = data.oneview_server_profile_template.AZ1-SY480G11-20231215.name
scopes_uri = data.oneview_scope.scope.uri
}
output "profile" {
value = oneview_server_profile.profile.connection_settings
sensitive = true
}
Abbreviated output from "terraform output -json":
notice how "mac" is empty.
Expected output from "terraform output -json":
The same thing happens when you use a data source as well.
The text was updated successfully, but these errors were encountered: