aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-27feat(tests): add HMAC to functional testsOlivier Roques8-8/+11
Ref: HICN-833 Signed-off-by: Olivier Roques <oroques@cisco.com> Change-Id: I40df138798f980f8a89e5fd13db54c2ac89f34b7
2023-01-23fix(libhicnctrl): do not swap bytes when using vapiMauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: If1666dd5c31c662570ed10991b3d42d6095693ff
2023-01-23feat(hicn-plugin): reuse strategy node to forward interestsMauro Sardara4-196/+91
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)
2023-01-21fix(vpp): remove unused variables in VPPMichele Papalini1-2/+0
Ref: HICN-831 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I486806b6555ad39b050b97d91fbb428fd0f81387
2023-01-20fix(hicn-plugin): handle inflight interest coming from deleted faceMauro Sardara4-46/+115
Ticket: HICN-830 Change-Id: I14ed32bba2b07575ee604850080309706eb8ce85 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 64fa723904d35eda3406058469b890a39c3f628c)
2023-01-20feat: implement set strategy API for hicn-pluginMauro Sardara10-180/+317
Ticket: HICN-829 Change-Id: I3dabc38e9cc2e06ebed14b9ed265d027f77b7e5f Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit da0d60997bce1e40cc0b1c7b7f4f58df56bbead3)
2023-01-20Merge "fix(libhicnctrl)/hicn_plugin): copy address to correct offset"Mauro Sardara1-2/+2
2023-01-20fix: interest aggregationMauro Sardara2-40/+66
Interests processed in the same vector were not aggregated properly. Ticket: HICN-827 Change-Id: I9aa83e8689ec11642525fd3406972f1b2dea4d8f Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20Merge "fix: correctly set next node for ifaces and faces"Mauro Sardara8-71/+67
2023-01-20fix(libhicnctrl)/hicn_plugin): copy address to correct offsetMauro Sardara1-2/+2
Copy address received from vapi into correct ip46address offset Ticket: HICN-826 Change-Id: I1bf23cc0920539f8883b499981f216038e51a8c0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20fix: correctly set next node for ifaces and facesMauro Sardara8-71/+67
Ticket: HICN-828 Change-Id: I7853bc37e34ca4f2303a537396aef4cb8b06ec98 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20feat(vpp): improve tracingMauro Sardara2-2/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ic20b5cc7f34b35c86b6c100f9a7c868b119bd129
2023-01-18fix: correctly print fib prefixesMauro Sardara1-3/+3
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-17feat: local-remote strategyMauro Sardara27-186/+774
Ticket: HICN-824 Change-Id: Iea285cb499b13c943a142fa39328ee36c91ae913 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-16feat: forward local interest if PIT entry exists in case of local remote ↵Michele Papalini2-1/+48
strategy Ref: HICN-823 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I9e4b5da6ae1011e29e128d7811e29b3020a4a3cc
2023-01-13feat: update cmake modules versionMauro Sardara1-0/+0
Change-Id: I3154e22faa5c274dda3645f3a4e81cf5b6ea526b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-12feat: set STREAM parameters in functional testsv23.02-rc0Mauro Sardara1-3/+6
Ticket: HICN-822 Change-Id: I0b05a3d4b01fe2ab35682eb7d70fa0f0bdf05176 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-10Merge "feat: upgrade to VPP 22.10"Luca Muscariello21-217/+605
2023-01-10feat: upgrade to VPP 22.10v22.10-rc0Mauro Sardara21-217/+605
Change-Id: I556bd8c44f0ff7a631a0df34b498ffd7952fcf4a Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-12-02fix(libtransport): fix variable type for port numberMichele Papalini1-3/+3
Ref: HICN-820 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ibad1b02abcc40734143ca3dad1d3e37c93ae8eaf
2022-12-02feat: configure hicnlight port in libtransport and libconfigMauro Sardara4-36/+65
Change-Id: Ib55747b4589150ce4a88938e28371c6cf5ab979b Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Michele Papalini <micpapal@cisco.com>
2022-12-01feat(libtransport): add configuration section for hicnlight io_moduleMauro Sardara2-5/+56
And add configuration for hicnlight url. Ticket: HICN-819 Change-Id: I0c2557ca49078e1e405d078da2768372e5f44525 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-11-22feat(auth): add support for ED25519 and ED448Olivier Roques9-271/+194
Ref: HICN-818 Signed-off-by: Olivier Roques <oroques@cisco.com> Change-Id: I8672f022b74be387e16496660a78edf3c1da4bf1
2022-10-21Merge "fix(hicn-light): fib_contains incorrectly matches subprefixes"Michele Papalini2-2/+53
2022-10-21fix(libhicnctrl): hc_face_create does not update face id in parameterJordan Augé1-1/+4
Change-Id: I30090edb7d365befdc838e0b08ae22bdde377ea2 Ticket: HICN-817 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-19fix(sonar): False positives Identical sub-expressions on both sides of operatorLuca Muscariello3-5/+5
Ref: HICN-816 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ifdbcad287f89378dc2a35110fac01dba9c341ef9
2022-10-19Merge "fix(libhicn): Out of bound memory access"Luca Muscariello1-2/+2
2022-10-18fix: show forwarder log after test executionMauro Sardara1-2/+2
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
2022-10-18Merge "fix(hicn-light): access to field 'local' results in a dereference of ↵Luca Muscariello1-0/+5
a null pointer"
2022-10-17fix(sonar): Nodejs LTS updateLuca Muscariello1-1/+1
Ref: HICN-814 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: I3da9837c9e42d9b509dfb863c0f01302fe39aa97
2022-10-17fix(libhicn): Out of bound memory accessJordan Augé1-2/+2
Change-Id: If7ef58bc05dd62f58bf5d5a8bce0491afab37d42 Ticket: HICN-813 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-17fix(hicn-light): access to field 'local' results in a dereference of a null ↵Jordan Augé1-0/+5
pointer Change-Id: I7251e7024c2e0a29629df2a1a7d9b0561ec0e9a6 Ticket: HICN-812 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-17fix(hicn-light): fib_contains incorrectly matches subprefixesJordan Augé2-2/+53
Change-Id: I9575012a4980649a05a490057bf4a71675792396 Ticket: HICN-811 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14refactor(hicn-light): cleanup towards optimizations to UDP socket faceJordan Augé12-59/+87
Change-Id: If5bc3c4dfcdde386ac02674f3c03d32d495b2231 Ticket: HICN-771 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14Merge "fix(hicn-light): error handling for invalid connections + local ↵Mauro Sardara2-43/+36
bind/remote connect returning EINVAL in tests"
2022-10-14fix(hicn-light): error handling for invalid connections + local bind/remote ↵Jordan Augé2-43/+36
connect returning EINVAL in tests Change-Id: I7398ff034ce0b96ea31bc3fa9d5ba515a5c14804 Ticket: HICN-809 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14fix(libhicnctrl): new create/face&route command failJordan Augé9-28/+169
Change-Id: I49d80a741672c4f9da75e36cc816fc53f37ac158 Ticket: HICN-808 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-12test: instrument functional tests with more logsMauro Sardara18-322/+708
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
2022-10-11Merge "feat(strategy): forwarding strategy for local faces Ref: HICN-802"Michele Papalini11-1/+401
2022-10-11feat(strategy): forwarding strategy for local facesMichele Papalini11-1/+401
Ref: HICN-802 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I22b48d700b1b46599e570d841932d74c5ac65891
2022-10-07Merge "refactor(hicn-light): cleanup and optimizations to UDP socket face"Mauro Sardara17-129/+54
2022-10-07refactor(hicn-light): cleanup and optimizations to UDP socket faceJordan Augé17-129/+54
Ticket: HICN-771 Change-Id: Ie84dc2f61888c3fdd7b3728b2a13cacbac503d1a Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-07Merge "test: new packet format functional test with hiperf/libtransport"Mauro Sardara12-32/+74
2022-10-07fix(libhicnctrl): connections created without interface conflict with ↵Jordan Augé1-2/+4
existing listeners Change-Id: Idc891221b2cd149a4a5decc45c2e84da74b832df Ticket: HICN-804 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-05refactor(libhicnctrl): strategy/set missing in VFTJordan Augé9-87/+64
Change-Id: I19a8dd89a1f03127d414d1c086848079ff10d0df Ticket: HICN-803 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-05test: new packet format functional test with hiperf/libtransportJordan Augé12-32/+74
Change-Id: Ib6ca26e9ee1a042a72ac81da71493542e8b833e6 Ticket: HICN-774 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-09-30feat: support for new packet format in hicn-lightJordan Augé45-1026/+507
Ref: HICN-792 Change-Id: I3204006bd2dd2be6504c33035c6578ec0292455a Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-09-29Merge "fix(rtc-production-protocol): do not modify packet just after sending it"Michele Papalini6-27/+40
2022-09-29refactor(io_modules): remove deprecated loopback moduleMauro Sardara6-319/+0
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
2022-09-29fix(rtc-production-protocol): do not modify packet just after sending itMauro Sardara6-27/+40
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