<div dir="ltr"><div dir="ltr">Hi Junxiao,<div>I had missed adding SSH key to the agent.</div><div>I followed the link <a href="https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent">https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent</a>.</div><div>Now i could finally clone NFD repository successfully.</div><div>Thanks a lot for your time and valuable suggestions.</div><div><br></div><div>regards </div><div>Swetha</div><div><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020 at 2:46 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Swetha<div dir="auto"><br></div><div dir="auto">It's possible that the public key you entered into Gerrit does not match the private key you are using.</div><div dir="auto">You can confirm this by attempting to SSH into Gerrit, as shown below. Substitute your username.</div><div dir="auto"><br></div><div dir="auto">---</div><div dir="auto"><br></div><div dir="auto"><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">$ ssh -p 29418 <a href="mailto:sunny@gerrit.named-data.net" target="_blank">sunny@gerrit.named-data.net</a></font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50"><br></font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">  ****    Welcome to Gerrit Code Review    ****</font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50"><br></font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">  Hi Junxiao Shi, you have successfully connected over SSH.</font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50"><br></font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">  Unfortunately, interactive shells are disabled.</font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">  To clone a hosted Git repository, use:</font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50"><br></font></span></div><div dir="auto"><span style="background-color:rgb(255,255,255)"><font color="#4caf50">  git clone ssh://<a href="http://sunny@gerrit.named-data.net:29418/REPOSITORY_NAME.git" target="_blank">sunny@gerrit.named-data.net:29418/REPOSITORY_NAME.git</a></font></span></div></div><div dir="auto"><br></div><div dir="auto">---<br><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020, 05:09 Swetha B via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div dir="ltr">Hi Junxiao,</div><div>I have added SSH public keys and its status shows as valid. can u guide me where i am going wrong.</div><div><br></div><div>Regards</div><div>Swetha</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020 at 2:21 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" rel="noreferrer" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Swetha<div dir="auto"><br></div><div dir="auto">You missed step 9.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020, 04:42 Swetha B via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" rel="noreferrer" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr">Hi Junxiao,<div>As per your suggestion I created SSH public keys and could proceed further.  While cloning the NFD repository, i got following message</div><div><br></div><div>swetha@swetha-Ubuntu:~$ git clone "ssh://<a href="http://swetha_rnsit@gerrit.named-data.net:29418/NFD" rel="noreferrer noreferrer noreferrer" target="_blank">swetha_rnsit@gerrit.named-data.net:29418/NFD</a>" && scp -p -P 29418 swetha_rnsit@gerrit.named-data.net:hooks/commit-msg "NFD/.git/hooks/"<br>Cloning into 'NFD'...<br>The authenticity of host '[<a href="http://gerrit.named-data.net/" rel="noreferrer noreferrer noreferrer" target="_blank">gerrit.named-data.net</a>]:29418 ([104.154.51.235]:29418)' can't be established.<br>ECDSA key fingerprint is SHA256:Wcd2ZLM6D9+lbHPwQILvrbcPsH9wNoqc3WIrTgS0Sh4.<br>Are you sure you want to continue connecting (yes/no)? y<br>Please type 'yes' or 'no': yes<br>Warning: Permanently added '[<a href="http://gerrit.named-data.net/" rel="noreferrer noreferrer noreferrer" target="_blank">gerrit.named-data.net</a>]:29418,[104.154.51.235]:29418' (ECDSA) to the list of known hosts.<br><a href="mailto:swetha_rnsit@gerrit.named-data.net" rel="noreferrer noreferrer noreferrer" target="_blank">swetha_rnsit@gerrit.named-data.net</a>: Permission denied (publickey).<br>fatal: Could not read from remote repository.<br><br>Please make sure you have the correct access rights<br>and the repository exists.<br></div><div><br></div><div>Do i have to make any other settings before cloning the NFD repository. Thank you</div><div><br></div><div>Regards</div><div>Swetha</div><div><br></div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 3:59 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" rel="noreferrer noreferrer noreferrer" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi Swetha<div dir="auto"><br></div><div dir="auto">You missed step 6 or step 7.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020, 05:05 Swetha B <<a href="mailto:swetab26@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">swetab26@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr">Hi junxiao Shi,<div>I have problem with cloning NFD repository.</div><div>I followed your previous email</div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Dear folks

I got question on how to clone the NFD repository for development purpose.
Here's the updated procedure: (Thanks Teng Liang for reporting a problem in
the procedure sent on Mar 28)

   1. in a web browser, navigate to <a href="http://gerrit.named-data.net/" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">http://gerrit.named-data.net</a>
   2. click "Sign In" link on top-right corner, click "Google OAuth2"
   3. authenticate with your Google Account, and then you will be
   redirected back to Gerrit system
   4. click your name on top-right corner, and click "Settings" in the
   pop-up box
   5. look for a "Username" textbox; if there's no such textbox, but a
   username is displayed, goto step 7
   6. in the "Username" textbox, type a username (syntax: a letter,
   followed by letters or numbers), and click "Select" button, confirm
   7. click "SSH Public Keys" menu item on left navigation bar
   8. look for multi-line textbox below "Add SSH Public Key"; if there's no
   such textbox, but a table is displayed, goto step 10
   9. paste your SSH public key, and click "Add" button
   10. click "Projects - List" menu item on top navigation bar
   11. type "NFD" in "Filter" textbox
   12. click "NFD" table row
   13. under "Project NFD" title, click "clone with commit-msg hook" and
   "SSH" buttons
   14. find the textbox below "clone with commit-msg hook" (it should start
   with "git clone ssh:/")
   15. the contents in this textbox is the complete command line needed to
   clone the NFD repository

</pre>But i didnt find "clone with commit-msg hook" and "SSH" buttons. In place of that i found git clone "<a href="https://gerrit.named-data.net/NFD" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://gerrit.named-data.net/NFD</a>"..</div><div>Can u guide me how to proceed further.</div><div><br></div><div>Regards</div><div>Swetha</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 7, 2020 at 4:41 PM Swetha B <<a href="mailto:swetab26@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">swetab26@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks a lot for your valuable inputs.<br><div>Swetha B</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 5, 2020 at 9:42 AM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Hi Swetha</div><div dir="auto"><br></div><div dir="auto">This means your changes are breaking the NameTree API needed by FIB.</div><div dir="auto"><br></div><div dir="auto">1. Separately clone the NFD repository.</div><div dir="auto">2. Checkout the NFD version used in your version of ndnSIM.</div></div><div dir="auto">3. Apply your modifications there.</div><div dir="auto">4. Ensure all unit tests are passing. If not, find out what's wrong in your changes.</div><div dir="auto">5. Now reapply the changes to ndnSIM, and the FIB will likely work.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 5, 2020 at 00:01 Swetha B via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div dir="ltr">Hi all,<div>I am implementing NDN tables indexing using closed hashing with linear probing in ndnSIM2.7.</div><div>To achieve that I modified name-tree-hashtable.cpp and name-tree-iterator.cpp.</div><div>After modifications i am able to successfully run producer consumer applications.</div><div>In my custom scenario i am accessing FIB table of a node to insert a prefix and later execute consumer producer applications using that prefix. </div><div><br></div><div>auto& fib1 = node1->GetObject<ndn::L3Protocol>()->getForwarder()->getFib();<br>  auto e = fib1.insert(prefix).first;<br>  ndn::FibHelper::AddRoute(node1,prefix,node4,1);<br></div><div><br></div><div>When i execute this scenario i see that visualizer is'nt working and also the regular setup FIB tables on nodes is'nt taking place. I have shared a snapshot of execution.</div><div><br></div><div>swetha@swetha-Ubuntu:~/Desktop/ndnSIM/ndnSIM-sample-topologies$ NS_LOG="ndn-cxx.nfd.NameTreeHashtable:ndn.FibHelper:ndn.L3Protocol" ./waf --run=ndn-simple --vis<br>Waf: Entering directory `/home/swetha/Desktop/ndnSIM/ndnSIM-sample-topologies/build'<br>[23/34] cxx: scenarios/ndn-simple.cc -> build/scenarios/ndn-simple.cc.12.o<br>[34/34] cxxprogram: build/scenarios/ndn-simple.cc.12.o -> build/ndn-simple<br>Waf: Leaving directory `/home/swetha/Desktop/ndnSIM/ndnSIM-sample-topologies/build'<br>'build' finished successfully (6.937s)<br>+0.000000000s 0 ndn.L3Protocol:L3Protocol(0x555bd319c4e0)<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:computeThresholds(): [LOGIC] thresholds expand=512 shrink=102<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:findOrInsert(): [LOGIC] insert / hash=0 bucket=0<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:findOrInsert(): [LOGIC] insert /ndn hash=6181921638449679482 bucket=122<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:findOrInsert(): [LOGIC] insert /ndn/multicast hash=18240561258910134669 bucket=397<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:findOrInsert(): [LOGIC] insert /localhost hash=10937169108514740553 bucket=329<br>+0.000000000s 0 ndn-cxx.nfd.NameTreeHashtable:findOrInsert(): [LOGIC] insert /localhost/nfd hash=3626199823732152002 bucket=706<br><br>swetha@swetha-Ubuntu:~/Desktop/ndnSIM/ndnSIM-sample-topologies$ <br></div><div><br></div><div><br></div><div><br></div><div>  I m grateful for any thoughts and advice regarding where i am going wrong in this.</div><div>Thanks.</div><div><br></div><div>Swetha B.</div><div>Research Scholar</div><div>RNSIT</div><div>Bengaluru</div><div>India</div><div></div><div><br></div></div></div></blockquote></div></div></div></blockquote></div></blockquote></div></blockquote></div></div></div></blockquote></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>
</blockquote></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" rel="noreferrer" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>
</blockquote></div></div>