angeline shen created CLOUDSTACK-1876: -----------------------------------------
Summary: External Devices - network offering for external devices is not returned in API listNetworkOfferings when creating instance Key: CLOUDSTACK-1876 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1876 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: MS ASF 4.0.0 release rhel6.3 KVM hosts rhel6.3 Reporter: angeline shen Fix For: 4.1.0, 4.2.0 1. create following network offerings for external devices SRX for firewall. But in creating instance, the API listNetworkOfferings does not return any of the network offerings for external devices SRX. a. DHCP provider Virtual Router DNS provider VR firewall provider JuniperSRX loadbalancer F5 user data provider VR sourceNAT provider JuniperSRX staticNAT provider JuniperSRX port forward JuniperSRX LB isolation shared per zone or any of following settings (per DB) | 69 | 16 | SourceNat | JuniperSRX | 2013-04-02 09:30:21 | | 70 | 16 | UserData | VirtualRouter | 2013-04-02 09:30:21 | | 71 | 16 | Lb | F5BigIp | 2013-04-02 09:30:21 | | 72 | 16 | Dhcp | VirtualRouter | 2013-04-02 09:30:21 | | 73 | 16 | PortForwarding | JuniperSRX | 2013-04-02 09:30:21 | | 74 | 16 | Firewall | JuniperSRX | 2013-04-02 09:30:21 | | 75 | 16 | StaticNat | JuniperSRX | 2013-04-02 09:30:21 | | 76 | 16 | Dns | VirtualRouter | 2013-04-02 09:30:21 | | 77 | 17 | SourceNat | JuniperSRX | 2013-04-02 09:48:19 | | 78 | 17 | UserData | VirtualRouter | 2013-04-02 09:48:19 | | 79 | 17 | Lb | F5BigIp | 2013-04-02 09:48:19 | | 80 | 17 | Dhcp | VirtualRouter | 2013-04-02 09:48:19 | | 81 | 17 | PortForwarding | JuniperSRX | 2013-04-02 09:48:19 | | 82 | 17 | Firewall | JuniperSRX | 2013-04-02 09:48:19 | | 83 | 17 | StaticNat | JuniperSRX | 2013-04-02 09:48:19 | | 84 | 17 | Dns | VirtualRouter | 2013-04-02 09:48:19 | | 85 | 18 | SourceNat | JuniperSRX | 2013-04-02 09:54:43 | | 86 | 18 | UserData | VirtualRouter | 2013-04-02 09:54:43 | | 87 | 18 | Dhcp | VirtualRouter | 2013-04-02 09:54:43 | | 88 | 18 | PortForwarding | JuniperSRX | 2013-04-02 09:54:43 | | 89 | 18 | Firewall | JuniperSRX | 2013-04-02 09:54:43 | | 90 | 18 | StaticNat | JuniperSRX | 2013-04-02 09:54:43 | | 91 | 18 | Dns | VirtualRouter | 2013-04-02 09:54:43 | | 92 | 19 | SourceNat | JuniperSRX | 2013-04-02 10:01:15 | | 93 | 19 | UserData | VirtualRouter | 2013-04-02 10:01:15 | | 94 | 19 | Lb | F5BigIp | 2013-04-02 10:01:15 | | 95 | 19 | Dhcp | VirtualRouter | 2013-04-02 10:01:15 | | 96 | 19 | PortForwarding | JuniperSRX | 2013-04-02 10:01:15 | | 97 | 19 | Firewall | JuniperSRX | 2013-04-02 10:01:15 | | 98 | 19 | StaticNat | JuniperSRX | 2013-04-02 10:01:15 | | 99 | 19 | Dns | VirtualRouter | 2013-04-02 10:01:15 | 2. http://10.223.50.3:8080/client/api?command=listNetworkOfferings&response=json&sessionkey=neGXQaBB6ROzz8j%2FzfGQSLRQi3E%3D&forvpc=false&zoneid=4d974bb7-1a5e-4231-ac8c-b72d12656131&guestiptype=Isolated&supportedServices=SourceNat&specifyvlan=false&state=Enabled&_=1364873310656 { "listnetworkofferingsresponse" : { "count":2 ,"networkoffering" : [ {"id":"23d956aa-302e-4324-b1ab-cfe494e41b57","name":"DefaultIsolatedNetworkOfferingWithSourceNatService","displaytext":"Offering for Isolated networks with Source Nat service enabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":true,"specifyipranges":false,"availability":"Required","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"e7d3a9a6-fa12-4976-83d4-a3c4623ccf33","service":[{"name":"SourceNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]},{"name":"Vpn","provider":[{"name":"VirtualRouter"}]},{"name":"UserData","provider":[{"name":"VirtualRouter"}]},{"name":"Lb","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false}]},{"name":"Dhcp","provider":[{"name":"VirtualRouter"}]},{"name":"PortForwarding","provider":[{"name":"VirtualRouter"}]},{"name":"Firewall","provider":[{"name":"VirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false}]},{"name":"Dns","provider":[{"name":"VirtualRouter"}]}],"forvpc":false}, {"id":"7c2ead9e-b39a-45ca-b3d9-f0daca527993","name":"newtest1","displaytext":"newtest1","traffictype":"Guest","isdefault":false,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":452,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"e7d3a9a6-fa12-4976-83d4-a3c4623ccf33","service":[{"name":"SourceNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]},{"name":"UserData","provider":[{"name":"VirtualRouter"}]},{"name":"Lb","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false}]},{"name":"Dhcp","provider":[{"name":"VirtualRouter"}]},{"name":"PortForwarding","provider":[{"name":"VirtualRouter"}]},{"name":"Firewall","provider":[{"name":"VirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false}]},{"name":"Dns","provider":[{"name":"VirtualRouter"}]}],"forvpc":false} ] } } -- 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