-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12985/
-----------------------------------------------------------

Review request for cloudstack, Alena Prokharchyk, Chiradeep Vittal, Murali 
Reddy, Hugo Trippaers, and Sheng Yang.


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-3682


Repository: cloudstack-git


Description
-------

CloudStack-management suddenly start generating broadcastUri in 'vlan:XXXX' 
style instead of 'vlan://XXXX' style.
That cause issue in KVM-agent VifDrivers (both Bridge and OVS), since they 
cannot purse different style Uri.

For the compatibility to older version, CloudStack-management should generate 
'vlan://XXXX' style BroadcastUri.

Change the URI creation way in 2 method below to make sure they generate 
'scheme://host' style BroadcastUri.
    - com.cloud.network.Networks.IsolationType.toUri(T)
    - com.cloud.network.Networks.BroadcastDomainType.toUri(T)


Diffs
-----

  api/src/com/cloud/network/Networks.java c76c3d4 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
 195cf40 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/OvsVifDriver.java 
7038d7e 
  server/src/com/cloud/network/guru/PublicNetworkGuru.java 8beb42e 

Diff: https://reviews.apache.org/r/12985/diff/


Testing
-------

Tested locally, advanced zone with a KVM hypervisor. 


Thanks,

Toshiaki Hatano

Reply via email to