mirror of https://gitee.com/openkylin/libvirt.git
test: Replace tabs with spaces in virnetdaemondata json files
JSON data that are used to initialize tests in virnetdaemontest should be in a consistent format, i.e. not using tabs for indentation, those should be replaced by spaces.
This commit is contained in:
parent
7dc52241b3
commit
4ac0d545e8
|
@ -1,126 +1,126 @@
|
|||
{
|
||||
"servers": [
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"keepaliveRequired": true,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"keepaliveRequired": true,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"keepaliveRequired": true,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"keepaliveRequired": true,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,124 +1,124 @@
|
|||
{
|
||||
"servers": [
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,124 +1,124 @@
|
|||
{
|
||||
"servers": [
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"min_workers": 10,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"min_workers": 2,
|
||||
"max_workers": 50,
|
||||
"priority_workers": 5,
|
||||
"max_clients": 100,
|
||||
"keepaliveInterval": 120,
|
||||
"keepaliveCount": 5,
|
||||
"services": [
|
||||
{
|
||||
"auth": 0,
|
||||
"readonly": true,
|
||||
"nrequests_client_max": 2,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 100,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": false,
|
||||
"nrequests_client_max": 5,
|
||||
"socks": [
|
||||
{
|
||||
"fd": 101,
|
||||
"errfd": -1,
|
||||
"pid": 0,
|
||||
"isClient": false
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"clients": [
|
||||
{
|
||||
"auth": 1,
|
||||
"readonly": true,
|
||||
"nrequests_max": 15,
|
||||
"sock": {
|
||||
"fd": 102,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"auth": 2,
|
||||
"readonly": true,
|
||||
"nrequests_max": 66,
|
||||
"sock": {
|
||||
"fd": 103,
|
||||
"errfd": -1,
|
||||
"pid": -1,
|
||||
"isClient": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue