You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Murali Reddy (JIRA)" <ji...@apache.org> on 2013/07/15 12:16:48 UTC

[jira] [Resolved] (CLOUDSTACK-2959) [PortableIPrange] it is good show ip ranges rather individual ip list as part of listPortableIpRanges response

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Murali Reddy resolved CLOUDSTACK-2959.
--------------------------------------

    Resolution: Won't Fix

This is by-design. If we see the response there is 'portableiprange' sub-item which gives the property of the range which include gateway, netmask, vlan ID. There is also  'portableipaddress' item which is per portable IP in that range, which gives attribute of each portable IP i.e.) current zone to which portable ip is associated and which vpc network/network in that zone etc. 

There is different on how user and admin perceives portable IP.  For users, they would just see portable ip address as public IP (from the public ip address response). But for admin its a different range provisioned in to a region level, with each portable ip in that range can be associated with any zone in that region.

Current response object for the portable ip address range gives all the relevant details for that range. Let me know if there is still confusion or improvement.

<listportableipresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>1</count>
<portableiprange>
<id>872995b7-4734-434a-a49e-dc90a4d0bee4</id>
<regionid>1</regionid>
<gateway>10.147.40.1</gateway>
<netmask>255.255.255.0</netmask>
<vlan>40</vlan>
<startip>10.147.40.100</startip>
<endip>10.147.40.105</endip>
<portableipaddress>
<ipaddress>10.147.40.100</ipaddress>
<accountid>system</accountid>
<domainid>108c3b16-ed27-11e2-be70-c45d8584068f</domainid>
<allocated>2013-07-15T15:24:20+0530</allocated>
<state>Allocated</state>
</portableipaddress>
<portableipaddress>
<ipaddress>10.147.40.101</ipaddress>
<state>Free</state>
</portableipaddress>
<portableipaddress>
<ipaddress>10.147.40.102</ipaddress>
<state>Free</state>
</portableipaddress>
<portableipaddress>
<ipaddress>10.147.40.103</ipaddress>
<state>Free</state>
</portableipaddress>
<portableipaddress>
<ipaddress>10.147.40.104</ipaddress>
<state>Free</state>
</portableipaddress>
<portableipaddress>
<ipaddress>10.147.40.105</ipaddress>
<state>Free</state>
</portableipaddress>
</portableiprange>
</listportableipresponse>
                
> [PortableIPrange] it is good show ip ranges rather individual ip list as part of listPortableIpRanges response
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2959
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2959
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: commit id # 673b293d75419a4b76379092db2b204cdc6160a4
>            Reporter: venkata swamybabu budumuru
>            Assignee: Murali Reddy
>             Fix For: 4.2.0
>
>
> Steps to reproduce:
> 1. Have the latest CloudStack setup with at least 1 region and 1 advanced zone.
> 2. create the following portable IP range
> start ip : 10.147.54.100
> end ip : 10.147.54.103
> vlan : 54
> netmask : 10.147.54.1
> 3. fire listPortableIpRange and check for the response.
> Observations :
> (i) currently listPortableIpRanges shows both ranges as well as each individual IP and it makes it little difficult to quickly find out the ip ranges.
> (ii) it will be good to show only ip ranges if there is no special requirement for listing out all the individual ips. even if it is required then adding another flag as param will make the response simple.
> Here is the snippet of listPortableIpRanges response:
> count = 2
> portableiprange:
> id = 6bddb4af-97f3-416e-b64a-0c0211113987
> endip = 10.147.54.102
> gateway = 10.147.54.1
> netmask = 255.255.255.0
> portableipaddress:
> ipaddress = 10.147.54.100
> state = Free
> ================================================================================
> ipaddress = 10.147.54.101
> state = Free
> ================================================================================
> ipaddress = 10.147.54.102
> state = Free
> ================================================================================
> regionid = 1
> startip = 10.147.54.100
> vlan = 54
> Attaching all the required logs along with db dump to the bug.

--
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