Age | Commit message (Collapse) | Author | Files | Lines |
|
Ref: HICN-814
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I3da9837c9e42d9b509dfb863c0f01302fe39aa97
|
|
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
|
|
Check the format of commit is conventional commit compliant
Ticket: HICN-791
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I56b0884c1bb84ef29adc55a5f07eafb3763eff43
|
|
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
|
|
Ref: HICN-872
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I29f34e15e3cc4e04d50de937568a4e4e76a33f33
|
|
Ref: HICN-781
Change-Id: Iaeaa57bb97599772611506444fcf806f17f7b9b0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Ref: HICN-749
Change-Id: I1523b548df9254949d164b995d24c0210252809f
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Also:
- Install clang-11 as default compiler with make deps
Ref: HICN-752
Change-Id: Id6faf99ddd9c43a1c5804b8ace8df9dad27b82e6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Ref: HICN-743
Change-Id: I9690f541e985fa6cde65bb892f0b8a7787fd2e93
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
- 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>
|
|
|
|
Ref: HICN-742
Change-Id: Ifdf3597846fdfe0ba91516e9c0bf4e2a9ed2f1a3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Ref: HICN-741
Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
- Configure safe directories for git
Ref: HICN-741
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2c9da853f57ca4576fb4ad35c3ca81de575c7c65
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
- Add submodule init before running the docker compose up command
- Mount workspace with the :z flag to modify the selinux label of the directory
- Build docker image with amd64 architecture, as sonar build wrapper only exists for x64
Ref: HICN-741
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3cc3e285ce216eec9795011f67758df590dc6fec
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I569ede7040d0f1e168af87a67e31d494fd11bc77
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ibadcc7b1a79ef92149b032becc800f1ed8ba00c5
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2216084a415abbb874dfa49051ca3ca0fcb7c41d
|
|
Ref: HICN-739
Change-Id: I33c4948f6f7a1a27a30051da4a1bdbfc6de90951
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
|
|
|
|
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I2da6c9dfa1d05968555e8f43176de6a0ab37892e
|
|
Ref: ICN-732
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iabfce26c446c502dc1d8f50da0d607791ce392e9
|
|
Ref: HICN-731
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I34f7abc5949ed02f7926a72ea54a2014ed255d6d
|
|
Ref: HICN-720
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I6586573da1e415b596bad8e6d3e77dba38de8147
|
|
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>
|
|
Also:
- Format hicn-plugin code
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I0f4626fdeaf0fc5ae1f43904ca006b092e3e9d5f
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ica3b4f66087446551230a3742fd7bd4db87a4a7e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
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>
|
|
Add license headers
Add dependencies
Fix build for Ubuntu 18.04
Move doc
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: Ie92268d2d3a47c47746107ac6f9c34b21949671c
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4a683dc37e6669d51e001604c41221efb26fb0de
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9973034088879b23cc0de6116d65c3a70272a706
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I84c0461d5a7869b38a676f3a02a53080e32d271c
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Id9666941d2a84d5deb75716a410abe9305923531
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3133931e1531af34756d009aef509976f3f7b29b
|
|
- 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
|
|
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>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Id1db8b5b2aba94f3a4a2ab14088a4ac8e6e25851
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I701379bf0f088cad4a94209664de16e7bfe76f5e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ia3a929c4734b660a8feb03d1656d2ff3e35de991
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
|
|
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54
|
|
Change-Id: I143509be32a3897880e02f55856a4ca1b2522269
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
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>
|
|
Change-Id: Idb322dc712b52301c66c5256ad8d1a6a65b503b9
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: Id79b3885ca02b24a4c480ec10a0b2a1330ff8604
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
|
|
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: Ie3f7f700617d99e7e56431afbb1b877e6cb366f9
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
dependencies for centos.
Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|