Commit Graph

991 Commits

Author SHA1 Message Date
Junxiao Shi 0d97692b40 tools: nfdc face create command accepts local FaceUri
refs #4017

Change-Id: I2d13403f13c30146c53744828ba2a37a6fab7de2
2017-04-01 14:35:21 +00:00
Eric Newberry 78e32b0ee2 face+mgmt: accept LocalUri in ProtocolFactory and FaceManager
refs #4016

Change-Id: I3e192e6d3982ae8e6ced1dbfbaa62f1c993f799e
2017-04-01 14:34:44 +00:00
Davide Pesavento 6bd6d0b50a face: UnicastEthernetTransport
Change-Id: I4d19f52835d9268f2ea63fd4e0b1a0a5aed95c47
Refs: #4011
2017-03-30 18:25:57 -04:00
Teng Liang bfea575095 face: configuration option to make Ethernet face "ad hoc"
Change-Id: I55aeb2ca38ec34365b2d5d951b9ca2d7b05f46b2
Refs: #4018, #3967
2017-03-29 04:51:10 +00:00
Teng Liang fe4fce3a3f face: configuration option to make UDP multicast face "ad hoc"
Change-Id: Ifd407f42e9646826697f73ab1890c819fce16857
Refs: #4018, #3967
2017-03-29 04:49:38 +00:00
Eric Newberry 185ab29325 face: add best-effort link-layer reliability
refs #3931

Change-Id: I009fabe000f4dd4ceb62acab6b0c735c13112430
2017-03-28 06:45:39 +00:00
susmit 21f22e692f core: enable wildcard matching on interface names for whitelist/blacklist
Change-Id: Iabf5084028d7e8c4a26ec5289c331f4a779c0bf7
Refs: #4009
2017-03-26 18:35:04 -04:00
Junxiao Shi da89fa5a9f fw: silence unused variable warning in FaceTable
Change-Id: I32136aabbac6c25f3b1e4ea17e2eeaddafd5c8c0
2017-03-22 21:34:56 +00:00
Davide Pesavento d2ea2350ad tests: no need to wrap ndn::nfd::RibEntry anymore
ndn-cxx provides the required operators now.

This commit also contains minor cleanups to RibManager test suite.

Change-Id: I2c7e4b5978319d654b69346935de37088bd6e877
Refs: #3903
2017-03-18 12:39:18 -04:00
Teng Liang 4f5cdcf421 fw: avoid breaking logic after LINK_TYPE_AD_HOC is introduced
Change-Id: I4f17a3a92c6ec44f1cb3ee619600c07e2ec39a16
Refs: #3967
2017-03-16 15:54:03 -07:00
Davide Pesavento d396b61ba1 rib: a few cleanups and simplifications in RibManager
Change-Id: I77699525ab372c4f4f3bbcae74e65bec24a86b4c
Refs: #3903
2017-03-12 19:53:54 -04:00
Davide Pesavento 1586aff97b mgmt+tests: no need to wrap ndn::nfd::FibEntry anymore
ndn-cxx provides the required operators now.

Change-Id: I7d7f371b89f8231853cb75682066ac09a858916d
Refs: #3903
2017-03-12 19:53:35 -04:00
Nick Gordon 9fcf123b19 rib: Enable Readvertise-to-NLSR
Change-Id: If50ffe740e8137ca2aeed67be219f6487153af9f
refs: #3818
2017-03-10 22:30:20 +00:00
Alexander Afanasyev 635bf20ef5 Remove use of deprecated code
Notably, faces/enable-local-control and faces/disable-local-control
management commands are removed in this commit.

Change-Id: I9ba45c9697eca418315c1c749a3c0c602a36f34e
Refs: #3988
2017-03-09 21:57:34 +00:00
Junxiao Shi f6af4f8913 tools: deprecate nfdc register/unregister/add-nexthop/remove-nexthop
They are replaced by 'nfdc route add' and 'nfdc route remove'.

refs #3866

Change-Id: I8040bf39ce9bd4b68409896c355beb12b0da5692
2017-03-09 16:20:14 +00:00
Junxiao Shi 1d62e62bc0 tools: nfdc route list and nfd route show commands
refs #3866

Change-Id: Ic8feab0ce9e5707c1cf382cdea7264e28e3edb30
2017-03-08 22:39:28 +00:00
Junxiao Shi 89c0ea0621 rib: introduce Readvertise
refs #3818

Change-Id: I4635fecfcb8be5d9bb3086dea3bf7bbd90538832
2017-03-06 19:52:05 +00:00
Nick Gordon 2fb3e8e3fe rib: introduce ReadvertisePolicy
refs #3818

Change-Id: Id40a7dfeeb1c46d6bff0750b15f3288a10897288
2017-03-06 19:50:59 +00:00
Junxiao Shi 63b67e2b23 rib: simplify ReadvertisedRoute
refs #3818

Change-Id: Ied644d825458f387b6f886bfcd425cffd2c2c7aa
2017-03-06 19:46:02 +00:00
Junxiao Shi 1a25a6edd0 tests: MockNfdMgmtFixture requires specific command Interest
MockNfdMgmtFixture previously allows a test case to respond to
the "last" command Interest, which causes difficulty when the
management client sends multiple command Interests together. It
now requires a specific command Interest for sending a response.

refs #3866

Change-Id: I80eeed2cdced618725a73f21bfaa387d831ca11a
2017-03-06 03:09:47 +00:00
Junxiao Shi 2fe3af0577 fw: duplicate Nonce from same face is not loop
refs #3888

Change-Id: I973f58281dca32b5f807d7be82a49d04314cbfb1
2017-03-04 17:24:19 +00:00
Ashlesh Gawande ecdbe5f2a6 fw: consumer retansmission in multicast startegy
refs: #2062

Change-Id: I2b58a289fffe262c69a797f339e40ad9037acf8f
2017-03-04 03:08:24 +00:00
Ashlesh Gawande f7bf4093be tools: fix compilation error due to ndn-cxx RouteFlags change
refs #3903

Change-Id: I799291d51d2b96ea1f7f8d07d000ae2c12300cf1
2017-03-04 03:06:26 +00:00
Junxiao Shi 084b79553f tools: nfdc route remove command
refs #3866

Change-Id: Iffbcf3face8758a52d35a854408f9910f4ba6c0b
2017-02-26 22:00:53 +00:00
Ashlesh Gawande e38e261ae6 fw: Nack in multicast strategy
refs: #3176

Change-Id: I1ef43c277a6a251170b652bf77d5516912a5d630
2017-02-25 07:23:41 +00:00
Junxiao Shi 918e5d451e tools: nfdc route add command
This commit also simplifies 'nfdc face destroy' and its test case.

'nfdc register' is deprecated in favor of 'nfdc route add'.

refs #3866

Change-Id: I1de5cc0bc956d57b0793da920c1e87b3580a3297
2017-02-25 03:58:21 +00:00
Davide Pesavento 7a294d49ab tests+tools: add missing includes
Change-Id: I29d9d265cb72c43edc4dbfd44261da823090bc10
2017-02-21 21:46:44 -05:00
Junxiao Shi d695801754 tools: deprecate nfdc create and nfdc destroy
They are deprecated in favor of nfdc face create and nfdc face destroy.

There is also a minor correction to nfdc-face man page.

refs #3864

Change-Id: I038bc604304ac5650101ee2afe30753e59061632
2017-02-20 03:34:48 +00:00
Davide Pesavento 26cbdbd904 tools: follow API change in ndn::nfd::Route
Change-Id: I67b770b4083afbea1fcf59fdcd183e971b1f6a6d
Refs: #3903
2017-02-19 21:48:21 -05:00
Davide Pesavento 6fd1e7e5ef fw: in FaceTable::add(), move the shared_ptr instead of copying it
Change-Id: Iddbdc35452f9512a75850b7a9cd3734d4cf89326
2017-02-17 18:45:27 +00:00
Junxiao Shi 36e5429622 tools: nfdc face list command with filters
refs #3864

Change-Id: Ie22e506bb2aeae8abf7c94b394e7aa56c840266f
2017-02-17 18:43:16 +00:00
Yanbiao Li 58ba3f9429 mgmt+tools: rework FacePersistency handling in faces/create and faces/update
1. enable changing persistency in faces/update command
2. reject faces/create request if the face already exists
3. nfdc changes to support the above

Change-Id: I659906da846608a42a768f08fb110ceee1a947a7
refs: #3232
2017-02-17 20:05:06 +08:00
Junxiao Shi 970f648843 tools: nfdc face create output fix
NFD faces/create command response does not contain a Uri field,
so nfdc face create output should not try to obtain canonical
remote FaceUri from the command response.

refs #3864

Change-Id: Idae4552e0e197257ea1277e12e20fe565a8562c6
2017-02-10 20:50:14 +00:00
Junxiao Shi 8f803f292e tools: use FindFace in nfdc face show command
This commit also uses FaceQueryFilter operator== in test cases.

refs #3864

Change-Id: I5096ab07ce02535364c5ac8f9e0f0ad27e55b96e
2017-02-10 03:04:28 +00:00
Junxiao Shi 05dd4441b0 tools: nfdc face destroy command
refs #3864

Change-Id: I1d070570c14364529c566273eba44b87413942b1
2017-02-06 22:50:07 +00:00
Junxiao Shi 1fbdb54f85 tests: improve Table/TestCs test suite
Adding MustBeFresh test case.
Updating DigestOrder test case.

refs #2411

Change-Id: Iae38e62e460251f3c74b67d0fcafae6007d8ddc5
2017-02-03 00:05:53 +00:00
Junxiao Shi f9858fdd1a fw: strip Link object when Interest reaches producer region
refs #3893

Change-Id: I7cb0a58f75eb4275bbf0fe0c7dcdb583c8519644
2017-02-02 06:07:52 +00:00
Junxiao Shi fab9e0de46 tests: forwarding with Link objects test suite
Fw/TestLinkForwarding is an end-to-end test suite that verifies
the proper forwarding rules for Interest with Link objects.
It replaces Fw/TestStrategy/LookupFib test suite.

refs #3893

Change-Id: I6dd3fe7988f8be6d55dd5dc589f7953c4d18f2ee
2017-02-02 06:04:59 +00:00
Junxiao Shi 1d7fef5810 tools: nfdc face create command
refs #3864

Change-Id: Icca589eceae0b78f68cda61e761dd4721ce54f9c
2017-02-02 05:33:14 +00:00
Junxiao Shi f0dfb33292 docs: write arguments as upper case in manpages
refs #3780, #3864

Change-Id: Iff0534dbd0119734fdb567500fe2e1842c7805f5
2017-02-02 05:32:25 +00:00
Nick Gordon 04262d9c84 rib: ReadvertiseDestination availability
refs: #3818

Change-Id: Ifc2875ba38025595f3d6a8f8207f5ec126f93c90
2017-02-01 12:14:21 -06:00
Junxiao Shi 056815ea8b tools: fix nfdc::text::ItemAttributes evaluation order bug
When multiple ItemAttributes::operator() invocations appear on the same
expression, they are not always evaluated left-to-right, causing incorrect
text output.

refs #3864

Change-Id: I4c99c5bc4a76b4becf83f368c9f253c0b254fc05
2017-01-29 16:39:19 +00:00
Junxiao Shi 215fd0b6d9 tools: import FacePersistency and FaceUri to nfdc namespace
refs #3864

Change-Id: I999fa2419f4d23368d924b536aee6f225017b570
2017-01-28 19:01:04 +00:00
Junxiao Shi 9954007722 fw: abstract Nack processing out of BestRouteStrategy2
refs #3176

Change-Id: Ib220269ff52acc47c65f854a610941afd862ad41
2017-01-27 19:57:33 +00:00
Junxiao Shi ea47bde02e mgmt: FaceManager no longer owns FaceSystem
refs #3904

Change-Id: I2ef6fd36a51493eea27d8eb0e1c7dc022766f948
2017-01-26 17:49:16 +00:00
Junxiao Shi c344304026 face: make ProtocolFactory::processConfig pure virtual
refs #3904

Change-Id: I1f2cb0a85b75f9adbabd4c9e5afb7d81567cfbd7
2017-01-26 17:21:35 +00:00
Junxiao Shi 1f481fa1a3 tools: nfdc face show command
refs #3864

Change-Id: Ibee7b082681edc35e8c272b2363436dbc7eaf9c0
2017-01-26 15:14:43 +00:00
Junxiao Shi 88a062de78 tools: add exit code and streams to nfdc::ExecuteContext
Moving exit code to the context allows error handling routines to
rely only on the context.

Moving stdout and stderr streams to the context allows mocking in
unit tests, and allows sending output to a buffer for pre-processing
when we implement interactive mode.

refs #3864

Change-Id: Ibf59c12405d0eaca0597835cb2e30125b7f70adb
2017-01-26 03:10:05 +00:00
Alexander Afanasyev 19e2e6d858 docs+build: Prepare release 0.5.1
Change-Id: If6c2cf06d604c6541bedec6cf87731f1f593eae4
Refs: #3859
NFD-0.5.1
2017-01-25 16:16:33 -05:00
Junxiao Shi c31080d470 mgmt: Create UDP multicast faces according to whitelist/blacklist
refs #1712

Change-Id: Ia957bb1a3a3a0108d06716bfb25ecd29c6952d62
2017-01-25 14:17:55 -05:00