Skip to content

Commit

Permalink
add fixture for nb type test
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Feb 26, 2025
1 parent fceee33 commit 9db149b
Showing 1 changed file with 44 additions and 39 deletions.
83 changes: 44 additions & 39 deletions test/integration/fixtures/TestNodeBalancer_Create_Type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,50 +148,54 @@ interactions:
"ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg":
5}, "site_type": "core"}, {"id": "nz-akl-1", "label": "Auckland, NZ", "country":
"nz", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata", "Distributed
Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"nz", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall", "Vlans",
"Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "us-den-1",
"label": "Denver, CO", "country": "us", "capabilities": ["Linodes", "Cloud Firewall",
"label": "Denver, CO", "country": "us", "capabilities": ["Linodes", "Disk Encryption",
"Cloud Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok",
"resolvers": {"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "de-ham-1", "label": "Hamburg, DE",
"country": "de", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "de-ham-1", "label": "Hamburg, DE",
"country": "de", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "fr-mrs-1",
"label": "Marseille, FR", "country": "fr", "capabilities": ["Linodes", "Cloud
0}, "site_type": "distributed"}, {"id": "fr-mrs-1", "label": "Marseille, FR",
"country": "fr", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "za-jnb-1", "label": "Johannesburg,
ZA", "country": "za", "capabilities": ["Linodes", "Disk Encryption", "Cloud
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "za-jnb-1", "label": "Johannesburg,
ZA", "country": "za", "capabilities": ["Linodes", "Cloud Firewall", "Vlans",
"Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "my-kul-1",
"label": "Kuala Lumpur, MY", "country": "my", "capabilities": ["Linodes", "Cloud
0}, "site_type": "distributed"}, {"id": "my-kul-1", "label": "Kuala Lumpur,
MY", "country": "my", "capabilities": ["Linodes", "Disk Encryption", "Cloud
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "co-bog-1", "label": "Bogot\u00e1, CO",
"country": "co", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "mx-qro-1",
"label": "Quer\u00e9taro, MX", "country": "mx", "capabilities": ["Linodes",
"Cloud Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok",
"resolvers": {"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"country": "co", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "us-hou-1", "label": "Houston, TX",
"country": "us", "capabilities": ["Linodes", "Cloud Firewall", "Vlans", "Metadata",
"Distributed Plans"], "status": "ok", "resolvers": {"ipv4": "173.223.100.53,173.223.101.53",
"ipv6": "1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer":
0, "maximum_linodes_per_pg": 0}, "site_type": "distributed"}, {"id": "cl-scl-1",
"label": "Santiago, CL", "country": "cl", "capabilities": ["Linodes", "Cloud
0}, "site_type": "distributed"}, {"id": "mx-qro-1", "label": "Quer\u00e9taro,
MX", "country": "mx", "capabilities": ["Linodes", "Disk Encryption", "Cloud
Firewall", "Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers":
{"ipv4": "173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "us-hou-1", "label": "Houston, TX",
"country": "us", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "cl-scl-1", "label": "Santiago, CL",
"country": "cl", "capabilities": ["Linodes", "Disk Encryption", "Cloud Firewall",
"Vlans", "Metadata", "Distributed Plans"], "status": "ok", "resolvers": {"ipv4":
"173.223.100.53,173.223.101.53", "ipv6": "1234::5678,1234::5678"},
"placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg":
0}, "site_type": "distributed"}, {"id": "gb-lon", "label": "London 2, UK", "country":
"gb", "capabilities": ["Linodes", "Block Storage Encryption", "Disk Encryption",
"Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes",
Expand Down Expand Up @@ -322,7 +326,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Thu, 13 Feb 2025 19:49:44 GMT
- Tue, 25 Feb 2025 18:53:25 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -348,7 +352,7 @@ interactions:
code: 200
duration: ""
- request:
body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":1807800,"type":"common"}'
body: '{"label":"go-test-def","region":"ap-west","client_conn_throttle":20,"tags":null,"firewall_id":1898807,"type":"common"}'
form: {}
headers:
Accept:
Expand All @@ -360,11 +364,12 @@ interactions:
url: https://api.linode.com/v4beta/nodebalancers
method: POST
response:
body: '{"id": 1283785, "label": "go-test-def", "region": "ap-west", "hostname":
"172-232-86-171.ip.linodeusercontent.com", "ipv4": "172.232.86.171", "ipv6":
"1234::5678", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05",
"client_conn_throttle": 20, "client_udp_sess_throttle": 0, "tags": [], "transfer":
{"in": null, "out": null, "total": null}}'
body: '{"id": 1315518, "label": "go-test-def", "region": "ap-west", "type": "common",
"hostname": "172-232-87-61.ip.linodeusercontent.com", "ipv4": "172.232.87.61",
"ipv6": "1234::5678", "created": "2018-01-02T03:04:05", "updated":
"2018-01-02T03:04:05", "client_conn_throttle": 20, "client_udp_sess_throttle":
0, "lke_cluster": null, "tags": [], "transfer": {"in": null, "out": null, "total":
null}}'
headers:
Access-Control-Allow-Credentials:
- "true"
Expand All @@ -383,13 +388,13 @@ interactions:
Connection:
- keep-alive
Content-Length:
- "368"
- "405"
Content-Security-Policy:
- default-src 'none'
Content-Type:
- application/json
Expires:
- Thu, 13 Feb 2025 19:49:44 GMT
- Tue, 25 Feb 2025 18:53:25 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down Expand Up @@ -422,7 +427,7 @@ interactions:
- application/json
User-Agent:
- linodego/dev https://github.com/linode/linodego
url: https://api.linode.com/v4beta/nodebalancers/1283785
url: https://api.linode.com/v4beta/nodebalancers/1315518
method: DELETE
response:
body: '{}'
Expand Down Expand Up @@ -450,7 +455,7 @@ interactions:
Content-Type:
- application/json
Expires:
- Thu, 13 Feb 2025 19:49:44 GMT
- Tue, 25 Feb 2025 18:53:25 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand Down

0 comments on commit 9db149b

Please sign in to comment.