Skip to content

Commit

Permalink
Included controller ID in the location object returned by the availab…
Browse files Browse the repository at this point in the history
…le resources API
  • Loading branch information
dbozzato81 committed Nov 15, 2024
1 parent 0cea0b8 commit b24fc68
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions v1/api/swagger/components/schemas/LocationInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ required:
- DataCenter
- PrivateNetworkVIDSupport
- PrivateNetworkVNISupport
- ControllerID
properties:
ID:
type: string
Expand All @@ -30,3 +31,7 @@ properties:
PrivateNetworkVNISupport:
type: boolean
description: Indicates whether or not the fabric dedicated for private networks supports VNI ID.
ControllerID:
type: string
format: uuid
description: Unique ID for the controller that manages the data center.
18 changes: 18 additions & 0 deletions v1/pkg/client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3522,11 +3522,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand All @@ -3541,11 +3543,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand All @@ -3562,11 +3566,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand Down Expand Up @@ -3908,11 +3914,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand Down Expand Up @@ -4628,11 +4636,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand Down Expand Up @@ -4743,11 +4753,13 @@ components:
Locations:
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
- DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand Down Expand Up @@ -5092,6 +5104,7 @@ components:
example:
DataCenter: FTC1
PrivateNetworkVNISupport: true
ControllerID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
Region: Central
ID: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
PrivateNetworkVIDSupport: true
Expand All @@ -5118,7 +5131,12 @@ components:
description: Indicates whether or not the fabric dedicated for private networks
supports VNI ID.
type: boolean
ControllerID:
description: Unique ID for the controller that manages the data center.
format: uuid
type: string
required:
- ControllerID
- Country
- DataCenter
- ID
Expand Down
1 change: 1 addition & 0 deletions v1/pkg/client/docs/LocationInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**DataCenter** | **string** | Data center descriptor |
**PrivateNetworkVIDSupport** | **bool** | Indicates whether or not the fabric dedicated for private networks supports VLAN ID. |
**PrivateNetworkVNISupport** | **bool** | Indicates whether or not the fabric dedicated for private networks supports VNI ID. |
**ControllerID** | **string** | Unique ID for the controller that manages the data center. |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions v1/pkg/client/model_location_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ type LocationInfo struct {
PrivateNetworkVIDSupport bool `json:"PrivateNetworkVIDSupport"`
// Indicates whether or not the fabric dedicated for private networks supports VNI ID.
PrivateNetworkVNISupport bool `json:"PrivateNetworkVNISupport"`
// Unique ID for the controller that manages the data center.
ControllerID string `json:"ControllerID"`
}

0 comments on commit b24fc68

Please sign in to comment.