Skip to content

Commit 0286be5

Browse files
committed
make test generic for all versions
1 parent 1265eb5 commit 0286be5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

cloudstack/data_source_cloudstack_network_offering_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func TestAccNetworkOfferingDataSource_withAdditionalParams(t *testing.T) {
6565
resource.TestCheckResourceAttrPair(datasourceName, "conserve_mode", resourceName, "conserve_mode"),
6666
resource.TestCheckResourceAttrPair(datasourceName, "for_vpc", resourceName, "for_vpc"),
6767
resource.TestCheckResourceAttrPair(datasourceName, "specify_vlan", resourceName, "specify_vlan"),
68-
resource.TestCheckResourceAttrPair(datasourceName, "network_mode", resourceName, "network_mode"),
6968
resource.TestCheckResourceAttrPair(datasourceName, "enable", resourceName, "enable"),
7069
),
7170
},
@@ -110,7 +109,6 @@ func TestAccNetworkOfferingDataSource_forVPC(t *testing.T) {
110109
Check: resource.ComposeTestCheckFunc(
111110
resource.TestCheckResourceAttrPair(datasourceName, "name", resourceName, "name"),
112111
resource.TestCheckResourceAttrPair(datasourceName, "for_vpc", resourceName, "for_vpc"),
113-
resource.TestCheckResourceAttrPair(datasourceName, "routing_mode", resourceName, "routing_mode"),
114112
resource.TestCheckResourceAttrPair(datasourceName, "internet_protocol", resourceName, "internet_protocol"),
115113
resource.TestCheckResourceAttr(datasourceName, "for_vpc", "true"),
116114
),
@@ -170,7 +168,6 @@ resource "cloudstack_network_offering" "net-off-resource"{
170168
guest_ip_type = "Isolated"
171169
traffic_type = "Guest"
172170
network_rate = 100
173-
network_mode = "NATTED"
174171
conserve_mode = true
175172
enable = true
176173
for_vpc = false
@@ -233,7 +230,6 @@ resource "cloudstack_network_offering" "net-off-resource"{
233230
guest_ip_type = "Isolated"
234231
traffic_type = "Guest"
235232
for_vpc = true
236-
routing_mode = "Static"
237233
internet_protocol = "IPv4"
238234
conserve_mode = false
239235
supported_services = ["Dhcp", "Dns", "NetworkACL", "SourceNat", "StaticNat", "PortForwarding"]

terraform-provider-cloudstack

-39.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)