Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ns-3 filters not working #13

Open
priyatm62 opened this issue Feb 18, 2019 · 4 comments
Open

ns-3 filters not working #13

priyatm62 opened this issue Feb 18, 2019 · 4 comments
Assignees

Comments

@priyatm62
Copy link

While simulating the ns-3 filter example (examples/ns3-filter.cc and examples/fed-filter.cc), the federate sends and receives the messages, without it passing through ns-3, even though the end point names in ns-3 match the end points in the federate. This example was tried with no modification from the user.
Versions:
ns-3 source: https://github.com/nsnam/ns-3-dev-git
helics-ns3: Branch: HELICS_2_0
HELICS-src: Tag/v2.0.0-rc1
The simulation was run using these commands -
In terminal 1: helics_broker --federates 2
In terminal 2: From ns-3 source, ./waf --run scratch/ns-3 filter
In terminal 3: From ns-3 source, ./waf --run scratch/fed-filter
The following warning was found in ns-3 log for endpoint 1 and 2 -
image

@10tranr
Copy link

10tranr commented Apr 17, 2019

able to recreate issue. Looking into issue now

Note:
command: ./waf --run scratch/ns-3 filter -> ./waf --run scratch/ns3-filter

@priyatm62
Copy link
Author

Thanks for noting, that was a typo while writing the issue.

@10tranr
Copy link

10tranr commented Apr 17, 2019

No problem :)

Forgot to note:
User may need to copy from helics-ns3: contrib/helics/examples ns3-filter.cc and fed-filter.cc
into ns-3-dev/scratch

@10tranr
Copy link

10tranr commented Sep 11, 2019

Update:
Andy Fisher and I were able to get a working example and pushed up the code.

Andy is continuing to add additional things so that other people can use this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants