hicn.git
5 years ago[HICN-405] Added application face delete 80/23580/6
Alberto Compagno [Thu, 21 Nov 2019 11:59:54 +0000 (11:59 +0000)]
[HICN-405] Added application face delete

Added two new messages in the binary api:
- hicn_api_face_cons_del to delete a consumer face
- hicn_api_face_prod_del to delete a producer face

Added the corresponding commands in the vpp_api_test for debugging and testing

Reworked the cache policy structure to add a new function that flash the content store
from the content coming from the destroyed producer face. This is required since the CS
while each producer face has its own lru list. Removing only the producer face without
flushing the CS from the content coming from the producer face will lead to a segfault
in case there is a hit in the CS as the lru no longer exists and it won't be possible
to update the head of the lru.

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I8776c86952d50900aa504dd22aec521ed25c1dae

5 years ago[HICN-379] Add face priority support in face manager 73/23573/3
Jordan Augé [Wed, 20 Nov 2019 23:38:09 +0000 (00:38 +0100)]
[HICN-379] Add face priority support in face manager

Change-Id: Iae19e016aae833b4bc95ff6d91d51b188f398e25
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-404] double-free in facemgr (facemgr_list_facelets_json) + valgrind fixes 69/23569/1
Jordan Augé [Wed, 20 Nov 2019 17:06:01 +0000 (18:06 +0100)]
[HICN-404] double-free in facemgr (facemgr_list_facelets_json) + valgrind fixes

Change-Id: Id57873d3f4152af654f3bc27778d7015495597d7
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-400] fix NULL content name in PIT entry (temporary workaround)"
Jordan Augé [Tue, 19 Nov 2019 22:47:37 +0000 (22:47 +0000)]
Merge "[HICN-400] fix NULL content name in PIT entry (temporary workaround)"

5 years ago[HICN-400] fix NULL content name in PIT entry (temporary workaround) 45/23545/1
Jordan Augé [Tue, 19 Nov 2019 16:49:30 +0000 (17:49 +0100)]
[HICN-400] fix NULL content name in PIT entry (temporary workaround)

Change-Id: I6a1d93a4e6beb78741d8243fc78d6ecff77b9034
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-399] facemgr crashes after wifi disabled 44/23544/1
Jordan Augé [Tue, 19 Nov 2019 16:44:06 +0000 (17:44 +0100)]
[HICN-399] facemgr crashes after wifi disabled

Change-Id: I8d504b1e83f79d028f2e7bbfacda2824076aa72f
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-397] Added punting add message for punting on udp ports"
Alberto Compagno [Tue, 19 Nov 2019 08:16:29 +0000 (08:16 +0000)]
Merge "[HICN-397] Added punting add message for punting on udp ports"

5 years agoMerge "[HICN-391] Supporting midchain as adjacencies for an ip face"
Alberto Compagno [Mon, 18 Nov 2019 13:54:58 +0000 (13:54 +0000)]
Merge "[HICN-391] Supporting midchain as adjacencies for an ip face"

5 years ago[HICN-397] Added punting add message for punting on udp ports 19/23519/1
Alberto Compagno [Mon, 18 Nov 2019 13:52:25 +0000 (14:52 +0100)]
[HICN-397] Added punting add message for punting on udp ports

Change-Id: Ieb5faf5d01e460179028eaba92170ee95cf35edf
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-225] Added generic binary api for handling faces"
Mauro Sardara [Mon, 18 Nov 2019 10:51:08 +0000 (10:51 +0000)]
Merge "[HICN-225] Added generic binary api for handling faces"

5 years ago[HICN-391] Supporting midchain as adjacencies for an ip face 99/23499/1
Alberto Compagno [Mon, 18 Nov 2019 10:27:06 +0000 (11:27 +0100)]
[HICN-391] Supporting midchain as adjacencies for an ip face

Michain support is important to get a netx hop in a face
whose locator is resolved in the fib through a via.

Change-Id: Id0ff1522cedd5a093f242499e310a24625a3852a
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-225] Added generic binary api for handling faces 86/23486/4
Alberto Compagno [Sun, 17 Nov 2019 11:50:48 +0000 (12:50 +0100)]
[HICN-225] Added generic binary api for handling faces

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>
5 years ago[HICN-379] Add face priority support in face manager 97/23497/1
Jordan Augé [Mon, 18 Nov 2019 09:33:07 +0000 (10:33 +0100)]
[HICN-379] Add face priority support in face manager

Change-Id: I1055e49c93e81105996a77c088fafd4b55fdc337
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-379] Add face priority support in face manager 84/23484/3
Jordan Augé [Sat, 16 Nov 2019 23:07:12 +0000 (00:07 +0100)]
[HICN-379] Add face priority support in face manager

Change-Id: If4f75d44fc66414a4a70135de7827f5082b97112
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-395] Static face/route maintainance though face manager"
Jordan Augé [Sun, 17 Nov 2019 09:53:22 +0000 (09:53 +0000)]
Merge "[HICN-395] Static face/route maintainance though face manager"

5 years ago[HICN-378] Add a maximum number of reattempts in face manager before entering face... 68/23368/3
Jordan Augé [Tue, 5 Nov 2019 11:56:37 +0000 (12:56 +0100)]
[HICN-378] Add a maximum number of reattempts in face manager before entering face ignore mode

Change-Id: Id6f8cc958d3c50027475d72d80eed6b65ac0996b
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-395] Static face/route maintainance though face manager 77/23477/2
Jordan Augé [Mon, 11 Nov 2019 23:15:11 +0000 (00:15 +0100)]
[HICN-395] Static face/route maintainance though face manager

Change-Id: I8f2287a262412bacc50f3c89756ec9fd6ce30d33
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-396] Incorrect error handling order in facemgr during interface creation causes... 85/23485/1
Jordan Augé [Sat, 16 Nov 2019 23:28:04 +0000 (00:28 +0100)]
[HICN-396] Incorrect error handling order in facemgr during interface creation causes double free

Change-Id: I63f3ac8815611fe83e75edd283eabf4d721bdbac
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-386] Improve API error management in libhicnctrl 76/23476/1
Jordan Augé [Fri, 15 Nov 2019 16:06:50 +0000 (17:06 +0100)]
[HICN-386] Improve API error management in libhicnctrl

Change-Id: Ifab987a17255e20077242888b052e312f9e4c964
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-386] Improve API error management in libhicnctrl 73/23473/1
Jordan Augé [Fri, 15 Nov 2019 14:32:40 +0000 (15:32 +0100)]
[HICN-386] Improve API error management in libhicnctrl

Change-Id: I3f5e3840303265ccc3d4b864d026b63a2ccb7fdf
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-386] Improve API error management in libhicnctrl"
Jordan Augé [Fri, 15 Nov 2019 12:20:09 +0000 (12:20 +0000)]
Merge "[HICN-386] Improve API error management in libhicnctrl"

5 years ago[HICN-386] Improve API error management in libhicnctrl 69/23369/7
Jordan Augé [Mon, 11 Nov 2019 23:03:08 +0000 (00:03 +0100)]
[HICN-386] Improve API error management in libhicnctrl

Change-Id: I332e74ebcd89798c93de50ae7a20f7af8f59f54c
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-393] Fix various issues related to manifests 24/23424/1
Olivier Roques [Tue, 12 Nov 2019 09:51:34 +0000 (09:51 +0000)]
[HICN-393] Fix various issues related to manifests

The current manifest implementation is broken:

1. ManifestIndexingManager, responsible for validating manifests and
segments and retrieving the next ones, assumes that all manifests
have the same size. This assumption affects the retrieval of next
manifests which is based on the number of segments the current
manifest contains. Therefore when a non-full manifests arrives,
the computed suffix of the next manifest is wrong and refer to a
content instead, which results in an error.
2. Manifests are used to update a suffix queue which stores all
the segments listed in manifests. This queue is used to retrieve
content sequentially via a pointer indicating the next content to
fetch. When the pointer reaches the end of the suffix queue, the
consumer stops sending interests. The correct behavior would be to
wait for a new manifest which would update the queue.

This patch fixes these two issues:

1. Issue 1 was fixed by using SuffixManifest (HICN-392). This allows
to set the capacity of a manifest at the start of the consumption
instead of checking each time the size of the current manifest and
then using that (non-constant) value to retrieve the next manifests.
2. Issue 2 was fixed by passing to ManifestIndexingManager a reference
to an object capable of calling the scheduleNextInterest function,
which is then called after a new manifest is retrieved to make sure
interests for content kept being sent. This is not an optimal solution
but rather a temporary one, until the retrieval of manifests is done
at the transport level rather than in ManifestIndexingManager.

This patch also changes the order of production: manifests are now
sent before content. To do so, contents are added into a queue until
the manifest is complete.

Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: I1a1bb92ca1cf2d3c745c1b65f6c7376f916c679b

5 years agoMerge "[HICN-392] Assign independent suffixes for manifests/contents"
Alberto Compagno [Thu, 14 Nov 2019 09:30:23 +0000 (09:30 +0000)]
Merge "[HICN-392] Assign independent suffixes for manifests/contents"

5 years ago[HICN-375] Move cmake in ctrl/sysrepo-plugins to the main cmke in root 99/23399/3
mashemat [Wed, 13 Nov 2019 10:48:09 +0000 (11:48 +0100)]
[HICN-375] Move cmake in ctrl/sysrepo-plugins to the main cmke in root

Signed-off-by: mashemat <mhemmatp@cisco.com>
Change-Id: I6c2f65e61a2f13db8261a32482336b21f07d5e45

5 years ago[HICN-392] Assign independent suffixes for manifests/contents 13/23413/3
Olivier Roques [Thu, 7 Nov 2019 10:05:52 +0000 (10:05 +0000)]
[HICN-392] Assign independent suffixes for manifests/contents

This patch introduces a new class, SuffixStrategy and two sub-classes,
SuffixContent and SuffixManifest which allow to independently assign
suffixes to contents and manifests respectively. The produce() function
in socket_producer.cc has also been changed to use them.

Given a strategy and an offset (and optionally the capacity of a
manifest), these classes automatically compute the correct next
suffixes for both type of data (manifest or content). This removes
the burden of having to manage suffixes for instance when producing
or when retrieving content, and could be expanded to add more
strategy in the future.

Currently the only existing strategy is "INCREMENTAL": manifests
with capacity N have a suffix multiple of N+1: 0, N+1, 2(N+1) etc.
Contents have a suffix incremented by 1 except when it conflicts
with a manifest: 1, 2, ..., N, N+2, N+3, ..., 2N+1, 2N+3...

Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: Ia7692d7325240de7bea6e38b668077042e5f8758
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-376] Add manual connection/route setting to face manager"
Michele Papalini [Tue, 12 Nov 2019 13:19:55 +0000 (13:19 +0000)]
Merge "[HICN-376] Add manual connection/route setting to face manager"

5 years ago[HICN-389] facemgr calls unregister_all multiple times in case of error 79/23379/1
Jordan Augé [Tue, 12 Nov 2019 11:56:40 +0000 (12:56 +0100)]
[HICN-389] facemgr calls unregister_all multiple times in case of error

Change-Id: Iaac34a53ae95b511594a5dcd6b1e614eba9ff135
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-376] Add manual connection/route setting to face manager 55/23355/3
Jordan Augé [Tue, 5 Nov 2019 13:18:34 +0000 (14:18 +0100)]
[HICN-376] Add manual connection/route setting to face manager

Change-Id: I5c24f687e8e815d0e2f437ff8ce7fbb2c76e0579
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-383] Code cleanup"
Jordan Augé [Mon, 11 Nov 2019 17:49:13 +0000 (17:49 +0000)]
Merge "[HICN-383] Code cleanup"

5 years ago[HICN-385] fix route removal in hicnctrl, code uniformization in hicn-light control api 18/23318/3
Jordan Augé [Thu, 7 Nov 2019 15:42:01 +0000 (16:42 +0100)]
[HICN-385] fix route removal in hicnctrl, code uniformization in hicn-light control api

Change-Id: Id097368dcde993775f206623195cc5aa57b4fe12
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-383] Code cleanup 70/23270/1
Jordan Augé [Tue, 5 Nov 2019 16:25:37 +0000 (17:25 +0100)]
[HICN-383] Code cleanup

Change-Id: I41ca0f411053992625dec0b32ffe6a444c5bc51c
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-382] Misc compilation issues on MacOS (incl. Catalina specific code) 69/23269/2
Jordan Augé [Tue, 5 Nov 2019 15:55:27 +0000 (16:55 +0100)]
[HICN-382] Misc compilation issues on MacOS (incl. Catalina specific code)

Change-Id: I4cb2378b2e44afbaedb984409a221b2e3f0e99b4
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-372] Code clean up"
Jordan Augé [Tue, 5 Nov 2019 12:28:49 +0000 (12:28 +0000)]
Merge "[HICN-372] Code clean up"

5 years agoMerge "[HICN-380] add libhicnctrl example (create face)"
Michele Papalini [Tue, 5 Nov 2019 10:11:40 +0000 (10:11 +0000)]
Merge "[HICN-380] add libhicnctrl example (create face)"

5 years ago[HICN-380] add libhicnctrl example (create face) 40/23240/1
Jordan Augé [Tue, 5 Nov 2019 09:51:17 +0000 (10:51 +0100)]
[HICN-380] add libhicnctrl example (create face)

Change-Id: I230d4cc51710fa4ce7ce24c97cd72b1fc7d1f573
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapi 87/23087/26
Alberto Compagno [Thu, 22 Aug 2019 07:48:32 +0000 (09:48 +0200)]
[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapi

Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-357] sysrepo plugin update 56/23156/7
masoud [Thu, 31 Oct 2019 17:07:18 +0000 (18:07 +0100)]
[HICN-357] sysrepo plugin update

Signed-off-by: masoud <mhemmatp@cisco.com>
Change-Id: Idabe9d3a3b03139ad3cdb20c8c822e6dd7d4c553

5 years agoMerge "[HICN-356] Fix uninitialized pointer"
Alberto Compagno [Mon, 4 Nov 2019 08:04:36 +0000 (08:04 +0000)]
Merge "[HICN-356] Fix uninitialized pointer"

5 years ago[HICN-371] Fix invalid read reported by Valgrind when many timeouts happen. 51/23151/2
Mauro Sardara [Thu, 31 Oct 2019 16:26:54 +0000 (16:26 +0000)]
[HICN-371] Fix invalid read reported by Valgrind when many timeouts happen.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib31e731c02341234169bd5163eb86fe1da900e40
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-356] Fix uninitialized pointer 73/22973/2
Olivier Roques [Thu, 24 Oct 2019 17:18:48 +0000 (19:18 +0200)]
[HICN-356] Fix uninitialized pointer

The signature verification method verify() in verifier.cc would try
to initialize a pointer to the current packet's payload, which was
never set in the first place. This fix calls the packet's method
responsible for initializing that pointer.

Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: Ie5ab08036186ea4b766f6825c129ee68d01fc2b6

5 years ago[HICN-372] Code clean up 54/23154/1
Jordan Augé [Thu, 31 Oct 2019 16:02:17 +0000 (17:02 +0100)]
[HICN-372] Code clean up

Change-Id: Ic0ce2d01a05c2724eeaf91f76aafa2facedcbaf3
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-220] Build for arm64 Ubuntu18"
Mauro Sardara [Thu, 31 Oct 2019 16:04:11 +0000 (16:04 +0000)]
Merge "[HICN-220] Build for arm64 Ubuntu18"

5 years agoMerge "[HICN-371] Solve memory leaks in libtransport."
Jordan Augé [Thu, 31 Oct 2019 15:57:10 +0000 (15:57 +0000)]
Merge "[HICN-371] Solve memory leaks in libtransport."

5 years ago[HICN-220] Build for arm64 Ubuntu18 19/23119/2
Angelo Mantellini [Wed, 30 Oct 2019 20:26:20 +0000 (21:26 +0100)]
[HICN-220] Build for arm64 Ubuntu18

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I23dfdbfc79a8e0bf385ae8ab0d56b90fecaf8c53
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-354] Fixed bug on raaqm when reassemblying packets"
Michele Papalini [Thu, 31 Oct 2019 15:40:04 +0000 (15:40 +0000)]
Merge "[HICN-354] Fixed bug on raaqm when reassemblying packets"

5 years ago[HICN-371] Solve memory leaks in libtransport. 47/23147/3
Mauro Sardara [Thu, 31 Oct 2019 15:01:29 +0000 (15:01 +0000)]
[HICN-371] Solve memory leaks in libtransport.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I654843c3361c7bdb4b160f2441f08e8d91e97384
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-354] Fixed bug on raaqm when reassemblying packets 55/22955/3
Alberto Compagno [Wed, 23 Oct 2019 13:41:59 +0000 (15:41 +0200)]
[HICN-354] Fixed bug on raaqm when reassemblying packets

Moved rescheduleOnIOService in the header file to allow its usage together
with inheritance

Change-Id: I15e4b92535e1478d0dd09828d2d13e2b77e000b3
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-369] Implement reconciliation state machine in face manager incl. reatte...
Jordan Augé [Thu, 31 Oct 2019 14:14:37 +0000 (14:14 +0000)]
Merge "[HICN-369] Implement reconciliation state machine in face manager incl. reattempts in case of errors"

5 years ago[HICN-369] Implement reconciliation state machine in face manager incl. reattempts... 03/23103/6
Jordan Augé [Wed, 30 Oct 2019 16:56:08 +0000 (17:56 +0100)]
[HICN-369] Implement reconciliation state machine in face manager incl. reattempts in case of errors

Change-Id: Ia4ecf621fbd513d9e29313d2aaa487aa65811183
Signed-off-by: Jordan Augé <jordan.auge@cisco.com>
5 years ago[HICN-361] speed up the socket start up 41/23141/1
michele papalini [Thu, 31 Oct 2019 12:19:08 +0000 (13:19 +0100)]
[HICN-361] speed up the socket start up

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

5 years ago[HICN-318] schedule rounds using timers in rtc conusmer 39/23139/2
michele papalini [Wed, 30 Oct 2019 10:30:31 +0000 (11:30 +0100)]
[HICN-318] schedule rounds using timers in rtc conusmer

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

5 years ago[HICN-220] Build for arm64 Ubuntu18 18/23118/2
Angelo Mantellini [Wed, 30 Oct 2019 19:20:18 +0000 (20:20 +0100)]
[HICN-220] Build for arm64 Ubuntu18

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

5 years agoMerge "[HICN-363] Fix memory leaks"
Jordan Augé [Wed, 30 Oct 2019 16:43:33 +0000 (16:43 +0000)]
Merge "[HICN-363] Fix memory leaks"

5 years ago[HICN-363] Fix memory leaks 35/23035/2
Jordan Augé [Mon, 28 Oct 2019 14:44:42 +0000 (15:44 +0100)]
[HICN-363] Fix memory leaks

Change-Id: I7617becdb520f20caca341be11fbb8c1054de021
Signed-off-by: Jordan Augé <jordan.auge@cisco.com>
5 years ago[HICN-360] retransmit pending interests when all of them get lost without wainting... 84/22984/3
michele papalini [Fri, 25 Oct 2019 13:42:20 +0000 (15:42 +0200)]
[HICN-360] retransmit pending interests when all of them get lost without wainting for the timeout

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

5 years agoMerge "[HICN-366] Installing python3-ply"
Alberto Compagno [Wed, 30 Oct 2019 09:32:52 +0000 (09:32 +0000)]
Merge "[HICN-366] Installing python3-ply"

5 years ago[HICN-366] Installing python3-ply 85/23085/1
Alberto Compagno [Wed, 30 Oct 2019 08:13:21 +0000 (09:13 +0100)]
[HICN-366] Installing python3-ply

Adding missing python3-ply package on the build-package script

Change-Id: I3fa536483bb3e8f3a6bd81011515172b00cce4ff
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-358] Enable systemctl service after package installation."
Jordan Augé [Fri, 25 Oct 2019 12:46:38 +0000 (12:46 +0000)]
Merge "[HICN-358] Enable systemctl service after package installation."

5 years ago[HICN-358] Enable systemctl service after package installation. 77/22977/7
Mauro Sardara [Thu, 24 Oct 2019 18:59:30 +0000 (20:59 +0200)]
[HICN-358] Enable systemctl service after package installation.

Change-Id: I1c9a7099fbf59c09fb22475e9695373f316d0b6e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-355] Update Readme with missing dependency"
Alberto Compagno [Thu, 24 Oct 2019 12:18:38 +0000 (12:18 +0000)]
Merge "[HICN-355] Update Readme with missing dependency"

5 years ago[HICN-355] Update Readme with missing dependency 71/22971/1
Alberto Compagno [Thu, 24 Oct 2019 12:10:16 +0000 (14:10 +0200)]
[HICN-355] Update Readme with missing dependency

Change-Id: Ibb709d45f9572e5cde11f9a64f4a1b9212b6cc92
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing...
Jordan Augé [Wed, 23 Oct 2019 22:52:31 +0000 (22:52 +0000)]
Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI"

5 years ago[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands... 67/22967/1
Jordan Augé [Wed, 23 Oct 2019 22:51:37 +0000 (00:51 +0200)]
[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI

Change-Id: I999b8321715fca1d09f89eacf7fac4029e32cbba
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing...
Jordan Augé [Wed, 23 Oct 2019 22:47:10 +0000 (22:47 +0000)]
Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI"

5 years ago[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands... 66/22966/1
Jordan Augé [Wed, 23 Oct 2019 22:46:10 +0000 (00:46 +0200)]
[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI

Change-Id: I2a5d04d6fab06344e5b89ea52d76c7a3f016004c
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing...
Jordan Augé [Wed, 23 Oct 2019 22:41:44 +0000 (22:41 +0000)]
Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI"

5 years ago[HICN-352] facemgr event loop enhancement; timer support & async hicn-light interface 62/22962/7
Jordan Augé [Wed, 23 Oct 2019 15:55:00 +0000 (17:55 +0200)]
[HICN-352] facemgr event loop enhancement; timer support & async hicn-light interface

Change-Id: I920a0eb091d826e1eb0d1f786fb0b437487f7ff7
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands... 60/22960/2
Jordan Augé [Wed, 23 Oct 2019 15:18:44 +0000 (17:18 +0200)]
[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI

Change-Id: Ifc743b65493b87a5156bca7ad63f8cae516460d8
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-350] Minor cleanup in control API"
Mauro Sardara [Wed, 23 Oct 2019 15:23:09 +0000 (15:23 +0000)]
Merge "[HICN-350] Minor cleanup in control API"

5 years agoMerge "[HICN-349] Asynchronous API for libhicnctrl"
Mauro Sardara [Wed, 23 Oct 2019 15:00:03 +0000 (15:00 +0000)]
Merge "[HICN-349] Asynchronous API for libhicnctrl"

5 years ago[HICN-349] Asynchronous API for libhicnctrl 59/22959/1
Jordan Augé [Wed, 23 Oct 2019 14:52:58 +0000 (16:52 +0200)]
[HICN-349] Asynchronous API for libhicnctrl

Change-Id: I901ef6cd52d83537d70e3bb49af9e4540fd26c6f
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-350] Minor cleanup in control API 42/22942/2
Jordan Augé [Wed, 23 Oct 2019 07:58:42 +0000 (09:58 +0200)]
[HICN-350] Minor cleanup in control API

Change-Id: I5c3705aa439a1cf6bdca915f82c0c014771cc542
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-319] facemgr should allow face creation even though already in cache"
Mauro Sardara [Wed, 23 Oct 2019 13:44:28 +0000 (13:44 +0000)]
Merge "[HICN-319] facemgr should allow face creation even though already in cache"

5 years ago[HICN-349] Asynchronous API for libhicnctrl 44/22944/1
Jordan Augé [Wed, 23 Oct 2019 07:50:33 +0000 (09:50 +0200)]
[HICN-349] Asynchronous API for libhicnctrl

Change-Id: I00f68cab6d23fe95639684de69cc4a086db60c02
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-342] No need to take a lock on the hash entry if the lookup for 83/22883/6
Alberto Compagno [Mon, 21 Oct 2019 16:03:16 +0000 (18:03 +0200)]
[HICN-342] No need to take a lock on the hash entry if the lookup for
a data hit the CS. Data packets coming from the network are dropped,
data packets coming from an application face are either dropped or
sent to the push node (which does not require a lock on the hash
entry)

Change-Id: Icf662dffa33b9dda2e2a69fc2104a69a82ef19fd
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-347] memory leak in messageProcessor_Tick 33/22933/1
michele papalini [Tue, 22 Oct 2019 14:19:20 +0000 (16:19 +0200)]
[HICN-347] memory leak in messageProcessor_Tick

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

5 years agoMerge "[HICN-346] Add version of the transport library in the config.h header file."
Michele Papalini [Tue, 22 Oct 2019 11:02:00 +0000 (11:02 +0000)]
Merge "[HICN-346]  Add version of the transport library in the config.h header file."

5 years ago[HICN-346] Add version of the transport library in the config.h header file. 05/22905/1
Mauro Sardara [Tue, 22 Oct 2019 10:01:54 +0000 (12:01 +0200)]
[HICN-346]  Add version of the transport library in the config.h header file.

Change-Id: I1ce0b705db98f4042470a7b80b422720ba03c0f6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safe"
Michele Papalini [Tue, 22 Oct 2019 10:00:39 +0000 (10:00 +0000)]
Merge "[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safe"

5 years ago[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safe 40/22740/16
Alberto Compagno [Tue, 15 Oct 2019 16:08:41 +0000 (18:08 +0200)]
[HICN-328] Reworking setSocketOption and getSocketOption to be thread-safe

Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years agoMerge "[HICN-344] Memory management issues in symbolic table causes double free"
Michele Papalini [Tue, 22 Oct 2019 08:39:07 +0000 (08:39 +0000)]
Merge "[HICN-344] Memory management issues in symbolic table causes double free"

5 years ago[HICN-344] Memory management issues in symbolic table causes double free 02/22902/1
Jordan Augé [Tue, 22 Oct 2019 08:19:17 +0000 (10:19 +0200)]
[HICN-344] Memory management issues in symbolic table causes double free

Change-Id: Ia93f4068f4b4646e15397a8400bde3593e8de620
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years ago[HICN-343] fix hicn_name_create_from_ip_prefix function declaration 00/22900/1
michele papalini [Tue, 22 Oct 2019 08:10:34 +0000 (10:10 +0200)]
[HICN-343] fix hicn_name_create_from_ip_prefix function declaration

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

5 years ago[HICN-341] forwarder crashes when set an invalid forwarding strategy 79/22879/1
michele papalini [Mon, 21 Oct 2019 14:58:49 +0000 (16:58 +0200)]
[HICN-341] forwarder crashes when set an invalid forwarding strategy

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

5 years agoMerge "[HICN-320] HICN Light only configuring the first entry on FIB"
Michele Papalini [Mon, 21 Oct 2019 14:38:53 +0000 (14:38 +0000)]
Merge "[HICN-320] HICN Light only configuring the first entry on FIB"

5 years ago[HICN-320] HICN Light only configuring the first entry on FIB 72/22872/4
Jordan Augé [Mon, 21 Oct 2019 10:02:35 +0000 (12:02 +0200)]
[HICN-320] HICN Light only configuring the first entry on FIB

Change-Id: Ica111f54b23a9a56433e9b195a3fccd913952ad0
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
5 years agoMerge "[HICN-340] Install hicn-light service file."
Jordan Augé [Mon, 21 Oct 2019 13:51:35 +0000 (13:51 +0000)]
Merge "[HICN-340] Install hicn-light service file."

5 years ago[HICN-340] Install hicn-light service file. 56/22856/4
Mauro Sardara [Fri, 18 Oct 2019 16:56:42 +0000 (18:56 +0200)]
[HICN-340] Install hicn-light service file.

Change-Id: I102d16327d74f0c69e88003045de6450aae32923
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-339] improve rtc producer socket for low rate traffic 42/22842/1
michele papalini [Fri, 18 Oct 2019 14:04:21 +0000 (16:04 +0200)]
[HICN-339] improve rtc producer socket for low rate traffic

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

5 years agoMerge "[HICN-337] correlty set timers for rtx in rtc consumer"
Alberto Compagno [Fri, 18 Oct 2019 12:12:14 +0000 (12:12 +0000)]
Merge "[HICN-337] correlty set timers for rtx in rtc consumer"

5 years ago[HICN-337] correlty set timers for rtx in rtc consumer 33/22833/1
michele papalini [Fri, 18 Oct 2019 11:56:07 +0000 (13:56 +0200)]
[HICN-337] correlty set timers for rtx in rtc consumer

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

5 years ago[HICN-338] correctly compute the estimated production rate in rtc socket 32/22832/1
michele papalini [Fri, 18 Oct 2019 11:20:17 +0000 (13:20 +0200)]
[HICN-338] correctly compute the estimated production rate in rtc socket

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

5 years agoMerge "[HICN-335] fix max win computation in RTC consumer"
Mauro Sardara [Wed, 16 Oct 2019 16:21:00 +0000 (16:21 +0000)]
Merge "[HICN-335] fix max win computation in RTC consumer"

5 years agoMerge "[HICN-333] fix addRetransmissions in RTC consumer socket"
Alberto Compagno [Wed, 16 Oct 2019 15:50:37 +0000 (15:50 +0000)]
Merge "[HICN-333] fix addRetransmissions in RTC consumer socket"

5 years ago[HICN-335] fix max win computation in RTC consumer 79/22779/1
michele papalini [Wed, 16 Oct 2019 15:45:12 +0000 (17:45 +0200)]
[HICN-335] fix max win computation in RTC consumer

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

5 years agoMerge "[HICN-334] remove LOG for no pending interests in portal"
Alberto Compagno [Wed, 16 Oct 2019 15:39:18 +0000 (15:39 +0000)]
Merge "[HICN-334] remove LOG for no pending interests in portal"

5 years ago[HICN-333] fix addRetransmissions in RTC consumer socket 78/22778/1
michele papalini [Wed, 16 Oct 2019 15:31:14 +0000 (17:31 +0200)]
[HICN-333] fix addRetransmissions in RTC consumer socket

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

5 years ago[HICN-334] remove LOG for no pending interests in portal 77/22777/1
michele papalini [Wed, 16 Oct 2019 15:23:31 +0000 (17:23 +0200)]
[HICN-334] remove LOG for no pending interests in portal

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

5 years ago[HICN-332] add output buffer to the RTC producer socket 75/22775/1
michele papalini [Wed, 16 Oct 2019 15:16:48 +0000 (17:16 +0200)]
[HICN-332] add output buffer to the RTC producer socket

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