adjacentlink / emane

Distributed wireless network emulation framework
Other
127 stars 37 forks source link

[Question] Cluster the nodes in the EMANE network and control the links between them #240

Open LongGieGie opened 1 year ago

LongGieGie commented 1 year ago

emane version: 1.4.1 https://github.com/coreemu/core/issues/814#issue-1869942638

Is your feature request related to a problem? Please describe. I need to cluster the nodes in the EMANE network and each cluster has a head node and other member nodes in each cluster. The head nodes of each cluster need to establish links with each other and the member nodes can only establish links with the head node.

I have achieved this effect using EEL controlled path loss under precomputed propagation model. It is shown in the figure below. shot

I want to realize this under 2ray model because I want to adjust the link state in real time according to the distance between nodes and I don't know how to achieve it.

patelkb commented 1 year ago

Have you tried setting propagationmodel to 2ray and sending in location events? When you use freespace or ray as the propagation model, you are required to send in location events so each node can compute the pathloss to every other node in the network.

Kaushik B. Patel Adjacent Link LLC

On 8/28/23 11:25, LongGieGie wrote:

emane version: 1.4.1 coreemu/core#814 (comment) https://github.com/coreemu/core/issues/814#issue-1869942638

Is your feature request related to a problem? Please describe. I need to cluster the nodes in the EMANE network and each cluster has a head node and other member nodes in each cluster. The head nodes of each cluster need to establish links with each other and the member nodes can only establish links with the head node.

I have achieved this effect using EEL controlled path loss under precomputed propagation model. It is shown in the figure below. shot https://user-images.githubusercontent.com/57282447/263747606-c8d1b480-b0da-44ec-914d-ec3901f681e2.png

I want to realize this under 2ray model because I want to adjust the link state in real time according to the distance between nodes and I don't know how to achieve it.

— Reply to this email directly, view it on GitHub https://github.com/adjacentlink/emane/issues/240, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPLXM5U722QPXZULLP2FA3XXSZ6TANCNFSM6AAAAAA4BS2HTY. You are receiving this because you are subscribed to this thread.Message ID: @.***>

LongGieGie commented 1 year ago

Yep, I've tried the 2ray propagation model and was able to dynamically adjust the path loss. But functionally, the 2ray propagation model automatically calculates the path loss for all nodes in range and establishes the physical link, rather than specifying the link to be established.