You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Sheng Yang (JIRA)" <ji...@apache.org> on 2013/02/01 02:18:11 UTC

[jira] [Resolved] (CLOUDSTACK-1103) IpV6 - listNetwork() command does not retrun gateway,netmask,cidr

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

Sheng Yang resolved CLOUDSTACK-1103.
------------------------------------

    Resolution: Fixed
    
> IpV6 - listNetwork() command does not retrun gateway,netmask,cidr 
> ------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1103
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1103
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: latest build from NetworkRefactor branch
>            Reporter: Sangeetha Hariharan
>            Assignee: Sheng Yang
>             Fix For: 4.1.0
>
>
> IpV6 - listNetwork() command does not retrun gateway,netmask,cidr 
> Create a IPV6 network using following command:
> http://10.223.57.2:8080/client/api?command=createNetwork&zoneId=f72ebe54-2600-4a47-b945-d85824eed761&networkOfferingId=bfa5e13b-2a0d-42de-8434-ee7d5d58edff&physicalnetworkid=623af38c-106c-4533-ba4e-52f354ae071e&name=test1370&displayText=test1370&vlan=1370&acltype=domain&ip6gateway=FC00:3:1370::&ip6cidr=FC00:3:1370::/64&startipv6=FC00:3:1370::1&endipv6=FC00:3:1370::10&dualstack=false&networkdomain=hello1370&response=json&sessionkey=9WKIYehMe%2BAQu2tIF47IbEdbI7M%3D
>  Listing the above network , does not return gateway,netmask,cidr values:
> {
>     "listnetworksresponse": {
>         "count": 3,
>         "network": [
>             {
>                 "id": "6016429a-fd67-4035-b79b-35c3b7f54da5",
>                 "name": "shared-ipv4",
>                 "displaytext": "shared-ipv4",
>                 "broadcastdomaintype": "Vlan",
>                 "traffictype": "Guest",
>                 "gateway": "10.223.142.1",
>                 "netmask": "255.255.255.192",
>                 "cidr": "10.223.142.0/26",
>                 "zoneid": "654d04a4-cb28-4bd0-8048-32c82e1a5129",
>                 "zonename": "zone1",
>                 "networkofferingid": "dd2e4c7b-cb99-42d3-8636-52c7a2235b12",
>                 "networkofferingname": "DefaultSharedNetworkOffering",
>                 "networkofferingdisplaytext": "Offering for Shared networks",
>                 "networkofferingavailability": "Optional",
>                 "issystem": false,
>                 "state": "Setup",
>                 "related": "6016429a-fd67-4035-b79b-35c3b7f54da5",
>                 "broadcasturi": "vlan://1470",
>                 "dns1": "72.52.126.11",
>                 "dns2": "72.52.126.12",
>                 "type": "Shared",
>                 "vlan": "1470",
>                 "acltype": "Domain",
>                 "subdomainaccess": true,
>                 "domainid": "232510e5-8080-482b-a445-cd574d438d95",
>                 "domain": "ROOT",
>                 "service": [
>                     {
>                         "name": "Dhcp"
>                     },
>                     {
>                         "name": "Dns",
>                         "capability": [
>                             {
>                                 "name": "AllowDnsSuffixModification",
>                                 "value": "true",
>                                 "canchooseservicecapability": false
>                             }
>                         ]
>                     },
>                     {
>                         "name": "UserData"
>                     }
>                 ],
>                 "networkdomain": "hello",
>                 "physicalnetworkid": "2d102ec1-598a-4e68-bc94-70c3a010ac27",
>                 "restartrequired": false,
>                 "specifyipranges": true,
>                 "canusefordeploy": true,
>                 "tags": []
>             },
>             {
>                 "id": "8bf309d8-8772-4542-a45c-a81dc57050e7",
>                 "name": "test1371",
>                 "displaytext": "test1371",
>                 "broadcastdomaintype": "Vlan",
>                 "traffictype": "Guest",
>                 "zoneid": "654d04a4-cb28-4bd0-8048-32c82e1a5129",
>                 "zonename": "zone1",
>                 "networkofferingid": "dd2e4c7b-cb99-42d3-8636-52c7a2235b12",
>                 "networkofferingname": "DefaultSharedNetworkOffering",
>                 "networkofferingdisplaytext": "Offering for Shared networks",
>                 "networkofferingavailability": "Optional",
>                 "issystem": false,
>                 "state": "Setup",
>                 "related": "8bf309d8-8772-4542-a45c-a81dc57050e7",
>                 "broadcasturi": "vlan://1371",
>                 "dns1": "72.52.126.11",
>                 "dns2": "72.52.126.12",
>                 "type": "Shared",
>                 "vlan": "1371",
>                 "acltype": "Domain",
>                 "subdomainaccess": true,
>                 "domainid": "232510e5-8080-482b-a445-cd574d438d95",
>                 "domain": "ROOT",
>                 "service": [
>                     {
>                         "name": "Dhcp"
>                     },
>                     {
>                         "name": "Dns",
>                         "capability": [
>                             {
>                                 "name": "AllowDnsSuffixModification",
>                                 "value": "true",
>                                 "canchooseservicecapability": false
>                             }
>                         ]
>                     },
>                     {
>                         "name": "UserData"
>                     }
>                 ],
>                 "networkdomain": "hello1371",
>                 "physicalnetworkid": "2d102ec1-598a-4e68-bc94-70c3a010ac27",
>                 "restartrequired": false,
>                 "specifyipranges": true,
>                 "canusefordeploy": true,
>                 "tags": []
>             },
>             {
>                 "id": "de57fad8-ed88-4728-bd32-26dfc396e4e0",
>                 "name": "test1370",
>                 "displaytext": "test1370",
>                 "broadcastdomaintype": "Vlan",
>                 "traffictype": "Guest",
>                 "zoneid": "654d04a4-cb28-4bd0-8048-32c82e1a5129",
>                 "zonename": "zone1",
>                 "networkofferingid": "dd2e4c7b-cb99-42d3-8636-52c7a2235b12",
>                 "networkofferingname": "DefaultSharedNetworkOffering",
>                 "networkofferingdisplaytext": "Offering for Shared networks",
>                 "networkofferingavailability": "Optional",
>                 "issystem": false,
>                 "state": "Setup",
>                 "related": "de57fad8-ed88-4728-bd32-26dfc396e4e0",
>                 "broadcasturi": "vlan://1370",
>                 "dns1": "72.52.126.11",
>                 "dns2": "72.52.126.12",
>                 "type": "Shared",
>                 "vlan": "1370",
>                 "acltype": "Domain",
>                 "subdomainaccess": true,
>                 "domainid": "232510e5-8080-482b-a445-cd574d438d95",
>                 "domain": "ROOT",
>                 "service": [
>                     {
>                         "name": "Dhcp"
>                     },
>                     {
>                         "name": "Dns",
>                         "capability": [
>                             {
>                                 "name": "AllowDnsSuffixModification",
>                                 "value": "true",
>                                 "canchooseservicecapability": false
>                             }
>                         ]
>                     },
>                     {
>                         "name": "UserData"
>                     }
>                 ],
>                 "networkdomain": "hello1370",
>                 "physicalnetworkid": "2d102ec1-598a-4e68-bc94-70c3a010ac27",
>                 "restartrequired": false,
>                 "specifyipranges": true,
>                 "canusefordeploy": true,
>                 "tags": []
>             }
>         ]
>     }
> }
>  

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