Skip to content

Commit 361a5e5

Browse files
committed
Added ID to LinodeConfigInterface
1 parent 56936b0 commit 361a5e5

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

openapi.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22568,6 +22568,10 @@ components:
2256822568
- fullvirt
2256922569
example: paravirt
2257022570
interfaces:
22571+
example:
22572+
- {"id": 101, "purpose": "public", "ipam_address": null, "label": null}
22573+
- {"id": 102, "purpose": "vlan", "ipam_address": "10.0.0.1/24", "label": "vlan-1"}
22574+
- {"id": 103, "purpose": "vlan", "ipam_address": "10.0.0.2/24", "label": "vlan-2"}
2257122575
$ref: '#/components/schemas/LinodeConfigInterfaces'
2257222576
helpers:
2257322577
type: object
@@ -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
@@ -22704,6 +22719,10 @@ components:
2270422719
you will be prompted to select a different data center or contact support.
2270522720

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

0 commit comments

Comments
 (0)