Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Sumanth Nagadavalli
committed
Oct 8, 2013
1 parent
321037b
commit 6ba2486
Showing
30 changed files
with
267 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
{ | ||
"flavor_id": "10", | ||
"tenant_id": "fake_tenant" | ||
}, | ||
{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
doc/api_samples/os-flavor-access/flavor-access-add-tenant-resp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="fake_tenant" flavor_id="10"/> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
{ | ||
"flavor_id": "10", | ||
"tenant_id": "fake_tenant" | ||
}, | ||
{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="fake_tenant" flavor_id="10"/> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
5 changes: 4 additions & 1 deletion
5
doc/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"flavor_access": [] | ||
"flavor_access": [{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
}] | ||
} |
4 changes: 3 additions & 1 deletion
4
doc/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access/> | ||
<flavor_access> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
{ | ||
"flavor_id": "10", | ||
"tenant_id": "fake_tenant" | ||
}, | ||
{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
doc/v3/api_samples/os-flavor-access/flavor-access-add-tenant-resp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="fake_tenant" flavor_id="10"/> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
{ | ||
"flavor_id": "10", | ||
"tenant_id": "fake_tenant" | ||
}, | ||
{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
doc/v3/api_samples/os-flavor-access/flavor-access-list-resp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="fake_tenant" flavor_id="10"/> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
5 changes: 4 additions & 1 deletion
5
doc/v3/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"flavor_access": [] | ||
"flavor_access": [{ | ||
"flavor_id": "10", | ||
"tenant_id": "openstack" | ||
}] | ||
} |
4 changes: 3 additions & 1 deletion
4
doc/v3/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access/> | ||
<flavor_access> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
nova/tests/integrated/api_samples/os-flavor-access/flavor-access-add-tenant-resp.json.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
nova/tests/integrated/api_samples/os-flavor-access/flavor-access-add-tenant-resp.xml.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="%(tenant_id)s" flavor_id="%(flavor_id)s"/> | ||
<access tenant_id="openstack" flavor_id="%(flavor_id)s"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
nova/tests/integrated/api_samples/os-flavor-access/flavor-access-list-resp.xml.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access> | ||
<access tenant_id="%(tenant_id)s" flavor_id="%(flavor_id)s"/> | ||
</flavor_access> | ||
<access tenant_id="fake_tenant" flavor_id="10"/> | ||
<access tenant_id="openstack" flavor_id="10"/> | ||
</flavor_access> |
5 changes: 4 additions & 1 deletion
5
nova/tests/integrated/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.json.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
"flavor_access": [] | ||
"flavor_access": [{ | ||
"tenant_id": "openstack", | ||
"flavor_id": "%(flavor_id)s" | ||
}] | ||
} |
4 changes: 3 additions & 1 deletion
4
nova/tests/integrated/api_samples/os-flavor-access/flavor-access-remove-tenant-resp.xml.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<flavor_access/> | ||
<flavor_access> | ||
<access tenant_id="openstack" flavor_id="%(flavor_id)s"/> | ||
</flavor_access> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.