Skip to content

Commit 4a30e46

Browse files
authored
Merge pull request #848 from bbiggerr/fix/vlan-222
[Update] Linode Config Interfaces (VLAN descriptions)
2 parents d3897b7 + ce3eda4 commit 4a30e46

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

openapi.yaml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22610,13 +22610,16 @@ components:
2261022610
description: |
2261122611
The name of this interface.
2261222612

22613-
Required for `vlan` purpose interfaces. Must be an empty string or `null` for `public` purpose interfaces.
22613+
For `vlan` purpose interfaces:
22614+
* Required.
22615+
* Must be unique among the Linode's interfaces (a Linode cannot be attached to the same VLAN multiple times).
22616+
* May only consist of ASCII letters, numbers, and dashes (`-`).
2261422617

22615-
If the VLAN label is new, a VLAN is created. Up to 10 VLANs can be created in each data center region. To view your active VLANs, use the [VLANs List](/docs/api/networking/#vlans-list) endpoint.
22616-
22617-
May only consist of ASCII letters, numbers, and dashes (`-`).
22618+
For `public` purpose interfaces:
22619+
* In requests, must be an empty string (`""`) or `null` if included.
22620+
* In responses, always returns `null`.
2261822621

22619-
Must be unique among the Linode's interfaces.
22622+
If the VLAN label is new, a VLAN is created. Up to 10 VLANs can be created in each data center region. To view your active VLANs, use the [VLANs List](/docs/api/networking/#vlans-list) endpoint.
2262022623
example: example-interface
2262122624
ipam_address:
2262222625
type: string
@@ -22625,11 +22628,15 @@ components:
2262522628
description: |
2262622629
This Network Interface's private IP address in Classless Inter-Domain Routing (CIDR) notation.
2262722630

22628-
Only used for `vlan` purpose interfaces. Must be an empty string or `null` for `public` purpose interfaces.
22631+
For `vlan` purpose interfaces:
22632+
* Must be unique among the Linode's interfaces to avoid conflicting addresses.
22633+
* Should be unique among devices attached to the VLAN to avoid conflict.
2262922634

22630-
The Linode is configured to use this address for the associated interface upon reboot if Network Helper is enabled. If Network Helper is disabled, the address can be enabled with [manual static IP configuration](/docs/guides/manual-network-configuration/).
22635+
For `public` purpose interfaces:
22636+
* In requests, must be an empty string (`""`) or `null` if included.
22637+
* In responses, always returns `null`.
2263122638

22632-
Must be unique among the Linode's interfaces.
22639+
The Linode is configured to use this address for the associated interface upon reboot if Network Helper is enabled. If Network Helper is disabled, the address can be enabled with [manual static IP configuration](/docs/guides/manual-network-configuration/).
2263322640
example: '10.0.0.1/24'
2263422641
purpose:
2263522642
type: string
@@ -22642,7 +22649,7 @@ components:
2264222649
* `public`
2264322650
* Only one `public` interface per Linode can be defined.
2264422651
* The Linode's default public IPv4 address is assigned to the `public` interface.
22645-
* A Linode must have a public interface in the first/eth0 position to be reachable via the public internet upon boot without additional system configuration. If no `public` interface is configured, the Linode is not directly reachable via the public internet. In this case, access can only be established via LISH or other Linodes connected to the same VLAN.
22652+
* A Linode must have a public interface in the first/eth0 position to be reachable via the public internet upon boot without additional system configuration. If no `public` interface is configured, the Linode is not directly reachable via the public internet. In this case, access can only be established via [LISH](/docs/products/compute/compute-instances/guides/lish/) or other Linodes connected to the same VLAN.
2264622653

2264722654
* `vlan`
2264822655
* Configuring a `vlan` purpose interface attaches this Linode to the VLAN with the specified `label`.
@@ -22659,9 +22666,9 @@ components:
2265922666

2266022667
Up to three interface objects can be entered in this array. The position in the array determines the interface to which the settings apply:
2266122668

22662-
- First/0: eth0
22663-
- Second/1: eth1
22664-
- Third/2: eth2
22669+
- First [0]: eth0
22670+
- Second [1]: eth1
22671+
- Third [2]: eth2
2266522672

2266622673
When updating a Linode's interfaces, *each interface must be redefined*. An empty interfaces array results in a default public interface configuration only.
2266722674

0 commit comments

Comments
 (0)