radu-todirica opened a new pull request #3986: Change listVpcOfferings endpoint and createVpcOffering endpoint URL: https://github.com/apache/cloudstack/pull/3986 ## Description <!--- Describe your changes in detail --> Currently in cloudstack there is no way to create a VPC Offering with a selected service offering, the service offering is always null. When a VPC router is created if the service offering is null a default Service Offering is chosen. The following changes have been added: - listVpcOfferings endpoint will list what system service offering they were created with - the cloudstack ui will let you pick what serviceOfferingId to use - the cloudstack ui will let you edit the serviceOffering used by the vpcOffering ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate): ![addVpcOffering](https://user-images.githubusercontent.com/50488048/77345749-c2fcc700-6d3d-11ea-82cb-64429e800c01.PNG) ![editOffering](https://user-images.githubusercontent.com/50488048/77345766-c85a1180-6d3d-11ea-9e93-05c2ec21da77.PNG) ## How Has This Been Tested? Wrote a python test for testing create VPC offering with selected service offering Steps for validation - Create a system offering - Create VPC Offering by specifying all supported Services and your system offering - VPC offering should be created successfully [results.txt](https://github.com/apache/cloudstack/files/4371015/results.txt) [runinfo.txt](https://github.com/apache/cloudstack/files/4371016/runinfo.txt) <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services