Mauro Sardara [Thu, 9 Feb 2023 16:17:42 +0000 (16:17 +0000)]
fix(hicn-plugin): correctly create mapme packets
Ticket: HICN-842
Change-Id: I6f2cc49b6cd9b949f2e7e7cbd85c272339571830
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 9 Feb 2023 16:02:33 +0000 (16:02 +0000)]
feat(hicn-plugin): specify the dpo_proto when creating a new face
Ticket: HICN-841
Change-Id: I4c5684db936835a0748715680cfbbc22ada642ff
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 9 Feb 2023 15:30:15 +0000 (15:30 +0000)]
fix(hicn-plugin): correctly punt mapme packets
Ticket: HICN-840
Change-Id: Ib92fa130867dcfc1ed7bbc96cc72c6224d94b57b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 9 Feb 2023 15:11:40 +0000 (15:11 +0000)]
fix: do not always set adj_index of incoming packets
Ticket: HICN-839
Change-Id: I67faf5a158a0b58b9ec6d7dfdb234ae3155083b0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Jordan Augé [Tue, 24 Jan 2023 00:46:29 +0000 (01:46 +0100)]
feat: libhicnctrl: new API to allow sending MAP-Me command on specific face
Change-Id: Iac39a1d145a5c1b4f19e1fa35d713ca720393760
Ticket: HICN-832
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Michele Papalini [Thu, 2 Feb 2023 16:49:46 +0000 (17:49 +0100)]
fix(hicn): fix bugs reported by sonarqube
Ref: HICN-837
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: I0d02a11361b1ba5ad50123b2dd142c961998922f
Michele Papalini [Wed, 1 Feb 2023 16:25:21 +0000 (17:25 +0100)]
fix(apps): fix issues reported by sonarqube
Ref: HICN-836
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: Ie76771ca75bd224084ce3c893aba661b97064419
Luca Muscariello [Tue, 31 Jan 2023 12:19:54 +0000 (12:19 +0000)]
Merge "feat(tests): add HMAC to functional tests"
Michele Papalini [Mon, 30 Jan 2023 17:31:46 +0000 (17:31 +0000)]
Merge "fix(vpp): remove unused variables Ref: HICN-835"
Michele Papalini [Mon, 30 Jan 2023 16:55:01 +0000 (17:55 +0100)]
fix(vpp): remove unused variables
Ref: HICN-835
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: I2d2eedff244077c6378cdf731873ba2d1c4f8ae7
Michele Papalini [Mon, 30 Jan 2023 16:21:38 +0000 (17:21 +0100)]
fix(fib): fix lmp on hicn-light fib
Ref: HICN-834
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: Ia5648c8784f2c90fb23d1860f8ee20e21158e5e7
Olivier Roques [Fri, 27 Jan 2023 08:24:18 +0000 (08:24 +0000)]
feat(tests): add HMAC to functional tests
Ref: HICN-833
Signed-off-by: Olivier Roques <oroques@cisco.com>
Change-Id: I40df138798f980f8a89e5fd13db54c2ac89f34b7
Mauro Sardara [Mon, 23 Jan 2023 16:24:35 +0000 (16:24 +0000)]
fix(libhicnctrl): do not swap bytes when using vapi
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: If1666dd5c31c662570ed10991b3d42d6095693ff
Mauro Sardara [Fri, 20 Jan 2023 20:19:01 +0000 (20:19 +0000)]
feat(hicn-plugin): reuse strategy node to forward interests
Before the interest forwarding was duplicated in 2 different nodes,
the strategy_node and the interest_hitpit_node.
Reuse the strategy node so that the nexthop selection via the strategy
is done only in one place - teh strategy node.
Change-Id: I2c72ec35b1df4e6ed8ce0877e9f3e6f5c1ae68f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
(cherry picked from commit
4ec2784197db60e4f287a88b7944ecb1067bfc08)
Michele Papalini [Sat, 21 Jan 2023 13:50:16 +0000 (14:50 +0100)]
fix(vpp): remove unused variables in VPP
Ref: HICN-831
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: I486806b6555ad39b050b97d91fbb428fd0f81387
Mauro Sardara [Fri, 20 Jan 2023 18:19:03 +0000 (18:19 +0000)]
fix(hicn-plugin): handle inflight interest coming from deleted face
Ticket: HICN-830
Change-Id: I14ed32bba2b07575ee604850080309706eb8ce85
Signed-off-by: Mauro Sardara <msardara@cisco.com>
(cherry picked from commit
64fa723904d35eda3406058469b890a39c3f628c)
Mauro Sardara [Fri, 20 Jan 2023 14:54:19 +0000 (14:54 +0000)]
feat: implement set strategy API for hicn-plugin
Ticket: HICN-829
Change-Id: I3dabc38e9cc2e06ebed14b9ed265d027f77b7e5f
Signed-off-by: Mauro Sardara <msardara@cisco.com>
(cherry picked from commit
da0d60997bce1e40cc0b1c7b7f4f58df56bbead3)
Mauro Sardara [Fri, 20 Jan 2023 11:05:16 +0000 (11:05 +0000)]
Merge "fix(libhicnctrl)/hicn_plugin): copy address to correct offset"
Mauro Sardara [Thu, 19 Jan 2023 20:39:23 +0000 (20:39 +0000)]
fix: interest aggregation
Interests processed in the same vector were not aggregated properly.
Ticket: HICN-827
Change-Id: I9aa83e8689ec11642525fd3406972f1b2dea4d8f
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 20 Jan 2023 10:22:54 +0000 (10:22 +0000)]
Merge "fix: correctly set next node for ifaces and faces"
Mauro Sardara [Fri, 20 Jan 2023 09:37:24 +0000 (09:37 +0000)]
fix(libhicnctrl)/hicn_plugin): copy address to correct offset
Copy address received from vapi into correct ip46address offset
Ticket: HICN-826
Change-Id: I1bf23cc0920539f8883b499981f216038e51a8c0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 19 Jan 2023 13:33:57 +0000 (13:33 +0000)]
fix: correctly set next node for ifaces and faces
Ticket: HICN-828
Change-Id: I7853bc37e34ca4f2303a537396aef4cb8b06ec98
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 20 Jan 2023 09:48:58 +0000 (09:48 +0000)]
feat(vpp): improve tracing
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ic20b5cc7f34b35c86b6c100f9a7c868b119bd129
Mauro Sardara [Wed, 18 Jan 2023 20:07:48 +0000 (20:07 +0000)]
fix: correctly print fib prefixes
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Mon, 16 Jan 2023 20:18:23 +0000 (20:18 +0000)]
feat: local-remote strategy
Ticket: HICN-824
Change-Id: Iea285cb499b13c943a142fa39328ee36c91ae913
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Michele Papalini [Mon, 16 Jan 2023 11:00:38 +0000 (12:00 +0100)]
feat: forward local interest if PIT entry exists in case of local remote strategy
Ref: HICN-823
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: I9e4b5da6ae1011e29e128d7811e29b3020a4a3cc
Mauro Sardara [Fri, 13 Jan 2023 10:13:14 +0000 (10:13 +0000)]
feat: update cmake modules version
Change-Id: I3154e22faa5c274dda3645f3a4e81cf5b6ea526b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 12 Jan 2023 08:48:47 +0000 (08:48 +0000)]
feat: set STREAM parameters in functional tests
Ticket: HICN-822
Change-Id: I0b05a3d4b01fe2ab35682eb7d70fa0f0bdf05176
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Tue, 10 Jan 2023 16:48:16 +0000 (16:48 +0000)]
Merge "feat: upgrade to VPP 22.10"
Mauro Sardara [Mon, 12 Dec 2022 16:19:35 +0000 (16:19 +0000)]
feat: upgrade to VPP 22.10
Change-Id: I556bd8c44f0ff7a631a0df34b498ffd7952fcf4a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Michele Papalini [Fri, 2 Dec 2022 16:04:26 +0000 (17:04 +0100)]
fix(libtransport): fix variable type for port number
Ref: HICN-820
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: Ibad1b02abcc40734143ca3dad1d3e37c93ae8eaf
Mauro Sardara [Fri, 2 Dec 2022 14:20:18 +0000 (15:20 +0100)]
feat: configure hicnlight port in libtransport and libconfig
Change-Id: Ib55747b4589150ce4a88938e28371c6cf5ab979b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Mauro Sardara [Thu, 1 Dec 2022 15:29:08 +0000 (16:29 +0100)]
feat(libtransport): add configuration section for hicnlight io_module
And add configuration for hicnlight url.
Ticket: HICN-819
Change-Id: I0c2557ca49078e1e405d078da2768372e5f44525
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Olivier Roques [Thu, 17 Nov 2022 11:26:23 +0000 (11:26 +0000)]
feat(auth): add support for
ED25519 and ED448
Ref: HICN-818
Signed-off-by: Olivier Roques <oroques@cisco.com>
Change-Id: I8672f022b74be387e16496660a78edf3c1da4bf1
Michele Papalini [Fri, 21 Oct 2022 14:19:42 +0000 (14:19 +0000)]
Merge "fix(hicn-light): fib_contains incorrectly matches subprefixes"
Jordan Augé [Fri, 21 Oct 2022 12:45:43 +0000 (14:45 +0200)]
fix(libhicnctrl): hc_face_create does not update face id in parameter
Change-Id: I30090edb7d365befdc838e0b08ae22bdde377ea2
Ticket: HICN-817
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Luca Muscariello [Wed, 19 Oct 2022 15:51:12 +0000 (17:51 +0200)]
fix(sonar): False positives Identical sub-expressions on both sides of operator
Ref: HICN-816
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: Ifdbcad287f89378dc2a35110fac01dba9c341ef9
Luca Muscariello [Wed, 19 Oct 2022 15:31:05 +0000 (15:31 +0000)]
Merge "fix(libhicn): Out of bound memory access"
Mauro Sardara [Tue, 18 Oct 2022 16:48:45 +0000 (18:48 +0200)]
fix: show forwarder log after test execution
The command to show the log should be executed
with "sudo", as the log file is owned by the root user.
Ticket: HICN-815
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3c1bf40691037d32c09e095e6011992212b19e38
Luca Muscariello [Tue, 18 Oct 2022 07:44:25 +0000 (07:44 +0000)]
Merge "fix(hicn-light): access to field 'local' results in a dereference of a null pointer"
Luca Muscariello [Mon, 17 Oct 2022 15:57:25 +0000 (17:57 +0200)]
fix(sonar): Nodejs LTS update
Ref: HICN-814
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I3da9837c9e42d9b509dfb863c0f01302fe39aa97
Jordan Augé [Mon, 17 Oct 2022 14:52:25 +0000 (16:52 +0200)]
fix(libhicn): Out of bound memory access
Change-Id: If7ef58bc05dd62f58bf5d5a8bce0491afab37d42
Ticket: HICN-813
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Mon, 17 Oct 2022 13:13:05 +0000 (15:13 +0200)]
fix(hicn-light): access to field 'local' results in a dereference of a null pointer
Change-Id: I7251e7024c2e0a29629df2a1a7d9b0561ec0e9a6
Ticket: HICN-812
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Mon, 17 Oct 2022 09:40:32 +0000 (11:40 +0200)]
fix(hicn-light): fib_contains incorrectly matches subprefixes
Change-Id: I9575012a4980649a05a490057bf4a71675792396
Ticket: HICN-811
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Fri, 30 Sep 2022 10:29:05 +0000 (12:29 +0200)]
refactor(hicn-light): cleanup towards optimizations to UDP socket face
Change-Id: If5bc3c4dfcdde386ac02674f3c03d32d495b2231
Ticket: HICN-771
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Fri, 14 Oct 2022 15:47:51 +0000 (15:47 +0000)]
Merge "fix(hicn-light): error handling for invalid connections + local bind/remote connect returning EINVAL in tests"
Jordan Augé [Fri, 14 Oct 2022 13:45:53 +0000 (15:45 +0200)]
fix(hicn-light): error handling for invalid connections + local bind/remote connect returning EINVAL in tests
Change-Id: I7398ff034ce0b96ea31bc3fa9d5ba515a5c14804
Ticket: HICN-809
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Fri, 14 Oct 2022 08:37:53 +0000 (10:37 +0200)]
fix(libhicnctrl): new create/face&route command fail
Change-Id: I49d80a741672c4f9da75e36cc816fc53f37ac158
Ticket: HICN-808
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Tue, 11 Oct 2022 18:01:32 +0000 (20:01 +0200)]
test: instrument functional tests with more logs
Also:
- Do not tun tests with privileged containers HICN-806
- Refactor robot test files and config.sh
Currently some logs are missing from the robot output of the functional tests.
This patch adds them.
Ticket: HICN-805
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9893eb356a4dd12f4bc6347b8fe02e358c9bf737
Michele Papalini [Tue, 11 Oct 2022 14:40:15 +0000 (14:40 +0000)]
Merge "feat(strategy): forwarding strategy for local faces Ref: HICN-802"
Michele Papalini [Tue, 11 Oct 2022 08:44:22 +0000 (08:44 +0000)]
feat(strategy): forwarding strategy for local faces
Ref: HICN-802
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: I22b48d700b1b46599e570d841932d74c5ac65891
Mauro Sardara [Fri, 7 Oct 2022 15:54:49 +0000 (15:54 +0000)]
Merge "refactor(hicn-light): cleanup and optimizations to UDP socket face"
Jordan Augé [Fri, 30 Sep 2022 10:29:05 +0000 (12:29 +0200)]
refactor(hicn-light): cleanup and optimizations to UDP socket face
Ticket: HICN-771
Change-Id: Ie84dc2f61888c3fdd7b3728b2a13cacbac503d1a
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Fri, 7 Oct 2022 11:25:49 +0000 (11:25 +0000)]
Merge "test: new packet format functional test with hiperf/libtransport"
Jordan Augé [Fri, 7 Oct 2022 06:46:31 +0000 (08:46 +0200)]
fix(libhicnctrl): connections created without interface conflict with existing listeners
Change-Id: Idc891221b2cd149a4a5decc45c2e84da74b832df
Ticket: HICN-804
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Wed, 5 Oct 2022 15:46:32 +0000 (17:46 +0200)]
refactor(libhicnctrl): strategy/set missing in VFT
Change-Id: I19a8dd89a1f03127d414d1c086848079ff10d0df
Ticket: HICN-803
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Tue, 4 Oct 2022 15:41:36 +0000 (17:41 +0200)]
test: new packet format functional test with hiperf/libtransport
Change-Id: Ib6ca26e9ee1a042a72ac81da71493542e8b833e6
Ticket: HICN-774
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Wed, 21 Sep 2022 15:11:22 +0000 (17:11 +0200)]
feat: support for new packet format in hicn-light
Ref: HICN-792
Change-Id: I3204006bd2dd2be6504c33035c6578ec0292455a
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Michele Papalini [Thu, 29 Sep 2022 13:53:38 +0000 (13:53 +0000)]
Merge "fix(rtc-production-protocol): do not modify packet just after sending it"
Mauro Sardara [Thu, 29 Sep 2022 13:32:18 +0000 (15:32 +0200)]
refactor(io_modules): remove deprecated loopback module
The loopback io-module is not used and its functionalities
are already covered by the forwarder io-module.
We should then deprecate it.
Ticket: HICN-800
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I709b8e27d00c03f009d33846076d65b0fee9a6d8
Mauro Sardara [Thu, 29 Sep 2022 11:25:26 +0000 (13:25 +0200)]
fix(rtc-production-protocol): do not modify packet just after sending it
Also:
- Fix consumer-producer unit test
- Enable communication of local socket using forwarder io-module
Ticket: HICN-799
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib245fce6d6f409255d4e91e5745a6919acb3e720
Mauro Sardara [Mon, 26 Sep 2022 14:35:46 +0000 (16:35 +0200)]
fix(memif.patch): use correct cwd in git describe
If libmemif is included as subfolder, it might not
find a .git folder in the CMAKE_SOURCE_DIR.
To prevent this we need to use CMAKE_CURRENT_SOURCE_DIR,
in order to get the folder containing the CMakeLists of libmemif.
Ticket: HICN-798
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I51bb5dc94fa79d17482896bca356e60993ea39eb
Mauro Sardara [Mon, 26 Sep 2022 11:20:08 +0000 (11:20 +0000)]
Merge "fix(stats): fix forwarder statistics retrieval"
Luca Muscariello [Mon, 26 Sep 2022 08:40:23 +0000 (08:40 +0000)]
Merge "fix(Makefile): fix the `make commit-template` target"
Mauro Sardara [Mon, 26 Sep 2022 08:23:04 +0000 (10:23 +0200)]
chore(hicn-plugin): install hicn.api.json
The hicn.api.json is currently used by govpp/vapi_c_gen/vapi_cpp_gen
etc. to generate the APIs to configure the hicn plugin.
It should be installed in the system as external component may require
it to generate the api, as in the govpp case
(cf https://github.com/FDio/govpp/tree/master/binapi).
The hicn.api.son file will be installed with the rest of the plugins
API (share/vpp/api/plugins)
Ticket: HICN-797
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ief7f0010a718efd272e260552f2f2d1428fac486
Mauro Sardara [Mon, 26 Sep 2022 08:09:30 +0000 (10:09 +0200)]
fix(Makefile): fix the `make commit-template` target
make commit template expects the CWD of make to be a git repository.
While this is true most of the time, there are cases where we use the
Makefile just for install dependencies
(e.g. https://github.com/FDio/hicn/blob/master/Dockerfile.dev#L22) and
in that case we do not copy the .git folder.
The solution is to check if the current make directory is actually a
.git repository.
Ticket: HICN-796
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I12912c76c9ddfa3b7a19d0faf8c84b178ca728bf
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Enrico Loparco (eloparco) [Fri, 23 Sep 2022 15:27:34 +0000 (15:27 +0000)]
fix(stats): fix forwarder statistics retrieval
Ref: HICN-794
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I13162174f45855989727f92e96c11a1d48d710dd
Jordan Augé [Fri, 16 Sep 2022 11:56:34 +0000 (13:56 +0200)]
fix(hicn-light): fix routing issues
Ref: HICN-786
Change-Id: I541c87d2d810907489ca4f59b3d7740a18c108fb
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Thu, 22 Sep 2022 13:47:55 +0000 (13:47 +0000)]
Merge "fix(libhicnctrl): fix new listener validation during face or connection creation"
Mauro Sardara [Wed, 21 Sep 2022 17:36:30 +0000 (19:36 +0200)]
feat(libhicnctrl): implement face delete command
Ticket: HICN-793
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I87f2cd5a9e077ba81cc0d92fc2ec9fb5c9ec2ff0
Jordan Augé [Tue, 20 Sep 2022 11:27:12 +0000 (13:27 +0200)]
fix(libhicnctrl): fix new listener validation during face or connection creation
Change-Id: I5f532320fcb3fc01cd3a027af7ea5fc6425e4097
Ref: HICN-790
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Wed, 21 Sep 2022 10:24:33 +0000 (12:24 +0200)]
ci: add commit check
Check the format of commit is conventional commit compliant
Ticket: HICN-791
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I56b0884c1bb84ef29adc55a5f07eafb3763eff43
Mauro Sardara [Wed, 21 Sep 2022 10:20:54 +0000 (10:20 +0000)]
Merge "refactor(logs): use glog instead of prints"
Enrico Loparco (eloparco) [Mon, 19 Sep 2022 08:37:30 +0000 (08:37 +0000)]
refactor(logs): use glog instead of prints
Ref: HICN-788
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: Iedf75e1658a335985cc2dfd7b82ae61124f2371e
Mauro Sardara [Mon, 19 Sep 2022 11:14:19 +0000 (11:14 +0000)]
Merge "fix(packaging): set correct dependencies for hicn-light package"
Mauro Sardara [Mon, 19 Sep 2022 10:43:13 +0000 (12:43 +0200)]
fix(packaging): set correct dependencies for hicn-light package
Ref: HICN-789
Change-Id: If6cde9d9a4289defa5fe283319fd8181c4b1bf90
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Enrico Loparco (eloparco) [Fri, 16 Sep 2022 14:53:05 +0000 (14:53 +0000)]
fix(gcc): fix gcc warnings
Ref: HICN-787
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I2a69be00382f6e5b2544b766d6ac9e1f8cae4bd6
Mauro Sardara [Thu, 15 Sep 2022 11:06:52 +0000 (11:06 +0000)]
Merge "fix(strategy): fix memory leaks detected by valgrind in unit tests"
Enrico Loparco (eloparco) [Wed, 14 Sep 2022 15:57:25 +0000 (15:57 +0000)]
fix(strategy): fix memory leaks detected by valgrind in unit tests
Ref: HICN-785
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I0102bdba4257b891fc6843d42e6eccc5e48687dc
Mauro Sardara [Wed, 14 Sep 2022 15:23:25 +0000 (15:23 +0000)]
Merge "feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping"
Mauro Sardara [Wed, 14 Sep 2022 14:17:22 +0000 (16:17 +0200)]
ci: correctly generate tests reports
Do not use make test to run the tests after the build,
as it overwrites the report file for each single unit tests.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Icdc55b31c1e36b213f977b76f8518ac16c393afc
Enrico Loparco (eloparco) [Wed, 14 Sep 2022 08:58:55 +0000 (08:58 +0000)]
feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping
Ref: HICN-783
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I41c804dd639ee15aee9619732f55e39a3baf1385
Mauro Sardara [Tue, 13 Sep 2022 19:08:01 +0000 (21:08 +0200)]
ci: group all unit test reports under same folder
Ref: HICN-872
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I29f34e15e3cc4e04d50de937568a4e4e76a33f33
Luca Muscariello [Tue, 13 Sep 2022 12:51:44 +0000 (12:51 +0000)]
Merge "refactor: update INFO.yaml"
Mauro Sardara [Tue, 13 Sep 2022 10:58:30 +0000 (10:58 +0000)]
Merge "fix: re-introduce BASE_IMAGE argument in docker-compose files for tests"
Mauro Sardara [Mon, 12 Sep 2022 15:05:43 +0000 (17:05 +0200)]
fix: re-introduce BASE_IMAGE argument in docker-compose files for tests
Ref: HICN-732
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I26ab4e0630d143bd429dc44318868667a155ed12
Angelo Mantellini [Tue, 13 Sep 2022 09:03:12 +0000 (09:03 +0000)]
Merge "fix(download_artifacts): use latest URLs from list retrieved from gerrit"
Mauro Sardara [Mon, 12 Sep 2022 19:13:44 +0000 (21:13 +0200)]
fix(download_artifacts): use latest URLs from list retrieved from gerrit
Ref: HICN-781
Change-Id: Iaeaa57bb97599772611506444fcf806f17f7b9b0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Mon, 12 Sep 2022 16:36:10 +0000 (18:36 +0200)]
fix(interest_manifest.h): set correct type to pos variable when using it in interest_manifest_foreach_suffix
Ref: HICN-780
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I6025c3e87d4d8cb6a1e5e1f68e856214f8aa81ed
Enrico Loparco (eloparco) [Thu, 8 Sep 2022 12:18:09 +0000 (12:18 +0000)]
feat(slab): add slab allocator to store hashtables' keys
Ref: HICN-777
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: Ibbd5c5e73cfd2f6adf757f7248dff8a933515d21
Olivier Roques [Mon, 12 Sep 2022 07:34:37 +0000 (07:34 +0000)]
refactor: update INFO.yaml
Ref: HICN-779
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: I3b1e93067bd005c29cf6d0c40867288bd5c5d04e
Mauro Sardara [Fri, 2 Sep 2022 14:34:36 +0000 (14:34 +0000)]
fix(sonar): make sonarqube happy
Ref: HICN-766 HICN-767 HICN-764 HICN-762 HICN-743 HICN-759 HICN-760 HICN-758 HICN-761 HICN-756
Change-Id: Ic2accf6b6771c7a78d2b22d9bdb8e5a5be9ead8a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 2 Sep 2022 11:17:49 +0000 (11:17 +0000)]
fix: correct bugs in interest processing pipeline
ResHHICN-748
Change-Id: I8e55932fda2c77891f7b2aaf7fa5d7087f1aa2bf
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 26 Aug 2022 15:02:12 +0000 (15:02 +0000)]
feat(hicn-plugin): interest manifest
Ref: HICN-748
Change-Id: Ie403de53a93094dca997cec379db6f5d3ce8e6be
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Mon, 29 Aug 2022 18:12:50 +0000 (18:12 +0000)]
ci(sonar): add test coverage in sonar cloud
Ref: HICN-749
Change-Id: I1523b548df9254949d164b995d24c0210252809f
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Mon, 29 Aug 2022 17:10:27 +0000 (17:10 +0000)]
Merge "ci(sonar): build with coverage information"
Mauro Sardara [Mon, 29 Aug 2022 17:05:25 +0000 (17:05 +0000)]
ci(sonar): build with coverage information
Also:
- Install clang-11 as default compiler with make deps
Ref: HICN-752
Change-Id: Id6faf99ddd9c43a1c5804b8ace8df9dad27b82e6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 25 Aug 2022 15:19:33 +0000 (15:19 +0000)]
feat: resize hicn_buffer_t to 24 byes
Ref: HICN-746
Change-Id: I70d526aa81c158a128408cff7e7a2d8e09ceb01a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 19 Aug 2022 09:02:27 +0000 (11:02 +0200)]
ci(functions.sh): fallback to full image build if artifacts cannot be retrieved
Ref: HICN-743
Change-Id: I9690f541e985fa6cde65bb892f0b8a7787fd2e93
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 18 Aug 2022 09:11:20 +0000 (11:11 +0200)]
test(hicn-light): fix hicn-light functional tests
Ref: HICN-743
Change-Id: Id49ab872b5cf545c9e021a51a877341ff7ab9337
Signed-off-by: Mauro Sardara <msardara@cisco.com>