From 32e73dac1901997ac3098d2d8154268aeaa1bf06 Mon Sep 17 00:00:00 2001 From: Eli Ben-Shoshan Date: Mon, 8 Jan 2024 14:03:47 -0500 Subject: [PATCH 1/2] Present the MAC address of network interfaces Signed-off-by: Eli Ben-Shoshan --- oneview/data_source_server_profile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oneview/data_source_server_profile.go b/oneview/data_source_server_profile.go index d474bd28..2b5c3338 100644 --- a/oneview/data_source_server_profile.go +++ b/oneview/data_source_server_profile.go @@ -1361,6 +1361,7 @@ func dataSourceServerProfileRead(d *schema.ResourceData, meta interface{}) error "name": connection.Name, "isolated_trunk": connection.IsolatedTrunk, "lag_name": connection.LagName, + "mac": connection.MAC, "mac_type": connection.MacType, "managed": connection.Managed, "network_name": connection.NetworkName, From 71c3e7d8eea86520d2b082236ace456de6720d1b Mon Sep 17 00:00:00 2001 From: Eli Ben-Shoshan Date: Mon, 8 Jan 2024 14:04:13 -0500 Subject: [PATCH 2/2] Present the MAC address of network interfaces when creating server profiles. Signed-off-by: Eli Ben-Shoshan --- oneview/resource_server_profile.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oneview/resource_server_profile.go b/oneview/resource_server_profile.go index 26444191..584cd138 100644 --- a/oneview/resource_server_profile.go +++ b/oneview/resource_server_profile.go @@ -2457,6 +2457,7 @@ func resourceServerProfileRead(d *schema.ResourceData, meta interface{}) error { "isolated_trunk": connection.IsolatedTrunk, "lag_name": connection.LagName, "mac_type": connection.MacType, + "mac": connection.MAC, "managed": connection.Managed, "network_name": connection.NetworkName, "boot": connectionBoot,