aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-09-13Merge "refactor: update INFO.yaml"Luca Muscariello1-5/+4
2022-09-13Merge "fix: re-introduce BASE_IMAGE argument in docker-compose files for tests"Mauro Sardara3-18/+8
2022-09-13fix: re-introduce BASE_IMAGE argument in docker-compose files for testsMauro Sardara3-18/+8
Ref: HICN-732 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I26ab4e0630d143bd429dc44318868667a155ed12
2022-09-13Merge "fix(download_artifacts): use latest URLs from list retrieved from gerrit"Angelo Mantellini1-2/+5
2022-09-12fix(download_artifacts): use latest URLs from list retrieved from gerritMauro Sardara1-2/+5
Ref: HICN-781 Change-Id: Iaeaa57bb97599772611506444fcf806f17f7b9b0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-09-12fix(interest_manifest.h): set correct type to pos variable when using it in ↵Mauro Sardara3-4/+4
interest_manifest_foreach_suffix Ref: HICN-780 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I6025c3e87d4d8cb6a1e5e1f68e856214f8aa81ed
2022-09-12feat(slab): add slab allocator to store hashtables' keysEnrico Loparco (eloparco)23-109/+637
Ref: HICN-777 Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: Ibbd5c5e73cfd2f6adf757f7248dff8a933515d21
2022-09-12refactor: update INFO.yamlOlivier Roques1-5/+4
Ref: HICN-779 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: I3b1e93067bd005c29cf6d0c40867288bd5c5d04e
2022-09-02fix(sonar): make sonarqube happyMauro Sardara13-148/+100
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>
2022-09-02fix: correct bugs in interest processing pipelineMauro Sardara2-3/+6
ResHHICN-748 Change-Id: I8e55932fda2c77891f7b2aaf7fa5d7087f1aa2bf Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-09-01feat(hicn-plugin): interest manifestMauro Sardara25-212/+645
Ref: HICN-748 Change-Id: Ie403de53a93094dca997cec379db6f5d3ce8e6be Signed-off-by: Mauro Sardara <msardara@cisco.com>