mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
qemublocktest: Convert all 'gluster' instances to 'nbd' in 'xml2json' cases
Gluster will be deprecated in the upcoming qemu version thus we need to replace the network protocol by something which will stay supported so that we can keep the tests around. Convert all cases referencing 'gluster' to 'nbd'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
81493d8eb6
commit
b6545bcec1
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -36,16 +36,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -36,16 +36,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -54,16 +54,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap",
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='qcow2'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -54,16 +54,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap",
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='qcow2'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -54,16 +54,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap",
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='qcow2'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -54,16 +54,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap",
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='qcow2'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -54,16 +54,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap",
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='qcow2'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -35,16 +35,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -38,16 +38,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -38,16 +38,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
@ -19,19 +19,16 @@
|
||||
(
|
||||
source only properties:
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
]
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c"
|
||||
}
|
||||
backing store string:
|
||||
gluster://test.org:24007/images/c
|
||||
nbd://test.org:10809/images/c
|
||||
)
|
||||
(
|
||||
source only properties:
|
||||
|
@ -37,16 +37,13 @@
|
||||
"backing": "node-d-f"
|
||||
}
|
||||
{
|
||||
"driver": "gluster",
|
||||
"volume": "images",
|
||||
"path": "c",
|
||||
"server": [
|
||||
{
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "24007"
|
||||
}
|
||||
],
|
||||
"driver": "nbd",
|
||||
"server": {
|
||||
"type": "inet",
|
||||
"host": "test.org",
|
||||
"port": "10809"
|
||||
},
|
||||
"export": "images/c",
|
||||
"node-name": "node-c-s",
|
||||
"auto-read-only": true,
|
||||
"discard": "unmap"
|
||||
|
@ -20,7 +20,7 @@
|
||||
</source>
|
||||
<backingStore type='network' index='2'>
|
||||
<format type='vmdk'/>
|
||||
<source protocol='gluster' name='images/c'>
|
||||
<source protocol='nbd' name='images/c'>
|
||||
<host name='test.org'/>
|
||||
<privateData>
|
||||
<nodenames>
|
||||
|
Loading…
Reference in New Issue
Block a user