Skip to content

Added ID to LinodeConfigInterface #857

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
Sep 20, 2023
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
26 changes: 22 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6798,6 +6798,8 @@ paths:
Any [tags](/docs/api/tags/#tags-list) existing on the source Linode will be cloned to the target Linode.

Linodes utilizing Metadata (`"has_user_data": true`) must be cloned to a new Linode with `metadata.user_data` included with the clone request.

**Note:** Only Next Generation Network (NGN) data centers support VLANs. If a VLAN is attached to your Linode and you attempt clone it to a non-NGN data center, the cloning will not initiate. If a Linode cannot be cloned because of an incompatibility, you will be prompted to select a different data center or contact support.
tags:
- Linode Instances
operationId: cloneLinodeInstance
Expand Down Expand Up @@ -8166,6 +8168,8 @@ paths:
If you have these features enabled on your Linode and attempt to migrate to an NGN data center,
the migration will not initiate. If a Linode cannot be migrated because of an incompatibility,
you will be prompted to select a different data center or contact support.

**Note:** Only Next Generation Network (NGN) data centers support VLANs. If a VLAN is attached to your Linode and you attempt to migrate it to a non-NGN data center, the migration will not initiate. If a Linode cannot be migrated because of an incompatibility, you will be prompted to select a different data center or contact support.
tags:
- Linode Instances
operationId: migrateLinodeInstance
Expand Down Expand Up @@ -22622,11 +22626,17 @@ components:
description: >
The Network Interface to apply to this Linode's configuration profile.
properties:
id:
readOnly: true
type: integer
description: The unique ID representing this interface.
example: 101
x-linode-cli-display: 1
label:
type: string
minLength: 1
maxLength: 64
pattern: '/[a-z0-9-]+/'
pattern: '[a-zA-Z0-9-]+'
x-linode-filterable: true
nullable: true
description: |
Expand All @@ -22643,6 +22653,7 @@ components:

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.
example: example-interface
x-linode-cli-display: 2
ipam_address:
type: string
format: ip/netmask
Expand Down Expand Up @@ -22677,16 +22688,20 @@ components:
* Configuring a `vlan` purpose interface attaches this Linode to the VLAN with the specified `label`.
* The Linode is configured to use the specified `ipam_address`, if any.
example: vlan
x-linode-cli-display: 3
LinodeConfigInterfaces:
type: array
items:
$ref: '#/components/schemas/LinodeConfigInterface'
minItems: 1
maxItems: 3
uniqueItems: true
required:
- purpose
description: |
An array of Network Interfaces to add to this Linode's Configuration Profile.

Up to three interface objects can be entered in this array. The position in the array determines the interface to which the settings apply:
At least one and up to three interface objects can be entered in this array. The position in the array determines which of the Linode's network interfaces is configured:

- First [0]: eth0
- Second [1]: eth1
Expand All @@ -22700,10 +22715,13 @@ components:

**Note:** Only Next Generation Network (NGN) data centers support VLANs. Use the Regions ([/regions](/docs/api/regions/)) endpoint to view the capabilities of data center regions.
If a VLAN is attached to your Linode and you attempt to migrate or clone it to a non-NGN data center,
the migration or cloning will not initiate. If a Linode cannot be migrated because of an incompatibility,
you will be prompted to select a different data center or contact support.
the migration or cloning will not initiate. If a Linode cannot be migrated or cloned because of an incompatibility, you will be prompted to select a different data center or contact support.

**Note:** See the [VLANs Overview](/docs/products/networking/vlans/#technical-specifications) guide to view additional specifications and limitations.
example:
- {"id": 101, "purpose": "public", "ipam_address": null, "label": null}
- {"id": 102, "purpose": "vlan", "ipam_address": "10.0.0.1/24", "label": "vlan-1"}
- {"id": 103, "purpose": "vlan", "ipam_address": "10.0.0.2/24", "label": "vlan-2"}
LinodeRequest:
type: object
description: Common properties for creating and rebuilding Linodes.
Expand Down