cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6717) [OVS][UI]VPC network creation page does not display custom network offering created for vpc
Date Tue, 05 Aug 2014 18:00:34 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086554#comment-14086554
] 

Alena Prokharchyk commented on CLOUDSTACK-6717:
-----------------------------------------------

This is the call that UI makes to grab all the network offerings for display. 

http://localhost:8080/client/api?command=listNetworkOfferings&response=json&sessionkey=3WUlDxr5xt3AeoHACIEz1nMtOxI%3D&forvpc=true&guestiptype=Isolated&supportedServices=SourceNat&state=Enabled&_=1407261327743

Note that special parameters are passed to the call:

1) guestIpType=Isolated
2) supportedServices=SourceNat
3) forVpc=true

First and second parameters are defined on the network offering itself, so it should be easy
to check if your offering satisfies this criteria.
Third parameter triggers following check in the java code:

@Override
    public boolean isOfferingForVpc(NetworkOffering offering) {
        boolean vpcProvider = _ntwkOffServiceMapDao.isProviderForNetworkOffering(offering.getId(),
Provider.VPCVirtualRouter) ||
                              _ntwkOffServiceMapDao.isProviderForNetworkOffering(offering.getId(),
Provider.JuniperContrailVpcRouter) ||
                              _ntwkOffServiceMapDao.getDistinctProviders(offering.getId()).contains(Provider.NuageVsp.getName());

        return vpcProvider;
    }

If your offering has the providers within this list, then it can be used in the VPC. 





> [OVS][UI]VPC network creation page does not display custom network offering created for
vpc
> -------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6717
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6717
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.4.0
>         Environment: Latest build from 4.4 branch with commit e6961fd21bb6d793302c234d0f409f66dc498072
>            Reporter: Sanjeev N
>            Assignee: Sanjeev N
>            Priority: Critical
>             Fix For: 4.4.0
>
>         Attachments: vpc_tier.PNG
>
>
> [SDN][UI]VPC network creation page does not display custom network offering created for
vpc
> Steps to Reproduce:
> ================
> 1.Bring up CS in advanced zone with xen cluster
> 2.Create physical network with GRE isolation
> 3.Create Region level vpc
> 4.Create isolated network offering for vpc with virtualnetworking service and ovs as
the service provider
> 5.Enable the network offering
> 6.In region level vpc try to create tier with above created network offering
> Result:
> ======
> Add tier in VPC page does not display the custom vpc offering created with ovs provider.
It only shows the default vpc offerings in the drop down list.
> Attaching screen shot to describe the issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message