Commit Graph
40 Commits
Author SHA1 Message Date
Alexander Afanasyev 554ef7aae2 tools: Registering /localhop/ndn-autoconf/hub prefix towards all UDP4 multicast faces
Change-Id: I0cd619f9c600862e4402bd6a1811751706223575
Refs: #1595
2014-06-16 12:51:15 -07:00
Alexander Afanasyev 0417d2adf7 tools: Add retrieval of ChannelStatus and StrategyChoice datasets
Change-Id: I55afae058845a934321ac242e80bc2b9ab6d9b15
Fixes: #1503, #1525, #1652
2014-06-13 12:27:40 -07:00
Alexander Afanasyev f4e89b4000 src: Small improvements
Change-Id: I9850cd6ec2330482915f815d94a2ac2ccaeae7f1
2014-05-31 15:54:18 +03:00
Alexander Afanasyev b3893c9950 src: Updating code to compile with the latest ndn-cxx library
This commit includes updates against the latest Face API and replaces
uses of deprecated methods.

Change-Id: I33ad398d26f8faf9f9627ff329ce0936e0911ab2
2014-05-15 21:52:26 -07:00
Alexander Afanasyev f6980284e6 src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.

Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
2014-05-15 09:52:28 -07:00
Chengyu Fan 514ed5e913 nfd-status: Define format and implement --xml option
The ether URI format "ether://01:00:5e:00:17:aa" violates
the URI specification, so it has been changed to
ether://[01:00:5e:00:17:aa] in this commit.

refs: #1438

Change-Id: I1218374b75f919a5e1ab158bbab2e217e64aced3
2014-05-08 17:16:43 -07:00
Alexander Afanasyev b47d53842a build+core: Add printing of version number in daemons and tools
This commit also changes how version number is handled.  Version is now
fully controlled from top-level wscript.  In addition to that, a new
NFD_VERSION_BUILD_STRING macro is set to include more detailed
information, including commit ID (e.g., "0.1.0-rc1-1-g5c86570").

Change-Id: I448eb627e0c42dc814de1107cf7bb0dc94fa2a89
Refs: #1575
2014-05-06 18:42:04 -07:00
Junxiao Shi 262f53159e tools: create identity if not exists, obtain superuser privilege in nfd-start
refs #1570

Change-Id: I02c4c050d30d29df2b39f3b0c7dd111e6fc53a1f
2014-05-04 17:07:34 -07:00
hilata f4f86736b3 tools: add prefix registration after creating the resolved hub face
Change-Id: Iaf845e440ec627eaee48d16d16a13245c8e7ac59
refs: #1578
2014-05-03 21:27:21 -05:00
hilata 3a4eb5c504 tools: fix port number parsing in ndn-autoconfig client
Change-Id: Icb6405ff46e1af3e213350a1dd331393820624f2
refs: #1550
2014-05-03 17:57:30 -05:00
Junxiao Shi 2229503302 build: downgrade maybe-uninitialized from an error to a warning
maybe-uninitialized has false positives in gcc 4.8 due to
Boost ticket #9134 https://svn.boost.org/trac/boost/ticket/9134

refs #1560

Change-Id: I44e2456b31f3a102d4a447da0dc81c23efb31f3b
2014-04-30 14:42:12 -07:00
hilata 6ee6e07e6f docs: Adding manpages for the command-line tools
Change-Id: I3eba0d125f7da51696342edce1a2f1ee33a0471a
refs: #1446
2014-04-28 13:25:13 -07:00
Obaid dca5079780 nfdc: Added name registration and FaceUri support
refs: #1416
refs: #1515

Change-Id: I2f899182bcdad69366fe88f90ff3e7eae9068d26
2014-04-26 10:47:06 -07:00
Alexander Afanasyev 4a77136894 build: == Dependency change == NFD now depends on ndn-cxx library
Change-Id: Ia9dd324a536573b5ac4fe1b73d82af772dc84923
Refs: #1536
2014-04-25 10:09:23 -07:00
Alexander Afanasyev 85b6b01af5 core: Adding workaround for missing <byteswap.h> on FreeBSD
This commit also fixes a couple of compilation issues with gcc 4.2.1

Change-Id: Iacc5a742b666849694b6ee947482e78340f74336
2014-04-21 20:55:35 -07:00
hilata 54e4eafa1a tools: nfdc support add command
refs: #1407

Change-Id: I35d7d33fda57a34a0a4abc890a5a6dcbc60804c8
2014-04-21 18:15:19 -07:00
Junxiao Shi d71d84c02d tools: NFD startup script
`nfd-start` starts NFD and RIB daemon.
`nfd-stop` stops NFD and RIB daemon.
They are intended for source installation only.
Binary packages should prefer to use system service mechanism if available.

refs #1488

Change-Id: I09f2168619a47fdc0faa78079b7994f30f41ff75
2014-04-20 18:22:42 -07:00
Alexander Afanasyev 613e2a9ba3 src: Reorganizing source code in preparation to merge NRD code
Note that as of this commit, there are several changes in location of
compiled binaries in `build/` folder:

* `nfd` has been moved to `build/bin/nfd`
* `unit-tests` has been split into `unit-tests-core` and `unit-tests-daemon`

Change-Id: I2c830c117879edbaa5457d6423c13f0273285919
Refs: #1486
2014-04-16 11:54:35 -07:00
Alexander Afanasyev 9bcbc7c130 docs: Update of copyright and license statement in all .hpp and .cpp files
Change-Id: I4082db67f2390482615a780d91a513f09d57a9a4
Refs: #1266
2014-04-07 09:18:25 -07:00
Chengyu Fan e25b0f093b tools: support IPv6 in nfd-status-http-server
Change-Id: I40866b0caf25315123f0da5a3136b576ece19027
Refs: #1445
2014-04-07 09:18:20 -07:00
Chengyu Fan b07788af05 tools: add nfd-status-http-server.py as standalone http server
Change-Id: Ibb4a272d716b7f4c80b0e81be1fb86c3c5a13529
refs: #1181
2014-04-03 14:03:05 -06:00
Junxiao Shi 6e69432262 face/mgmt/fw/tools: add localUri to FaceStatus and FaceEventNotification
refs #1396

Change-Id: I6084745c62c44a409ecbd4a795cb712475e32416
2014-04-03 10:27:13 -07:00
Junxiao Shi 2d2cde1baf mgmt/tools: fix build errors
Replace deprecated FaceStatus elements.

Fix unused-result warning in ndn-tlv-peek.

refs #1417

Change-Id: I6a8dcbfce1e0a112041ed2fedc2d485ff67ccf7d
2014-03-31 10:17:26 -07:00
Alexander Afanasyev 352e14eb7b tools: Update code to use unified NFD Management Protocol
Change-Id: I0e638f189afa87431292ca9471d95cba02ccd831
Refs: #1418
2014-03-28 15:08:12 -07:00
Junxiao Shi 88d6937685 mgmt: StatusServer uses ndn::nfd::ForwarderStatus
refs #1422

Change-Id: Iea201b62391ecb2e4376ad85c5dcfefed4500515
2014-03-28 12:47:51 -07:00
Alexander Afanasyev efea8fe804 build: Enabling -Werror in debug mode and fixing discovered issues
Change-Id: I29685dcb9240a3e0c8d7eaf28c8bc2ae720e55a1
2014-03-25 11:01:53 -07:00
Alexander Afanasyev 60a7ba55f8 tools: Fixing help message printing in nfd-status
Change-Id: I937e317b02989aa9f51168e101d203ecd9199de8
Refs: #1395
2014-03-25 11:01:53 -07:00
Alexander Afanasyev 82afa1a44a tools: nfd-autoreg
Change-Id: Id4fefea85cc240c476cb7e33022f05d5f839ae27
Refs: #1371
2014-03-25 11:01:43 -07:00
Alexander Afanasyev 7b7dfdd1ad tools: Fixing bugs in nfd-status
Also in this commit: implementing const_reverse_iterator in FaceTable.
It also would be good to have reverse iterator in Fib, but not strictly
necessary.

Change-Id: Ie9cf849b718f5db76db2957b4452790f9ae68fd3
Refs: #1378
2014-03-22 17:27:10 -07:00
jeraldabraham b6dde389bf tools/nfd-status: plain text status command
Change-Id: Id0f5eebd7d811ee8f4f76eb867687f78c445ad97
Refs: #1328
2014-03-19 22:50:34 -07:00
Davide Pesavento 6fc750f7cb tools: fix two warnings produced by gcc-4.8.
Change-Id: Ia27dd0b84b4a0e429f005ba4c0a5a5479dfc6769
2014-03-18 23:15:35 -07:00
Alexander Afanasyev eb3197fa35 all: Update code to compile with latest time-related changes in ndn-cpp-dev library
Change-Id: I7e859989c833001f49b286d4a9917f4dc740b4a4
2014-03-18 17:34:12 -07:00
jeraldabraham 8d840000e9 ndn-tlv-poke: simple producer to read payload from stdin and send it to local NDN forwarder as a single Data packet
refs: #1350

Change-Id: I5f5f86819beadfa6ecb4e62944d774417de8d6c0
2014-03-17 13:43:48 -07:00
hilata dd50ada734 tools: NDN hub discovery server & client
refs: #1295, #1296

Change-Id: I2fb5a0a8d6435e39aca080cb51b683820dbd959e
2014-03-17 14:28:35 -05:00
hilata 141eaae99e nfdc: strategy-choice
Change-Id: I806ed8296b6cc3be4a142ac2b5e08629930614a2
refs: #1312
2014-03-16 17:00:28 -07:00
jeraldabraham 20b2dc5db2 ndn-tlv-peek: simple consumer program that sends one interest and expects one response
refs: #1349

Change-Id: I5b98baf63ffdea5ec1c9bf1e98953e2035339e41
2014-03-16 13:51:38 -07:00
hilata dc947ec7b7 nfdc: delete fib/insert and fib/delete commands.
refs: #1342

Change-Id: I38ac207ca78acb159975448680a74fc37e27e8ec
2014-03-11 17:46:46 -07:00
hilata 9b27e69ac3 nfdc: set-strategy
refs #1287

Change-Id: I6f2e7b84fbcb49815f5d380380d9c8e5ab896919
2014-02-25 20:08:21 -08:00
Alexander Afanasyev 9f935b845a tools: Handling case of no command line options in `nfdc`
Change-Id: Iab7d3a6f0b5f034a2a50a546f1b92814b23c7d5d
2014-02-24 17:04:16 -08:00
hilata 198cadb39e tools: nfdc
Change-Id: Ida7d3b4264fd3452acf69b443150e3ad639e3da9
2014-02-22 20:24:36 -06:00