Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Marco Fanti
2014-04-14 18:20 GMT+02:00 Rolandas Naujikas :

> The connection between openvswitch and floodlight controller is on
> different ethernet port (eth1).
>
> Regards, Rolandas
>
> I understand that, but I wanted to say a different concept.
If you look the scripts in /var/lib/one/remotes/vnm/ovswitch/, you see that
ovs-vsctl and ovs-ofctl are used to configure the bridge when a VM is
attached. That is the openvswitch driver of opennebula.
What I want to say is that probably you cannot connect the bridge to the
controller, because it is already controlled and managed directly by these
scripts.
I think this question should be written on the developer mailing list,
because I'm not sure if I'm right, but I think that for you there is the
need to create a "floodlight driver", to control the bridge instead of use
the openvswitch driver.
I hope this time I was clear and right :D
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Rolandas Naujikas

On 2014-04-14 18:11, Marco Fanti wrote:

I think you cannot connect the openvswitch bridge to the openflow
controller, because the network driver of opennebula performs some
operations with ovs-vsctl and ovs-ofctl, so when you connect the
controller to the bridge, you disupt the correct working of the
openvswitch opennebula driver.


The connection between openvswitch and floodlight controller is on 
different ethernet port (eth1).


Regards, Rolandas


This is only a supposition I made, because now I can't perform any test.
Probably is better if you wait an answer from a more expert user/developer.


2014-04-14 11:57 GMT+02:00 Rolandas Naujikas
mailto:rolandas.nauji...@mif.vu.lt>>:

On 2014-04-14 10:52, Marco Fanti wrote:

You should give more information about your setup.
What openflow controller are you using?


Floodlight (from http://www.projectfloodlight.__org/
) in default configuration (tried
also learning switch config).


And the controller is controlling only the physical switches or
also the
OpenVSwitches? (I think this last option is not possible without
a lot
of work)


Physical switches are IBM EN4093R (10Gb) and connected with openflow
to the same floodlight controller. openvswitch is of 1.4.2 in Debian
7.4.

# ovs-vsctl show
8505aff4-42e3-48c2-9173-__fa0fbe5caeb3
 Bridge "br0"
 Controller "tcp:192.168.42.68:6633 "
 is_connected: true
 Port "eth0"
 Interface "eth0"

br0 have IP, eth0 have no IP.

With floodlight in forwarding mode I have connectivity between
hypervisor nodes (with IP of br0) and to storage nodes (for iSCSI),
but VMs on different nodes doesn't see each other.

Regards, Rolandas

2014-04-13 21:36 GMT+02:00 Rolandas Naujikas
mailto:rolandas.nauji...@mif.vu.lt>
>>:


 Hi,

 I'm trying to use openflow controller + openvswitch + KVM +
hardware
 switch with openflow support.

 Could provide some advice, because I cannot get it running
by using
 opennebula default config + kvm + openvswitch (ping works
with VMs
 in the same node and fails to VMs in another nodes).

 Regards, Rolandas
 ___
 Users mailing list
Users@lists.opennebula.org 
>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


>






___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Ionut Popovici

i already use netflow on openvswitch and colect data on a Cacti :D
On 4/14/2014 6:11 PM, Marco Fanti wrote:
I think you cannot connect the openvswitch bridge to the openflow 
controller, because the network driver of opennebula performs some 
operations with ovs-vsctl and ovs-ofctl, so when you connect the 
controller to the bridge, you disupt the correct working of the 
openvswitch opennebula driver.


This is only a supposition I made, because now I can't perform any 
test. Probably is better if you wait an answer from a more expert 
user/developer.



2014-04-14 11:57 GMT+02:00 Rolandas Naujikas 
mailto:rolandas.nauji...@mif.vu.lt>>:


On 2014-04-14 10:52, Marco Fanti wrote:

You should give more information about your setup.
What openflow controller are you using?


Floodlight (from http://www.projectfloodlight.org/) in default
configuration (tried also learning switch config).


And the controller is controlling only the physical switches
or also the
OpenVSwitches? (I think this last option is not possible
without a lot
of work)


Physical switches are IBM EN4093R (10Gb) and connected with
openflow to the same floodlight controller. openvswitch is of
1.4.2 in Debian 7.4.

# ovs-vsctl show
8505aff4-42e3-48c2-9173-fa0fbe5caeb3
Bridge "br0"
Controller "tcp:192.168.42.68:6633
"
is_connected: true
Port "eth0"
Interface "eth0"

br0 have IP, eth0 have no IP.

With floodlight in forwarding mode I have connectivity between
hypervisor nodes (with IP of br0) and to storage nodes (for
iSCSI), but VMs on different nodes doesn't see each other.

Regards, Rolandas

2014-04-13 21:36 GMT+02:00 Rolandas Naujikas
mailto:rolandas.nauji...@mif.vu.lt>
>>:


Hi,

I'm trying to use openflow controller + openvswitch + KVM
+ hardware
switch with openflow support.

Could provide some advice, because I cannot get it running
by using
opennebula default config + kvm + openvswitch (ping works
with VMs
in the same node and fails to VMs in another nodes).

Regards, Rolandas
_
Users mailing list
Users@lists.opennebula.org 
>
http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org
   








___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Marco Fanti
I think you cannot connect the openvswitch bridge to the openflow
controller, because the network driver of opennebula performs some
operations with ovs-vsctl and ovs-ofctl, so when you connect the controller
to the bridge, you disupt the correct working of the openvswitch opennebula
driver.

This is only a supposition I made, because now I can't perform any test.
Probably is better if you wait an answer from a more expert user/developer.


2014-04-14 11:57 GMT+02:00 Rolandas Naujikas :

> On 2014-04-14 10:52, Marco Fanti wrote:
>
>> You should give more information about your setup.
>> What openflow controller are you using?
>>
>
> Floodlight (from http://www.projectfloodlight.org/) in default
> configuration (tried also learning switch config).
>
>
>  And the controller is controlling only the physical switches or also the
>> OpenVSwitches? (I think this last option is not possible without a lot
>> of work)
>>
>
> Physical switches are IBM EN4093R (10Gb) and connected with openflow to
> the same floodlight controller. openvswitch is of 1.4.2 in Debian 7.4.
>
> # ovs-vsctl show
> 8505aff4-42e3-48c2-9173-fa0fbe5caeb3
> Bridge "br0"
> Controller "tcp:192.168.42.68:6633"
> is_connected: true
> Port "eth0"
> Interface "eth0"
>
> br0 have IP, eth0 have no IP.
>
> With floodlight in forwarding mode I have connectivity between hypervisor
> nodes (with IP of br0) and to storage nodes (for iSCSI), but VMs on
> different nodes doesn't see each other.
>
> Regards, Rolandas
>
>  2014-04-13 21:36 GMT+02:00 Rolandas Naujikas
>> mailto:rolandas.nauji...@mif.vu.lt>>:
>>
>>
>> Hi,
>>
>> I'm trying to use openflow controller + openvswitch + KVM + hardware
>> switch with openflow support.
>>
>> Could provide some advice, because I cannot get it running by using
>> opennebula default config + kvm + openvswitch (ping works with VMs
>> in the same node and fails to VMs in another nodes).
>>
>> Regards, Rolandas
>> _
>> Users mailing list
>> Users@lists.opennebula.org 
>> http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org
>> 
>>
>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Rolandas Naujikas

On 2014-04-14 10:52, Marco Fanti wrote:

You should give more information about your setup.
What openflow controller are you using?


Floodlight (from http://www.projectfloodlight.org/) in default 
configuration (tried also learning switch config).



And the controller is controlling only the physical switches or also the
OpenVSwitches? (I think this last option is not possible without a lot
of work)


Physical switches are IBM EN4093R (10Gb) and connected with openflow to 
the same floodlight controller. openvswitch is of 1.4.2 in Debian 7.4.


# ovs-vsctl show
8505aff4-42e3-48c2-9173-fa0fbe5caeb3
Bridge "br0"
Controller "tcp:192.168.42.68:6633"
is_connected: true
Port "eth0"
Interface "eth0"

br0 have IP, eth0 have no IP.

With floodlight in forwarding mode I have connectivity between 
hypervisor nodes (with IP of br0) and to storage nodes (for iSCSI), but 
VMs on different nodes doesn't see each other.


Regards, Rolandas


2014-04-13 21:36 GMT+02:00 Rolandas Naujikas
mailto:rolandas.nauji...@mif.vu.lt>>:

Hi,

I'm trying to use openflow controller + openvswitch + KVM + hardware
switch with openflow support.

Could provide some advice, because I cannot get it running by using
opennebula default config + kvm + openvswitch (ping works with VMs
in the same node and fails to VMs in another nodes).

Regards, Rolandas
_
Users mailing list
Users@lists.opennebula.org 
http://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org





___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-14 Thread Marco Fanti
You should give more information about your setup.
What openflow controller are you using?
And the controller is controlling only the physical switches or also the
OpenVSwitches? (I think this last option is not possible without a lot of
work)



2014-04-13 21:36 GMT+02:00 Rolandas Naujikas :

> Hi,
>
> I'm trying to use openflow controller + openvswitch + KVM + hardware
> switch with openflow support.
>
> Could provide some advice, because I cannot get it running by using
> opennebula default config + kvm + openvswitch (ping works with VMs in the
> same node and fails to VMs in another nodes).
>
> Regards, Rolandas
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-13 Thread Ionut Popovici

On 4/13/2014 10:36 PM, Rolandas Naujikas wrote:

Hi,

I'm trying to use openflow controller + openvswitch + KVM + hardware 
switch with openflow support.


Could provide some advice, because I cannot get it running by using 
opennebula default config + kvm + openvswitch (ping works with VMs in 
the same node and fails to VMs in another nodes).


Regards, Rolandas
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Did you add you eth interface you openvswitch bridge port
ovs-vsctl add-port br0 eth0

http://openvswitch.org/support/config-cookbooks/vlan-configuration-cookbook/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula + KVM + openvswitch + openflow controller

2014-04-13 Thread Rolandas Naujikas

Hi,

I'm trying to use openflow controller + openvswitch + KVM + hardware 
switch with openflow support.


Could provide some advice, because I cannot get it running by using 
opennebula default config + kvm + openvswitch (ping works with VMs in 
the same node and fails to VMs in another nodes).


Regards, Rolandas
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org