Commit Graph
70 Commits
Author SHA1 Message Date
Davide Pesavento 06784b41cc build: disable -Wnon-virtual-dtor compiler warning
See also named-data/NFD@0a05f7aea6

Change-Id: I8926b31bc8757684b939e5e41e80e196e644b7c6
2023-11-11 18:10:43 -05:00
Davide Pesavento 42db029cfc Eliminate (direct) dependency on libboost_thread
Change-Id: Ifc0a6d36d65d6931f1c746423f7fe82cbb6f5893
2023-09-19 15:48:33 -04:00
Davide Pesavento 915ce80f49 Use asio::io_context instead of asio::io_service
Change-Id: I19650229b602ec247e3a0b4d9882840815819d2d
2023-09-17 18:10:52 -04:00
Davide Pesavento edd21842b9 build: do not rely on transitive link dependencies
Explicitly look for (and link against) all the required Boost libraries

Change-Id: I24422a11fb7145870d8c5fdca2b88b8f44f8aea6
2023-09-11 22:24:44 -04:00
Davide Pesavento 8cd5a049a0 build: update waf to version 2.0.26
Change-Id: Ia01d39216109bacb233e047fa42e33868d26d1db
2023-08-19 12:45:42 -04:00
Davide Pesavento c1a7fbc448 build: sync default build flags with ndn-cxx
Change-Id: I4c7b214bec0a6b6a3b742a84c19e3f8280f890df
2023-08-09 13:22:02 -04:00
Zeke Lewis dfbf8a1942 client: accept fractional inputs for TrafficPercentage
Change-Id: Ibe7ade5103e14f65fb30a157841ed44bc65f0d7d
2023-07-28 16:18:51 -04:00
Alexander LaneandDavide Pesavento e9fe187908 Improve logging functionality
The format of timestamps is now configurable via a new
--timestamp-format option. The default format is changed
to Unix epoch time with microsecond granularity.

Co-authored-by: Davide Pesavento <davidepesa@gmail.com>
Change-Id: I7dd7fb770becca7aa339e003b1111366f34ce925
2023-07-25 20:08:01 -04:00
Davide Pesavento 08208497d8 build: align minimum build requirements with ndn-cxx
Change-Id: Ic4668122208e617a7ded67bc558023ef72d9f2cc
2023-04-17 01:25:01 -04:00
Davide Pesavento 84e7730123 client: replace std::bind with lambda expressions
Change-Id: I4707eb1df35b12712cf243743a8c21e17fab03a0
2023-04-17 01:10:06 -04:00
Davide Pesavento 665f89c559 ci: adopt reusable workflows from named-data/actions
Change-Id: I7d4eedb054b43ffad9539256e970509b60f918a5
2023-02-14 16:45:07 -05:00
Davide Pesavento 326ec85aae build: bump ndn-cxx dependency
Change-Id: I2496a0285c2d84d864ac5e8049dd9e8a8ac9bec1
2023-02-14 16:42:33 -05:00
Davide Pesavento 054f366681 build: update waf to version 2.0.24
Change-Id: I18a730fd1fae017d4ee509ab44517b4646c18049
2022-12-06 15:10:23 -05:00
Davide Pesavento f855ec1d12 build: link with lld by default on Linux; add Xcode 14.1 to CI matrix
Change-Id: I566d634054f2e773ebe4776fb55057d7cd077fd1
2022-11-16 16:08:35 -05:00
Davide Pesavento f5006be472 build+ci: support CentOS Stream 9 and macOS/arm64
This commit also syncs the CI config and scripts with ndn-tools

Change-Id: I54707a7119c5e91138eaf55ad72af8fa98125028
2022-08-19 17:36:36 -04:00
Davide Pesavento ef06489e46 build: switch to C++17
Change-Id: Ie957dcfe2c579499654aa8dcc47003d0afba9d05
2022-04-05 02:26:53 -04:00
Davide Pesavento bfb33abd92 build: explicitly require libndn-cxx >= 0.8.0
Change-Id: I677dcec4e76cb63ef78927ab0befa42df83314ba
2022-03-12 23:30:23 -05:00
Davide Pesavento 926690689b build: align minimum build dependencies with ndn-cxx
* gcc 7.4
 * clang 6.0
 * Xcode 10.0 (11.3 or later recommended)

Also update waf to version 2.0.23

Change-Id: Id4eb36b068569636d6077b90dd784f9c3c451e9a
2022-03-10 19:09:44 -05:00
Davide Pesavento ab6ac5d6dc Sync build system and CI scripts with ndn-cxx
* Update build flags
 * Update waf to version 2.0.21
 * Replace Travis CI with GitHub Actions

Change-Id: If45c45c7b9ed748ffd1c4e792075f6bb6f09462f
2021-10-05 23:42:23 -04:00
Davide Pesavento 1cbe1d01ab ci: update Travis CI build matrix
Change-Id: Ibcf09a714ca6552a48c19165b9ebe47b74e8fa6b
2020-08-09 01:58:44 -04:00
Davide Pesavento 7393cb4b75 ci: update Travis configuration
* Add testing on arm64, ppc64le, and s390x with select compiler versions
 * Drop all versions of gcc < 7 and clang < 5
 * Add clang 11 (development branch)
 * Reenable ASan on Linux with clang 7, the upstream bug has been fixed
 * Drop Xcode 9.2 (macOS 10.12 is no longer supported)
 * Upgrade Xcode 11 to 11.3

Change-Id: I422d940f5599cbfc50860f4be9b7b98d683f41d2
2020-04-09 22:03:22 -04:00
Davide Pesavento 5b9c85a7e9 build+ci: upgrade waf to version 2.0.19, switch to python3
Refs: #5095
Change-Id: I75429ca3617ca61769e1964f556ac5b779bf01ba
2020-04-09 21:10:54 -04:00
Eric Newberry f291881aac docs: add AUTHORS.md
refs #5078

Change-Id: I022418aec4083d0dc62b9543a4e1ddd49936f0f9
2020-02-05 16:38:12 -08:00
Davide Pesavento 772d747392 build: pass pkg_config_path to check_cfg() when looking for libndn-cxx
Instead of modifying os.environ

Refs: #5042
Change-Id: I805894942b9828176f7eb0442ea617a324398989
2019-11-09 14:13:13 -05:00
Davide Pesavento d2ef9a7174 ci: update .travis.yml
Change-Id: I7599162c0aa95cd3984506f01ae27ad011e180a6
2019-09-26 00:43:14 -04:00
Davide Pesavento 58c07d1aa3 ci: update .travis.yml
Change-Id: I5194c8791099bb7ee722873c56fb2e70f72588c9
2019-03-20 00:58:50 -04:00
Davide Pesavento e5a7394258 Add systemd unit files
Change-Id: I17322ef7eda1f3bf0bc53b887508fadf039250cc
2019-01-28 01:51:22 -05:00
Davide Pesavento 56f79d6907 client: CanBePrefix support
Change-Id: I7a05a4af0a3d40d70fcb056f9dc94d0a5064da40
2019-01-26 17:30:32 -05:00
Davide Pesavento 306e5bc606 Refactor config file parsing and improve error handling
Change-Id: I8a54ba1f0d414bea70923e0f45ca354ac7e957a3
2019-01-26 16:22:38 -05:00
Davide Pesavento 032c98004f Rename ndn-traffic to ndn-traffic-client
Change-Id: If1172924b94864e3d10c03cf918e9bc2a8b0fdee
2019-01-25 17:10:26 -05:00
Davide Pesavento 35185338b1 Code modernization
Change-Id: Ia15bb9e988b08bc81c0709d95d7d17e6078a5385
2019-01-16 23:29:46 -05:00
Davide Pesavento 912d2e89cb client: drop support for Selectors
Closes: https://github.com/named-data/ndn-traffic-generator/issues/9
Change-Id: I78624b1581492cfed7e3ef7fd870c7ab28b4a788
2019-01-10 17:04:31 -05:00
Davide Pesavento 7eaed5cd3f Update build system and CI scripts
Change-Id: I4894a30d0cfc7af5de1d272edb70ce9cc4b6d372
2019-01-09 21:14:02 -05:00
Eric Newberry 51459409bd server: clear SIGINT/SIGTERM handler to exit cleanly
refs #4642

Change-Id: Ief62af106c5211aa4877a9196ada0299090c7287
2018-06-28 21:01:19 -07:00
Eric Newberry b4ef47818a server: use unsetInterestFilter on Face instead of shutdown
don't explicitly shut down logger

refs #4642

Change-Id: Ic759672178c68df203bf14f88ea1b6973cf63cf6
2018-06-21 20:50:11 -07:00
Eric Newberry c8e1858340 server: add timeout before shutdown to avoid lost Data packets
refs #4626

Change-Id: Idc6d90fdd60a3db48364ee0afe20e7802da16d32
2018-06-06 22:22:33 -07:00
Davide Pesavento 64cafaaee9 build: require gcc >= 5.3 and switch to C++14
Change-Id: If5d166e8679a19a30c5e98f12de348776f328186
Refs: #3076, #4462
2018-06-06 16:30:08 -04:00
Davide Pesavento ee18cce1bf ci: update Travis-CI configuration
* Remove unsupported OSX-10.10 configuration
 * Upgrade xcode9 to xcode9.2
 * Various simplifications

Change-Id: Id5c1e6b2eefe5b106a20580c06fe1e04263e0835
2018-01-11 01:58:02 -05:00
Davide Pesavento 74de14586f ci: add clang 5.0 and Xcode 9.0 to Travis-CI build matrix
Change-Id: I64ea5cce47fa6376666d0854c1454ef3b6ce79cc
2017-10-19 01:45:15 -04:00
Davide Pesavento 2a7f32be9f Add .travis.yml
Change-Id: If40292e53be8e47b6422d85b3c2767941ed23908
2017-09-02 22:39:49 -04:00
Davide Pesavento 29db0fd994 Sync build system and CI scripts with ndn-tools
Change-Id: I21dc5349f3f3c819bf8590fe709157ce0bc26b44
2017-09-02 22:31:55 -04:00
Spencer Lee 9a47123529 ndn-traffic-server.conf: add SigningInfo usage example
Change-Id: Ib7b99df56e2bb19545ade226cc70edb5f1eebb45
2017-09-02 22:31:10 -04:00
Jennica Guan b82cace3fc Set custom PKG_CONFIG_PATH if unset
Closes https://github.com/named-data/ndn-traffic-generator/pull/8

Change-Id: I3201688dda24c38b99d3bfea34ba70f42da1e41c
2017-08-26 14:48:43 -04:00
Junxiao Shi 6f33e0ffca add proper #include line for NDNLPv2 tags
refs #3755

Change-Id: Id700ab00722a4e8393ac5013d59f4979086b5064
2016-09-06 03:11:53 +00:00
Eric Newberry 25e9ba0d34 Add Exclude range to client
refs #3693

Change-Id: Ia190e29493755d3a04cac4d557f99a9e6e351a92
2016-08-03 14:01:39 -07:00
Eric Newberry 976c2042fa Added Nack handling to client
refs #1942

Change-Id: If263b7717a266a1b9024ac24ebc5530cfdcf26fa
2016-06-20 11:44:12 -07:00
Eric Newberry eab462b8dc Added NextHopFaceId to client
refs #1942

Change-Id: Id0d64d89bb8a596f88ef252cc89eb2d0c0e60594
2016-04-04 19:45:31 -07:00
Spencer Lee ef56143e6f SigningInfo configuration option
Change-Id: If78463ccb2f4f615d61b5af02761d284b5254d79
refs: #6
2015-12-23 03:07:09 -08:00
Spencer Lee 8e99023187 alternative to std::to_string
Change-Id: Icb80e9c21cad92d2bb35426126ac7554d3c9fd0c
refs:#5
2015-11-28 16:30:04 -07:00
Spencer Lee e7a5b746ef allow DigestSha256 signing
refs: #4

Change-Id: I94c6499107e31ebfed0dbab71fc204e0443b7754
2015-11-01 11:43:07 -07:00