From 3a2dcb2cb89fab9b05d50ff52a64e1d2155d82ac Mon Sep 17 00:00:00 2001 From: Wenjun Wu Date: Thu, 2 Jan 2020 08:33:44 -0800 Subject: [PATCH] add "Standard_DS3_v2" to "AcceleratedNetworking" supported list (#2509) --- pkg/helpers/helpers.go | 2 +- pkg/helpers/helpers_test.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/helpers/helpers.go b/pkg/helpers/helpers.go index f69e426709..f948a4badc 100644 --- a/pkg/helpers/helpers.go +++ b/pkg/helpers/helpers.go @@ -114,7 +114,7 @@ func AcceleratedNetworkingSupported(sku string) bool { // Trim the optional _Promo suffix. sku = strings.TrimSuffix(sku, "_Promo") switch sku { - case "Standard_D3_v2", "Standard_D12_v2", "Standard_DS13-4_v2", "Standard_DS14-4_v2", "Standard_F4", "Standard_F4s", "Standard_D8_v3", "Standard_D8s_v3", + case "Standard_D3_v2", "Standard_DS3_v2", "Standard_D12_v2", "Standard_DS13-4_v2", "Standard_DS14-4_v2", "Standard_F4", "Standard_F4s", "Standard_D8_v3", "Standard_D8s_v3", "Standard_D32-8s_v3", "Standard_E8_v3", "Standard_E8s_v3", "Standard_D3_v2_ABC", "Standard_D12_v2_ABC", "Standard_F4_ABC", "Standard_F8s_v2", "Standard_D4_v2", "Standard_D13_v2", "Standard_DS4_v2", diff --git a/pkg/helpers/helpers_test.go b/pkg/helpers/helpers_test.go index 074b49b081..d958fb3b35 100644 --- a/pkg/helpers/helpers_test.go +++ b/pkg/helpers/helpers_test.go @@ -222,6 +222,10 @@ func TestAcceleratedNetworkingSupported(t *testing.T) { input: "Standard_DS2_v2", expectedResult: true, }, + { + input: "Standard_DS3_v2", + expectedResult: true, + }, { input: "", expectedResult: false,