Hi Nguyen,
Thanks for your reply. Did u mean when I create a gre network offering use ovs 
as service provider for connectity, and then create a guest isolated network 
use this offering, at this point a OvsTunnel bridge will be created ?

Regards









At 2014-07-25 10:17:08, "Nguyen Anh Tu" <t...@apache.org> wrote:
>Michael,
>
>OVSTunnelxxx is automatically created by Ovs controller. The xxx value is
>generated between VLAN range you set in the beginning. For each guest
>network you create, Ovs controller will add one OvsTunnel bridge.
>
>Thanks,
>
>--Tuna
>
>
>On Fri, Jul 25, 2014 at 7:46 AM, Michael Li <cloudcomp...@163.com> wrote:
>
>> Hi Nguyen,
>> Should I create OVSTunnelxxx ahead like cloudbr0 and cloud0 ? But how to
>> confirm the xxx in OVSTunnelxxx, because it's a dynamic value between the
>> vm creatation.
>>
>>
>> Regards
>>
>>
>>
>>
>> At 2014-07-24 06:08:55, "Nguyen Anh Tu" <t...@apache.org> wrote:
>> >Hi Michael,
>> >
>> >The GRE feature on Cloudstack creates OVSTunnelxxx bridges with
>> OpenvSwitch
>> >to serve tunnel between vms, not cloudbr. Please use ovs-vsctl utility to
>> >check if OVSTunnel460 is exist. Remember to blacklist module bridge.
>> >
>> >This might help:
>> >
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch
>> >
>> >Thanks,
>> >
>> >--Tuna
>> >
>> >
>> >On Thu, Jul 24, 2014 at 8:43 AM, Michael Li <cloudcomp...@163.com> wrote:
>> >
>> >> In 4.4, Can somebody explain, why use "OVSTunnelxxx" for GRE tunnel
>> >> device, and not "cloudbr1" ?
>> >> When create VM,  this will result an exception:
>> >>
>> >> 2014-07-23 21:03:35,886 WARN  [kvm.resource.LibvirtComputingResource]
>> >> (agentRequest-Handler-5:null) LibvirtException
>> >> org.libvirt.LibvirtException: Cannot get interface MTU on
>> 'OVSTunnel460':
>> >> no such device
>> >>         at org.libvirt.ErrorHandler.processError(Unknown Source)
>> >>         at org.libvirt.Connect.processError(Unknown Source)
>> >>         at org.libvirt.Connect.processError(Unknown Source)
>> >>         at org.libvirt.Connect.domainCreateXML(Unknown Source)
>> >>         at
>> >>
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1239)
>> >>         at
>> >>
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3798)
>> >>         at
>> >>
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:133
>> >> 3)
>> >>         at com.cloud.agent.Agent.processRequest(Agent.java:501)
>> >>         at
>> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
>> >>         at com.cloud.utils.nio.Task.run(Task.java:84)
>> >>         at
>> >>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>> >>         at
>> >>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>> >>         at java.lang.Thread.run(Thread.java:722)
>> >>
>> >> I found code as below:
>> >> public InterfaceDef plug(NicTO nic, String guestOsType)
>> >> } else if (nic.getBroadcastType() ==
>> Networks.BroadcastDomainType.Vswitch)
>> >> {                String vnetId =
>> >> Networks.BroadcastDomainType.getValue(nic.getBroadcastUri());
>> >>                 String brName = "OVSTunnel" + vnetId;
>> >>
>>

Reply via email to