Commit Graph
797 Commits
Author SHA1 Message Date
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
Davide Pesavento 6002e6ab4b tests: explicitly set CanBePrefix in one more place
Refs: #4582
Change-Id: I000d09a0a936db873d50129b66cadfd21a621200
2021-03-17 15:37:32 -04:00
Ashlesh Gawande 5d93aa5b04 lsdb: emit signals when modified
RoutingTable and NamePrefixTable consume the signal
and behave accordingly.

refs: #4127

Change-Id: I6540f30f0222f804b01dc7d9640831c84e5264cc
2021-02-27 08:04:41 -08:00
Davide Pesavento d90338d230 Replace remaining uses of BOOST_THROW_EXCEPTION with NDN_THROW
Change-Id: I0c149acbe5607d928cdf9e8d73813d5e74ca45d0
NLSR-0.6.0
2021-01-08 11:50:43 -05:00
Saurab Dulal cf06444860 Prepare release 0.6.0
Change-Id: I8c08855856fe781a244695f3eec702bf8f7ba7cc
2021-01-07 11:46:55 -06:00
Ashlesh Gawande 214032e7ac hello-protocol: fix wrong reaction on hello Interest timeout
refs: #5139

Change-Id: If043a618106633de8d1414c81dddf29af6576dff
2020-12-30 18:33:03 -08:00
Ashlesh Gawande 0af4627ad7 tools: fix compilation for ubuntu 16.04
Change-Id: Ifdbc43994e0060b67ffb94a72fdac026671a3be2
2020-12-12 16:58:57 -05:00
Davide Pesavento e4edb3952c Add missing include
Fixes compilation with gcc 10

Change-Id: I54f0808c7519b8bf1a668f05c4d09d4ca3d3b11f
2020-12-06 14:05:45 -05:00
Davide Pesavento d8d6bbcbe6 tests: fix range-loop-construct warning with clang 10 and later
Change-Id: I69a40705201f07147dccb21b3aea2db4f384b24e
2020-11-24 21:38:44 -05:00
Davide Pesavento 4a90b9ae52 ci: disable frames in lcov HTML coverage report
Change-Id: I82d521b75b9e05aa56f12c19a0b159e2ef966a6d
2020-08-09 02:21:46 -04:00
Ashlesh Gawande 7a231c0dc1 route: replace FibEntry class with struct
fix warnings from ndn-cxx

Change-Id: I1be322251dcfe5d867717a64547e1908b99c78ba
2020-07-28 22:11:20 -07:00
Ashlesh GawandeandNick Gordon 57a8717ec7 lsdb: rebuild using boost::multi_index to replace 3 LSA lists
refs: #4127

Co-authored-by: Nick Gordon <nmgordon@memphis.edu>

Change-Id: Ic179f90019e472157b0d61c6db02a4afaf4843b6
2020-07-18 19:17:26 -07:00
Ashlesh Gawande 0421bc6bcd **breaking** route: consolidate routing tlv into route
refs: #5116

Plus some misc improvements

Change-Id: Id0902fec65160b4368b1b5066f460433aced98ed
2020-06-12 07:09:40 -07:00
Alexander Afanasyev 0ad01f3834 Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: I01787a91cdb70b7136f3c4e9e646e68888e6d064
2020-06-10 12:24:26 -04:00
Alexander Afanasyev 96ebd9b7c3 Rename VERSION to VERSION.info to avoid conflicts with modern STL
On case-insensitive file systems (e.g., macOS), inclusion of the new
standard <version> header resulted in unexpected inclusion of VERSION
file.

Change-Id: I84d6e37fd5f31666ced4b8b47816ff28dd911f17
2020-06-01 19:16:52 -04:00
Davide Pesavento a122abf5f6 ci: update Travis configuration
* Add testing on arm64, ppc64le, and s390x with select compiler versions
 * Drop clang 3.9
 * Reenable ASan on Linux with clang 7, the upstream bug has been fixed
 * Add clang 11 (development branch)
 * Drop Xcode 9.2 (macOS 10.12 is no longer supported)
 * Replace Xcode 11 with 11.3 and 11.4
 * Various cleanups

Change-Id: I7c27cb7765961eb5b057406b0a69d6e40b0e4ca8
2020-05-01 02:51:34 -04:00
Davide Pesavento 4b9d30f8e2 src: fix -Wrange-loop-construct warning with clang 10
Change-Id: Ife00440ffa456c6ad2119fc656a34681327e0ab3
2020-05-01 02:48:34 -04:00
Davide Pesavento f6be8e37f6 build+ci: switch to python3
Also in this commit:
 * Sync CI scripts with other projects
 * Modernize docs/conf.py
 * Replace redmine_issue extension with sphinx.ext.extlinks
 * Minor updates to docs/doxygen.conf.in
 * Cleanup README.md and INSTALL.rst

Refs: #5095
Change-Id: I614e876e6aed73659f4f4cea01813f4604599263
2020-04-30 19:45:26 -04:00
Ashlesh Gawande 0db4d4d8fc **breaking** consolidate src/tlv/*lsa* into src/lsa/*lsa*
Lsa de/serialize functions are replaced by wireEncode/Decode.
Update LSA wire formats. Change TLV assignments as required.
Update nlsrc to print using new encoding.

refs: #4787

Change-Id: Ie8d40b7836d51ea5bb444c8db208dc2b3a0d1cec
2020-04-14 20:06:01 -07:00
Ashlesh Gawande f89878c12c tlv: remove unused class LsdbStatus
refs: #4787

Change-Id: I9c7ce59238a3bac06d3db32423853f11f22e9160
2020-03-31 19:18:46 -07:00