Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-3212

[Advanced_With_SG]View IP Address Range in Default Guest Network page does not show the gateway and netmask for the IP Range

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.5.0
    • UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • Latest build from master-6-17-stable branch

    Description

      From 4.2 onwards we will be supporting multiple subnets per vlan for guest Traffic. So admin can add multiple subnets/CIDRs in a single vlan. With current implementation listing IP Ranges in a givin defaultguestnetwork only shows the start ip and end ip of that ip range in UI, but it should also show the gateway and netmask because there can be multiple CIDRs per vlan and each CIDR can have seperate gateway and netmask.
      However listVlanIPRanges API shows all the information related to the CIDR.

      API Fired:
      http://10.147.59.119:8080/client/api?command=listVlanIpRanges&zoneid=957f320c-767a-40ae-b0df-adeacd61ffcd&networkid=e2db33a4-5092-433f-8d33-2d3202a02d86&page=1&pagesize=20&response=json&sessionkey=6XgHLEak6xW8jvOciXszQAqwvEQ%3D&_=1372246636649

      Response:
      { "listvlaniprangesresponse" : { "count":3 ,"vlaniprange" : [

      {"id":"a8fdaa6e-ed62-4e35-9235-7652c9ea113c","forvirtualnetwork":false,"zoneid":"957f320c-767a-40ae-b0df-adeacd61ffcd","vlan":"33","account":"system","domainid":"759d3732-dd7b-11e2-9424-06ab4600005f","domain":"ROOT","gateway":"10.147.33.1","netmask":"255.255.255.128","startip":"10.147.33.3","endip":"10.147.33.9","networkid":"e2db33a4-5092-433f-8d33-2d3202a02d86","physicalnetworkid":"1846c30d-96f7-4a00-8697-5cd76f2c249c"}

      ,

      {"id":"668c33f3-9d14-4fe0-9e08-11eb79d9ba85","forvirtualnetwork":false,"zoneid":"957f320c-767a-40ae-b0df-adeacd61ffcd","vlan":"33","account":"system","domainid":"759d3732-dd7b-11e2-9424-06ab4600005f","domain":"ROOT","gateway":"10.147.33.129","netmask":"255.255.255.192","startip":"10.147.33.130","endip":"10.147.33.134","networkid":"e2db33a4-5092-433f-8d33-2d3202a02d86","physicalnetworkid":"1846c30d-96f7-4a00-8697-5cd76f2c249c"}

      ,

      {"id":"8f0e87cf-4977-4f0b-a62e-3b0b85eaafc6","forvirtualnetwork":false,"zoneid":"957f320c-767a-40ae-b0df-adeacd61ffcd","vlan":"33","account":"system","domainid":"759d3732-dd7b-11e2-9424-06ab4600005f","domain":"ROOT","gateway":"10.147.33.129","netmask":"255.255.255.192","startip":"10.147.33.140","endip":"10.147.33.144","networkid":"e2db33a4-5092-433f-8d33-2d3202a02d86","physicalnetworkid":"1846c30d-96f7-4a00-8697-5cd76f2c249c"}

      ] } }

      Attached screen shot shows the existing behavior.

      Attachments

        1. jessica-2014-11-03.PNG
          135 kB
          Jessica Wang
        2. listIPRange.JPG
          67 kB
          Sanjeev N

        Activity

          People

            jessicawang Jessica Wang
            sanjeevn Sanjeev N
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: