'm1.tiny' now has root_gb=1
`root_gb=0` indicates that a disk-resize shouldn't occur which is not something that a default flavor should have enabled. This is especially true of one named 'tiny' since the unresized image could potentially be very large, leading to the unexpected result of a 'tiny' instance consuming a massive amount of disk. The no-resize behavior is still supported, so if it's being relied on for testing, additional, non-default flavors can still be created that enable it. DocImpact Fixes bug 1175383 Change-Id: Ifa5827c7f87dae95214bc4a585adce5735a05d83
This commit is contained in:
parent
7f1670e9fb
commit
5613818b1d
@ -2,7 +2,7 @@
|
||||
"flavors": [
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -91,4 +91,4 @@
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
@ -20,4 +20,4 @@
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/5" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/5" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavors>
|
||||
</flavors>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -17,4 +17,4 @@
|
||||
"ram": 512,
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -17,4 +17,4 @@
|
||||
"ram": 512,
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<flavor xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -2,7 +2,7 @@
|
||||
"flavors": [
|
||||
{
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -91,4 +91,4 @@
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
@ -20,4 +20,4 @@
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/5" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/5" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavors>
|
||||
</flavors>
|
||||
|
@ -2,7 +2,7 @@
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" swap="" rxtx_factor="1.0" disk="0" id="1" os-flavor-access:is_public="True" OS-FLV-EXT-DATA:ephemeral="0" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" swap="" rxtx_factor="1.0" disk="1" id="1" os-flavor-access:is_public="True" OS-FLV-EXT-DATA:ephemeral="0" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -16,4 +16,4 @@
|
||||
"ram": 512,
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -91,4 +91,4 @@
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
@ -20,4 +20,4 @@
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/5" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/5" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavors>
|
||||
</flavors>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -17,4 +17,4 @@
|
||||
"ram": 512,
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<flavor xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -17,4 +17,4 @@
|
||||
"rxtx_factor": 1.0,
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -91,4 +91,4 @@
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
@ -20,4 +20,4 @@
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/5" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/5" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavors>
|
||||
</flavors>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -17,4 +17,4 @@
|
||||
"swap": "",
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -91,4 +91,4 @@
|
||||
"vcpus": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
@ -20,4 +20,4 @@
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/5" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/5" rel="bookmark"/>
|
||||
</flavor>
|
||||
</flavors>
|
||||
</flavors>
|
||||
|
@ -6,7 +6,7 @@
|
||||
"flavor": "m1.tiny",
|
||||
"hours": 1.0,
|
||||
"instance_id": "1f1deceb-17b5-4c04-84c7-e0d4499c8fe0",
|
||||
"local_gb": 0,
|
||||
"local_gb": 1,
|
||||
"memory_mb": 512,
|
||||
"name": "new-server-test",
|
||||
"started_at": "2012-10-08T20:10:44.541277",
|
||||
@ -20,8 +20,8 @@
|
||||
"stop": "2012-10-08T21:10:44.587336",
|
||||
"tenant_id": "openstack",
|
||||
"total_hours": 1.0,
|
||||
"total_local_gb_usage": 0.0,
|
||||
"total_local_gb_usage": 1.0,
|
||||
"total_memory_mb_usage": 512.0,
|
||||
"total_vcpus_usage": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<tenant_usage>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<total_local_gb_usage>0.0</total_local_gb_usage>
|
||||
<total_local_gb_usage>1.0</total_local_gb_usage>
|
||||
<total_vcpus_usage>1.0</total_vcpus_usage>
|
||||
<total_memory_mb_usage>512.0</total_memory_mb_usage>
|
||||
<total_hours>1.0</total_hours>
|
||||
@ -13,7 +13,7 @@
|
||||
<name>new-server-test</name>
|
||||
<hours>1.0</hours>
|
||||
<memory_mb>512</memory_mb>
|
||||
<local_gb>0</local_gb>
|
||||
<local_gb>1</local_gb>
|
||||
<vcpus>1</vcpus>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<flavor>m1.tiny</flavor>
|
||||
@ -23,4 +23,4 @@
|
||||
<uptime>3600</uptime>
|
||||
</server_usage>
|
||||
</server_usages>
|
||||
</tenant_usage>
|
||||
</tenant_usage>
|
||||
|
@ -5,9 +5,9 @@
|
||||
"stop": "2012-10-08T22:10:44.587336",
|
||||
"tenant_id": "openstack",
|
||||
"total_hours": 1.0,
|
||||
"total_local_gb_usage": 0.0,
|
||||
"total_local_gb_usage": 1.0,
|
||||
"total_memory_mb_usage": 512.0,
|
||||
"total_vcpus_usage": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<tenant_usages>
|
||||
<tenant_usage>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<total_local_gb_usage>0.0</total_local_gb_usage>
|
||||
<total_local_gb_usage>1.0</total_local_gb_usage>
|
||||
<total_vcpus_usage>1.0</total_vcpus_usage>
|
||||
<total_memory_mb_usage>512.0</total_memory_mb_usage>
|
||||
<total_hours>1.0</total_hours>
|
||||
@ -10,4 +10,4 @@
|
||||
<stop>2012-10-08 22:10:51.902640</stop>
|
||||
<server_usages/>
|
||||
</tenant_usage>
|
||||
</tenant_usages>
|
||||
</tenant_usages>
|
||||
|
@ -38,7 +38,7 @@ def MediumText():
|
||||
|
||||
def _populate_instance_types(instance_types_table):
|
||||
default_inst_types = {
|
||||
'm1.tiny': dict(mem=512, vcpus=1, root_gb=0, eph_gb=0, flavid=1),
|
||||
'm1.tiny': dict(mem=512, vcpus=1, root_gb=1, eph_gb=0, flavid=1),
|
||||
'm1.small': dict(mem=2048, vcpus=1, root_gb=20, eph_gb=0, flavid=2),
|
||||
'm1.medium': dict(mem=4096, vcpus=2, root_gb=40, eph_gb=0, flavid=3),
|
||||
'm1.large': dict(mem=8192, vcpus=4, root_gb=80, eph_gb=0, flavid=4),
|
||||
|
@ -2,7 +2,7 @@
|
||||
"flavors": [
|
||||
{
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "%(flavor_id)s",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="%(flavor_id)s" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="%(flavor_id)s" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/%(flavor_id)s" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/%(flavor_id)s" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavor": {
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "%(flavor_id)s",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="%(flavor_name)s" id="%(flavor_id)s" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<flavor xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="%(flavor_name)s" id="%(flavor_id)s" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/%(flavor_id)s" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/%(flavor_id)s" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -2,7 +2,7 @@
|
||||
"flavors": [
|
||||
{
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" OS-FLV-EXT-DATA:ephemeral="0">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -2,7 +2,7 @@
|
||||
"flavor": {
|
||||
"OS-FLV-DISABLED:disabled": false,
|
||||
"OS-FLV-EXT-DATA:ephemeral": 0,
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
@ -21,4 +21,4 @@
|
||||
"swap": "",
|
||||
"vcpus": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" swap="" rxtx_factor="1.0" disk="0" id="1" os-flavor-access:is_public="True" OS-FLV-EXT-DATA:ephemeral="0" OS-FLV-DISABLED:disabled="False">
|
||||
<flavor xmlns:OS-FLV-DISABLED="http://docs.openstack.org/compute/ext/flavor_disabled/api/v1.1" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:OS-FLV-EXT-DATA="http://docs.openstack.org/compute/ext/flavor_extra_data/api/v1.1" xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" swap="" rxtx_factor="1.0" disk="1" id="1" os-flavor-access:is_public="True" OS-FLV-EXT-DATA:ephemeral="0" OS-FLV-DISABLED:disabled="False">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" disk="0" id="1">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" name="m1.tiny" ram="512" vcpus="1" disk="1" id="1">
|
||||
<atom:link href="http://openstack.example.com/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="http://openstack.example.com/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -71,4 +71,4 @@
|
||||
"name": "m1.xlarge"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" os-flavor-access:is_public="True">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "%(flavor_id)s",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="%(flavor_id)s" os-flavor-access:is_public="True">
|
||||
<flavor xmlns:os-flavor-access="http://docs.openstack.org/compute/ext/flavor_access/api/v2" xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="%(flavor_id)s" os-flavor-access:is_public="True">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/%(flavor_id)s" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/%(flavor_id)s" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "%(flavor_id)s",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" rxtx_factor="1.0">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"flavor": {
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "%(flavor_id)s",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="0" vcpus="1" ram="512" name="%(flavor_name)s" id="%(flavor_id)s" swap="">
|
||||
<flavor xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1" disk="1" vcpus="1" ram="512" name="%(flavor_name)s" id="%(flavor_id)s" swap="">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/%(flavor_id)s" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/%(flavor_id)s" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"disk": 0,
|
||||
"disk": 1,
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<flavors xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://docs.openstack.org/compute/api/v1.1">
|
||||
<flavor disk="0" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<flavor disk="1" vcpus="1" ram="512" name="m1.tiny" id="1" swap="">
|
||||
<atom:link href="%(host)s/v2/openstack/flavors/1" rel="self"/>
|
||||
<atom:link href="%(host)s/openstack/flavors/1" rel="bookmark"/>
|
||||
</flavor>
|
||||
|
@ -6,7 +6,7 @@
|
||||
"flavor": "m1.tiny",
|
||||
"hours": 1.0,
|
||||
"instance_id": "%(uuid)s",
|
||||
"local_gb": 0,
|
||||
"local_gb": 1,
|
||||
"memory_mb": 512,
|
||||
"name": "new-server-test",
|
||||
"started_at": "%(timestamp)s",
|
||||
@ -20,7 +20,7 @@
|
||||
"stop": "%(timestamp)s",
|
||||
"tenant_id": "openstack",
|
||||
"total_hours": 1.0,
|
||||
"total_local_gb_usage": 0.0,
|
||||
"total_local_gb_usage": 1.0,
|
||||
"total_memory_mb_usage": 512.0,
|
||||
"total_vcpus_usage": 1.0
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<tenant_usage>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<total_local_gb_usage>0.0</total_local_gb_usage>
|
||||
<total_local_gb_usage>1.0</total_local_gb_usage>
|
||||
<total_vcpus_usage>1.0</total_vcpus_usage>
|
||||
<total_memory_mb_usage>512.0</total_memory_mb_usage>
|
||||
<total_hours>1.0</total_hours>
|
||||
@ -13,7 +13,7 @@
|
||||
<name>new-server-test</name>
|
||||
<hours>1.0</hours>
|
||||
<memory_mb>512</memory_mb>
|
||||
<local_gb>0</local_gb>
|
||||
<local_gb>1</local_gb>
|
||||
<vcpus>1</vcpus>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<flavor>m1.tiny</flavor>
|
||||
|
@ -5,7 +5,7 @@
|
||||
"stop": "%(timestamp)s",
|
||||
"tenant_id": "openstack",
|
||||
"total_hours": 1.0,
|
||||
"total_local_gb_usage": 0.0,
|
||||
"total_local_gb_usage": 1.0,
|
||||
"total_memory_mb_usage": 512.0,
|
||||
"total_vcpus_usage": 1.0
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<tenant_usages>
|
||||
<tenant_usage>
|
||||
<tenant_id>openstack</tenant_id>
|
||||
<total_local_gb_usage>0.0</total_local_gb_usage>
|
||||
<total_local_gb_usage>1.0</total_local_gb_usage>
|
||||
<total_vcpus_usage>1.0</total_vcpus_usage>
|
||||
<total_memory_mb_usage>512.0</total_memory_mb_usage>
|
||||
<total_hours>1.0</total_hours>
|
||||
|
Loading…
Reference in New Issue
Block a user