Sorry for the short explanation given. My intention is to create clusters with 6lowpan sensors and then communicate from one sensor from one cluster to another, via an ethernet interface, which will be managed by an sdn using the Onos Reactive Forwarding mechanism.
The flow would be as follows:
1. The cluster source device issues a message or request.
2. This message or request is sent through the 6LoWPAN network within the cluster, reaching a device that acts as a border router.
3. The border node receives the 6LoWPAN message and converts it into a format compatible with the Ethernet network.
4. The border node forwards the encapsulated Ethernet packet to the Ethernet network.
5. The Ethernet packet is forwarded to the SDN controller.
6. Based on the routing policies defined in the SDN controller, the packet is forwarded to the destination cluster through the Ethernet network.
7. At the destination cluster, the packet is received by a border node that acts as an entry point to the 6LoWPAN network.
8. The border node converts the Ethernet packet back to 6LoWPAN format, removing the previously added Ethernet headers.
9. The 6LoWPAN packet is then sent to the target device within the cluster.
In the code I'm trying to reproduce this flow, creating a controller, 5 sensors per switch, for 4 switches and linking them.