[WIP DO NOT MERGE] server: compute offering for specified domain(s) and zone(s)#3250
Closed
shwstppr wants to merge 1 commit intoapache:masterfrom
Closed
[WIP DO NOT MERGE] server: compute offering for specified domain(s) and zone(s)#3250shwstppr wants to merge 1 commit intoapache:masterfrom
shwstppr wants to merge 1 commit intoapache:masterfrom
Conversation
Service or compute offerings will be allowed to link with specified domain(s) and zone(s). Compute offering linked with multiple domains and zones can be created both with UI and API. Refactored createServiceOffering API to allow passing list of domain and zone IDs with domainids and zoneids parameter respectively. UI has been refactored to allow selecting multiple domains and zones while creating compute offering using multi-select elements. When list of passed domains contain both parent and child domain, offering will be created for parent domain. Compute offering details will now show list of linked domains and zones as a comma-separated list of names. Linked domains and zones will be stored in the cloud.service_offering_details table in database as comma-separated list of IDs with key domainids and zoneids respectively. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
e00fb48 to
ff77308
Compare
Member
Contributor
Author
|
Changes from this PR are now present in #3248 |
|
Packaging result: ✖centos7 ✖debian. JID-1689 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Problem: Compute or service offerings cannot be linked to specified multiple domain(s) and zone(s).
Root cause: Compute offerings are independent of zones and they can be linked only to a single domain/sub-domain
Solution: Compute or service offerings will be allowed to link with specified domain(s) and zone(s). Disk offering linked with multiple domains and zones can be created both with UI and API. Refactored createServiceOffering API to allow passing list of domain and zone IDs with domainids and zoneids parameter respectively. UI has been refactored to allow selecting multiple domains and zones while creating compute offering using multi-select elements. When list of passed domains contain both parent and child domain offering will be created for parent domain. Compute offering details will now show list of linked domains and zones as a comma-separated list of names. Linked domains and zones will be stored in the cloud.service_offering_details table in database as comma-separated list of IDs with key domainids and zoneids respectively.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
From UI and using cmk