<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Begin forwarded message:</div>
<div class=""><br class="">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">From:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">smb yassine <<a href="mailto:y.sembati@gmail.com" class="">y.sembati@gmail.com</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Subject:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">Re: Fwd: mini-ndn help</b><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Date:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">June 23, 2021 at 12:05:21 PM CDT<br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">To:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">Philipp Moll <<a href="mailto:phmoll@cs.ucla.edu" class="">phmoll@cs.ucla.edu</a>><br class="">
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class="">
<span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(127, 127, 127, 1.0);" class=""><b class="">Cc:
</b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:mini-ndn@lists.cs.ucla.edu" class="">mini-ndn@lists.cs.ucla.edu</a><br class="">
</span></div>
<br class="">
<br class="">
<div dir="auto" class="">Ok, thank you very much</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mer. 23 juin 2021 à 17:53, Philipp Moll <<a href="mailto:phmoll@cs.ucla.edu" class="">phmoll@cs.ucla.edu</a>> a écrit :<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<p class="">OK, I don't think that you can interact with the mininet controller, or let's say I don't think it makes a lot of sense. I don't whether this is meaningful or no (I am not the MiniNDN expert), but you could get information about connectivity from
 the "net" object in MiniNDN. You could create a controller class that observes connectivity, and whenever something changes, the controller can change the forwarding behavior of individual nodes using "nfdc". The implementation of that shouldn't be a big deal.</p>
<p class="">Thanks,<br class="">
Philipp<br class="">
</p>
<div class="">On 6/23/21 6:48 PM, smb yassine wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="auto" class="">I need the controller for the centralized routing my objective is to implement a routing protocol (existing or developed ) in the controller to test the centralized routing that's why I need the controller.
<div dir="auto" class="">One suggestion is to look at mininet examples for controller and integrat it with mini-ndn examples it is possible?</div>
<div dir="auto" class="">Thank you phillip</div>
<div dir="auto" class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mer. 23 juin 2021 à 17:35, Philipp Moll <<a href="mailto:phmoll@cs.ucla.edu" target="_blank" rel="noreferrer" class="">phmoll@cs.ucla.edu</a>> a écrit :<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<p class="">I think your terminology is referring to MiniNet. In MiniNDN, we do not differentiate between controllers, switches and hosts - in MiniNDN we only have one type of nodes, which is "node".</p>
<p class="">What do you need the controller and the switches for? In MiniNDN you can directly configure all routing/forwarding information in the MiniNDN scenario, as far as I know, there's no need for a controller.</p>
<p class="">Not sure if you already have found the MiniNDN guide: <a href="https://minindn.memphis.edu/" rel="noreferrer noreferrer" target="_blank" class="">
https://minindn.memphis.edu/</a>. Maybe have a look at the samples.</p>
<p class="">Thanks,<br class="">
Philipp<br class="">
</p>
<div class="">On 6/23/21 6:21 PM, smb yassine wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="auto" class="">Thank you for your reply in the first place I want to implement for example to implement a topology with 1 controller 2 switch and 3 hosts my first question is it possible to implement a controller in mini-ndn as mininet and if yes
 how to do it?
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Thank you phillip</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mer. 23 juin 2021 à 17:13, Philipp Moll <<a href="mailto:phmoll@cs.ucla.edu" rel="noreferrer noreferrer" target="_blank" class="">phmoll@cs.ucla.edu</a>> a écrit :<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<p class="">Hi Yassine,</p>
<p class="">thanks for reaching out.</p>
<p class="">I am not completely sure if I understood your question correctly. Do you want to use an existing routing protocol in your topology, or do you want to develop a new routing protocol?</p>
<p class=""><b class="">In case you want to use an existing routing protocol you have two possibilities:</b></p>
<p class="">i) Use NLSR. Therefore, you need to install NLSR on every node of your topology. Thereafter, nodes can advertise the routes they are serving using nlsrc, and thats it. You can find an example here:
<a href="https://github.com/phylib/dnl-experiment/blob/d55a8931ac457e47d68b5799ccb26209ffef843f/experiment.py#L98-L105" rel="noreferrer noreferrer noreferrer" target="_blank" class="">
https://github.com/phylib/dnl-experiment/blob/d55a8931ac457e47d68b5799ccb26209ffef843f/experiment.py#L98-L105</a></p>
<p class="">ii) Use the static routing helper: That's not a routing protocol, but helps you to install all the routes you need for your experiment. See this example:
<a href="https://github.com/phylib/dnl-experiment/blob/9049629301984b82e7f5ee21800f74a471fb8b65/experiment.py#L91-L95" rel="noreferrer noreferrer noreferrer" target="_blank" class="">
https://github.com/phylib/dnl-experiment/blob/9049629301984b82e7f5ee21800f74a471fb8b65/experiment.py#L91-L95</a></p>
<p class=""><b class="">If you want to develop you own routing protocol</b>, you need to develop your routing protocol and create a mini-ndn app when you want to use it in mini-ndn. Similar as done for NLSR (here:
<a href="https://github.com/named-data/mini-ndn/blob/master/minindn/apps/nlsr.py" rel="noreferrer noreferrer noreferrer" target="_blank" class="">
https://github.com/named-data/mini-ndn/blob/master/minindn/apps/nlsr.py</a>). When you want to use it, you should be able to do it similarly as when using NLSR.</p>
<p class="">I am neither a routing nor Mini-NDN expert. That's why I copied you to the Mini-NDN mailing list (<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" rel="noreferrer noreferrer noreferrer" target="_blank" class="">https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>).
 Hope that people with more MiniNDN and routing experience can help out.</p>
<p class="">I hope that things got little clearer. In case anything is unclear, feel free to drop me a message.<br class="">
</p>
<p class="">Thanks,<br class="">
Philipp</p>
<br class="">
<div class="">On 6/23/21 6:01 PM, Philipp Moll wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class=""><br class="">
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br class="">
Von: <b class="gmail_sendername" dir="auto">smb yassine</b> <span dir="auto" class="">
<<a href="mailto:y.sembati@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank" class="">y.sembati@gmail.com</a>></span><br class="">
Date: Mi., 23. Juni 2021 um 17:56 Uhr<br class="">
Subject: mini-ndn help<br class="">
To: <<a href="mailto:mollph@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank" class="">mollph@gmail.com</a>><br class="">
</div>
<br class="">
<br class="">
<div dir="ltr" class="">
<div class="">hello m.phillip</div>
<div class="">I am phd student and I work on the routing ndn i wonder how can I use a controller in mini-ndn topology and if is a way to implement a routing protocol on the controller.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">thank you <br class="">
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br class="">
<br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>