Commit Graph
816 Commits
Author SHA1 Message Date
Junxiao Shi 2ecb059eb9 lsa: define NameLsa operator==
refs #4094

Change-Id: I99650cb3c6c452b157595a394c30227e47aa88c8
2023-08-27 20:27:34 +00:00
Junxiao Shi 20377645fb lsa: split test suites and reduce includes
refs #4094

Change-Id: I25817cc4786711432b0af60c7819a54b6e41311a
2023-08-27 20:27:17 +00:00
Junxiao Shi 6593a43fa3 route: use ndn::FaceUri type for faceUri
refs #4227

Change-Id: I1b0d7ed97e43e4d0c50770ed306cbe85382dfc9a
2023-08-25 10:06:59 +00:00
Junxiao Shi 931ca9f576 name-prefix-list: delete unused methods and cleanup tests
Unit tests for NamePrefixList type are deduplicated. This allows
deleting countSources() method and NamePair type, which were used
sparsely in the unit tests and not needed by the rest of the codebase.

refs #4094

Change-Id: Id5a6e6b90f863dfeef2ed71e67a9823d84088a48
2023-08-21 10:14:46 +00:00
Davide Pesavento cd77aabaa9 build: update waf to version 2.0.26
Change-Id: I786be093be266ccd1720cc5c7752b00323ee09b6
2023-08-21 02:42:11 +00:00
Davide Pesavento eed3209c8d build: sync default build flags with ndn-cxx
Refactor default-compiler-flags.py to reduce duplication

Change-Id: I71b9255caed4d9262d73155c392a202ec7674e71
2023-08-21 02:42:00 +00:00
Davide Pesavento 5110a8a4ee build: align minimum build requirements with ndn-cxx
Change-Id: Ia28aabc9e496f7467fa58525cde97d44ad159003
2023-08-21 02:41:43 +00:00
Junxiao Shi 52f16644ab name-prefix-list: compare names only in operator==
NamePrefixList type is now a sorted container. The sort() method is
deleted.

The remove() method is renamed to erase(), in accordance with ndn-cxx
code style recommendations.

refs #4094

Change-Id: I2d3f2fa768a8dd9a51108f6f4064243b21fd6df8
2023-08-21 01:47:10 +00:00
Junxiao Shi 43f37a08fc Change namespace of DummyClientFace, Signal, Segmenter, SegmentFetcher
refs #3940

Change-Id: Ia3c9b4adcca9ff79a14be705ca9da525914f3dff
2023-08-20 02:23:22 +00:00
Saurab Dulal ecb0b7180e Prepare release 0.7.0
Change-Id: I3d707d1f1684879fa9133ac87d1b53710465dea1
NLSR-0.7.0
2023-08-17 21:48:54 -04:00
Junxiao Shi 771a0de40c tests: change FaceId in test-nlsr and test-fib
DummyClientFace is no longer overwriting FaceId of prefix registration
reply, so that we can use FaceId other than 1.

refs #5011

Change-Id: I50ff0a6ee023ebe5cc78e6d62a45ce375798ad41
2023-08-14 10:49:07 +00:00
Davide Pesavento 907675bd06 tests: fix sync prefix test if SVS support is disabled
Amends a2599dafa9

Change-Id: I21b4379ad83f2241ad6749759ac3a95d98929a17
2023-08-02 20:11:12 -04:00
Varun Patil 7543f590a3 sync: use incomingFace for SVS
Change-Id: I28c24fd6d8da58fdfd7f125736ac22af91179fed
2023-07-21 18:15:59 +00:00
Varun Patil a2599dafa9 comm: do not use localhop for SVS
SVS does not work with localhop; Sync Interests need to
be forwarded at the network layer to all nodes in the group.

Change-Id: I32cba55f98f5a77257dd249d1b7c92d78460b39b
2023-07-19 16:56:16 -07:00
Junxiao Shi f7ea150405 tools: exit with non-zero on advertise/withdraw error
refs #5271

Change-Id: I287fc5746ac1fd2930bb85ac49e5ad732abd3581
2023-06-23 04:30:19 +00:00
Davide Pesavento 658fd85bc7 Avoid using deprecated ndn-cxx type aliases
Change-Id: I55fd500377698adc8035113bdff2d64091a36e07
2023-05-10 22:15:03 -04:00
Davide Pesavento 070ee3b52d Add missing include
Change-Id: Ia350ad412e931c96b963595019f361a6f0181c4e
2023-03-16 22:36:36 -04:00
Davide Pesavento e0ad5808e3 tests: fix two dangling-reference warnings with gcc 13
Change-Id: Iccb9045eaa468f4af7782dc466bd8a28a53ffa73
2023-02-20 21:10:03 -05:00
Davide Pesavento fa54ee99b4 ci: adopt reusable workflows from named-data/actions
Switch source archive (tarball) to xz compression

Change-Id: I3e1963bc1f101b7815f1919b4a16da973261f158
2023-02-20 04:22:42 -05:00
Davide Pesavento 1e9faf1d1b build: bump ndn-cxx, ChronoSync, PSync dependencies
Also fix a few outdated URLs in docs

Change-Id: I4269ca53f55433568e8fd93eec497697c01b3c6d
2023-01-21 16:04:50 -05:00
Davide Pesavento 1b640fd092 docs: improve formatting and document structure
Change-Id: I530d58f2700eb264855843021db32f568d373a1d
2023-01-05 04:02:02 -05:00
Davide Pesavento fcef058206 build: update waf to version 2.0.24
Change-Id: I2b367680138454e51c7aa82d3b93de70d4573d12
2022-12-06 15:08:05 -05:00
Varun Patil 7d2d689d89 communication: add SVS support
Change-Id: I74c5a091c8b1c05dd186a0c10849aa5bb4f39e50
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-05 15:27:56 +00:00
Davide Pesavento 65ee992149 lsdb: use ndn-cxx's Segmenter
This commit also makes lld the preferred linker on Linux

Change-Id: I178ca7d28ad21d8a1e3f3daf99f80206e8b1c54e
2022-11-20 22:08:09 -05:00
Davide Pesavento 69904fcb73 tests: fix compatibility with signed Interests in v0.3 format
Change-Id: I52bd2bfb5d9551614e2cf012b19b966d84306368
2022-10-14 09:45:34 -04:00
Davide Pesavento 1954a0c5ce communication: adapt to API changes in PSync
Pass the KeyChain instance to psync::FullProducer

Change-Id: Ia97356dc364c7bdaf6dc80ad57fa351eeabe997d
2022-09-30 16:40:24 -04:00
Davide Pesavento d1cb063482 docs: simplify conf.py and fix compatibility with upcoming Sphinx 6.0
Change-Id: Ib68b2cf40c9b3e74251bb87aa76ca18b7e371f3c
2022-09-25 14:11:23 -04:00
Davide Pesavento ede5963845 build+ci: support CentOS Stream 9 and macOS/arm64
This commit also syncs the CI config and scripts with ndn-cxx

Change-Id: Ie46b1d4b299bc95b03aa05d48efe366e1c72d54d
2022-08-26 20:35:44 -04:00
Davide Pesavento c1d0e8e34d build: migrate to C++17
Change-Id: Ic9f09efd20b608bfcb713fd319834b2666cf6242
2022-06-29 15:04:57 -04:00
awlane 0c87b12458 lsdb: Fix for issues involving incorrect retransmission behavior
Change-Id: I912ca04ccc8303f0c621cd5065553193d09bd26f
2022-06-17 15:53:10 -05:00
Dylan fabe9729b9 Re-add exception handler for dummy keychain
refs: #5206
Change-Id: I8099a99892e62c9365732a53b20f2f5030a67cc7
2022-05-24 16:51:31 -04:00
Alexander Afanasyev 135288cf4f lsdb: Fetch LSA from the face the notification about LSAs came from
Change-Id: Iadb7a22bcc8b2d7801787e5d88b37eec4eafc974
2022-05-24 16:12:14 -04:00
Davide Pesavento 8de8a8b37a tests: sync common testing infrastructure with ndn-cxx
Change-Id: I1e5cdcda8f6d3d9f9addc7a9f17359aedef9db7e
2022-05-12 01:26:43 -04:00
Junxiao Shi b032fcb38f conf+security: accommodate certificate name in KeyLocator
refs #5195

Change-Id: I88709f891fe78fc9f2699bc021d35ca72ebc6850
2022-04-28 01:28:50 +00:00
Davide Pesavento 583473a76f ci: require gcovr 5.1 for code coverage reports
Stop passing `-j`, it wasn't very useful and it's broken in gcovr 5.1

Change-Id: I265b23eb21a5c229b8ce7b4099b342cecd4925a3
2022-04-20 13:23:06 -04:00
Davide Pesavento e28d8756ce Avoid deprecated ndn-cxx functions
Change-Id: I763368c2ea12902b4ea400f92c23b17ad5a5628e
2022-03-19 03:55:25 -04:00
Davide Pesavento d1f1df802c build: align minimum build dependencies with ndn-cxx
* boost 1.65.1
 * gcc 7.4
 * clang 6.0
 * Xcode 10.0 (11.3 or later recommended)

Also improve some test cases

Change-Id: Ib81d082a19e61940fa6f1d89204ea8de8ed57940
2022-03-12 16:40:37 -05:00
Junxiao Shi a3a63975d1 nlsrc: run command on remote router
refs #4544

Change-Id: I977ebfb94c84730bd2bcc73515f77cc4773ec2de
2022-01-24 02:03:41 +00:00
Davide Pesavento ea94f83039 build: update waf to version 2.0.23
Change-Id: I0d8a12968548fcf183cd2183a53b27690e13237c
2022-01-02 18:46:23 -05:00
Davide Pesavento cf14807f7d ci: add code coverage reporting via gcovr
Change-Id: Idc442d4e960360f0c82bcfda0bc8c97004b5d0aa
2021-11-06 19:38:01 -04:00
Davide Pesavento 7bc3d438e7 Improve error handling and reporting
Change-Id: I41a58409c1d488ab2038ae534851e1ab59c6d952
2021-10-26 23:11:04 -04:00
Davide Pesavento ba8a4ed2d2 ci: replace Travis with GitHub Actions
Change-Id: I6316bc7872fe25644dceafb1e2e2119c9c6e5ac3
2021-10-13 21:58:29 -04:00
Davide Pesavento 7ae8b08fc2 build+docs: align minimum requirements with ndn-cxx/NFD
* Recommend boost >= 1.65.1 and gcc >= 7.4.0
 * Require clang >= 4.0, or Xcode >= 9.0 on macOS
 * Silence an ABI-related diagnostic message from gcc on armv7
 * Update waf to version 2.0.21
 * Make graphviz optional for building documentation
 * Sync sphinx configuration

Change-Id: Ib271da841cd12e7595ae83d75bd0fc681f8c231f
2021-10-13 21:57:36 -04:00
Ashlesh Gawande 6f0f35d96d fib: fix route unregister bug during update
refs: #5179

Change-Id: I19952ebcb0c78c405f3d820694a7b0f1cf7a3fe6
2021-09-06 21:20:31 -07:00
Ashlesh Gawande 3781c7ebc1 NameLsa: fix Lsdb update bug by sorting the NPLs before difference
Change-Id: Ib3d5bbf546de3356e0594732ca09671d7c32dbf1
2021-06-11 07:42:18 -07:00
Davide Pesavento 22520e68f5 Fix build with BOOST_FILESYSTEM_NO_DEPRECATED
Change-Id: Ibdd3e7c4de0e8a0a4d6ae08c26386ea780f97f57
2021-06-08 22:16:52 -04:00
Davide Pesavento 6184c2088b Use InterestSigner instead of deprecated CommandInterestSigner
Change-Id: Idb2f1ee7fe99981c229b4a587ebcf671b876e624
2021-05-17 02:28:03 -04:00
Ashlesh Gawande e63b7fa7dc Fix recurring sync prefix registration on every hello data
refs: #5157

Change-Id: Id0f77789976bd84720d2f96b549013b285e58978
2021-04-11 10:47:00 -07:00
Eric Newberry 04bfe0465a tests: make agnostic to whether name components typed or markers
refs #5044

Change-Id: If776224368556c864d6e1db74260cc00ff68d9fa
2021-04-02 11:03:51 -07:00
Ashlesh Gawande 30d96e4875 Do not compile ChronoSync support by default
ChronoSync dependency is now made optional
and is kept for testing purposes only.

Also change sig-type to ecdsa-sha256 in nlsr.conf
as ndn-cxx now has strict checking for it.

refs: #5147

Change-Id: I95c9fb844681ebf2c4e7bbb03cc7796a0795de83
2021-03-27 11:00:40 -07:00