aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-08-30ci(sonar): add test coverage in sonar cloudMauro Sardara2-3/+44
Ref: HICN-749 Change-Id: I1523b548df9254949d164b995d24c0210252809f Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-29Merge "ci(sonar): build with coverage information"Luca Muscariello3-7/+8
2022-08-29ci(sonar): build with coverage informationMauro Sardara3-7/+8
Also: - Install clang-11 as default compiler with make deps Ref: HICN-752 Change-Id: Id6faf99ddd9c43a1c5804b8ace8df9dad27b82e6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-26feat: resize hicn_buffer_t to 24 byesMauro Sardara4-36/+54
Ref: HICN-746 Change-Id: I70d526aa81c158a128408cff7e7a2d8e09ceb01a Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-19ci(functions.sh): fallback to full image build if artifacts cannot be retrievedMauro Sardara1-5/+14
Ref: HICN-743 Change-Id: I9690f541e985fa6cde65bb892f0b8a7787fd2e93 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-18test(hicn-light): fix hicn-light functional testsMauro Sardara2-2/+6
Ref: HICN-743 Change-Id: Id49ab872b5cf545c9e021a51a877341ff7ab9337 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-17ci(functional-tests): add functional tests scriptsMauro Sardara14-51/+171
- Add scripts/functional-tests.sh script - Add `download_artifacts` functions, allowing to retrieve artifacts of a gerrit patch - Robot: redirect output of topology build to files, thus preventing robot from hanging - Share folders between host and containers with the :z flag - Use sudo to install executable in docker-compose scripts, as the user of the docker is not root anymore - Makefile: decouple installation and build Ref: HICN-732 Change-Id: Ib945cf7bd0ee331e33270cf1005dfebd085862eb Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-12Merge "ci: add initial support to build against VPP master"Luca Muscariello1-0/+3
2022-08-12ci: add initial support to build against VPP masterMauro Sardara1-0/+3
Ref: HICN-742 Change-Id: Ifdf3597846fdfe0ba91516e9c0bf4e2a9ed2f1a3 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-08-12ci(sonarqube): force job to fail if any command failsMauro Sardara2-0/+4
Ref: HICN-741 Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3 Signed-off-by: Mauro Sardara <msardara@cisco.com>