aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-02-10fix(hicn-plugin): correctly create mapme packetsMauro Sardara1-18/+23
Ticket: HICN-842 Change-Id: I6f2cc49b6cd9b949f2e7e7cbd85c272339571830 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit d17dd026a08f254648757660a4e74ed973b5e90b)
2023-02-09feat: libhicnctrl: new API to allow sending MAP-Me command on specific faceJordan Augé41-335/+925
Change-Id: Iac39a1d145a5c1b4f19e1fa35d713ca720393760 Ticket: HICN-832 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> (cherry picked from commit 49776ceac54eecadabca6c0e2fdc0b9ee2e8e663)
2023-02-09fix(hicn): fix bugs reported by sonarqubeMichele Papalini15-31/+38
Ref: HICN-837 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I0d02a11361b1ba5ad50123b2dd142c961998922f (cherry picked from commit 8a7e75e84a31180d51b9970d526709ec4dca2030)
2023-02-09fix(apps): fix issues reported by sonarqubeMichele Papalini19-231/+229
Ref: HICN-836 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ie76771ca75bd224084ce3c893aba661b97064419 (cherry picked from commit b96d1545a8d2a173dc5911ed0bca3e04dbb02176)
2023-01-31feat(tests): add HMAC to functional testsOlivier Roques8-8/+11
Ref: HICN-833 Signed-off-by: Olivier Roques <oroques@cisco.com> Change-Id: I40df138798f980f8a89e5fd13db54c2ac89f34b7 (cherry picked from commit 1db196beea9bbb9e78ad42abcdc0a1754ca19eed)
2023-01-30Merge "fix(vpp): remove unused variables Ref: HICN-835" into stable/2210Michele Papalini1-8/+1
2023-01-30fix(vpp): remove unused variablesMichele Papalini1-8/+1
Ref: HICN-835 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I2d2eedff244077c6378cdf731873ba2d1c4f8ae7 (cherry picked from commit 255759adf5c2bbf923ad00afe22602fb26844fb0)
2023-01-30fix(fib): fix lmp on hicn-light fibMichele Papalini2-47/+204
Ref: HICN-834 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ia5648c8784f2c90fb23d1860f8ee20e21158e5e7 (cherry picked from commit 6f0a3087e4ddab4c9f039c154bb21373c1a5d96f)
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-23Merge "feat(hicn-plugin): reuse strategy node to forward interests" into ↵Michele Papalini4-196/+91
stable/2210
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>
2023-01-23fix(vpp): remove unused variables in VPPMichele Papalini1-2/+0
Ref: HICN-831 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I486806b6555ad39b050b97d91fbb428fd0f81387 (cherry picked from commit 5a86b5436c369547360ec8206d1f07261b9562f3)
2023-01-20Merge "fix(hicn-plugin): handle inflight interest coming from deleted face" ↵Mauro Sardara4-46/+115
into stable/2210
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>
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>
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> (cherry picked from commit a465d503193cc75052aa5acb9babfdd369cda90c)
2023-01-20Merge "fix: correctly print fib prefixes" into stable/2210Michele Papalini1-3/+3
2023-01-20Merge "feat(vpp): improve tracing" into stable/2210Michele Papalini2-2/+6
2023-01-20Merge "fix: interest aggregation" into stable/2210Michele Papalini2-40/+66
2023-01-20fix: correctly print fib prefixesMauro Sardara1-3/+3
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit ce8807815b2e9c6630f639e8dc6924f0eff74775)
2023-01-20feat(vpp): improve tracingMauro Sardara2-2/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ic20b5cc7f34b35c86b6c100f9a7c868b119bd129 (cherry picked from commit 30082b9a4180dce68da04f67fb5bbb34fa2ba842)
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> (cherry picked from commit 0771b15a15b84be06c8cc80dc8311e035444c596)
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> (cherry picked from commit 00b070cfbb3164df823653c7e1d32b7851cf0ee0)
2023-01-18feat: local-remote strategyMauro Sardara27-186/+774
Ticket: HICN-824 Change-Id: Iea285cb499b13c943a142fa39328ee36c91ae913 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 7560918629eb11aa7bdaee5f4856243b38c77f93)
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 (cherry picked from commit f3a58a1ea5f4b99b5e788aec1a5afdcb19c42074)
2023-01-13feat: update cmake modules versionMauro Sardara1-0/+0
Change-Id: I3154e22faa5c274dda3645f3a4e81cf5b6ea526b Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 39fceaca37baa423b3aac2683037194029af3e09)
2023-01-12feat: add default branch to gerrit configuratioonv22.10Mauro Sardara1-0/+1
Change-Id: Ib7c43ae5f9dd7cdf4de3559088c8055d55c24b73 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-12feat: set STREAM parameters in functional testsMauro Sardara1-3/+6
Ticket: HICN-822 Change-Id: I0b05a3d4b01fe2ab35682eb7d70fa0f0bdf05176 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 7cb306f748cb59bba53c1b07619383010e498648)
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