aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2021-04-15[HICN-690] Transport Library Major RefactoryLuca Muscariello2-32/+11
The current patch provides a major refactory of the transportlibrary. A summary of the different components that underwent major modifications is reported below. - Transport protocol updates The hierarchy of classes has been optimized to have common transport services across different transport protocols. This can allow to customize a transport protocol with new features. - A new real-time communication protocol The RTC protocol has been optimized in terms of algorithms to reduce consumer-producer synchronization latency. - A novel socket API The API has been reworked to be easier to consumer but also to have a more efficient integration in L4 proxies. - Several performance improvements A large number of performance improvements have been included in particular to make the entire stack zero-copy and optimize cache miss. - New memory buffer framework Memory management has been reworked entirely to provide a more efficient infra with a richer API. Buffers are now allocated in blocks and a single buffer holds the memory for (1) the shared_ptr control block, (2) the metadata of the packet (e.g. name, pointer to other buffers if buffer is chained and relevant offsets), and (3) the packet itself, as it is sent/received over the network. - A new slab allocator Dynamic memory allocation is now managed by a novel slab allocator that is optimised for packet processing and connection management. Memory is organized in pools of blocks all of the same size which are used during the processing of outgoing/incoming packets. When a memory block Is allocated is always taken from a global pool and when it is deallocated is returned to the pool, thus avoiding the cost of any heap allocation in the data path. - New transport connectors Consumer and producer end-points can communication either using an hicn packet forwarder or with direct connector based on shared memories or sockets. The usage of transport connectors typically for unit and funcitonal testing but may have additional usage. - Support for FEC/ECC for transport services FEC/ECC via reed solomon is supported by default and made available to transport services as a modular component. Reed solomon block codes is a default FEC model that can be replaced in a modular way by many other codes including RLNC not avaiable in this distribution. The current FEC framework support variable size padding and efficiently makes use of the infra memory buffers to avoid additiona copies. - Secure transport framework for signature computation and verification Crypto support is nativelty used in hICN for integrity and authenticity. Novel support that includes RTC has been implemented and made modular and reusable acrosso different transport protocols. - TLS - Transport layer security over hicn Point to point confidentiality is provided by integrating TLS on top of hICN reliable and non-reliable transport. The integration is common and makes a different use of the TLS record. - MLS - Messaging layer security over hicn MLS integration on top of hICN is made by using the MLSPP implemetation open sourced by Cisco. We have included instrumentation tools to deploy performance and functional tests of groups of end-points. - Android support The overall code has been heavily tested in Android environments and has received heavy lifting to better run natively in recent Android OS. Co-authored-by: Mauro Sardara <msardara@cisco.com> 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> Change-Id: If477ba2fa686e6f47bdf96307ac60938766aef69 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2021-03-25[HICN-688] Include packethicn in hicn buildMarco Trinelli2-5/+20
Add license headers Add dependencies Fix build for Ubuntu 18.04 Move doc Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com> Change-Id: Ie92268d2d3a47c47746107ac6f9c34b21949671c
2021-02-11HICN-685 Fix package script for centos8Mauro Sardara1-2/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I4a683dc37e6669d51e001604c41221efb26fb0de
2021-02-11HICN-685 Fix package script for centos8Mauro Sardara1-0/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I9973034088879b23cc0de6116d65c3a70272a706
2021-02-11HICN-685 Fix package script for centos8Mauro Sardara1-14/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I84c0461d5a7869b38a676f3a02a53080e32d271c
2021-02-05[HICN-681] Remove compilation warning in ubuntu 20.04 jobs.Mauro Sardara1-11/+7
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Id9666941d2a84d5deb75716a410abe9305923531 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-11-19[HICN-653] Add hicn repo to build scriptMauro Sardara1-0/+4
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3133931e1531af34756d009aef509976f3f7b29b
2020-11-06[HICN-654] Fix versioning.Mauro Sardara2-37/+48
- Add rc0 tag for release candidate packages pushed in hicn repo - Fix version for centos and aarch64 packages Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I0b04d8164690635c19a0d429fb383268b9d3318e
2020-11-06[HICN-653] Cleanup build scripts.Mauro Sardara3-333/+207
Main changes: - Next VPP version is now counted 4 months (instead of 3) from the current one - CMake will now use Ninja as generator - Build functions are gathered under build/functions.sh and they are shared instead of being duplicated in build-extras and build-packages - Various bug fixes for dependencies and versioning. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3f482d2c87847a465019dd0992ee9375c88bb412 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-10-20[HICN-649] Fix build script.Mauro Sardara1-3/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Id1db8b5b2aba94f3a4a2ab14088a4ac8e6e25851
2020-10-02[HICN-643] Fix scripts for publishing release.Mauro Sardara1-2/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96
2020-05-28[HICN-617] Prepare hicn-plugin for VPP 20.05 release.Mauro Sardara2-6/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I701379bf0f088cad4a94209664de16e7bfe76f5e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-14[HICN-611] Remove unused fields on libhicnlibraryAngelo Mantellini1-7/+1
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ia3a929c4734b660a8feb03d1656d2ff3e35de991 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2020-05-06[HICN-606] Added doxygen documentationAlberto Compagno1-1/+1
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54
2020-02-24[HICN-532] Add docs target in build-package scriptMauro Sardara1-13/+42
Change-Id: I143509be32a3897880e02f55856a4ca1b2522269 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno1-1/+1
P2P confidential communications exploit the TLS 1.3 protocol to let a consumer to establish a secure communication on an hICN name. Currently we don't support the consumer authentication (mutual authentication in TLS) and the 0-rtt session establishment. Change-Id: I2be073847c08a17f28c837d444081920c5e57a07 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-18[HICN-510] Adding collectd plugins to get telemetry from vpp and hicn-pluginAlberto Compagno1-0/+26
Change-Id: Idb322dc712b52301c66c5256ad8d1a6a65b503b9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-02-18[HICN-527] Do not create Unspecified DEB/RPM package anymore.Mauro Sardara1-1/+1
Change-Id: Id79b3885ca02b24a4c480ec10a0b2a1330ff8604 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello1-1/+24
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno2-8/+24
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-12-12[HICN-449] Correct dependencies of DEB/RPM package for sysrepo.Mauro Sardara1-2/+2
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 Sardara2-6/+7
dependencies for centos. Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11[HICN-430] Do not install cmake on arm slaves.Mauro Sardara1-1/+4
Change-Id: I315862308d27fad6420bbce35de0fd6ad17a3240 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11[HICN-430] Remove unspecified package.Mauro Sardara1-1/+1
Change-Id: I578395371585337ab7c8a2b3e25c365b473e2ee6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara2-26/+58
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-04to fix HICN-421 by adding cpack to libyang and sysrepoJordan Augé1-7/+29
Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ia9e0752f877c7fc0be6df85664d18e1caad86741 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-04[HICN-357] sysrepo plugin updatemasoud1-5/+5
Signed-off-by: masoud <mhemmatp@cisco.com> Change-Id: Idabe9d3a3b03139ad3cdb20c8c822e6dd7d4c553
2019-10-31[HICN-220] Build for arm64 Ubuntu18Angelo Mantellini1-2/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I23dfdbfc79a8e0bf385ae8ab0d56b90fecaf8c53 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-10-30[HICN-220] Build for arm64 Ubuntu18Angelo Mantellini1-1/+4
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ie41760070d027d2b28c9eb8b7c27ad5438c746ae
2019-10-30[HICN-366] Installing python3-plyAlberto Compagno1-1/+7
Adding missing python3-ply package on the build-package script Change-Id: I3fa536483bb3e8f3a6bd81011515172b00cce4ff Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara1-18/+2
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-08-22[HICN-263] DO_NOT_MERGEv19.08Alberto Compagno2-6/+6
Updating hicn-plugin and libtransport to vpp_1908 Change-Id: I8bdad9725ec50597d79b3dc9a8d151ca149c3808 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-08-01[HICN-255] the api vnet_get_sw_interface_safe is now ↵Alberto Compagno1-2/+2
vnet_get_sw_interface_or_null Change-Id: I080e7e216b779ce8beb292edadff0cc6c468549b Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-29[HICN-252] Add per-application policy framework to hicn-light forwarderJordan Augé1-3/+3
Change-Id: I0531cd7a7de179581295ae34766c81cd9cf3e172 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Mauro Sardara <msardara@cisco.com>
2019-07-26[HICN-253] Mark cmake target for library as static or shared.Mauro Sardara1-2/+2
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-24[HICN-243] Adding router pluginmasoud hemmatpour1-0/+1
The original package is https://gerrit.fd.io/r/#/c/15062/ which was compatible with VPP 18.10. This patch is the modification of the original to be compatible with VPP 19.04. It was tested with FRR (i.e., OSPF). Change-Id: I85d579b26be2ef68f1b4a1d54e5c599b3665574b Signed-off-by: masoud hemmatpour <mhemmatp@cisco.com>
2019-06-24[HICN-224] Dismiss legacy http proxy.Mauro Sardara1-2/+2
Change-Id: Ica1c51ab5e117564ff3d49ecbcce3be6231f3afc Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-09[HICN-191]updating plugin to run on vpp 19.04Masoud Hemmatpour1-3/+3
Change-Id: I85ceabb1bde847edf030c6ccb3943be047d167f5 Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-05-03[HICN-180] Updating plugin to run on vpp 19.04Alberto Compagno1-7/+9
Change-Id: I23d44747edf65b9cbf1cd7cb174541dce55152aa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-03-29Merge "[HICN-90] adding hicn-light to sysrepo-plugins"Luca Muscariello1-4/+4
2019-03-27[HICN-149] Build packages for applications.Mauro Sardara1-4/+5
Change-Id: Ia13bc4d2711b9897c0afb9b9b43cd04667e41bac Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-25[HICN-90] adding hicn-light to sysrepo-pluginsMasoud Hemmatpour1-4/+4
Change-Id: Icd92adb21661d33b0cd40ea8c3dd748f0fa97aaf Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com> Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-03-15[HICN-114] Update Hicn Http Server to hicn fdio stackAngelo Mantellini1-2/+2
Change-Id: Ic808c93c14f905fd403e60be82ce319757e84c9f Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-03-14[HICN-113] Fix packaging system.Mauro Sardara1-3/+2
Change-Id: I779bfffedac5c593de9789b79218475ec4698c01 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-03-01[HICN-5] hicn sysrepo plugin initialMasoud Hemmatpour1-0/+142
Change-Id: I4713465c39abd00fac709cfc908b9384ea75532f Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com> Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Signed-off-by: Luca Muscariello <lumuscar+fdio@cisco.com> Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
2019-02-05[HICN-25] Revert to previous build-packages.shMauro Sardara1-67/+0
Change-Id: I9bd77da03f82a2c4c6a3045184112f76762dda07 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-05[HICN-25] Temporarily push docs from package merge jobs.Mauro Sardara1-8/+8
Change-Id: I9cf7009daa124210901dfd89e1bdf4b1eaaee308 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-05[HICN-25] Test docs script.Mauro Sardara1-1/+66
Change-Id: I37cb7b34a737323862619c198ff4e3b570217887 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-04[HICN-10] Remove temporary files generated by CPack[Deb/Rpm].Mauro Sardara1-1/+1
Change-Id: I05fc7d917970a0b9780c667aa5e818cbc1d3240a Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-02-01[HICN-10] Compile libtransport with libmemif supportMauro Sardara1-7/+36
Change-Id: I81d1cb4d5f16a61c35f66fe347985f05d8c97383 Signed-off-by: Mauro Sardara <msardara@cisco.com>