Commit Graph

8 Commits

Author SHA1 Message Date
Ju Pan 6eb1ac9b49 mgmt: add satisfied and unsatisfied counters for forwarder status management
refs: #4720

Change-Id: I69545e0fbf4ebba75a292644631c2cf9fdaa301a
2018-10-27 21:57:33 +00:00
Junxiao Shi f03d4796d7 mgmt+tools: rename 'datas' to 'data'
Plural form of 'data' is 'data'.

refs #3955

Change-Id: I62f5ebe53b8e36d565e5a243288eb12ae9a08014
2017-04-06 16:41:22 +00:00
Junxiao Shi d8205106cc mgmt: ForwarderStatusManager answers only status/general
GeneralStatus dataset at /localhost/nfd/status prefix was deprecated
and is now removed.

refs #3379

Change-Id: I9ce8bba9b11823b6a1a159703cc9f8050656ab53
2016-09-22 18:08:45 +00:00
Junxiao Shi 9f5b01dfd8 core: move common.hpp to core/
Headers in core/ are now included as `#include "core/*.hpp"`.
This allows NFD to rely less on include paths when used as a submodule in
another codebase, such as ndnSIM and NFD-Android.

refs #3127

Change-Id: Ia38f3c97427e17ff7b5401281f1fe875b5d5313e
2016-08-05 03:54:28 +00:00
Junxiao Shi 498373dd01 mgmt: publish GeneralStatus dataset
In ForwarderStatusManager, publish ForwarderStatus as a dataset at
/localhost/nfd/status/general.
To maintain backwards compatibility, an Interest to /localhost/nfd/status
also retrieves this dataset.

It's intentional not to update the test suite in this commit,
to illustrate that backwards compatibility is maintained.

refs #3081

Change-Id: I9b636e2e621563185303a7304be402c8221c9863
2015-12-29 17:51:26 -07:00
Junxiao Shi da93f1fd0c face: LpFace counters
FaceCounters for LpFace consist of LinkService::Counters and
Transport::Counters. Old FaceCounters class from 2014 face architecture is
renamed as OldFaceCounters, and can be wrapped with new FaceCounters class.
OldFaceCounters is only used in old Face subclasses.

This commit also updates existing face test suites to use new FaceCounters,
updates ForwarderStatus so that it does not rely on FaceCounters,
and moves the logic of copying face properties and counters into management
structs from face system into FaceManager.

refs #3177

Change-Id: I587e8a32fa72bac3af9d750b2c88342740aa08d6
2015-11-11 06:13:16 -07:00
Alexander Afanasyev ecbf584299 mgmt refactoring: Correct ForwarderStatus publishing
Change-Id: I8207af814757b5f4ce3ea9b8bb66d7f5a369af2f
Refs: #2107
2015-09-08 17:25:23 -07:00
Yanbiao Li 7cec7eafce mgmt refactoring: ForwarderStatusServer (renamed StatusServer)
Change-Id: I83aceca49e02f49553c9b17e16d6b50fb93e32de
Refs: #2107
2015-09-07 19:00:30 -07:00