summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-09-26fix(memif.patch): use correct cwd in git describeMauro Sardara1-1/+10
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
2022-09-26Merge "fix(stats): fix forwarder statistics retrieval"Mauro Sardara28-267/+350
2022-09-26Merge "fix(Makefile): fix the `make commit-template` target"Luca Muscariello1-2/+9
2022-09-26chore(hicn-plugin): install hicn.api.jsonMauro Sardara1-0/+5
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
2022-09-26fix(Makefile): fix the `make commit-template` targetMauro Sardara1-2/+9
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>
2022-09-23fix(stats): fix forwarder statistics retrievalEnrico Loparco (eloparco)28-267/+350
Ref: HICN-794 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I13162174f45855989727f92e96c11a1d48d710dd
2022-09-23fix(hicn-light): fix routing issuesJordan Augé13-60/+287
Ref: HICN-786 Change-Id: I541c87d2d810907489ca4f59b3d7740a18c108fb Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-09-22Merge "fix(libhicnctrl): fix new listener validation during face or ↵Mauro Sardara15-622/+87
connection creation"
2022-09-22feat(libhicnctrl): implement face delete commandMauro Sardara5-1/+181
Ticket: HICN-793 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I87f2cd5a9e077ba81cc0d92fc2ec9fb5c9ec2ff0
2022-09-22fix(libhicnctrl): fix new listener validation during face or connection creationJordan Augé15-622/+87
Change-Id: I5f532320fcb3fc01cd3a027af7ea5fc6425e4097 Ref: HICN-790 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-09-21ci: add commit checkMauro Sardara3-1/+67
Check the format of commit is conventional commit compliant Ticket: HICN-791 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I56b0884c1bb84ef29adc55a5f07eafb3763eff43
2022-09-21Merge "refactor(logs): use glog instead of prints"Mauro Sardara27-592/+555
2022-09-21refactor(logs): use glog instead of printsEnrico Loparco (eloparco)27-592/+555
Ref: HICN-788 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Iedf75e1658a335985cc2dfd7b82ae61124f2371e
2022-09-19Merge "fix(packaging): set correct dependencies for hicn-light package"Mauro Sardara1-1/+1
2022-09-19fix(packaging): set correct dependencies for hicn-light packageMauro Sardara1-1/+1
Ref: HICN-789 Change-Id: If6cde9d9a4289defa5fe283319fd8181c4b1bf90 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-09-16fix(gcc): fix gcc warningsEnrico Loparco (eloparco)3-3/+5
Ref: HICN-787 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I2a69be00382f6e5b2544b766d6ac9e1f8cae4bd6
2022-09-15Merge "fix(strategy): fix memory leaks detected by valgrind in unit tests"Mauro Sardara5-2/+10
2022-09-14fix(strategy): fix memory leaks detected by valgrind in unit testsEnrico Loparco (eloparco)5-2/+10
Ref: HICN-785 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I0102bdba4257b891fc6843d42e6eccc5e48687dc
2022-09-14Merge "feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping"Mauro Sardara19-86/+530
2022-09-14ci: correctly generate tests reportsMauro Sardara3-19/+29
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
2022-09-14feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-pingEnrico Loparco (eloparco)19-86/+530
Ref: HICN-783 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I41c804dd639ee15aee9619732f55e39a3baf1385
2022-09-13ci: group all unit test reports under same folderMauro Sardara1-3/+16
Ref: HICN-872 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I29f34e15e3cc4e04d50de937568a4e4e76a33f33