Merge "Unify value of "xsd:boolean" in Volume API"

This commit is contained in:
Jenkins 2016-04-12 16:12:56 +00:00 committed by Gerrit Code Review
commit 3c80d366f5
15 changed files with 33 additions and 33 deletions

View File

@ -260,8 +260,8 @@
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
Set to <code>usage=True</code> to show quota usage. Default is
<code>False</code>.
Set to <code>usage=true</code> to show quota usage. Default is
<code>false</code>.
</para>
</wadl:doc>
</param>'>
@ -938,7 +938,7 @@
xml:lang="EN">
<para>
The in use data size. Visible only if you set the
<code>usage=True</code> query parameter.
<code>usage=true</code> query parameter.
</para>
</wadl:doc>
</param>
@ -950,7 +950,7 @@
xml:lang="EN">
<para>
Reserved volume size. Visible only if you set the
<code>usage=True</code> query parameter.
<code>usage=true</code> query parameter.
</para>
</wadl:doc>
</param>'>
@ -1847,7 +1847,7 @@
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
Enables public or private visibility. Set to <code>True</code> to
Enables public or private visibility. Set to <code>true</code> to
make the back end publicly visible.
</para>
</wadl:doc>
@ -3200,9 +3200,9 @@
xml:lang="EN">
<para>
The backup mode. A valid value is
<code>True</code> for incremental backup mode or
<code>False</code> for full backup mode.
Default is <code>False</code>.
<code>true</code> for incremental backup mode or
<code>false</code> for full backup mode.
Default is <code>false</code>.
</para>
</wadl:doc>
</param>
@ -3214,7 +3214,7 @@
xml:lang="EN">
<para>
Indicates whether to backup, even if the volume is attached.
Default is <code>False</code>.
Default is <code>false</code>.
</para>
</wadl:doc>
</param>'>
@ -3401,8 +3401,8 @@
xml:lang="EN">
<para>
Indicates whether the backup mode is incremental.
If this value is <code>True</code>, the backup mode is incremental.
If this value is <code>False</code>, the backup mode is full.
If this value is <code>true</code>, the backup mode is incremental.
If this value is <code>false</code>, the backup mode is full.
</para>
</wadl:doc>
</param>
@ -3413,7 +3413,7 @@
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
If this value is <code>True</code>, the backup depends on other backups.
If this value is <code>true</code>, the backup depends on other backups.
</para>
</wadl:doc>
</param>'>

View File

@ -1,6 +1,6 @@
{
"quota_set": {
"force": "True",
"force": true,
"instances": 9
}
}

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<quota_set id="fake_tenant">
<force>True</force>
<force>true</force>
<instances>9</instances>
</quota_set>

View File

@ -4,6 +4,6 @@
"description": null,
"name": "backup001",
"volume_id": "64f5d2fb-d836-4063-b7e2-544d5c1ff607",
"incremental": "True"
"incremental": true
}
}

View File

@ -21,7 +21,7 @@
"size": 1,
"status": "available",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": "True",
"has_dependent_backups": "False"
"is_incremental": true,
"has_dependent_backups": false
}
}

View File

@ -22,8 +22,8 @@
"size": 1,
"status": "available",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": "True",
"has_dependent_backups": "False"
"is_incremental": true,
"has_dependent_backups": false
},
{
"availability_zone": "az1",
@ -47,8 +47,8 @@
"size": 1,
"status": "available",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": "True",
"has_dependent_backups": "False"
"is_incremental": true,
"has_dependent_backups": false
}
]
}

View File

@ -1,5 +1,5 @@
{
"consistencygroup": {
"force": "False"
"force": false
}
}

View File

@ -9,7 +9,7 @@
"availability_zone": "az2",
"description": "Volume imported from existingLV",
"volume_type": null,
"bootable": "True",
"bootable": true,
"metadata": {
"key1": "value1",
"key2": "value2"

View File

@ -9,7 +9,7 @@
"availability_zone": "az2",
"description": "Volume imported from existingLV",
"volume_type": null,
"bootable": "True",
"bootable": true,
"metadata": {
"key1": "value1",
"key2": "value2"

View File

@ -10,7 +10,7 @@
"reserved_percentage": 0,
"driver_version": "1.0.0",
"storage_protocol": "iSCSI",
"QoS_support": "False"
"QoS_support": false
}
},
{
@ -23,7 +23,7 @@
"reserved_percentage": 0,
"driver_version": "1.0.1",
"storage_protocol": "iSER",
"QoS_support": "True"
"QoS_support": true
}
}
]

View File

@ -1,6 +1,6 @@
{
"quota_set": {
"force": "True",
"force": true,
"instances": 9
}
}

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<quota_set id="fake_tenant">
<force>True</force>
<force>true</force>
<instances>9</instances>
</quota_set>

View File

@ -34,7 +34,7 @@
"os-vol-tenant-attr:tenant_id": "bab7d5c60cd041a0a36f7c4b6e1dd978",
"os-vol-mig-status-attr:migstat": null,
"metadata": {
"readonly": "False",
"readonly": false,
"attached_mode": "rw"
},
"status": "in-use",

View File

@ -43,9 +43,9 @@
pool names in the response.
</para>
<para>
Set to <code>True</code> to show pool details. Set
to <code>False</code> to show only pool names.
Default is <code>False</code>.
Set to <code>true</code> to show pool details. Set
to <code>false</code> to show only pool names.
Default is <code>false</code>.
</para>
</wadl:doc>
</param>

View File

@ -1229,7 +1229,7 @@
xml:lang="EN">
<para>
Indicates whether to snapshot, even if the volume
is attached. Default is <code>False</code>.
is attached. Default is <code>false</code>.
</para>
</wadl:doc>
</param>