Skip to content

Commit

Permalink
add "Standard_DS3_v2" to "AcceleratedNetworking" supported list (Azur…
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwu449 authored and Wenjun Wu committed Jan 2, 2020
1 parent 65d6dca commit af61615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/helpers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 4 additions & 0 deletions pkg/helpers/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ func TestAcceleratedNetworkingSupported(t *testing.T) {
input: "Standard_DS2_v2",
expectedResult: true,
},
{
input: "Standard_DS3_v2",
expectedResult: true,
},
{
input: "",
expectedResult: false,
Expand Down

0 comments on commit af61615

Please sign in to comment.