cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9678) listNetworkOfferings API is listing all the offerings which has same prefix in their name
Date Fri, 16 Dec 2016 13:17:58 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9678:
--------------------------------------------

Github user serg38 commented on the issue:

    https://github.com/apache/cloudstack/pull/1833
  
    Why this is a bug? Most of ACS searches using name field work exactly this way to bring
list of VMs, templates etc when partial name is specified. If exact name match is expected
it needs to be processed on a client side.


> listNetworkOfferings API is listing all the offerings which has same prefix in their
name
> -----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9678
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9678
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>            Reporter: pallavi Dumbre
>
> steps to reproduce
> ---------------------------
> 1-list network offering with name=DefaultIsolatedNetworkOfferingForVpcNetworks
> expected
> -------------
> result should have service offering with specified name
> actual
> ---------
> result is listing all service offering , which has prefix DefaultIsolatedNetworkOfferingForVpcNetworks*
in their name
> http://10.147.38.204:8080/client/api?command=listNetworkOfferings&response=json&listAll=true&page=1&pagesize=20&_=1462168939385&name=DefaultIsolatedNetworkOfferingForVpcNetworks
> result
> {"listnetworkofferingsresponse":{"count":3,"networkoffering":[{"id":"2a103f96-cd94-4194-8441-6fdf419e403c","name":"DefaultIsolatedNetworkOfferingForVpcNetworks","displaytext":"Offering
for Isolated Vpc networks with Source Nat service enabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"9d1e424e-d762-4ab5-b614-f1ae36347558","service":[{"name":"Dhcp","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"SourceNat","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false}
> ,
> {"name":"RedundantRouter","value":"false","canchooseservicecapability":false}
> ]},{"name":"UserData","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"NetworkACL","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"Lb","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false}
> ,
> {"name":"ElasticLb","value":"false","canchooseservicecapability":false}
> ,
> {"name":"InlineMode","value":"false","canchooseservicecapability":false}
> ]},{"name":"StaticNat","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"ElasticIp","value":"false","canchooseservicecapability":false}
> ,
> {"name":"AssociatePublicIP","value":"true","canchooseservicecapability":false}
> ]},{"name":"Dns","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"Vpn","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"PortForwarding","provider":[
> {"name":"VpcVirtualRouter"}
> ]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false,"supportsstrechedl2subnet":false},{"id":"c698be56-5612-4a2d-99da-d958cdeb32bc","name":"DefaultIsolatedNetworkOfferingForVpcNetworksNoLB","displaytext":"Offering
for Isolated Vpc networks with Source Nat service enabled and LB service Disabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"9d1e424e-d762-4ab5-b614-f1ae36347558","service":[{"name":"Dhcp","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"SourceNat","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false}
> ,
> {"name":"RedundantRouter","value":"false","canchooseservicecapability":false}
> ]},{"name":"UserData","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"NetworkACL","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"StaticNat","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"ElasticIp","value":"false","canchooseservicecapability":false}
> ,
> {"name":"AssociatePublicIP","value":"true","canchooseservicecapability":false}
> ]},{"name":"Dns","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"Vpn","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"PortForwarding","provider":[
> {"name":"VpcVirtualRouter"}
> ]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false,"supportsstrechedl2subnet":false},{"id":"6f8dc0da-8970-4e0c-8d22-71e46562df18","name":"DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB","displaytext":"Offering
for Isolated Vpc networks with Internal LB support","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"9d1e424e-d762-4ab5-b614-f1ae36347558","service":[{"name":"Dhcp","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"SourceNat","provider":[
> {"name":"VpcVirtualRouter"}
> ],"capability":[
> {"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false}
> ,
> {"name":"RedundantRouter","value":"false","canchooseservicecapability":false}
> ]},{"name":"UserData","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"NetworkACL","provider":[
> {"name":"VpcVirtualRouter"}
> ]},{"name":"Lb","provider":[
> {"name":"InternalLbVm"}
> ],"capability":[
> {"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false}
> ,
> {"name":"ElasticLb","value":"false","canchooseservicecapability":false}
> ,
> {"name":"InlineMode","value":"false","canchooseservicecapability":false}
> ]},{"name":"Dns","provider":[
> {"name":"VpcVirtualRouter"}
> ]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false,"supportsstrechedl2subnet":false}]}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message