f-62: vm: MAC fournie à la création par interface, fin de la table préchargée, migration #62
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
c26606787e
commit
077141443e
20 changed files with 338 additions and 171 deletions
|
|
@ -534,7 +534,7 @@ components:
|
|||
|
||||
VMInterface:
|
||||
type: object
|
||||
required: [subnet, ip, primary]
|
||||
required: [subnet, ip, mac, primary]
|
||||
properties:
|
||||
subnet:
|
||||
type: string
|
||||
|
|
@ -543,6 +543,15 @@ components:
|
|||
type: string
|
||||
format: ipv4
|
||||
example: "10.0.0.5"
|
||||
mac:
|
||||
type: string
|
||||
pattern: '^([0-9A-Fa-f]{2}:){5}[0-9A-Fa-f]{2}$'
|
||||
description: >
|
||||
MAC address of the interface, chosen by the caller. It is given to
|
||||
QEMU and to the DHCP reservation as is, and returned unchanged by
|
||||
GET. The agent does not check its format nor its uniqueness: that
|
||||
is the caller's job. Missing or empty → 400.
|
||||
example: "52:54:00:00:00:05"
|
||||
primary:
|
||||
type: boolean
|
||||
example: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue