diff --git a/v1/api/swagger/components/schemas/Host.yaml b/v1/api/swagger/components/schemas/Host.yaml index 720ad136..83a304da 100644 --- a/v1/api/swagger/components/schemas/Host.yaml +++ b/v1/api/swagger/components/schemas/Host.yaml @@ -34,6 +34,7 @@ allOf: - Workflow - SummaryStatus - Labels + - WWPNs properties: Description: type: string @@ -191,3 +192,11 @@ allOf: description: Host health summary status Labels: $ref: ./Labels.yaml + WWPNs: + type: array + description: FC HBA world wide port names + items: + type: string + example: + - 20:31:01:02:ad:f2:a8:e5 + - 21:31:01:02:ad:f2:a8:e5 \ No newline at end of file diff --git a/v1/api/swagger/components/schemas/NewHost.yaml b/v1/api/swagger/components/schemas/NewHost.yaml index 37d9fc56..1d8e32b9 100644 --- a/v1/api/swagger/components/schemas/NewHost.yaml +++ b/v1/api/swagger/components/schemas/NewHost.yaml @@ -149,3 +149,11 @@ properties: example: serviceType: BMaaS region: us-west-2 + WWPNs: + type: array + description: FC HBA world wide port names + items: + type: string + example: + - 20:31:01:02:ad:f2:a8:e5 + - 21:31:01:02:ad:f2:a8:e5 diff --git a/v1/html/index.html b/v1/html/index.html index 38b88f4f..8606bc42 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2473,7 +2473,7 @@
[- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}
}
]
Creates a new host object which kicks off the provisioning of a physical server in accordance to the attributes provided for the Host object. Most values for these options must be selected from the set of options provided by the get available-resources API call. +
[- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}, - "WWPNs": [
- "20:31:01:02:ad:f2:a8:e5",
- "21:31:01:02:ad:f2:a8:e5"
]
}
]
Creates a new host object which kicks off the provisioning of a physical server in accordance to the attributes provided for the Host object. Most values for these options must be selected from the set of options provided by the get available-resources API call. The SvcFlavor, SvcVersion, LocationID, SSHKeyIDs, and Network attribute must all be set with appropriate ID values from the available-resources call.
Defines the configuration of the desired host. See the schema for descriptions of individual attributes.
Name required | string The host name used when installing the host operating system. Note that some OS implementations may require the name to be formatted as a fully qualified domain name. @@ -2492,15 +2492,16 @@Option 2: Getting the token directly from UI |
Array of objects (AddVolume) New volumes may be created and connected to the Host when the host is provisioned. The information provided here to create a host is the same as required when doing a post /volumes call | |
UserData | string User-provided data to be attached to the image configuration data. |
NodeID | string User-provided data to represent the identity of the host within an application environment. For example, this could be set to represent the Kubernetes node ID if the host is provisioned as a Kubernetes node. - |
object The map of service/user specified label name to label value for this host. + | |
object The map of service/user specified label name to label value for this host. Setting service labels is restricted by role. + | |
WWPNs | Array of strings FC HBA world wide port names |
{- "Name": "NewHostName",
- "Description": "Description of new Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "NetworkIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "PreAllocatedIPs": [
- "10.0.0.4",
- "10.0.0.8"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "VolumeIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "NewVolumes": [
- {
- "Name": "NewVolumeName",
- "Description": "Description of New Volume",
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "Capacity": 10,
- "Shareable": true,
- "StoragePoolID": "4028a467-4960-41d8-94b5-7611e50c0642",
- "VolumeCollectionID": "0bc8d647-85d3-4a49-8d49-8626da150790"
}
], - "UserData": "string",
- "NodeID": "Node21",
- "Labels": {
- "serviceType": "BMaaS",
- "region": "us-west-2"
}
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}
}
{- "Name": "NewHostName",
- "Description": "Description of new Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "NetworkIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "PreAllocatedIPs": [
- "10.0.0.4",
- "10.0.0.8"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "VolumeIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "NewVolumes": [
- {
- "Name": "NewVolumeName",
- "Description": "Description of New Volume",
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "Capacity": 10,
- "Shareable": true,
- "StoragePoolID": "4028a467-4960-41d8-94b5-7611e50c0642",
- "VolumeCollectionID": "0bc8d647-85d3-4a49-8d49-8626da150790"
}
], - "UserData": "string",
- "NodeID": "Node21",
- "Labels": {
- "serviceType": "BMaaS",
- "region": "us-west-2"
}, - "WWPNs": [
- "20:31:01:02:ad:f2:a8:e5",
- "21:31:01:02:ad:f2:a8:e5"
]
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}, - "WWPNs": [
- "20:31:01:02:ad:f2:a8:e5",
- "21:31:01:02:ad:f2:a8:e5"
]
}
Returns a single Host with matching ID
hostId required | string ID of Host to return |
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}
}
Updates the Host with the matching ID. Update is permitted only if the host is in the 'Ready' or 'Connection Updating Failed' state. Only the Host 'Description', 'Networks', 'NetworkForDefaultRoute', 'NetworkUntagged' and 'ISCSIConfig:InitiatorName' can be updated. 'ISCSIConfig:InitiatorName' can be updated only if the host has no volumes attached.
+{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "Description": "Description of Host",
- "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710",
- "ServiceFlavor": "ubuntu",
- "ServiceVersion": "18.04-20190807",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "MachineSizeName": "HPE Large",
- "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e",
- "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827",
- "SSHKeyIDs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "SSHAuthorizedKeys": [
- "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
], - "NetworkIDs": [
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "91eec8b5-6460-4532-aad1-47b983edb63c"
], - "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92",
- "PreAllocatedIPs": [
- "string"
], - "ServiceNetsProviderMAC": {
- "046b6c7f-0b8a-43b9-b35d-6489e6daee91": "a2:c8:93:15:2a:76"
}, - "UserData": "string",
- "NodeID": "Node21",
- "ISCSIConfig": {
- "InitiatorName": "string",
- "CHAPSecret": "string",
- "CHAPUser": "string",
- "ISCSIDiscoveryAddress": "string"
}, - "Connections": [
- {
- "Name": "Default",
- "Ports": [
- {
- "Name": "lan5",
- "HWAddr": "5c:b9:01:95:64:a0"
}
], - "HA": true,
- "Speed": "1Gb",
- "Networks": [
- {
- "Name": "HostConn1",
- "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc",
- "IP": "10.5.3.4",
- "Subnet": "10.5.3.0",
- "Netmask": "/24",
- "Gateway": "10.5.3.1",
- "DNS": [
- "8.8.8.8"
], - "VLAN": 0,
- "VNI": 0,
- "Untagged": true,
- "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com"
}
]
}
], - "Deleted": true,
- "PortalCommOkay": true,
- "PowerStatus": "ON",
- "State": "Ready",
- "Substate": "Complete",
- "StateTime": "2019-08-24T14:15:22Z",
- "SubstateTime": "2019-08-24T14:15:22Z",
- "Progress": 100,
- "Alert": true,
- "AlertInfo": [
- {
- "Alert": "op-failed",
- "State": "Ready",
- "Substate": "Complete",
- "Message": "Operation XXX completed as failed with status: YYY",
- "Time": "2019-08-24T14:15:22Z",
- "Ack": true
}
], - "Workflow": "string",
- "SummaryStatus": "OK",
- "Labels": {
- "serviceType": "BMaaS"
}, - "WWPNs": [
- "20:31:01:02:ad:f2:a8:e5",
- "21:31:01:02:ad:f2:a8:e5"
]
}
Updates the Host with the matching ID. Update is permitted only if the host is in the 'Ready' or 'Connection Updating Failed' state. Only the Host 'Description', 'Networks', 'NetworkForDefaultRoute', 'NetworkUntagged' and 'ISCSIConfig:InitiatorName' can be updated. 'ISCSIConfig:InitiatorName' can be updated only if the host has no volumes attached.
hostId required | string ID of host to update |
Updated Host