Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

Connecting two switches

Hi, I want to connect vbridges to opendaylight controller (to have the same result as I have in mininet, but without mininet)

My problem is that I get a topology like :

image description

but I want a topology like :

image description

I am connecting them to controller (doing this for all vbridges

ovs-vsctl addr-br ovs-br0

ovs-vsctl add-post ovs-br0 eth0

ovs-vsctl set controller IPCONTROLLER netmask NETMASK up

I works, vbridges are recognized, but I don't know how to set links between them. I don't understand why, I added the ports with :

ovs-vsctl add-post ovs-br0 eth1

The ports are saw in opendaylight, but opendaylight don't see the ethernet cable connection between them.

Does someone knows what I have to do ?

Connecting two switchesLink discovery in Opendaylight not working

Hi, I want to connect vbridges to opendaylight controller (to have the same result as I have in mininet, but without mininet)

My problem is that I get a topology like :

image description

but I want a topology like :

image description

I am connecting them to controller (doing this for all vbridges

ovs-vsctl addr-br ovs-br0

ovs-vsctl add-post ovs-br0 eth0

ovs-vsctl set controller IPCONTROLLER netmask NETMASK up

I works, vbridges are recognized, but I don't know how to set links between them. I don't understand why, I added the ports with :

ovs-vsctl add-post ovs-br0 eth1

The ports are saw in opendaylight, but opendaylight don't see the ethernet cable connection between them.

Does someone knows what I have to do ?

Link discovery in Opendaylight not working

Hi, I want to connect vbridges to opendaylight controller (to have the same result as I have in mininet, but without mininet)

My problem is that I get a topology like :

image description

but I want a topology like :

image description

I am connecting them to controller (doing this for all vbridges

ovs-vsctl addr-br ovs-br0

ovs-vsctl add-post ovs-br0 eth0

ovs-vsctl set controller IPCONTROLLER netmask NETMASK up

I works, vbridges are recognized, but I don't know how to set links between them. I don't understand why, I added the ports with :

ovs-vsctl add-post ovs-br0 eth1

The ports are saw in opendaylight, but opendaylight don't see the ethernet cable connection between them.

Does someone knows what I have to do ?

[EDIT]

With L2Switch, the topology discovery works, because it installs a flow that redirects LLDP packets to controller. But with VTN, there is no such mechanism and since VTN is not compatible with L2switch, I don't know what to do.. I tried setting manually a flow that redirects LLDP packets, but the two hosts in VTN don't ping if I configure them like this : https://wiki.opendaylight.org/view/OpenDaylightVirtualTenantNetwork%28VTN%29:VTNCoordinator:RestApi:HowtoconfigureL2NetworkwithSingleController so maybe there is something more to do than just add a flow that redirects LLDP packets to controller.

[/EDIT]

Link discovery in Opendaylight not working

Hi, I want to connect vbridges to opendaylight controller (to have the same result as I have in mininet, but without mininet)

My problem is that I get a topology like :

image description

but I want a topology like :

image description

I am connecting them to controller (doing this for all vbridges

ovs-vsctl addr-br ovs-br0

ovs-vsctl add-post ovs-br0 eth0

ovs-vsctl set controller IPCONTROLLER netmask NETMASK up

I works, vbridges are recognized, but I don't know how to set links between them. I don't understand why, I added the ports with :

ovs-vsctl add-post ovs-br0 eth1

The ports are saw in opendaylight, but opendaylight don't see the ethernet cable connection between them.

Does someone knows what I have to do ?

[EDIT]

With L2Switch, the topology discovery works, because it installs a flow that redirects LLDP packets to controller. But with VTN, there is no such mechanism and since VTN is not compatible with L2switch, I don't know what to do.. I tried setting manually a flow that redirects LLDP packets, but the two hosts in VTN don't ping if I configure them like this : https://wiki.opendaylight.org/view/OpenDaylightVirtualTenantNetwork%28VTN%29:VTNCoordinator:RestApi:HowtoconfigureL2NetworkwithSingleController Controller so maybe there is something more to do than just add a flow that redirects LLDP packets to controller.

[/EDIT]