add examples directory
This commit is contained in:
@@ -44,5 +44,4 @@ _testmain.go
|
|||||||
.idea
|
.idea
|
||||||
/gotgt
|
/gotgt
|
||||||
*.out
|
*.out
|
||||||
examples/*
|
|
||||||
*.bak
|
*.bak
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"storages":[
|
||||||
|
{
|
||||||
|
"deviceID":1000,
|
||||||
|
"path":"file:/var/tmp/disk.img",
|
||||||
|
"online":true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"iscsiportals":[
|
||||||
|
{
|
||||||
|
"id":0,
|
||||||
|
"portal":"127.0.0.1:3260"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"iscsitargets":{
|
||||||
|
"iqn.2016-09.com.gotgt.gostor:02:example-tgt-0":{
|
||||||
|
"tpgts":{
|
||||||
|
"1":[0]
|
||||||
|
},
|
||||||
|
"luns":{
|
||||||
|
"0":1000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user