[Ndn-interest] [EXTERNAL] Re: [EXT] Getting started with ndn-pyton

Varun Patil varunpatil at ucla.edu
Thu Mar 14 14:22:23 PDT 2024


Hi Marc,

Thank you, this is very helpful. I've a couple of questions.

1/ Is there and particular reason you're building the docker images
manually? We wanted to encourage direct usage of the images that are
pre-built by CI and hosted on GitHub (at least ndn-cxx and NFD are already
available)

2/ Are you okay if I directly copy some parts of this document into the NDN
101 guide? The documentation is licensed under CC BY-SA 4.0.
(btw this is still very much a work in progress and all
contributions/suggestions are greatly appreciated!)

Thanks,
Varun

On Wed, Mar 13, 2024, 6:22 PM Marc Mosko via Ndn-interest <
ndn-interest at lists.cs.ucla.edu> wrote:

> Thank you.  That was very helpful.
>
>
>
> Here is my writeup of how to run NFD and ndnsec in docker, then use
> Pycharm to run an app with only python-ndn on the host.
>
>
>
>
> https://docs.google.com/document/d/1Ig1XL0CBlvBT4yo-qJv9om5OMAcbzb7UPOOZQOmV_RI/edit?usp=sharing
>
>
>
> From the point of view of someone who just wants to write a couple apps
> and not fiddle with NFD or the client library, it is still a bit painful.
> The NDN documentation and “101.named-data.net” are not sufficient for an
> outsider to get started.
>
>
>
> Marc
>
>
>
>
>
> *From: *Junxiao Shi <shijunxiao at arizona.edu>
> *Date: *Tuesday, March 12, 2024 at 2:26 PM
> *To: *Marc Mosko <marc.mosko at sri.com>
> *Cc: *Ndn-interest at lists.cs.ucla.edu <Ndn-interest at lists.cs.ucla.edu>
> *Subject: *[EXTERNAL] Re: [EXT][Ndn-interest] Getting started with
> ndn-pyton
>
> Hi Marc
>
>
>
> The "official" Docker release is published on GitHub Container Registry:
>
>    - https://github.com/named-data/ndn-cxx/pkgs/container/ndn-cxx
>    - https://github.com/named-data/NFD/pkgs/container/nfd
>    -
>    https://github.com/named-data/NFD/pkgs/container/nfd-status-http-server
>
> I believe these are amd64 only, but the Dockerfiles are in the git
> repository.
>
> These were developed at the 15th NDN hackathon.
>
> The recent 16th NDN hackathon developed ndnping and NLSR containers, but
> they are not yet published.
>
>
>
>
>
> The scripts in yoursunny/docker-nfd
> <https://github.com/yoursunny/docker-nfd> repository are mainly for
> running NFD on Raspberry Pi Zero W and BeagleBone Black devices.
>
> In 2021, I made NFD-nightly <https://nfd-nightly.ndn.today/> that
> publishes .deb packages for NFD and related software, which replaced
> docker-nfd scripts.
>
>
>
> You can use a RUN step to install NFD-nightly into a Docker container
> image.
>
> Here's an example:
> https://github.com/usnistgov/ndn-dpdk/blob/2e1dda9f261a10fa12f2b82386f547e7a7bd2ad4/docs/interop/nfd/Dockerfile
>
>
>
> For ARMv8, you can use debian:bullseye base image and install NFD-nightly
> Debian 11 ARMv8 packages.
>
> I will add Debian 12 ARMv8 build on NFD-nightly soonTM.
>
>
>
>
>
> In most cases, python-ndn examples only require one ndnsec command as
> preparation:
>
> ndnsec key-gen /$(hostname -s)/$(id -un)
>
>
>
> Yours, Junxiao
>
>
>
> On Tue, Mar 12, 2024 at 5:01 PM Marc Mosko via Ndn-interest <
> ndn-interest at lists.cs.ucla.edu> wrote:
>
> *External Email*
>
> Hello,
>
>
>
> I’d like to setup a fresh environment on ubuntu 22.04, but there seems to
> not be any quick getting started document.  Is there one?  Otherwise, I’m
> writing up my notes in google docs.
>
>
>
> I’d like to run NFD and associated tools in docker.  Is there an official
> docker release, or build process?  I’ve found
> github.com/yoursunny/docker-nfd, but I’m working in an ARM64 native
> environment (aarch64) and those scripts have a bunch of stuff baked into
> them.
>
>
>
> I also could not find a getting started with ndnsec, and the ndn-python
> examples assume you have NFD and credentials setup.
>
>
>
> Thanks,
>
> Marc
>
>
>
>
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20240314/9106c09a/attachment.html>


More information about the Ndn-interest mailing list