Skip to content

Commit

Permalink
feat: API Sync by GitHub Action (2023-10-12) (#162)
Browse files Browse the repository at this point in the history
This API Sync PR was automated through [GitHub Actions
workflow_displatch](https://github.com/equinix-labs/metal-go/actions?query=event%3Aworkflow_dispatch)
on 2023-10-12.

* latest Swagger is fetched
* patches have been applied
* generated client has been updated

---------

Co-authored-by: github-actions[bot] <[email protected]>
Co-authored-by: Charles Treatman <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2023
1 parent 1359ea4 commit 767bc93
Show file tree
Hide file tree
Showing 25 changed files with 439 additions and 21 deletions.
6 changes: 6 additions & 0 deletions equinix-openapi-metal/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ docs/VirtualNetworkList.md
docs/VlanFabricVcCreateInput.md
docs/VlanVirtualCircuit.md
docs/VlanVirtualCircuitCreateInput.md
docs/VlanVirtualCircuitType.md
docs/VlanVirtualCircuitUpdateInput.md
docs/VlansApi.md
docs/Vrf.md
Expand All @@ -285,6 +286,7 @@ docs/VrfRouteUpdateInput.md
docs/VrfUpdateInput.md
docs/VrfVirtualCircuit.md
docs/VrfVirtualCircuitCreateInput.md
docs/VrfVirtualCircuitType.md
docs/VrfVirtualCircuitUpdateInput.md
docs/VrfsApi.md
git_push.sh
Expand Down Expand Up @@ -576,6 +578,7 @@ src/main/java/com/equinix/openapi/metal/v1/model/VirtualNetworkList.java
src/main/java/com/equinix/openapi/metal/v1/model/VlanFabricVcCreateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuit.java
src/main/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitCreateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitType.java
src/main/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitUpdateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/Vrf.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfCreateInput.java
Expand All @@ -594,6 +597,7 @@ src/main/java/com/equinix/openapi/metal/v1/model/VrfRouteUpdateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfUpdateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuit.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitCreateInput.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitType.java
src/main/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitUpdateInput.java
src/test/java/com/equinix/openapi/metal/v1/api/AuthenticationApiTest.java
src/test/java/com/equinix/openapi/metal/v1/api/BatchesApiTest.java
Expand Down Expand Up @@ -857,6 +861,7 @@ src/test/java/com/equinix/openapi/metal/v1/model/VirtualNetworkTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VlanFabricVcCreateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitCreateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitTypeTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VlanVirtualCircuitUpdateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfCreateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfFabricVcCreateInputTest.java
Expand All @@ -875,4 +880,5 @@ src/test/java/com/equinix/openapi/metal/v1/model/VrfTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfUpdateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitCreateInputTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitTypeTest.java
src/test/java/com/equinix/openapi/metal/v1/model/VrfVirtualCircuitUpdateInputTest.java
2 changes: 2 additions & 0 deletions equinix-openapi-metal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ Class | Method | HTTP request | Description
- [VlanFabricVcCreateInput](docs/VlanFabricVcCreateInput.md)
- [VlanVirtualCircuit](docs/VlanVirtualCircuit.md)
- [VlanVirtualCircuitCreateInput](docs/VlanVirtualCircuitCreateInput.md)
- [VlanVirtualCircuitType](docs/VlanVirtualCircuitType.md)
- [VlanVirtualCircuitUpdateInput](docs/VlanVirtualCircuitUpdateInput.md)
- [Vrf](docs/Vrf.md)
- [VrfCreateInput](docs/VrfCreateInput.md)
Expand All @@ -667,6 +668,7 @@ Class | Method | HTTP request | Description
- [VrfUpdateInput](docs/VrfUpdateInput.md)
- [VrfVirtualCircuit](docs/VrfVirtualCircuit.md)
- [VrfVirtualCircuitCreateInput](docs/VrfVirtualCircuitCreateInput.md)
- [VrfVirtualCircuitType](docs/VrfVirtualCircuitType.md)
- [VrfVirtualCircuitUpdateInput](docs/VrfVirtualCircuitUpdateInput.md)


Expand Down
47 changes: 45 additions & 2 deletions equinix-openapi-metal/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13517,6 +13517,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -13538,6 +13539,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -13904,6 +13906,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -13925,6 +13928,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -14206,6 +14210,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -14227,6 +14232,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -23699,6 +23705,8 @@ components:
items:
type: string
type: array
type:
$ref: '#/components/schemas/VlanVirtualCircuitType'
virtual_network:
$ref: '#/components/schemas/Href'
vnid:
Expand All @@ -23709,8 +23717,6 @@ components:
updated_at:
format: date-time
type: string
required:
- virtual_network
type: object
VlanVirtualCircuitCreateInput:
properties:
Expand Down Expand Up @@ -23882,6 +23888,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -23903,6 +23910,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -24432,6 +24440,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -24453,6 +24462,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -24882,6 +24892,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -24903,6 +24914,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -25236,6 +25248,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -25257,6 +25270,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -25443,6 +25457,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -25464,6 +25479,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -25609,6 +25625,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -25630,6 +25647,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -25900,6 +25918,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -25921,6 +25940,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -26245,6 +26265,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -26266,6 +26287,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -26453,6 +26475,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -26474,6 +26497,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -26857,6 +26881,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -26878,6 +26903,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -27065,6 +27091,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -27086,6 +27113,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -27355,6 +27383,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -27376,6 +27405,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -27563,6 +27593,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand All @@ -27584,6 +27615,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -27704,6 +27736,7 @@ components:
href: href
created_at: 2000-01-23T04:56:07.000+00:00
vrf: null
type: null
metal_ip: 12.0.0.1
speed: 7
tags:
Expand Down Expand Up @@ -27794,6 +27827,8 @@ components:
items:
type: string
type: array
type:
$ref: '#/components/schemas/VrfVirtualCircuitType'
vrf:
$ref: '#/components/schemas/Vrf'
created_at:
Expand Down Expand Up @@ -28076,10 +28111,18 @@ components:
ports that are active
type: boolean
type: object
VlanVirtualCircuitType:
enum:
- vlan
type: string
VrfIpReservationOrHref:
anyOf:
- $ref: '#/components/schemas/VrfIpReservation'
- $ref: '#/components/schemas/Href'
VrfVirtualCircuitType:
enum:
- vrf
type: string
BgpRoute:
properties:
exact:
Expand Down
3 changes: 2 additions & 1 deletion equinix-openapi-metal/docs/VirtualCircuit.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
|**speed** | **Integer** | integer representing bps speed | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | The status changes of a VRF virtual circuit are generally the same as Virtual Circuits that aren&#39;t in a VRF. However, for VRF Virtual Circuits on Fabric VCs, the status will change to &#39;waiting_on_peering_details&#39; once the Fabric service token associated with the virtual circuit has been redeemed on Fabric, and Metal has found the associated Fabric connection. At this point, users can update the subnet, MD5 password, customer IP and/or metal IP accordingly. For VRF Virtual Circuits on Dedicated Ports, we require all peering details to be set on creation of a VRF Virtual Circuit. The status will change to &#x60;changing_peering_details&#x60; whenever an active VRF Virtual Circuit has any of its peering details updated. | [optional] |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**virtualNetwork** | [**Href**](Href.md) | | |
|**type** | **VrfVirtualCircuitType** | | [optional] |
|**virtualNetwork** | [**Href**](Href.md) | | [optional] |
|**vnid** | **Integer** | | [optional] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
Expand Down
3 changes: 2 additions & 1 deletion equinix-openapi-metal/docs/VlanVirtualCircuit.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
|**speed** | **Integer** | For Virtual Circuits on shared and dedicated connections, this speed should match the one set on their Interconnection Ports. For Virtual Circuits on Fabric VCs (both Metal and Fabric Billed) that have found their corresponding Fabric connection, this is the actual speed of the interconnection that was configured when setting up the interconnection on the Fabric Portal. Details on Fabric VCs are included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details. | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | The status of a Virtual Circuit is always &#39;pending&#39; on creation. The status can turn to &#39;Waiting on Customer VLAN&#39; if a Metro VLAN was not set yet on the Virtual Circuit and is the last step needed for full activation. For Dedicated interconnections, as long as the Dedicated Port has been associated to the Virtual Circuit and a NNI VNID has been set, it will turn to &#39;waiting_on_customer_vlan&#39;. For Fabric VCs, it will only change to &#39;waiting_on_customer_vlan&#39; once the corresponding Fabric connection has been found on the Fabric side. If the Fabric service token associated with the Virtual Circuit hasn&#39;t been redeemed on Fabric within the expiry time, it will change to an &#x60;expired&#x60; status. Once a Metro VLAN is set on the Virtual Circuit (which for Fabric VCs, can be set on creation of a Fabric VC) and the necessary set up is done, it will turn into &#39;Activating&#39; status as it tries to activate the Virtual Circuit. Once the Virtual Circuit fully activates and is configured on the switch, it will turn to staus &#39;active&#39;. For Fabric VCs (Metal Billed), we will start billing the moment the status of the Virtual Circuit turns to &#39;active&#39;. If there are any changes to the VLAN after the Virtual Circuit is in an &#39;active&#39; status, the status will show &#39;changing_vlan&#39; if a new VLAN has been provided, or &#39;deactivating&#39; if we are removing the VLAN. When a deletion request is issued for the Virtual Circuit, it will move to a &#39;deleting&#39; status, and we will immediately unconfigure the switch for the Virtual Circuit and issue a deletion on any associated Fabric connections. Any associated Metro VLANs on the virtual circuit will also be unassociated after the switch has been successfully unconfigured. If there are any associated Fabric connections, we will only fully delete the Virtual Circuit once we have checked that the Fabric connection was fully deprovisioned on Fabric. | [optional] |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**virtualNetwork** | [**Href**](Href.md) | | |
|**type** | **VlanVirtualCircuitType** | | [optional] |
|**virtualNetwork** | [**Href**](Href.md) | | [optional] |
|**vnid** | **Integer** | | [optional] |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**updatedAt** | **OffsetDateTime** | | [optional] |
Expand Down
Loading

0 comments on commit 767bc93

Please sign in to comment.