From 9db149b5ce6e2c999625fec76c1f87b591ed89df Mon Sep 17 00:00:00 2001 From: Evan Johnson Date: Tue, 25 Feb 2025 17:15:00 -0500 Subject: [PATCH] add fixture for nb type test --- .../TestNodeBalancer_Create_Type.yaml | 83 ++++++++++--------- 1 file changed, 44 insertions(+), 39 deletions(-) diff --git a/test/integration/fixtures/TestNodeBalancer_Create_Type.yaml b/test/integration/fixtures/TestNodeBalancer_Create_Type.yaml index eb2e40998..b1a6279d9 100644 --- a/test/integration/fixtures/TestNodeBalancer_Create_Type.yaml +++ b/test/integration/fixtures/TestNodeBalancer_Create_Type.yaml @@ -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", @@ -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: @@ -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: @@ -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" @@ -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: @@ -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: '{}' @@ -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: