Skip to content

[Hotfix] Release 4.86.1 #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 22 additions & 32 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.86.0
version: 4.86.1

title: Linode API
description: |
Expand Down Expand Up @@ -11222,7 +11222,7 @@ paths:
Rebuilds a NodeBalancer Config and its Nodes that you have
permission to modify.
operationId: rebuildNodeBalancerConfig
x-linode-cli-action: rebuild
x-linode-cli-action: config-rebuild
security:
- personalAccessToken: []
- oauth:
Expand All @@ -11234,33 +11234,22 @@ paths:
content:
application/json:
schema:
properties:
configs:
type: array
description: >
Each config must have a unique port and at least one Node. Additionally:
* Current Nodes excluded from the request body will be deleted.
* Current Nodes (identified by their ID) will be updated.
* New Nodes (included without an ID) will be created.
items:
allOf:
- $ref: '#/components/schemas/NodeBalancerConfig'
- type: object
properties:
nodes:
type: array
description: >
The NodeBalancer Node(s) that serve this port.
At least one Node is required per configured port.
allOf:
- $ref: "#/components/schemas/NodeBalancerConfig"
- type: object
properties:
nodes:
type: array
description: |
The NodeBalancer Node(s) that serve this port.
At least one Node is required per configured port.

Some considerations for Nodes when rebuilding a config:
* Current Nodes excluded from the request body will be deleted.
* Current Nodes (identified by their ID) will be updated.
* New Nodes (included without an ID) will be created.
items:
type: object
allOf:
- $ref: '#/components/schemas/NodeBalancerNode'
Some considerations for Nodes when rebuilding a config:
* Current Nodes excluded from the request body will be deleted.
* Current Nodes (identified by their ID) will be updated.
* New Nodes (included without an ID) will be created.
items:
$ref: '#/components/schemas/NodeBalancerNode'
responses:
'200':
description: NodeBalancer created successfully.
Expand Down Expand Up @@ -11291,15 +11280,14 @@ paths:
"cipher_suite": "recommended",
"nodes": [
{
"id": 543231,
"address": "192.168.210.120:80",
"label": "node54321",
"label": "node1",
"weight": 50,
"mode": "accept"
},
{
"address": "192.168.210.122:81",
"label": "thenewnode",
"label": "node2",
"weight": 50,
"mode": "accept"
},
Expand All @@ -11322,7 +11310,9 @@ paths:
--check_body "it works" \
--check_passive true \
--proxy_protocol "v1" \
--cipher_suite recommended
--cipher_suite recommended \
--nodes '{"address":"192.168.210.120:80","label":"node1","weight":50,"mode":"accept"}' \
--nodes '{"address":"192.168.210.122:80","label":"node2","weight":50,"mode":"accept"}'
/nodebalancers/{nodeBalancerId}/configs/{configId}/nodes:
parameters:
- name: nodeBalancerId
Expand Down