Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 9ffeae7

Browse files
author
Kirill Shirinkin
committed
Remove references to router type
1 parent 87b8fa6 commit 9ffeae7

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

openstack/networking/v2/extensions/layer3/routers/requests.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ type ListOpts struct {
1818
AdminStateUp *bool `q:"admin_state_up"`
1919
Status string `q:"status"`
2020
TenantID string `q:"tenant_id"`
21-
RouterType string `q:"router_type"`
2221
Limit int `q:"limit"`
2322
Marker string `q:"marker"`
2423
SortKey string `q:"sort_key"`

openstack/networking/v2/extensions/layer3/routers/requests_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func TestList(t *testing.T) {
3737
"name": "second_routers",
3838
"admin_state_up": true,
3939
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
40-
"router_type": "shared",
4140
"id": "7177abc4-5ae9-4bb7-b0d4-89e94a4abf3b"
4241
},
4342
{
@@ -48,7 +47,6 @@ func TestList(t *testing.T) {
4847
"name": "router1",
4948
"admin_state_up": true,
5049
"tenant_id": "33a40233088643acb66ff6eb0ebea679",
51-
"router_type": "shared",
5250
"id": "a9254bdb-2613-4a13-ac4c-adc581fba50d"
5351
}
5452
]
@@ -131,7 +129,6 @@ func TestCreate(t *testing.T) {
131129
"name": "foo_router",
132130
"admin_state_up": false,
133131
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
134-
"router_type": "shared",
135132
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e"
136133
}
137134
}
@@ -181,7 +178,6 @@ func TestGet(t *testing.T) {
181178
"name": "router1",
182179
"admin_state_up": true,
183180
"tenant_id": "d6554fe62e2f41efbb6e026fad5c1542",
184-
"router_type": "shared",
185181
"id": "a07eea83-7710-4860-931b-5fe220fae533"
186182
}
187183
}
@@ -239,7 +235,6 @@ func TestUpdate(t *testing.T) {
239235
"name": "new_name",
240236
"admin_state_up": true,
241237
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
242-
"router_type": "shared",
243238
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e",
244239
"routes": [
245240
{
@@ -294,7 +289,6 @@ func TestAllRoutesRemoved(t *testing.T) {
294289
"name": "name",
295290
"admin_state_up": true,
296291
"tenant_id": "6b96ff0cb17a4b859e1e575d221683d3",
297-
"router_type": "shared",
298292
"id": "8604a0de-7f6b-409a-a47c-a1cc7bc77b2e",
299293
"routes": []
300294
}

0 commit comments

Comments
 (0)