aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/sysrepo-plugins
AgeCommit message (Collapse)AuthorFilesLines
2022-04-26HICN-722: Updates on transport, RTC, manifest usage for RTC, infra.Luca Muscariello2-8/+3
Co-authored-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com> Co-authored-by: Michele Papalini <micpapal@cisco.com> Co-authored-by: Angelo Mantellini <manangel@cisco.com> Co-authored-by: Jacques Samain <jsamain@cisco.com> Co-authored-by: Olivier Roques <oroques+fdio@cisco.com> Co-authored-by: Enrico Loparco <eloparco@cisco.com> Co-authored-by: Giulio Grassi <gigrassi@cisco.com> manifest: optimize manifest processing manifest: add FEC parameters to manifests manifest: refactor verification process manifest: report auth alerts in hiperf instead of aborting manifest: remove FEC buffer callback in consumer manifest: refactor and enable manifests by default manifest: update manifest header with transport parameters manifest: batch interests for first manifest from RTC producer manifest: refactor processing of RTC manifests manifest: update manifest-related socket options of consumers manifest: update unit tests for manifests manifest: pack manifest headers manifest: verify FEC packets auth: add consumer socket option to set max unverified delay manifest: process manifests after full FEC decoding manifest: manage forward jumps in RTC verifier fec: remove useless fec codes rs: add new code rate rs: add new code rate rs: add new code rate rs: add new code rate libtransport: increase internal packet cache size remove internal cisco info in cmake manifest: add option to set manifest capacity data_input_node.c: add information about adj_index[VLIB_RX] on received data packetsi sysrepo plugin: update build Change-Id: I0cf64d91bd0a1b7cad4eeaa9871f58f5f10434af Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2022-03-31feat: boostrap hicn 22.02Luca Muscariello25-900/+824
The current patch provides several new features, improvements, bug fixes and also complete rewrite of entire components. - lib The hicn packet parser has been improved with a new packet format fully based on UDP. The TCP header is still temporarily supported but the UDP header will replace completely the new hicn packet format. Improvements have been made to make sure every packet parsing operation is made via this library. The current new header can be used as header between the payload and the UDP header or as trailer in the UDP surplus area to be tested when UDP options will start to be used. - hicn-light The portable packet forwarder has been completely rewritten from scratch with the twofold objective to improve performance and code size but also to drop dependencies such as libparc which is now removed by the current implementation. - hicn control the control library is the agent that is used to program the packet forwarders via their binary API. This component has benefited from significant improvements in terms of interaction model which is now event driven and more robust to failures. - VPP plugin has been updated to support VPP 22.02 - transport Major improvement have been made to the RTC protocol, to the support of IO modules and to the security sub system. Signed manifests are the default data authenticity and integrity framework. Confidentiality can be enabled by sharing the encryption key to the prod/cons layer. The library has been tested with group key based applications such as broadcast/multicast and real-time on-line meetings with trusted server keys or MLS. - testing Unit testing has been introduced using GoogleTest. One third of the code base is covered by unit testing with priority on critical features. Functional testing has also been introduce using Docker, linux bridging and Robot Framework to define test with Less Code techniques to facilitate the extension of the coverage. Co-authored-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com> Co-authored-by: Michele Papalini <micpapal@cisco.com> Co-authored-by: Angelo Mantellini <manangel@cisco.com> Co-authored-by: Jacques Samain <jsamain@cisco.com> Co-authored-by: Olivier Roques <oroques+fdio@cisco.com> Co-authored-by: Enrico Loparco <eloparco@cisco.com> Co-authored-by: Giulio Grassi <gigrassi@cisco.com> Change-Id: I75d0ef70f86d921e3ef503c99271216ff583c215 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2021-07-06[HICN-713] Transport Library Major Refactoring 2Mauro4-5/+1
Co-authored-by: Luca Muscariello <muscariello@ieee.org> Co-authored-by: Michele Papalini <micpapal@cisco.com> Co-authored-by: Olivier Roques <oroques+fdio@cisco.com> Co-authored-by: Giulio Grassi <gigrassi@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I5b2c667bad66feb45abdb5effe22ed0f6c85d1c2
2021-01-26[HICN-677] Add support for unit testing across all subprojectsMauro Sardara3-3/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I7fa6442f53860fe8dcda3c17b63cfca15aa26c63 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-11-11[HICN-655] Fix SYSREPO_PLUGIN_INCLUDE_DIRSMauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I034899728aa19f42c027fba2057e4e9397a1485c
2020-11-10[HICN-651] Offload checksum computation also for data packets.Mauro Sardara1-1/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3663ac73cdbaad3e53d4b1973a7bcbb333b3910c
2020-05-04[HICN-603] Cleanup code for managing routeAlberto Compagno5-1267/+919
- Remove old code to add and remove hicn route. Routes are now added only through the ip route commands/apis - Adjusted the cli to set the strategy for a particular prefix - Adjusted libtransport consumer and producer app creation - Adjusted sysrepo plugin. Added hicn enable and disable and removed old api related to hicn routes and hicn faces - Adjusted libhicnctrl. Only routes api and listener are now available for hicn-plugin Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Ib4f7f45ba0b99253d60a9da2b295d6e783e5cd51
2020-05-04[HICN-590] Removed andjacency type specific face implementationAlberto Compagno1-132/+11
Changes in the new implementation are: - the adjacency index is replaced with a dpo that allows the single face node to dispatch the packet to the right vlib node. - local and remote address in the face are replaced with a single nat address which is used to perform the nat operation when rewriting an interest or a data (in case of tunnels the nat address will be equal to 0) - the list of next hop in the load balance is no longer a list of dpos but a list of face id (this makes the code easier and increases the number of next hop we supports) Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I4ac2b4eb09425bfe1b3ca9f82d7d0ff564297b0d
2020-03-20[HICN-551] Removed source code that uses aclAlberto Compagno1-135/+1
- Removed punting from the sysrepo-plugin - Removed calls to the punting functions of binary api in the libhicnctrl - Added documentation in vpp-plugin.md and doxygen related to pg Change-Id: I8936156d51524797441ec49f0d5e801a1ad3643a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello1-241/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-05[HICN-504] Added hicn yang model to the hicn-sysrepo-plugin packageAberto Compagno2-1/+10
Signed-off-by: Aberto Compagno <acompagn+fdio@cisco.com> Change-Id: I1679360a23fd7b790582c754d25fd6b4709fbfde
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno2-11/+8
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-07Merge "[HICN-443] Adding test to hicn sysrepo plugin"Alberto Compagno10-0/+431
2019-12-19[HICN-464] swapping the initial buffermhemmatp1-9/+10
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: Iff7880bfc02c1ecd82b090d098c4b11268dc899c
2019-12-19[HICN-443] Adding test to hicn sysrepo pluginmhemmatp10-0/+431
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: Ib7568d9b44b94664822f3925682bab554c170e5a
2019-12-12[HICN-440] Add comments to hicn sysrepo plugin codemhemmatp9-258/+2951
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: I0ed0c5b0b9cd7714b46867e4d4fe0324945cf418
2019-12-12[HICN-449] Correct hicn-plugin dependency version checkMauro Sardara1-2/+2
Change-Id: I834abcf020da728c1a3fcb495dc0f12ad6d4bbc9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-12[HICN-449] Correct dependencies of DEB/RPM package for sysrepo.Mauro Sardara3-17/+9
Change-Id: Ie3f7f700617d99e7e56431afbb1b877e6cb366f9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11[HICN-449] [HICN-430] Build sysrepo plugin. Update sysrepo and libyang ↵Mauro Sardara1-2/+3
dependencies for centos. Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-15/+19
Change way targets are defined: each project defines targets. Fix project BUILD flags Add build-extras bash script Rework build tree of extras folder, using ExternalProject_Add Change-Id: I82fa29896e54c8a033490eba013c3f0431bec9d0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-04[HICN-434] VAPI does not link to hicn sysrepo pluginmhemmatp1-1/+1
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: I3d2fa27baf00b5fa70bef5c1c414475eabcd525c
2019-12-04to fix HICN-421 by adding cpack to libyang and sysrepoJordan Augé2-8/+14
Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ia9e0752f877c7fc0be6df85664d18e1caad86741 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-29[HICN-424] linking missing vpp libraries to libsysrepohicnRobot1-1/+1
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I70c1b1162fd7b7a093d60e03b55dcd01f62250f3
2019-11-29[HICN-403] update vapi communication with vppMasoud Hemmatpour13-1071/+799
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Change-Id: I6e05d96af049229a6dc2da0adf32707873cdc816 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-18[HICN-225] Added generic binary api for handling facesAlberto Compagno1-8/+8
Supported messages are add, del, get, dump, get. Each message contains a face id and the expected message has different fields based on the face type. The binary api specific for ip faces is still available for compatibility but deprecated. Change-Id: I899c6cf31a56abd39ad287ea3128993857997fcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-14[HICN-375] Move cmake in ctrl/sysrepo-plugins to the main cmke in rootmashemat9-457/+10
Signed-off-by: mashemat <mhemmatp@cisco.com> Change-Id: I6c2f65e61a2f13db8261a32482336b21f07d5e45
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno3-34/+45
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-04[HICN-357] sysrepo plugin updatemasoud5-32/+17
Signed-off-by: masoud <mhemmatp@cisco.com> Change-Id: Idabe9d3a3b03139ad3cdb20c8c822e6dd7d4c553
2019-10-07[HICN-289] update READMEmhemmatp1-144/+56
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: I8ad3f4d636714acc10626c78c758829bc9faf273
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara36-0/+8913
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>