[ovs-discuss] Use python to forward messages between 2 OVS bridges

2020-09-09 Thread Jordan Sandri
Hi!
I have 2 raspberry pis with an OVS bridge on each of them. I would like to know 
if it was possible to add a virtual port to a bridge and then use a python 
script retrieving all the flow coming to this virtual port to send it to the 
OVS bridge of the second raspberry pi. If so, how should I proceed?
My concern is about how to get the flow from the virtual port then I will use 
LoRa python libraries to send the flow to the second pi.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Can we use LoRa technology with OVS?

2020-09-06 Thread Jordan Sandri
First thing first, a little bit of context. 
I have 2 raspberry pis with OVS and Docker installed on it. I use ONOS as a 
controller.
On the first one, I have a bridge (BR1) and I created a Docker container (CTN1) 
linked to the bridge thanks to ovs-docker.
On the second, I have a bridge (BR2) and I created a Docker container (CTN2) 
linked to the bridge thanks to ovs-docker as well.
The first goal is that CTN1 pings CTN2 and the other way around of course and 
the second is to link pis with multiple types of communication.

First, I have linked the 2 pis with an ethernet cable, added the eth port to 
each bridge for each pi, and asked CTN1 to ping CTN2 and it worked.
Then I created a wifi ad hoc network between pis and using GRE tunnel with OVS 
I did a wifi connection between pis and finally, CTN1 was able to ping CTN2. 
Now I bought two SX1268 470M LoRa hat. Here is some information about it 
(https://www.waveshare.com/wiki/SX1268_470M_LoRa_HAT#Demo_codes 
) and would 
like to do the same thing again but using LoRa technology. So I plugged hats on 
each pi. However, this time I don’t have a network interface to add to the 
bridge or a way to create a tunnel. Can CTN1 ping CTN2 combining OVS with LoRa 
technology?
I saw this picture showing that it is 
(https://www.mdpi.com/IoT/IoT-01-4/article_deploy/html/images/IoT-01-4-g007.png
 
).
 I know that SDWI stands for Software-Defined Wireless Interfacing but what is 
it exactly? How to do so? Is there an easy way to combine LoRa and OVS?


___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Can we add a wifi network interface to an OVS bridge?

2020-08-21 Thread Jordan Sandri
Hello,
I would like to know if it is possible to add a wifi network interface to an 
OVS bridge? Let me explain first what I achieved.
As you can see in the first diagram I have 2 raspberry pis with an OVS bridge 
and each of them is connected to ONOS. Using Docker on each pi I have 2 
containers and there are linked to my bridge thanks to ovs-docker (int stands 
for interface). Then, the network interface eth0 from each pi is added to the 
bridge and raspberry pis are linked with an ethernet cable through eth0 of 
course. Finally, CTN1 is able to ping CTN3 for example.

Now, I would like to replace eth0 by a wifi network interface wlan1 as you can 
see in the second diagram. I was thinking maybe using iptables to forward flow 
to the second pi or adding virtual interfaces included to the bridge as in the 
diagram3. Then I could use iptables to forward flow from vport to wlan and from 
wlan to wlan of the second pi. What will be the best way to carry out this?

Thank you for you help

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss