Interfaces
Create a host interface definition
Changed onpost/interfaces/{hostName}
Request
- Base URLhttps://quads.example.com/api/v3
- URLhttps://quads.example.com/api/v3/interfaces/{hostName}
- AuthHTTP bearer
Path parameters
hostNamestring required
Host name
Request body
Example request
{
"name": "em1",
"mac_address": "aa:00:bb:11:cc:22",
"switch_ip": "10.1.1.18",
"switch_port": "xt-0-0/1",
"bios_id": "nic1",
"speed": 1000,
"vendor": "Intel",
"pxe_boot": true
}Response
Interface details list
Example response
{
"id": 12,
"name": "em1",
"bios_id": "nic1",
"mac_address": "aa:00:bb:11:cc:22",
"switch_ip": "10.1.1.18",
"switch_port": "xt-0-0/1",
"speed": 1000,
"vendor": "Intel",
"pxe_boot": true,
"host_id": 10
}Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking