[Nfd-dev] [Ubuntu PPA] Breaking change for nfd-autoreg package

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Jul 22 17:32:47 PDT 2015


Hi!

I just want to let know people who are using Ubuntu PPA packages from NDN PPA (named-data/ppa) that today we will be pushing an update of nfd package that includes a breaking change for configuration file of the nfd-autoreg daemon.  Please be advised that the configuration file /etc/default/nfd-autoreg needs to be changed to a new format.

Here is a diff summary for the format changes:

============== cut ====================
diff --git a/nfd/debian/nfd-autoreg.default b/nfd/debian/nfd-autoreg.default
index 218e2d3..8666a95 100644
--- a/nfd/debian/nfd-autoreg.default
+++ b/nfd/debian/nfd-autoreg.default
@@ -1,15 +1,19 @@
 # nfd-autoreg defaults

 # Blacklisted networks
-BLACKLIST="10.0.0.0/8"
+# Format: "-b NET1 -b NET2 ..."
+BLACKLIST="-b 10.0.0.0/8"

 # Whitelisted networks
+# Format: "-w NET1 -w NET2 ..."
 WHITELIST=""

 # Prefixes to register on All faces:
-ALL_FACES_PREFIXES="/ndn/broadcast"
+# Format: "--all-faces-prefix /prefix/1 --all-faces-prefix /prefix/2 ..."
+ALL_FACES_PREFIXES="--all-faces-prefix /ndn/broadcast"

 # Prefixes to register just on on-demand faces:
+# Format: "--prefix /prefix/1 --prefix /prefix/2 ..."
 ON_DEMAND_FACES_PREFIXES=""

 # Flags
================ end cut ===============

This change is part of adding systemd startup scripts to our NDN packages. After the update, NFD should work properly on Ubuntu releases >= 15.04 which uses systemd by default.

---
Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150723/bb69ec7b/attachment.bin>


More information about the Nfd-dev mailing list