sdnwiselab / sdn-wise-contiki

The Open Source OS for the Internet of Things meets the Software Defined Networking
https://sdnwiselab.github.io/
BSD 3-Clause "New" or "Revised" License
25 stars 24 forks source link

Connecting the sdn-wise-java controller with sdn-wise-contiki (non-java) motes #7

Open mbaddeley opened 6 years ago

mbaddeley commented 6 years ago

Sebastiano,

So there's two types of motes currently implemented in sdn-wise-contiki

  1. Compiled C Motes for emulated hardware (sky etc.)
  2. Java motes.

I have two questions:

  1. Is it possible to detect sky motes in cooja using sdn-wise-java?
  2. How come when I use the emulated java motes, and connect the sink to localhost::9990 then sdn-wise-java only detects the sink, rather than the whole network? This is, of course, after I set EMULATED=false in SdnWise.java

I'm thinking the answer to the first question is that they aren't compatible? As sdn-wise-java southbound is a TCP connection and I don't think sdn-wise-contiki is currently supporting TCP?

Second question, not sure why they aren't working as I'm pretty sure I got it all working together a couple of years back. Have the updates earlier this year changed anything major?

hieunq95 commented 6 years ago
  1. They are not compatible. The connection between sky node and a java software you can find here: http://anrg.usc.edu/contiki/index.php/Collect_View . This may help to develop a simple controller for the sdn-wise-contiki motes.
  2. I think it only works with EMULATED=true
rubiruchi commented 6 years ago

Dear Sabastiano,

I am a PhD student in IIIT Naya Raipur, CG, India. I am trying to implement your results, produced in your unique paper, titled "SDN-WISE: Design, prototyping and experimentation of a stateful SDN solution for WIreless Sensor networks". I have some questions in this regard:
  1. Is it possible to implement the solution with any other hardware mote(s) except EMB-Z2530PA?
  2. The given solution SDN-WISE is completely open source or partially open-source (as some people are claiming it so in online community)?
  3. As you have developed a controller in java for SDWSN solution(s), is it a full fledged one or still some parts are under-development?
  4. Can we only test the java controller with Omnet++ or by using some frameworks like INET we can extent/create it in Omnet++?
hieunq95 commented 6 years ago

@rubiruchi For your 1st and 2nd questions, the sdn-wise-contiki is well deployed with Contiki-OS, thus it can run with different types of hardware. I had implemented successfully with Z1 and Tmote Sky platform.

rubiruchi commented 6 years ago

@hieu1204 So,

  1. After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
  2. The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?
hieunq95 commented 6 years ago

@rubiruchi Unfortunately, there is no tutorial for the sdn-wise-contiki. Since the SDN-WISE controller for Contiki-based motes is not produced yet by the authors, so I developed a simple Java controller for routing purpose. Sorry for your second question, I have no clue about the ONOS controller.

rubiruchi commented 6 years ago

Thanks @hieu1204 for your comments but I have few more question(s):

  1. The implementation (Z1 and sky mote) that you did is a real-world testbed implementation or in simulation under contiki?
  2. SDN-WISE author(s) claim in their paper that they made a controller using java APIs then why did you again develop the controller in java?
  3. do you know any other testbed and simulation implementation of SDWSN except SDN-WISE? Some people claim that it is possible with tinySDN, what's your opinion on this?
hieunq95 commented 6 years ago

@rubiruchi I did both COOJA simulation as well as the testbed (Z1 only). To the best of my knowledge, the controller that is compatible with Contiki firmware nodes is not published by the authors yet. For publications related to the SDWNs you can find in this survey https://ieeexplore.ieee.org/document/7847327/ Sorry for the 3rd question but I have no idea about the tinySDN.

rubiruchi commented 6 years ago

@hieu1204 Thanks a lot for your valuable comments. As I am working on the software defined WSN and want to implement it in both hardware as well as in simulation. Could you please guide me :

  1. How to implement a java controller or if you have the code, is it available somewhere online?
  2. How to implement the SDWSN solution with Z1 motes in real testbed?
hieunq95 commented 6 years ago

@rubiruchi I am delighted to share my experience, you can check my repository to find out. https://github.com/hieu1204/sdn-wise-trickle If you need some help do not hesitate to contact me via email.

escuderoDP commented 6 years ago

@rubiruchi The IT-SDN is an enhancement of TinySDN.

http://www.larc.usp.br/users/cbmargi/www//it-sdn/

hieunq95 commented 6 years ago

great, I'll test it as soon as possible

Oharaddzi commented 5 years ago

@hieu1204 So,

  1. After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
  2. The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?

@hieu1204 I had the same issue. This is the command to run the actual controller. I managed to solve it by only increasing the memory of the virtual machine from 1GB to 2GB. I also increased the buffer size of the terminal.

RaHeron95 commented 5 years ago

@rubiruchi The IT-SDN is an enhancement of TinySDN.

http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204 and @escuderoDP Did you try and compile IT-SDN ?

escuderoDP commented 5 years ago

@rubiruchi The IT-SDN is an enhancement of TinySDN. http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204 and @escuderoDP Did you try and compile IT-SDN ?

Yes, I did. You need help?

EthanYue commented 5 years ago

@rubiruchi The IT-SDN is an enhancement of TinySDN. http://www.larc.usp.br/users/cbmargi/www//it-sdn/

Hi @hieu1204 and @escuderoDP Did you try and compile IT-SDN ?

Yes, I did. You need help?

I had some error when I compiled IT-SDN, and some more details is about not found a function or a variable declaration, I could not solve this issue

escuderoDP commented 5 years ago

Can you take a snapshot of this error and your topology?

kuliahbaen commented 5 years ago

@hieu1204 So,

  1. After implementation how did you collect the routing metric(s) results? as there is no script for that at "http://sdn-wise.dieei.unict.it/".
  2. The tutorial "Controlling heterogeneous networks using SDN-WISE and ONOS" is not working with command "cd ~/onos && tools/test/bin/onos localhost" and giving error as "ssh: connect to host localhost port 8101: Connection refused" how did you resolved it?

I have the same problem with this 2nd question... and still dunno how to solve it

janardhancutn commented 4 years ago

Hello Peers...!! I am a new research scholar working in SDN WISE. I am getting an error in creating a Controller with "$ mvn package" while executing the SDN WISE, it is saying BUILD ERROR. Kindly help me out in this. Thanks in advance.

janardhancutn commented 4 years ago

I have used the below commands... cd ~ wget http://sdn-wise.dieei.unict.it/tools/01-GetStarted.tar.gz tar xvf 01-GetStarted.tar.gz rm 01-GetStarted.tar.gz cd 01-GetStarted mvn package java -jar target/01-GetStarted.jar

vikramdhiman27 commented 3 years ago

I have used the below commands... cd ~ wget http://sdn-wise.dieei.unict.it/tools/01-GetStarted.tar.gz tar xvf 01-GetStarted.tar.gz rm 01-GetStarted.tar.gz cd 01-GetStarted mvn package java -jar target/01-GetStarted.jar

Replace http://repo1.maven.org/maven2/ with https://repo1.maven.org/maven2/

Replace http://repo.maven.apache.org/maven2/ with https://repo.maven.apache.org/maven2/

ghost commented 2 years ago

@vikramdhiman27 Please how do I replace the repo address with a secure one? Thanks

delton-ecometrica commented 1 year ago

@hieunq95 @rubiruchi is collect view working when running the SDN-Wise simulation in Cooja i have tried to get results from it but it doesnt seem to be working for me