forked from Telmate/proxmox-api-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zfs-over-iscsi_comstar.go
38 lines (35 loc) · 996 Bytes
/
zfs-over-iscsi_comstar.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package storagesubtests
import (
"github.com/Telmate/proxmox-api-go/proxmox"
)
var ZFSoverISCSI_ComstarFull = proxmox.ConfigStorage{
Enable: true,
Nodes: []string{"pve"},
Type: "zfs-over-iscsi",
ZFSoverISCSI: &proxmox.ConfigStorageZFSoverISCSI{
Portal: "test-portal",
Pool: "test-pool",
Blocksize: proxmox.PointerString("8k"),
Target: "test-target",
Thinprovision: true,
ISCSIprovider: "comstar",
Comstar: &proxmox.ConfigStorageZFSoverISCSI_Comstar{
TargetGroup: "t-group",
HostGroup: "h-group",
Writecache: true,
},
},
Content: &proxmox.ConfigStorageContent{
DiskImage: proxmox.PointerBool(true),
},
}
var ZFSoverISCSI_ComstarEmpty = proxmox.ConfigStorage{
Type: "zfs-over-iscsi",
ZFSoverISCSI: &proxmox.ConfigStorageZFSoverISCSI{
Portal: "test-portal",
Pool: "test-pool",
Target: "test-target",
ISCSIprovider: "comstar",
Comstar: &proxmox.ConfigStorageZFSoverISCSI_Comstar{},
},
}