[
https://issues.apache.org/jira/browse/CLOUDSTACK-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alena Prokharchyk resolved CLOUDSTACK-4679.
-------------------------------------------
Resolution: Invalid
Marking issue as invalid. The api allows you to specify the providers. Here is
the example of the call:
http://localhost:8096/?command=createVPCOffering&name=alena&displayText=alena&supportedServices=Lb,SourceNat&serviceProviderList[0].service=Lb&serviceProviderList[0].provider=InternalLbVm
And here is the result in the DB:
mysql> select service, provider from vpc_offering_service_map where
vpc_offering_id=7;
+------------+------------------+
| service | provider |
+------------+------------------+
| Gateway | VpcVirtualRouter |
| Lb | InternalLbVm |
| NetworkACL | VpcVirtualRouter |
| SourceNat | VpcVirtualRouter |
+------------+------------------+
4 rows in set (0.00 sec)
Checked on 4.2 branch (3e14b6b795ba77f1d2ae6a241a918568150df899)
> createVPCOffering does not provide a way to supply service providers
> --------------------------------------------------------------------
>
> Key: CLOUDSTACK-4679
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4679
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Environment: 4.2
> Reporter: Sowmya Krishnan
> Assignee: Alena Prokharchyk
> Fix For: Future
>
>
> createVPCOffering API doesn't provide a way to specify service providers. We
> can only choose the list of services that a VPC offers. Provider will be VPC
> VR by default and it remains VPC VR for any new VPC offering since we have no
> way of specifying a provider.
> Today we have 2 more possible providers apart from VPC VR viz, Netscaler and
> Internal LB. So if I want to create a VPC Offering with Netscaler as LB and
> only the following services: DHCP, DNS, SourceNAT, it is not possible today.
> The only option is to choose the Default VPC Offering with all services.
> We should allow createVPCOffering API to be able to accept service providers
> as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira