Skip to content

Commit 44fa51b

Browse files
authored
Merge pull request #857 from bbiggerr/interface-id
Added ID to LinodeConfigInterface
2 parents 56936b0 + 04488db commit 44fa51b

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

openapi.yaml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6798,6 +6798,8 @@ paths:
67986798
Any [tags](/docs/api/tags/#tags-list) existing on the source Linode will be cloned to the target Linode.
67996799

68006800
Linodes utilizing Metadata (`"has_user_data": true`) must be cloned to a new Linode with `metadata.user_data` included with the clone request.
6801+
6802+
**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.
68016803
tags:
68026804
- Linode Instances
68036805
operationId: cloneLinodeInstance
@@ -8166,6 +8168,8 @@ paths:
81668168
If you have these features enabled on your Linode and attempt to migrate to an NGN data center,
81678169
the migration will not initiate. If a Linode cannot be migrated because of an incompatibility,
81688170
you will be prompted to select a different data center or contact support.
8171+
8172+
**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.
81698173
tags:
81708174
- Linode Instances
81718175
operationId: migrateLinodeInstance
@@ -22622,11 +22626,17 @@ components:
2262222626
description: >
2262322627
The Network Interface to apply to this Linode's configuration profile.
2262422628
properties:
22629+
id:
22630+
readOnly: true
22631+
type: integer
22632+
description: The unique ID representing this interface.
22633+
example: 101
22634+
x-linode-cli-display: 1
2262522635
label:
2262622636
type: string
2262722637
minLength: 1
2262822638
maxLength: 64
22629-
pattern: '/[a-z0-9-]+/'
22639+
pattern: '[a-zA-Z0-9-]+'
2263022640
x-linode-filterable: true
2263122641
nullable: true
2263222642
description: |
@@ -22643,6 +22653,7 @@ components:
2264322653

2264422654
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.
2264522655
example: example-interface
22656+
x-linode-cli-display: 2
2264622657
ipam_address:
2264722658
type: string
2264822659
format: ip/netmask
@@ -22677,16 +22688,20 @@ components:
2267722688
* Configuring a `vlan` purpose interface attaches this Linode to the VLAN with the specified `label`.
2267822689
* The Linode is configured to use the specified `ipam_address`, if any.
2267922690
example: vlan
22691+
x-linode-cli-display: 3
2268022692
LinodeConfigInterfaces:
2268122693
type: array
2268222694
items:
2268322695
$ref: '#/components/schemas/LinodeConfigInterface'
22696+
minItems: 1
22697+
maxItems: 3
22698+
uniqueItems: true
2268422699
required:
2268522700
- purpose
2268622701
description: |
2268722702
An array of Network Interfaces to add to this Linode's Configuration Profile.
2268822703

22689-
Up to three interface objects can be entered in this array. The position in the array determines the interface to which the settings apply:
22704+
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:
2269022705

2269122706
- First [0]: eth0
2269222707
- Second [1]: eth1
@@ -22700,10 +22715,13 @@ components:
2270022715

2270122716
**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.
2270222717
If a VLAN is attached to your Linode and you attempt to migrate or clone it to a non-NGN data center,
22703-
the migration or cloning will not initiate. If a Linode cannot be migrated because of an incompatibility,
22704-
you will be prompted to select a different data center or contact support.
22718+
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.
2270522719

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

0 commit comments

Comments
 (0)