So I'll just give an update regarding this: Finally I was able to add my vswitch (xenbr0) to my open flow controller (floodlight:IP 192.168.1.250, URL:http://192.168.1.250:8080/ui/index.html) by doing this:
Xe network-list ovs-vsctl set-controller xenbr0 tcp:192.168.1.250:6633 My problem now is that I can't see any private vswitch and I try to do the same : ovs-vsctl set-controller xapi0 tcp:192.168.1.250:6633I get this error message: "ovs-vsctl: no bridge named xapi" So my question is: are the vswitch declared as private (not bridged or external) not managed by openflow controllers, I mean does XCP support having openflow controllers on private/internal vswitches? Thanks Date: Sun, 21 Apr 2013 21:14:32 -0400 Subject: Re: [Xen-API] Setup vswitches in XCP 1.6 From: [email protected] To: [email protected] CC: [email protected] AFAIK, the xe-network commands are frontends for switches created via openvswitch. So to answer your first question, it seems to be just create networks.From some Citrix documentation (that I have since misplaced, if memory serves it was their xenserver administration guide, though not the 6.1 one), it showed the physical NIC being connected up to a 'network' object which was a switch created via openvswitch, from there, all the guest virtual NICs connected up to that switch. For your second question, I'm afraid I'm not an expert at networking, but I hope the first answer can help On Sun, Apr 21, 2013 at 7:33 PM, samir benkhellat <[email protected]> wrote: HI all, I wants to setup this topology in XCP 1.6, but I'm tuck on how to create and setup the switches I need. I know that in order to use vswitch I need to type: xe-switch-network-backend openvswitch I googled and find these sites: 1- vswitch for VLAN : http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/ 2- Old way for VLAN : http://ronnybull.com/2011/08/03/xen-cloud-platform-xcp-setting-up-a-vlan/ 3- vswitch & openflow controller: http://lists.xen.org/archives/html/xen-users/2011-06/msg00359.html In the link 3, Wei-Chih Chen says that we need to avoid using vswitch native commands (see link 1) and use just xe commands. but my problem is if I want to use vswitch, xe command doesn't have command for vswitches (openflow) but just xe network (see link 2). I tried to see if I can use openflow controller to create/manage my vswitches, but It seems that the vswitches/switches needs to be created in order to be used. the openflow controllers I found are: 1- Distributed Virtual Switch/Controller: http://docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/dvs_controller.html 2- Flood Light: http://www.projectfloodlight.org/projects/ 3- tream: http://trema.github.io/trema/ 4- Nox & POX: http://www.noxrepo.org/ So my questions are: * How we can create vswitches in XCP 1.6: do we create them just by creating or networks or can you provide me with the detailled steps * If we want to use a flow controller, what will be the best one in term of VM resources (CPU, memory), easy deployment, price,features. Regards, _______________________________________________ Xen-api mailing list [email protected] http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________ Xen-api mailing list [email protected] http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
