Skip to content

Commit

Permalink
When VMIO migrates a VM from RHV, it needs to be able to set the disk…
Browse files Browse the repository at this point in the history
… bus to "scsi". (#300)

This commit adds support for scsi in windows validation.

Signed-off-by: Karel Simon <[email protected]>
  • Loading branch information
ksimon1 authored Jan 11, 2021
1 parent 24f15c9 commit 8da2a63
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions templates/windows10.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ objects:
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["virtio", "sata"]
"message": "disk bus has to be either virtio or sata or scsi",
"values": ["virtio", "sata", "scsi"]
}, {
"name": "windows-cd-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
Expand Down
4 changes: 2 additions & 2 deletions templates/windows2k12.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ objects:
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["virtio", "sata"]
"message": "disk bus has to be either virtio or sata or scsi",
"values": ["virtio", "sata", "scsi"]
}, {
"name": "windows-cd-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
Expand Down
4 changes: 2 additions & 2 deletions templates/windows2k16.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ objects:
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["virtio", "sata"]
"message": "disk bus has to be either virtio or sata or scsi",
"values": ["virtio", "sata", "scsi"]
}, {
"name": "windows-cd-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
Expand Down
4 changes: 2 additions & 2 deletions templates/windows2k19.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ objects:
"path": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"valid": "jsonpath::.spec.domain.devices.disks[*].disk.bus",
"rule": "enum",
"message": "disk bus has to be either virtio or sata",
"values": ["virtio", "sata"]
"message": "disk bus has to be either virtio or sata or scsi",
"values": ["virtio", "sata", "scsi"]
}, {
"name": "windows-cd-bus",
"path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",
Expand Down

0 comments on commit 8da2a63

Please sign in to comment.