[
https://issues.apache.org/jira/browse/CLOUDSTACK-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sangeetha Hariharan closed CLOUDSTACK-4693.
-------------------------------------------
Tested with latest build from 4.2.1.
Created a zone with 3 physical networks:
network1 had management and storage traffic
network2 had public traffic
network3 had guest traffic
When trying to create a network for the above zone , only network3 was listed
in the Physical Network drop down,
Following are the API calls made by UI:
http://10.223.195.103:8080/client/api?command=listPhysicalNetworks&response=json&sessionkey=34IhnepKGK%2FKr85g8QOuzGUv7c8%3D&zoneid=3dc05f1d-dc74-4aae-b9ee-38773cd6eee0&_=1384909053125
{ "listphysicalnetworksresponse" : { "count":3 ,"physicalnetwork" : [
{"id":"f46e58c5-5b39-4e0d-a5e4-7df1a24f9dcd","name":"Physical Network
1","broadcastdomainrange":"ZONE","zoneid":"3dc05f1d-dc74-4aae-b9ee-38773cd6eee0","state":"Enabled","isolationmethods":"VLAN"},
{"id":"d261ab59-cc6f-4d4c-9899-32fda03dbe7d","name":"Physical Network
2","broadcastdomainrange":"ZONE","zoneid":"3dc05f1d-dc74-4aae-b9ee-38773cd6eee0","state":"Enabled","isolationmethods":"VLAN"},
{"id":"7340060e-aef2-4bc2-9bed-2fc3001f177a","name":"Physical Network
3","broadcastdomainrange":"ZONE","zoneid":"3dc05f1d-dc74-4aae-b9ee-38773cd6eee0","state":"Enabled","vlan":"12-15","isolationmethods":"VLAN"}
] } }
http://10.223.195.103:8080/client/api?command=listTrafficTypes&response=json&sessionkey=34IhnepKGK%2FKr85g8QOuzGUv7c8%3D&physicalnetworkid=f46e58c5-5b39-4e0d-a5e4-7df1a24f9dcd&_=1384909053251
{ "listtraffictypesresponse" : { "count":2 ,"traffictype" : [
{"id":"b48fd451-c609-4c4a-8e7a-b7e282b9f12c","traffictype":"Management","physicalnetworkid":"f46e58c5-5b39-4e0d-a5e4-7df1a24f9dcd","xennetworklabel":"cloud-mgmt"},
{"id":"7264d1b0-1f5c-4fad-818f-e189255d9786","traffictype":"Storage","physicalnetworkid":"f46e58c5-5b39-4e0d-a5e4-7df1a24f9dcd","xennetworklabel":"cloud-st
http://10.223.195.103:8080/client/api?command=listTrafficTypes&response=json&sessionkey=34IhnepKGK%2FKr85g8QOuzGUv7c8%3D&physicalnetworkid=d261ab59-cc6f-4d4c-9899-32fda03dbe7d&_=1384909056399
{ "listtraffictypesresponse" : { "count":1 ,"traffictype" : [
{"id":"47ac4940-6023-4d52-aea1-85b6035e1125","traffictype":"Public","physicalnetworkid":"d261ab59-cc6f-4d4c-9899-32fda03dbe7d","xennetworklabel":"cloud-public"}
] } }
http://10.223.195.103:8080/client/api?command=listTrafficTypes&response=json&sessionkey=34IhnepKGK%2FKr85g8QOuzGUv7c8%3D&physicalnetworkid=7340060e-aef2-4bc2-9bed-2fc3001f177a&_=1384909056477
{ "listtraffictypesresponse" : { "count":1 ,"traffictype" : [
{"id":"a53fb4b1-e630-4da5-bed1-24428d01ad16","traffictype":"Guest","physicalnetworkid":"7340060e-aef2-4bc2-9bed-2fc3001f177a","xennetworklabel":"cloud-guest"}
] } }
> UI - "Add guest Network" from Network page - Should list only physical
> network that has guest traffic type.
> ------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4693
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4693
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.2.1
> Environment: Build from 4.2-forward
> Reporter: Sangeetha Hariharan
> Assignee: Jessica Wang
> Fix For: 4.2.1
>
>
> Use "Add guest Network" from Network page .
> In this page we have “Physical Network” drop down which lists all the
> physical network that includes storage/management/public/guest traffic type.
> Following is the API call made:
> http://10.223.240.160:8080/client/api?command=listPhysicalNetworks&response=json&sessionkey=4Xt2OZIdOBK4kvtp%2BRWMau%2B%2Bj0I%3D&zoneid=7ba002d6-d608-478d-98e4-ce71787a97d5&_=1379444555319
> We should be listing only Physical Networks that have guest traffic type.
--
This message was sent by Atlassian JIRA
(v6.1#6144)