-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14868/
-----------------------------------------------------------
Review request for cloudstack, Alena Prokharchyk, Chiradeep Vittal, Murali
Reddy, Hugo Trippaers, and Toshiaki Hatano.
Bugs: CLOUDSTACK-4932
https://issues.apache.org/jira/browse/CLOUDSTACK-4932
Repository: cloudstack-git
Description
-------
Issue to resolve:
When listNetworks API is called with root admin account, it must return vlan
id, but it returns "N/A".
I tested with the branch "master".
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/listNetworks.html
This patch fixed comparison bug of BroadCastDomainType instance to make this
api return vlan id, and made this api returns VNI ( Virtual Network Identifier
in VXLAN ) when network is configured to use VXLAN.
Diffs
-----
server/src/com/cloud/api/ApiResponseHelper.java f4ca112
Diff: https://reviews.apache.org/r/14868/diff/
Testing
-------
I confirmed appropriate VLAN ID is returned by listNetworks API, and it is
displayed in the "Network"/"Guest networks"/"details" tab in CloudStack WebGUI.
Thanks,
Yoshikazu Nojima