hicn.git
4 years ago[HICN-695] facemgr: add systemd service 23/31923/3
Jordan Augé [Thu, 8 Apr 2021 08:05:52 +0000 (10:05 +0200)]
[HICN-695] facemgr: add systemd service

Change-Id: I6b345944ce3fb4714832798e32ac840a162dc268
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-699] facemgr: cleaner logs for face interaction 39/32039/1
Jordan Augé [Mon, 19 Apr 2021 21:57:14 +0000 (23:57 +0200)]
[HICN-699] facemgr: cleaner logs for face interaction

Change-Id: Ic0c941812f758868498e4d087e237047f91d452b
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-690] Transport Library Major Refactory 90/31990/12
Luca Muscariello [Thu, 15 Apr 2021 07:05:46 +0000 (09:05 +0200)]
[HICN-690] Transport Library Major Refactory

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>
4 years agoMerge "[HICN-696] packethicn: add support for native hicn and fix find wireshark... transport-ng
Mauro Sardara [Fri, 9 Apr 2021 11:26:52 +0000 (11:26 +0000)]
Merge "[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS"

4 years ago[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS 24/31924/6
Marco Trinelli [Thu, 8 Apr 2021 09:33:02 +0000 (11:33 +0200)]
[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS

Allow wireshark to parse native hicn traffic (decode IPv6 traffic as HICN, by default)
Fix find_package(wireshark) for macOS, to automatically find wireshark sources in macOS

Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: I95599a894b91685ab1f274b1fa8d75efe6b96178
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
4 years agoMerge "[HICN-692] Fix deb package installation of packethicn"
Mauro Sardara [Tue, 6 Apr 2021 09:47:12 +0000 (09:47 +0000)]
Merge "[HICN-692] Fix deb package installation of packethicn"

4 years ago[HICN-692] Fix deb package installation of packethicn 02/31902/1
Marco Trinelli [Tue, 6 Apr 2021 09:11:02 +0000 (11:11 +0200)]
[HICN-692] Fix deb package installation of packethicn

Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: I3c916807904d78c17a3444808f904b9c0cf0a4f5

4 years agoMerge "[HICN-694] Do not use prefix received by server when autoconfiguring http...
Jacques SAMAIN [Thu, 1 Apr 2021 17:07:52 +0000 (17:07 +0000)]
Merge "[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy"

4 years ago[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy 66/31866/1
Mauro Sardara [Thu, 1 Apr 2021 16:58:59 +0000 (18:58 +0200)]
[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ibe623ddffbde7679d41946c18e3381854db0b779

4 years agoMerge "[HICN-688] Include packethicn in hicn build"
Luca Muscariello [Thu, 25 Mar 2021 21:28:23 +0000 (21:28 +0000)]
Merge "[HICN-688] Include packethicn in hicn build"

4 years ago[HICN-688] Include packethicn in hicn build 11/31711/12
Marco Trinelli [Tue, 23 Mar 2021 14:55:01 +0000 (15:55 +0100)]
[HICN-688] Include packethicn in hicn build

Add license headers
Add dependencies
Fix build for Ubuntu 18.04
Move doc

Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: Ie92268d2d3a47c47746107ac6f9c34b21949671c

4 years agoHICN-686 Wrong type definition for HICN_TYPE_IPV4_TCP_AH and HICN_TYPE_IPV4_ICMP_AH 11/31311/1
Mauro Sardara [Tue, 16 Feb 2021 15:51:44 +0000 (15:51 +0000)]
HICN-686 Wrong type definition for HICN_TYPE_IPV4_TCP_AH and HICN_TYPE_IPV4_ICMP_AH

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3a9f3a26bafd0d3711090dc151f587148851f5b6

4 years ago[HICN-683] Add clang format for hicn-plugin. 35/31235/6
Mauro [Thu, 11 Feb 2021 11:03:12 +0000 (11:03 +0000)]
[HICN-683] Add clang format for hicn-plugin.

As vpp has moved away from the dear old indent, also
the hicn plugin should do the same and use clang-format.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iee896f3ce01cef53b1acfccbebeef66ca77add7d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoHICN-685 Fix package script for centos8 34/31234/2
Mauro Sardara [Thu, 11 Feb 2021 11:10:01 +0000 (12:10 +0100)]
HICN-685 Fix package script for centos8

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4a683dc37e6669d51e001604c41221efb26fb0de

4 years agoHICN-685 Fix package script for centos8 33/31233/2
Mauro Sardara [Thu, 11 Feb 2021 11:04:44 +0000 (12:04 +0100)]
HICN-685 Fix package script for centos8

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9973034088879b23cc0de6116d65c3a70272a706

4 years agoHICN-685 Fix package script for centos8 31/31231/2
Mauro Sardara [Thu, 11 Feb 2021 10:18:58 +0000 (11:18 +0100)]
HICN-685 Fix package script for centos8

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I84c0461d5a7869b38a676f3a02a53080e32d271c

4 years ago[HICN-682] Fix hicn-plugin to be compatible with version 21.01 16/31216/10
Mauro Sardara [Wed, 10 Feb 2021 15:34:47 +0000 (16:34 +0100)]
[HICN-682] Fix hicn-plugin to be compatible with version 21.01

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ia116ad74ce78e2ca2d7ee624eea75a38936d27f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet... v21.01-rc0
Mauro Sardara [Wed, 10 Feb 2021 14:26:52 +0000 (14:26 +0000)]
Merge "[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from network layer"

4 years ago[HICN-681] Remove compilation warning in ubuntu 20.04 jobs. 14/31114/6
Mauro Sardara [Thu, 4 Feb 2021 12:37:30 +0000 (13:37 +0100)]
[HICN-681] Remove compilation warning in ubuntu 20.04 jobs.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Id9666941d2a84d5deb75716a410abe9305923531
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from netwo... 12/31112/5
Mauro Sardara [Thu, 4 Feb 2021 11:20:30 +0000 (12:20 +0100)]
[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from network layer

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I082e3c1b5fc9f535089114cfe14940f094947b66
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-677] Add link flag to workaround undefined symbols referenced in vpp...
Michele Papalini [Wed, 27 Jan 2021 16:09:08 +0000 (16:09 +0000)]
Merge "[HICN-677] Add link flag to workaround undefined symbols referenced in vpp libraries."

4 years ago[HICN-677] Add link flag to workaround undefined symbols referenced in vpp libraries. 52/30952/1
Mauro Sardara [Wed, 27 Jan 2021 15:34:28 +0000 (16:34 +0100)]
[HICN-677] Add link flag to workaround undefined symbols referenced in vpp libraries.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9d628826374a38aaab749270dac1ca88fc9ebb35

4 years agoMerge "[HICN-668] Fix leaks + double free"
Jacques SAMAIN [Wed, 27 Jan 2021 14:12:07 +0000 (14:12 +0000)]
Merge "[HICN-668] Fix leaks + double free"

4 years ago[HICN-668] Fix leaks + double free 59/30859/2
Jordan Augé [Wed, 20 Jan 2021 15:32:34 +0000 (16:32 +0100)]
[HICN-668] Fix leaks + double free

Change-Id: I88795e5dc2a55df7ffee5cf66a9bd4fa5652e353
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-677] Fix compilation error for tests in ubuntu bionic. 39/30939/1
Mauro Sardara [Tue, 26 Jan 2021 18:01:02 +0000 (19:01 +0100)]
[HICN-677] Fix compilation error for tests in ubuntu bionic.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5ee18d4039a40bf47e889b90748bdbd94987a5ed

4 years ago[HICN-677] Add support for unit testing across all subprojects 38/30938/5
Mauro Sardara [Tue, 26 Jan 2021 16:00:34 +0000 (17:00 +0100)]
[HICN-677] Add support for unit testing across all subprojects

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I7fa6442f53860fe8dcda3c17b63cfca15aa26c63
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-676] Memory leak fix in Verifier 81/30881/1
Jacques Samain [Fri, 22 Jan 2021 09:44:31 +0000 (10:44 +0100)]
[HICN-676] Memory leak fix in Verifier

Signed-off-by: Jacques Samain <jsamain@cisco.com>
Change-Id: If4f45a48734ac8220701899ef179ec5498b0c49d

4 years ago[HICN-668] Fix leaks + double free 56/30856/1
Jordan Augé [Wed, 20 Jan 2021 10:29:17 +0000 (11:29 +0100)]
[HICN-668] Fix leaks + double free

Change-Id: I976659b160654b511f712e65c8439b91d1cabd55
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-668] Fix leaks + double free 52/30852/1
Jacques Samain [Wed, 20 Jan 2021 08:32:11 +0000 (09:32 +0100)]
[HICN-668] Fix leaks + double free

Signed-off-by: Jacques Samain <jsamain@cisco.com>
Change-Id: Ic52adacaeee737120f08e4fece93eff44fa29f87

4 years agoMerge "[HICN-668] Fix various leaks across codebase"
Mauro Sardara [Tue, 19 Jan 2021 17:25:49 +0000 (17:25 +0000)]
Merge "[HICN-668] Fix various leaks across codebase"

4 years ago[HICN-668] Fix various leaks across codebase 39/30839/1
Jordan Augé [Tue, 19 Jan 2021 16:32:41 +0000 (17:32 +0100)]
[HICN-668] Fix various leaks across codebase

Change-Id: I0d2e9846ebb9f784220de78d6103295c19d73409
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years agoMerge "[HICN-653] Add hicn repo to build script"
Mauro Sardara [Tue, 19 Jan 2021 13:12:25 +0000 (13:12 +0000)]
Merge "[HICN-653] Add hicn repo to build script"

4 years ago[HICN-657] Remove common.h dependency in collectd plugins 93/29993/6
Olivier Roques [Thu, 19 Nov 2020 09:36:59 +0000 (09:36 +0000)]
[HICN-657] Remove common.h dependency in collectd plugins

In Ubuntu 20.04, the file common.h is not shipped with collectd
packages anymore. This patch removes that dependency from the collectd
plugins.

Change-Id: I234389ee9cbfd1f1820efdb34d532a7b11618206
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
4 years ago[HICN-675] Handle invalid face polled from hicn-light in facemgr 11/30811/1
Jordan Augé [Tue, 19 Jan 2021 08:40:15 +0000 (09:40 +0100)]
[HICN-675] Handle invalid face polled from hicn-light in facemgr

Change-Id: Icf2868033d98f6bbd091418c3632dab733621894
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-674] change android class in facemgr 93/30793/2
Angelo Mantellini [Sat, 16 Jan 2021 13:20:24 +0000 (14:20 +0100)]
[HICN-674] change android class in facemgr

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I585b4e03e7e01513b553c685e9845943ff02508a

4 years ago[HICN-667] http proxy does not compile on android with ndk 22 24/30724/1
Angelo Mantellini [Wed, 13 Jan 2021 11:25:16 +0000 (12:25 +0100)]
[HICN-667] http proxy does not compile on android with ndk 22

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ib372cdda8096083412f202377ac0310f497a950b

4 years ago[HICN-672] comment by default the use the priority controller in android 80/30680/1
Angelo Mantellini [Mon, 11 Jan 2021 09:04:49 +0000 (10:04 +0100)]
[HICN-672] comment by default the use the priority controller in android

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I83832c6dff83a543dc5c92429a4b261a390c54b1

4 years ago[HICN-670] -Wno-c99-designator does not existing in order clang versions 67/30667/1
Jordan Augé [Fri, 8 Jan 2021 09:55:23 +0000 (10:55 +0100)]
[HICN-670] -Wno-c99-designator does not existing in order clang versions

Change-Id: Ia56f828fe086be6b01e5366f601fcd0a3066ff2f
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years agoMerge "[HICN-669] policy_t yet used in mac os 11"
Angelo Mantellini [Fri, 8 Jan 2021 08:44:35 +0000 (08:44 +0000)]
Merge "[HICN-669] policy_t yet used in mac os 11"

4 years ago[HICN-669] policy_t yet used in mac os 11 65/30665/1
Angelo Mantellini [Fri, 8 Jan 2021 08:31:56 +0000 (09:31 +0100)]
[HICN-669] policy_t yet used in mac os 11

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I8d5d5c37eaab3f84a920f1753591fa4ab09f4799

4 years ago[HICN-668] Fix various leaks across codebase 58/30658/1
Jordan Augé [Thu, 7 Jan 2021 15:34:25 +0000 (16:34 +0100)]
[HICN-668] Fix various leaks across codebase

Change-Id: If08eeebd4ab033e33e15809ad3b1a5cb74e83d90
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-668] Fix various leaks across codebase 13/30613/1
Jordan Augé [Tue, 5 Jan 2021 17:05:48 +0000 (18:05 +0100)]
[HICN-668] Fix various leaks across codebase

Change-Id: I114e4e5d3e5bf4feb3d367b3f442c165ee193755
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-667] http proxy does not compile on android with ndk 22 26/30526/1
Angelo Mantellini [Mon, 21 Dec 2020 23:13:33 +0000 (00:13 +0100)]
[HICN-667] http proxy does not compile on android with ndk 22

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ib3f3bd89678f1b29eb25bf502a1e8bd5285d7d84

4 years agoMerge "[HICN-666] Fix libhicnctrl-memif dependencies."
Mauro Sardara [Thu, 17 Dec 2020 19:50:55 +0000 (19:50 +0000)]
Merge "[HICN-666] Fix libhicnctrl-memif dependencies."

4 years ago[HICN-666] Fix libhicnctrl-memif dependencies. 69/30469/1
Mauro Sardara [Thu, 17 Dec 2020 19:48:54 +0000 (20:48 +0100)]
[HICN-666] Fix libhicnctrl-memif dependencies.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3a26082859fcfada51d59511b7eda4f03313a68b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-666] Fix libhicntransport-memif dependencies."
Mauro Sardara [Thu, 17 Dec 2020 19:06:33 +0000 (19:06 +0000)]
Merge "[HICN-666] Fix libhicntransport-memif dependencies."

4 years ago[HICN-666] Fix libhicntransport-memif dependencies. 68/30468/3
Mauro Sardara [Thu, 17 Dec 2020 18:47:03 +0000 (19:47 +0100)]
[HICN-666] Fix libhicntransport-memif dependencies.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5315d3e4d591c35c57b3a11cd49e676c3391056c
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-665] Convert headers to lower-case before storing them."
Luca Muscariello [Mon, 14 Dec 2020 19:17:06 +0000 (19:17 +0000)]
Merge "[HICN-665] Convert headers to lower-case before storing them."

4 years ago[HICN-665] Convert headers to lower-case before storing them. 10/30410/1
Mauro Sardara [Mon, 14 Dec 2020 15:56:55 +0000 (16:56 +0100)]
[HICN-665] Convert headers to lower-case before storing them.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4bbd5c4adc56330eb3f5543c2b542d60e3135d1a

4 years ago[HICN-660] Add priority priority control example based on RSSI 07/30407/1
Jordan Augé [Mon, 14 Dec 2020 12:40:55 +0000 (13:40 +0100)]
[HICN-660] Add priority priority control example based on RSSI

Change-Id: I745ad264b00e7fd3f7d09a9653779911f07becab
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-658] Increase memif ring size. 68/30368/2
Mauro Sardara [Thu, 10 Dec 2020 09:01:19 +0000 (10:01 +0100)]
[HICN-658] Increase memif ring size.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I6d461bdaef608f77590f1809a97f4ce49ecef2ef

4 years ago[HICN-658] Return error if buffer allocation fails in memif connector. 66/30366/2
Mauro Sardara [Thu, 10 Dec 2020 07:40:15 +0000 (08:40 +0100)]
[HICN-658] Return error if buffer allocation fails in memif connector.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ie2cf44229bda3d9bf72a67df45e919067c206a7e

4 years ago[HICN-658] Return error if buffer allocation fails in memif connector. 64/30364/2
Mauro Sardara [Thu, 10 Dec 2020 00:15:59 +0000 (01:15 +0100)]
[HICN-658] Return error if buffer allocation fails in memif connector.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5b0d40a8f5f713109f492609bf1c9dcede189b68

4 years ago[HICN-660] Add priority priority control example based on RSSI 22/30322/2
Jordan Augé [Mon, 7 Dec 2020 10:21:24 +0000 (11:21 +0100)]
[HICN-660] Add priority priority control example based on RSSI

Change-Id: Idc940d600e436f39fe78cd44bc29bd696c7dc9d6
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
4 years ago[HICN-659] Fix udp-encap inconsistencies 98/30098/1
Mauro Sardara [Mon, 23 Nov 2020 17:28:42 +0000 (18:28 +0100)]
[HICN-659] Fix udp-encap inconsistencies

Independently of the type of tunnel, encapsulated packet
can be either v6 or v4, so we need to create 2 faces for each
version of the tunnel. Currently we are wrongly associating v4
tunnels with v4 packets and v6 tunnel with v6 packets.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I81e6e4b8b71ae7949d27065cc61b1b5b23db6a8d

4 years ago[HICN-658] Fix vapi_connect_safe. 76/30076/1
Mauro Sardara [Fri, 20 Nov 2020 21:47:23 +0000 (21:47 +0000)]
[HICN-658] Fix vapi_connect_safe.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Icd8d0f0da817e617a2a8b85788d6a648083f35af

4 years ago[HICN-658] Improve memif connector. 55/30055/3
Mauro Sardara [Fri, 20 Nov 2020 20:21:06 +0000 (20:21 +0000)]
[HICN-658] Improve memif connector.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ie3b48148dcb3f782a1ca906a5ba59d605f17f93e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-653] Add hicn repo to build script 49/29949/3
Mauro Sardara [Mon, 16 Nov 2020 10:34:04 +0000 (11:34 +0100)]
[HICN-653] Add hicn repo to build script

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3133931e1531af34756d009aef509976f3f7b29b

4 years agoMerge "[HICN-655] Fix SYSREPO_PLUGIN_INCLUDE_DIRS"
Luca Muscariello [Wed, 11 Nov 2020 13:12:10 +0000 (13:12 +0000)]
Merge "[HICN-655] Fix SYSREPO_PLUGIN_INCLUDE_DIRS"

4 years ago[HICN-653] Fix libmemif-{dev,devel} dependencies 80/29880/3
Mauro Sardara [Wed, 11 Nov 2020 11:51:51 +0000 (12:51 +0100)]
[HICN-653] Fix libmemif-{dev,devel} dependencies

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I10e901cce08d4188f62261553012295407a0f0cf

4 years ago[HICN-655] Fix SYSREPO_PLUGIN_INCLUDE_DIRS 75/29875/1
Mauro Sardara [Wed, 11 Nov 2020 10:37:01 +0000 (11:37 +0100)]
[HICN-655] Fix SYSREPO_PLUGIN_INCLUDE_DIRS

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I034899728aa19f42c027fba2057e4e9397a1485c

4 years ago[HICN-651] Offload checksum computation also for data packets. 65/29865/4
Mauro Sardara [Tue, 10 Nov 2020 14:50:26 +0000 (14:50 +0000)]
[HICN-651] Offload checksum computation also for data packets.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3663ac73cdbaad3e53d4b1973a7bcbb333b3910c

4 years ago[HICN-651] Offload checksum computation to VPP. 34/29834/6
Mauro Sardara [Mon, 9 Nov 2020 18:56:31 +0000 (19:56 +0100)]
[HICN-651] Offload checksum computation to VPP.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I42d69455542f3def0076fe58020f8f10347ef83f

4 years ago[HICN-654] Fix versioning. 06/29806/9
Mauro Sardara [Fri, 6 Nov 2020 19:19:46 +0000 (20:19 +0100)]
[HICN-654] Fix versioning.

- 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

4 years ago[HICN-653] Cleanup build scripts. 98/29798/9
Mauro Sardara [Fri, 6 Nov 2020 11:42:46 +0000 (12:42 +0100)]
[HICN-653] Cleanup build scripts.

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>
4 years ago[HICN-646] upgrade libmemif to version 20.09 93/29793/1
Mauro Sardara [Fri, 6 Nov 2020 08:24:01 +0000 (09:24 +0100)]
[HICN-646] upgrade libmemif to version 20.09

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib4c6872b748f120a50395f45073cf8f46ff4ec82

4 years ago[HICN-562] Ignore ghost interfaces in VPP ollectd plugin 30/29730/1
Olivier Roques [Tue, 3 Nov 2020 10:43:15 +0000 (10:43 +0000)]
[HICN-562] Ignore ghost interfaces in VPP ollectd plugin

Sometimes there are interfaces listed by VPP statistics API that cannot
be read from. This results in segfaults. This patch makes the VPP
collectd plugin ignore them.

Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: I3b626b5bf553dc045c9fe46828889c47ea122020

4 years ago[HICN-650] Fix an issue with VPP collectd plugin 11/29711/1
Olivier Roques [Mon, 2 Nov 2020 08:46:23 +0000 (08:46 +0000)]
[HICN-650] Fix an issue with VPP collectd plugin

We need to init a heap size before being able to retrieve statistics
from VPP. This patch also removes an unused stats pattern.

Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: Ibf9abb3adfd5eeef8a58c639fe3602cefb6f9ce0

4 years agoMerge "[HICN-649] Fix build script."
Mauro Sardara [Tue, 20 Oct 2020 09:58:34 +0000 (09:58 +0000)]
Merge "[HICN-649] Fix build script."

4 years agoMerge "[HICN-643] Fix check for release version."
Mauro Sardara [Tue, 20 Oct 2020 09:11:19 +0000 (09:11 +0000)]
Merge "[HICN-643] Fix check for release version."

4 years ago[HICN-649] Fix build script. 45/29545/1
Mauro Sardara [Tue, 20 Oct 2020 09:10:01 +0000 (11:10 +0200)]
[HICN-649] Fix build script.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Id1db8b5b2aba94f3a4a2ab14088a4ac8e6e25851

4 years agoMerge "[HICN-648] Optionally reset RAAQM window in a per-session basis"
Michele Papalini [Tue, 20 Oct 2020 09:05:56 +0000 (09:05 +0000)]
Merge "[HICN-648] Optionally reset RAAQM window in a per-session basis"

4 years ago[HICN-648] Optionally reset RAAQM window in a per-session basis 43/29543/2
Mauro Sardara [Tue, 20 Oct 2020 08:41:47 +0000 (10:41 +0200)]
[HICN-648] Optionally reset RAAQM window in a per-session basis

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I6b431db78de2427251d6050dfaff38a741efd9bd

4 years ago[HICN-647] Freezing CWND if the production rate of the producer is equal to 0 62/29462/1
Giulio Grassi [Thu, 15 Oct 2020 14:32:28 +0000 (16:32 +0200)]
[HICN-647] Freezing CWND if the production rate of the producer is equal to 0

Signed-off-by: Giulio Grassi <gigrassi@cisco.com>
Change-Id: Ie98870659463fae060ea135ea3a6ce40be905ad0

4 years ago[HICN-643] Fix check for release version. 88/29188/1
Mauro Sardara [Sat, 3 Oct 2020 16:08:54 +0000 (18:08 +0200)]
[HICN-643] Fix check for release version.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662
(cherry picked from commit 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb)

4 years ago[HICN-643] Fix check for release version. 25/29225/1
Mauro Sardara [Sat, 3 Oct 2020 16:08:54 +0000 (18:08 +0200)]
[HICN-643] Fix check for release version.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662

4 years ago[HICN-643] Fix scripts for publishing release. 23/29223/2 v20.09-rc0
Mauro Sardara [Sat, 3 Oct 2020 13:10:58 +0000 (15:10 +0200)]
[HICN-643] Fix scripts for publishing release.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I843e1111a6b3442bada9e4b29c74359a75b4b728
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-643] Fix scripts for publishing release. 16/29216/1
Mauro Sardara [Fri, 2 Oct 2020 12:18:28 +0000 (14:18 +0200)]
[HICN-643] Fix scripts for publishing release.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96

4 years ago[HICN-640] Put all interfaces in VRF 10, not only MPLS interfaces. 95/28995/1
Mauro Sardara [Tue, 22 Sep 2020 14:37:34 +0000 (14:37 +0000)]
[HICN-640] Put all interfaces in VRF 10, not only MPLS interfaces.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2c7ff24ee4d31e4f5659ef88f8a6c4a9d9c630b1

4 years agoRevert to [HICN-638] Check if systemd is running before enabling hicn-light service 52/28952/1
Mauro Sardara [Fri, 18 Sep 2020 15:39:03 +0000 (17:39 +0200)]
Revert to [HICN-638] Check if systemd is running before enabling hicn-light service

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d

4 years agoRevert "[HICN-574] Fix compilation issue." 24/28924/1
Mauro Sardara [Fri, 18 Sep 2020 15:30:19 +0000 (15:30 +0000)]
Revert "[HICN-574] Fix compilation issue."

This reverts commit 5cf2d8077c19387a2d257f0f7804209c7dd7cbb7.

Reason for revert: Merged into wrong branch

Change-Id: I41b9d9fccc29b388ffd2f5408dbe8ecb708443f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-574] Fix compilation issue. 47/28947/1
Mauro Sardara [Fri, 18 Sep 2020 14:35:36 +0000 (14:35 +0000)]
[HICN-574] Fix compilation issue.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5fa166fe9de506e3a600d88f3db442f07e7fe688
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-574] Host stack plugin for VPP. 19/26119/35
Mauro Sardara [Tue, 24 Mar 2020 17:34:14 +0000 (17:34 +0000)]
[HICN-574] Host stack plugin for VPP.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I8d8fdffef31a7013265d6529c5f52f3d5ec70d18
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro <you@example.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-635] Expose protocol API in libtransport. 76/28676/4
Mauro Sardara [Fri, 4 Sep 2020 08:21:02 +0000 (08:21 +0000)]
[HICN-635] Expose protocol API in libtransport.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I626acb5f79a85b167d50da5c07fa597a9ff4d239

4 years ago[HICN-598] [HICN-599] Fix hicn_name_t definition conflicts. 00/26600/12
Mauro Sardara [Mon, 20 Apr 2020 10:55:28 +0000 (12:55 +0200)]
[HICN-598] [HICN-599] Fix hicn_name_t definition conflicts.

Change-Id: Ica8db44e27c3a4911ea869e91f96b781809373d8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-638] Check if systemd is running before enabling hicn-light service. 83/28783/1
Mauro Sardara [Fri, 11 Sep 2020 09:50:43 +0000 (11:50 +0200)]
[HICN-638] Check if systemd is running before enabling hicn-light service.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3864fdab16b20f1cd03d421a356d8bb9227bdf6f

4 years ago[HICN-637] Remove hicn_plugin dependency from libtransport. 09/28709/2
Mauro Sardara [Tue, 8 Sep 2020 12:27:37 +0000 (14:27 +0200)]
[HICN-637] Remove hicn_plugin dependency from libtransport.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iabfe133ffc2235fa2341538767ce83c2e5ad77b1
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-633] compute the correct data packet size in hiperf 68/27968/1
michele papalini [Fri, 17 Jul 2020 16:24:44 +0000 (18:24 +0200)]
[HICN-633] compute the correct data packet size in hiperf

Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: If3492136cfc41da94d4d80538694eae4428c6f8c

4 years ago[HICN-632] Do not send packets larger more than 1400 bytes over RTC socket 42/27942/3
Mauro Sardara [Thu, 16 Jul 2020 09:45:00 +0000 (11:45 +0200)]
[HICN-632] Do not send packets larger more than 1400 bytes over RTC socket

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib0a3fbdd35d451c1892b66b22f1599141b92e213
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-630] Modify hicn-proxy file names to respect codestyle for filenames 41/27641/1
Mauro Sardara [Mon, 22 Jun 2020 14:26:58 +0000 (16:26 +0200)]
[HICN-630] Modify hicn-proxy file names to respect codestyle for filenames

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I49d62aee60f107a4e9722ac3b671d06bdee2b349

4 years ago[HICN-629] Add multithreading feature to hicn-http-proxy with SO_REUSEPORT socket... 39/27539/1
Mauro Sardara [Mon, 15 Jun 2020 15:35:46 +0000 (17:35 +0200)]
[HICN-629] Add multithreading feature to hicn-http-proxy with SO_REUSEPORT socket option.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I8930178ba09ca23bd593f2a4008cf0d75f502684

4 years ago[HIC-628] Update hicn-http-proxy usage output. 33/27533/1
Mauro Sardara [Mon, 15 Jun 2020 10:50:44 +0000 (12:50 +0200)]
[HIC-628] Update hicn-http-proxy usage output.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4981f866aae09952f9799bc0e85543dacdda1e6b

4 years agoMerge "[HICN-626] Return output from libhicnlight"
Angelo Mantellini [Mon, 15 Jun 2020 10:02:57 +0000 (10:02 +0000)]
Merge "[HICN-626] Return output from libhicnlight"

4 years ago[HICN-626] Return output from libhicnlight 71/27471/17
Angelo Mantellini [Tue, 9 Jun 2020 12:48:02 +0000 (14:48 +0200)]
[HICN-626] Return output from libhicnlight

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I2351ce4dcefa1311fa09049f87e8317c8fe449f4

4 years ago[HICN-627] CMake fix: consider local header files first and system ones after. 80/27480/3
Mauro Sardara [Wed, 10 Jun 2020 08:44:43 +0000 (10:44 +0200)]
[HICN-627] CMake fix: consider local header files first and system ones after.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I361c8e4f995dad976cc717c5027bcacdb2ba65f5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-624] http proxy proxy does not stop"
Angelo Mantellini [Tue, 9 Jun 2020 12:50:19 +0000 (12:50 +0000)]
Merge "[HICN-624] http proxy proxy does not stop"

4 years ago[HICN-623] Initialize is_async in ConsumerSocket constructor. 68/27468/3
Mauro Sardara [Mon, 8 Jun 2020 22:03:15 +0000 (00:03 +0200)]
[HICN-623] Initialize is_async in ConsumerSocket constructor.

Also force transports to use base method TransportProtocol::start() instead
of redefining their own start(), in order to have the callbacks and the
boolean is_async_ initialized upon protocol start.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I780b26cca5b8dc59f0def5c08a032bbc90371acd
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-625] Http Proxy: listen only on local connections 47/27447/1
Mauro Sardara [Fri, 5 Jun 2020 09:38:43 +0000 (11:38 +0200)]
[HICN-625] Http Proxy: listen only on local connections

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ida53353285633787ce96ad8d37507f15e99280b3

4 years ago[HICN-624] http proxy proxy does not stop 21/27421/1
Angelo Mantellini [Thu, 4 Jun 2020 11:15:16 +0000 (13:15 +0200)]
[HICN-624] http proxy proxy does not stop

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I810a983190ca273acc4be9bc2c1895b53b9c524d

4 years ago[HICN-623] Initialize all the callbacks before starting a new RTC session. 15/27415/1
Mauro Sardara [Wed, 3 Jun 2020 21:51:52 +0000 (23:51 +0200)]
[HICN-623] Initialize all the callbacks before starting a new RTC session.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ic4b08e7eb0f01c9e5710d4da1ca68c6120dcd57e