From 2a63b2d106c1a3f3be6f71082fa31c11037bce7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:22:46 +0000 Subject: [PATCH] Add changes --- pnap_bmc_api/docs/Server.md | 2 +- pnap_bmc_api/pnap_bmc_api/model/server.py | 4 ++-- pnap_ip_api/docs/IpBlock.md | 2 +- pnap_ip_api/pnap_ip_api/model/ip_block.py | 4 ++-- pnap_network_api/docs/PrivateNetwork.md | 2 +- pnap_network_api/pnap_network_api/model/private_network.py | 4 ++-- specs/pnap_bmc_api.spec.yaml | 2 +- specs/pnap_ip_api.spec.yaml | 2 +- specs/pnap_network_api.spec.yaml | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pnap_bmc_api/docs/Server.md b/pnap_bmc_api/docs/Server.md index 37bc328b..6f3c4860 100644 --- a/pnap_bmc_api/docs/Server.md +++ b/pnap_bmc_api/docs/Server.md @@ -6,7 +6,7 @@ Bare metal server. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The unique identifier of the server. | -**status** | **str** | The status of the server. | +**status** | **str** | The status of the server. Can have one of the following values: `creating` , `powered-on` , `powered-off` , `rebooting` , `resetting` , `deleting` , `reserved` , `error` or `reinstating`. | **hostname** | **str** | Hostname of server. | **type** | **str** | Server type ID. Cannot be changed once a server is created. Currently this field should be set to either `s0.d1.small`, `s0.d1.medium`, `s1.c1.small`, `s1.c1.medium`, `s1.c2.medium`, `s1.c2.large`, `s1.e1.small`, `s1.e1.medium`, `s1.e1.large`, `s2.c1.small`, `s2.c1.medium`, `s2.c1.large`, `s2.c2.small`, `s2.c2.medium`, `s2.c2.large`, `d1.c1.small`, `d1.c2.small`, `d1.c3.small`, `d1.c4.small`, `d1.c1.medium`, `d1.c2.medium`, `d1.c3.medium`, `d1.c4.medium`, `d1.c1.large`, `d1.c2.large`, `d1.c3.large`, `d1.c4.large`, `d1.m1.medium`, `d1.m2.medium`, `d1.m3.medium`, `d1.m4.medium`, `d2.c1.medium`, `d2.c2.medium`, `d2.c3.medium`, `d2.c4.medium`, `d2.c5.medium`, `d2.c1.large`, `d2.c2.large`, `d2.c3.large`, `d2.c4.large`, `d2.c5.large`, `d2.m1.xlarge`, `d2.m2.xxlarge`, `d2.m3.xlarge`, `d2.m4.xlarge`, `d2.m5.xlarge`, `d2.c4.db1.pliops1`, `d3.m4.xlarge`, `d3.m5.xlarge`, `d3.m6.xlarge`, `a1.c5.large`, `d3.s5.xlarge`, `d3.m4.xxlarge`, `d3.m5.xxlarge` or `d3.m6.xxlarge`. | **location** | **str** | Server location ID. Cannot be changed once a server is created. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. | diff --git a/pnap_bmc_api/pnap_bmc_api/model/server.py b/pnap_bmc_api/pnap_bmc_api/model/server.py index 689bfe85..4c28fc80 100644 --- a/pnap_bmc_api/pnap_bmc_api/model/server.py +++ b/pnap_bmc_api/pnap_bmc_api/model/server.py @@ -195,7 +195,7 @@ def _from_openapi_data(cls, id, status, hostname, type, location, cpu, cpu_count Args: id (str): The unique identifier of the server. - status (str): The status of the server. + status (str): The status of the server. Can have one of the following values: `creating` , `powered-on` , `powered-off` , `rebooting` , `resetting` , `deleting` , `reserved` , `error` or `reinstating`. hostname (str): Hostname of server. type (str): Server type ID. Cannot be changed once a server is created. Currently this field should be set to either `s0.d1.small`, `s0.d1.medium`, `s1.c1.small`, `s1.c1.medium`, `s1.c2.medium`, `s1.c2.large`, `s1.e1.small`, `s1.e1.medium`, `s1.e1.large`, `s2.c1.small`, `s2.c1.medium`, `s2.c1.large`, `s2.c2.small`, `s2.c2.medium`, `s2.c2.large`, `d1.c1.small`, `d1.c2.small`, `d1.c3.small`, `d1.c4.small`, `d1.c1.medium`, `d1.c2.medium`, `d1.c3.medium`, `d1.c4.medium`, `d1.c1.large`, `d1.c2.large`, `d1.c3.large`, `d1.c4.large`, `d1.m1.medium`, `d1.m2.medium`, `d1.m3.medium`, `d1.m4.medium`, `d2.c1.medium`, `d2.c2.medium`, `d2.c3.medium`, `d2.c4.medium`, `d2.c5.medium`, `d2.c1.large`, `d2.c2.large`, `d2.c3.large`, `d2.c4.large`, `d2.c5.large`, `d2.m1.xlarge`, `d2.m2.xxlarge`, `d2.m3.xlarge`, `d2.m4.xlarge`, `d2.m5.xlarge`, `d2.c4.db1.pliops1`, `d3.m4.xlarge`, `d3.m5.xlarge`, `d3.m6.xlarge`, `a1.c5.large`, `d3.s5.xlarge`, `d3.m4.xxlarge`, `d3.m5.xxlarge` or `d3.m6.xxlarge`. location (str): Server location ID. Cannot be changed once a server is created. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. @@ -325,7 +325,7 @@ def __init__(self, id, status, hostname, type, location, cpu, cpu_count, cores_p Args: id (str): The unique identifier of the server. - status (str): The status of the server. + status (str): The status of the server. Can have one of the following values: `creating` , `powered-on` , `powered-off` , `rebooting` , `resetting` , `deleting` , `reserved` , `error` or `reinstating`. hostname (str): Hostname of server. type (str): Server type ID. Cannot be changed once a server is created. Currently this field should be set to either `s0.d1.small`, `s0.d1.medium`, `s1.c1.small`, `s1.c1.medium`, `s1.c2.medium`, `s1.c2.large`, `s1.e1.small`, `s1.e1.medium`, `s1.e1.large`, `s2.c1.small`, `s2.c1.medium`, `s2.c1.large`, `s2.c2.small`, `s2.c2.medium`, `s2.c2.large`, `d1.c1.small`, `d1.c2.small`, `d1.c3.small`, `d1.c4.small`, `d1.c1.medium`, `d1.c2.medium`, `d1.c3.medium`, `d1.c4.medium`, `d1.c1.large`, `d1.c2.large`, `d1.c3.large`, `d1.c4.large`, `d1.m1.medium`, `d1.m2.medium`, `d1.m3.medium`, `d1.m4.medium`, `d2.c1.medium`, `d2.c2.medium`, `d2.c3.medium`, `d2.c4.medium`, `d2.c5.medium`, `d2.c1.large`, `d2.c2.large`, `d2.c3.large`, `d2.c4.large`, `d2.c5.large`, `d2.m1.xlarge`, `d2.m2.xxlarge`, `d2.m3.xlarge`, `d2.m4.xlarge`, `d2.m5.xlarge`, `d2.c4.db1.pliops1`, `d3.m4.xlarge`, `d3.m5.xlarge`, `d3.m6.xlarge`, `a1.c5.large`, `d3.s5.xlarge`, `d3.m4.xxlarge`, `d3.m5.xxlarge` or `d3.m6.xxlarge`. location (str): Server location ID. Cannot be changed once a server is created. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. diff --git a/pnap_ip_api/docs/IpBlock.md b/pnap_ip_api/docs/IpBlock.md index ec88af98..92801a95 100644 --- a/pnap_ip_api/docs/IpBlock.md +++ b/pnap_ip_api/docs/IpBlock.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **location** | **str** | IP Block location ID. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. | **cidr_block_size** | **str** | CIDR IP Block Size. Currently this field should be set to either `/31`, `/30`, `/29`, `/28`, `/27`, `/26`, `/25`, `/24`, `/23` or `/22`. | **cidr** | **str** | The IP Block in CIDR notation. | -**status** | **str** | The status of the IP Block. | +**status** | **str** | The status of the IP Block. Can have one of the following values: `creating` , `assigning` , `error assigning` , `assigned` , `unassigning` , `error unassigning` or `unassigned`. | **is_bring_your_own** | **bool** | True if the IP block is a `bring your own` block. | **created_on** | **datetime** | Date and time when the IP block was created. | **assigned_resource_id** | **str** | ID of the resource assigned to the IP Block. | [optional] diff --git a/pnap_ip_api/pnap_ip_api/model/ip_block.py b/pnap_ip_api/pnap_ip_api/model/ip_block.py index cb9e3325..1d16e25a 100644 --- a/pnap_ip_api/pnap_ip_api/model/ip_block.py +++ b/pnap_ip_api/pnap_ip_api/model/ip_block.py @@ -138,7 +138,7 @@ def _from_openapi_data(cls, id, location, cidr_block_size, cidr, status, is_brin location (str): IP Block location ID. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. cidr_block_size (str): CIDR IP Block Size. Currently this field should be set to either `/31`, `/30`, `/29`, `/28`, `/27`, `/26`, `/25`, `/24`, `/23` or `/22`. cidr (str): The IP Block in CIDR notation. - status (str): The status of the IP Block. + status (str): The status of the IP Block. Can have one of the following values: `creating` , `assigning` , `error assigning` , `assigned` , `unassigning` , `error unassigning` or `unassigned`. is_bring_your_own (bool): True if the IP block is a `bring your own` block. created_on (datetime): Date and time when the IP block was created. @@ -243,7 +243,7 @@ def __init__(self, id, location, cidr_block_size, cidr, status, is_bring_your_ow location (str): IP Block location ID. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. cidr_block_size (str): CIDR IP Block Size. Currently this field should be set to either `/31`, `/30`, `/29`, `/28`, `/27`, `/26`, `/25`, `/24`, `/23` or `/22`. cidr (str): The IP Block in CIDR notation. - status (str): The status of the IP Block. + status (str): The status of the IP Block. Can have one of the following values: `creating` , `assigning` , `error assigning` , `assigned` , `unassigning` , `error unassigning` or `unassigned`. is_bring_your_own (bool): True if the IP block is a `bring your own` block. created_on (datetime): Date and time when the IP block was created. diff --git a/pnap_network_api/docs/PrivateNetwork.md b/pnap_network_api/docs/PrivateNetwork.md index a0c78a15..e0193472 100644 --- a/pnap_network_api/docs/PrivateNetwork.md +++ b/pnap_network_api/docs/PrivateNetwork.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **location_default** | **bool** | Identifies network as the default private network for the specified location. | **servers** | [**[PrivateNetworkServer]**](PrivateNetworkServer.md) | | **memberships** | [**[NetworkMembership]**](NetworkMembership.md) | A list of resources that are members of this private network. | -**status** | **str** | The status of the private network. Can have one of the following values: `BUSY` or `READY`. | +**status** | **str** | The status of the private network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`. | **created_on** | **datetime** | Date and time when this private network was created. | **description** | **str** | The description of this private network. | [optional] **cidr** | **str** | IP range associated with this private network in CIDR notation. | [optional] diff --git a/pnap_network_api/pnap_network_api/model/private_network.py b/pnap_network_api/pnap_network_api/model/private_network.py index 0320a52a..8af260fa 100644 --- a/pnap_network_api/pnap_network_api/model/private_network.py +++ b/pnap_network_api/pnap_network_api/model/private_network.py @@ -150,7 +150,7 @@ def _from_openapi_data(cls, id, name, vlan_id, type, location, location_default, location_default (bool): Identifies network as the default private network for the specified location. servers ([PrivateNetworkServer]): memberships ([NetworkMembership]): A list of resources that are members of this private network. - status (str): The status of the private network. Can have one of the following values: `BUSY` or `READY`. + status (str): The status of the private network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`. created_on (datetime): Date and time when this private network was created. Keyword Args: @@ -259,7 +259,7 @@ def __init__(self, id, name, vlan_id, type, location, location_default, servers, location_default (bool): Identifies network as the default private network for the specified location. servers ([PrivateNetworkServer]): memberships ([NetworkMembership]): A list of resources that are members of this private network. - status (str): The status of the private network. Can have one of the following values: `BUSY` or `READY`. + status (str): The status of the private network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`. created_on (datetime): Date and time when this private network was created. Keyword Args: diff --git a/specs/pnap_bmc_api.spec.yaml b/specs/pnap_bmc_api.spec.yaml index f0fd63ec..a9410b06 100644 --- a/specs/pnap_bmc_api.spec.yaml +++ b/specs/pnap_bmc_api.spec.yaml @@ -1674,7 +1674,7 @@ components: type: string example: 651bf71fbde0c93e102ab180 status: - description: The status of the server. + description: 'The status of the server. Can have one of the following values: `creating` , `powered-on` , `powered-off` , `rebooting` , `resetting` , `deleting` , `reserved` , `error` or `reinstating`.' type: string example: creating hostname: diff --git a/specs/pnap_ip_api.spec.yaml b/specs/pnap_ip_api.spec.yaml index 1f0f59b1..f371e0cf 100644 --- a/specs/pnap_ip_api.spec.yaml +++ b/specs/pnap_ip_api.spec.yaml @@ -316,7 +316,7 @@ components: type: string example: 1.1.1.0/31 status: - description: The status of the IP Block. + description: 'The status of the IP Block. Can have one of the following values: `creating` , `assigning` , `error assigning` , `assigned` , `unassigning` , `error unassigning` or `unassigned`.' type: string example: unassigned assignedResourceId: diff --git a/specs/pnap_network_api.spec.yaml b/specs/pnap_network_api.spec.yaml index 20eb985e..4081d156 100644 --- a/specs/pnap_network_api.spec.yaml +++ b/specs/pnap_network_api.spec.yaml @@ -869,7 +869,7 @@ components: items: $ref: '#/components/schemas/NetworkMembership' status: - description: 'The status of the private network. Can have one of the following values: `BUSY` or `READY`.' + description: 'The status of the private network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`.' type: string example: READY createdOn: