add examples directory
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -44,5 +44,4 @@ _testmain.go
|
||||
.idea
|
||||
/gotgt
|
||||
*.out
|
||||
examples/*
|
||||
*.bak
|
||||
|
||||
25
examples/config.json
Normal file
25
examples/config.json
Normal file
@@ -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