Create flavor-access for the tenant when creating
a private flavor In FlavorManage extension, a change has been made to create flavor-access for a corresponding tenant on creating a private flavor This also requires the api-samples for flavor-access to be changed, since there will be a flavor-access created by default on creating a private flavor This commit has a DocImpact Change-Id: I7795fbd04ae9fc8b1ea6fb27203dfa5217d310ce Fixes: bug 1209101
This commit is contained in:
@@ -3,6 +3,10 @@
|
|||||||
{
|
{
|
||||||
"flavor_id": "10",
|
"flavor_id": "10",
|
||||||
"tenant_id": "fake_tenant"
|
"tenant_id": "fake_tenant"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access>
|
<flavor_access>
|
||||||
<access tenant_id="fake_tenant" flavor_id="10"/>
|
<access tenant_id="fake_tenant" flavor_id="10"/>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
</flavor_access>
|
</flavor_access>
|
||||||
@@ -3,6 +3,10 @@
|
|||||||
{
|
{
|
||||||
"flavor_id": "10",
|
"flavor_id": "10",
|
||||||
"tenant_id": "fake_tenant"
|
"tenant_id": "fake_tenant"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access>
|
<flavor_access>
|
||||||
<access tenant_id="fake_tenant" flavor_id="10"/>
|
<access tenant_id="fake_tenant" flavor_id="10"/>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
</flavor_access>
|
</flavor_access>
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
{
|
{
|
||||||
"flavor_access": []
|
"flavor_access": [{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access/>
|
<flavor_access>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
|
</flavor_access>
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
{
|
{
|
||||||
"flavor_id": "10",
|
"flavor_id": "10",
|
||||||
"tenant_id": "fake_tenant"
|
"tenant_id": "fake_tenant"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access>
|
<flavor_access>
|
||||||
<access tenant_id="fake_tenant" flavor_id="10"/>
|
<access tenant_id="fake_tenant" flavor_id="10"/>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
</flavor_access>
|
</flavor_access>
|
||||||
@@ -3,6 +3,10 @@
|
|||||||
{
|
{
|
||||||
"flavor_id": "10",
|
"flavor_id": "10",
|
||||||
"tenant_id": "fake_tenant"
|
"tenant_id": "fake_tenant"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access>
|
<flavor_access>
|
||||||
<access tenant_id="fake_tenant" flavor_id="10"/>
|
<access tenant_id="fake_tenant" flavor_id="10"/>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
</flavor_access>
|
</flavor_access>
|
||||||
@@ -1,3 +1,6 @@
|
|||||||
{
|
{
|
||||||
"flavor_access": []
|
"flavor_access": [{
|
||||||
|
"flavor_id": "10",
|
||||||
|
"tenant_id": "openstack"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<flavor_access/>
|
<flavor_access>
|
||||||
|
<access tenant_id="openstack" flavor_id="10"/>
|
||||||
|
</flavor_access>
|
||||||
|
|||||||
Reference in New Issue
Block a user