Alberto Compagno [Thu, 19 Dec 2019 16:30:57 +0000 (17:30 +0100)]
[HICN-462] Adding probing protocol to hicn-plugin
Change-Id: I44bc9aed26d35fadf66f65aa33a8d7880e149e59
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Alberto Compagno [Thu, 19 Dec 2019 15:24:47 +0000 (15:24 +0000)]
Merge "[HICN-464] swapping the initial buffer"
mhemmatp [Thu, 19 Dec 2019 15:07:30 +0000 (16:07 +0100)]
[HICN-464] swapping the initial buffer
Signed-off-by: mhemmatp <mhemmatp@cisco.com>
Change-Id: Iff7880bfc02c1ecd82b090d098c4b11268dc899c
Mauro Sardara [Thu, 19 Dec 2019 14:32:37 +0000 (15:32 +0100)]
[HICN-463] Initialize memory before sending message to hicn-light-forwarder
Change-Id: I4cfd1d45fb754d9efb71ff80ae97ca4fe27e47a2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Alberto Compagno [Thu, 19 Dec 2019 12:22:57 +0000 (12:22 +0000)]
Merge "[HICN-440] Add comments to hicn sysrepo plugin code"
Jordan Augé [Mon, 16 Dec 2019 23:38:50 +0000 (00:38 +0100)]
[HICN-461] Improve netlink event management in facemgr
Change-Id: I4d26843bd3a3ac23db9c72a095ab030a037237d4
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Sun, 15 Dec 2019 21:50:11 +0000 (22:50 +0100)]
[HICN-460] Check of parchashmap before creating iterator
Change-Id: I559e86e269026be601a5735f77bbcfac40f24694
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Jordan Augé [Sat, 14 Dec 2019 00:50:16 +0000 (01:50 +0100)]
[HICN-455] libhicnctrl incorrectly handles absence of forwarder in synchronous mode after it has connected
Change-Id: I3999c4f8706d3df6a003ebf2574bc20c41ce102a
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Alberto Compagno [Fri, 13 Dec 2019 21:24:19 +0000 (21:24 +0000)]
Merge "[HICN-457] Adding missing lock to the hash entry in order to avoid memory leak."
Alberto Compagno [Fri, 13 Dec 2019 20:43:30 +0000 (20:43 +0000)]
[HICN-457] Adding missing lock to the hash entry in order to avoid memory leak.
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I9ee6d6311ca39353f93e6d41b06752b17628b46f
michele papalini [Fri, 13 Dec 2019 19:19:59 +0000 (20:19 +0100)]
[HICN-454] Use-after-free during LRU eviction in hicn-light Content Store
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I18e6d6612a45cd8fb7a46155760b94e0fe4e2bbe
Mauro Sardara [Fri, 13 Dec 2019 17:57:23 +0000 (17:57 +0000)]
Merge "[HICN-456] Download missing vpp files from github."
Mauro Sardara [Fri, 13 Dec 2019 17:43:15 +0000 (18:43 +0100)]
[HICN-456] Download missing vpp files from github.
Change-Id: Ie8c3dbcd940a7db6f213df448a15ccc28dabdde2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 13 Dec 2019 17:33:10 +0000 (17:33 +0000)]
Merge "[HCIN-455] libhicnctrl incorrectly handles absence of forwarder in synchronous mode after it has connected"
Jordan Augé [Fri, 13 Dec 2019 14:09:23 +0000 (15:09 +0100)]
[HICN-420] MAP-Me code refactoring & face manager changes in support of mobility
Change-Id: I78c37aa274a98089b994348e31e06418c7945d24
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Fri, 13 Dec 2019 16:27:13 +0000 (17:27 +0100)]
[HCIN-455] libhicnctrl incorrectly handles absence of forwarder in synchronous mode after it has connected
Change-Id: I76bc68fb44c0090b4004e8d1da37f906fcaa5b17
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Thu, 12 Dec 2019 16:39:44 +0000 (17:39 +0100)]
[HICN-451] libhicnctrl creates collisions in created connection names when two instances are started in the same second
Change-Id: I70ccaf9199aa50074501d368d189c01521f37971
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Thu, 12 Dec 2019 16:41:14 +0000 (16:41 +0000)]
Merge "[HICN-420] MAP-Me code refactoring & face manager changes in support of mobility"
mhemmatp [Thu, 12 Dec 2019 15:05:13 +0000 (16:05 +0100)]
[HICN-440] Add comments to hicn sysrepo plugin code
Signed-off-by: mhemmatp <mhemmatp@cisco.com>
Change-Id: I0ed0c5b0b9cd7714b46867e4d4fe0324945cf418
Luca Muscariello [Thu, 12 Dec 2019 13:34:02 +0000 (13:34 +0000)]
Merge "[HICN-449] Correct hicn-plugin dependency version check"
Mauro Sardara [Thu, 12 Dec 2019 13:16:10 +0000 (14:16 +0100)]
[HICN-449] Correct hicn-plugin dependency version check
Change-Id: I834abcf020da728c1a3fcb495dc0f12ad6d4bbc9
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Jordan Augé [Thu, 12 Dec 2019 12:45:59 +0000 (13:45 +0100)]
[HICN-420] MAP-Me code refactoring & face manager changes in support of mobility
Change-Id: I0ee0c7e744c71d0345386c2886b0d6cfa05c07d1
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Thu, 12 Dec 2019 12:42:29 +0000 (12:42 +0000)]
Merge "[HICN-450] Build hicn-light-control executable for android."
Alberto Compagno [Thu, 12 Dec 2019 12:41:15 +0000 (12:41 +0000)]
Merge "[HICN-449] Correct dependencies of DEB/RPM package for sysrepo."
Mauro Sardara [Thu, 12 Dec 2019 10:11:52 +0000 (11:11 +0100)]
[HICN-449] Correct dependencies of DEB/RPM package for sysrepo.
Change-Id: Ie3f7f700617d99e7e56431afbb1b877e6cb366f9
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Alberto Compagno [Thu, 12 Dec 2019 10:57:55 +0000 (10:57 +0000)]
Merge "[HICN-448] Returning face id when creating a face through libctrl in hicn-plugin"
Mauro Sardara [Thu, 12 Dec 2019 10:46:59 +0000 (11:46 +0100)]
[HICN-450] Build hicn-light-control executable for android.
Change-Id: I222132401e225af63f2993b1794120e63d473cfe
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Alberto Compagno [Wed, 11 Dec 2019 14:53:54 +0000 (14:53 +0000)]
[HICN-448] Returning face id when creating a face through libctrl in hicn-plugin
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I0b9420d9e5335a1062ba31b0885ee4414e4991bf
Jordan Augé [Thu, 12 Dec 2019 08:28:52 +0000 (09:28 +0100)]
[HICN-446] Face manager incorrectly sets up static routes in case of multihoming during startup
Change-Id: Ifdf0bed4064d36b74129b929006b8c7ac9c56ebb
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Wed, 11 Dec 2019 15:05:28 +0000 (16:05 +0100)]
[HICN-449] [HICN-430] Build sysrepo plugin. Update sysrepo and libyang dependencies for centos.
Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Wed, 11 Dec 2019 18:37:19 +0000 (19:37 +0100)]
[HICN-430] Build sysrepo and libyang extra with correct dependencies
Change-Id: Icc758938acac76a407d3a6d37a4896c331e47380
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Wed, 11 Dec 2019 17:45:15 +0000 (18:45 +0100)]
[HICN-430] Update extra dependencies
Change-Id: I10a505ea638688f7a08fc92bdecffead5721ae8b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Jordan Augé [Wed, 11 Dec 2019 16:36:37 +0000 (16:36 +0000)]
Merge "[HICN-446] Face manager incorrectly sets up static routes in case of multihoming during startup"
Alberto Compagno [Wed, 11 Dec 2019 14:30:43 +0000 (14:30 +0000)]
[HICN-447] Converting incomplete udp face into a complete one
When inserting a udp face through cli or binary api, if an
incomplete udp face already exist with the same local and remote
addresses and port, the face is converted into a complete face
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I8e7b5eee6c492367f663b2b97d50b6ca166b4824
Jordan Augé [Wed, 11 Dec 2019 14:08:48 +0000 (15:08 +0100)]
[HICN-446] Face manager incorrectly sets up static routes in case of multihoming during startup
Change-Id: Iee01146d3d9437f0267cfac3de793608cccca5bc
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Wed, 11 Dec 2019 10:32:51 +0000 (11:32 +0100)]
[HICN-430] Do not install cmake on arm slaves.
Change-Id: I315862308d27fad6420bbce35de0fd6ad17a3240
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Wed, 11 Dec 2019 10:20:44 +0000 (11:20 +0100)]
[HICN-430] Remove unspecified package.
Change-Id: I578395371585337ab7c8a2b3e25c365b473e2ee6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Wed, 11 Dec 2019 09:41:02 +0000 (09:41 +0000)]
Merge "[HICN-430] Rework on CMake"
Jordan Augé [Tue, 10 Dec 2019 22:57:37 +0000 (23:57 +0100)]
[HICN-438] facemgr should allow face creation with physical interface down
Change-Id: I6487fbec0607464a625daa01455ddac8fdd75ee2
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Fri, 6 Dec 2019 17:25:28 +0000 (18:25 +0100)]
[HICN-430] Rework on CMake
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>
Michele Papalini [Tue, 10 Dec 2019 10:11:35 +0000 (10:11 +0000)]
Merge "[HICN-441] Fixed udp punting. Ip version of the punting (6 or 4) was set in the wrong way. Before enabling punting we were checking for the wrong table type (ip4 when it was 6 and vice versa)"
Alberto Compagno [Mon, 9 Dec 2019 16:56:47 +0000 (16:56 +0000)]
[HICN-441] Fixed udp punting.
Ip version of the punting (6 or 4) was set in the wrong way. Before
enabling punting we were checking for the wrong table type (ip4 when
it was 6 and vice versa)
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I1d144010b5f26fdbc98517a647bc218692813f09
Jordan Augé [Mon, 9 Dec 2019 00:23:37 +0000 (01:23 +0100)]
[HICN-438] facemgr should allow face creation with physical interface down
Change-Id: I9d333f2d420c735d3867c0813dc93e82aceb3861
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
michele papalini [Fri, 6 Dec 2019 10:13:11 +0000 (11:13 +0100)]
[HICN-437] concurrency problem in rtc producer socket
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I629914f48e00814796f16b201e03549e9c7941bd
Alberto Compagno [Thu, 5 Dec 2019 08:19:41 +0000 (08:19 +0000)]
Merge "[HICN-435] Fixed dependency name in libhicntransport"
Jordan Augé [Wed, 27 Nov 2019 08:05:39 +0000 (09:05 +0100)]
[HICN-420] MAP-Me code refactoring & face manager changes in support of mobility
Change-Id: Ifde50b4c161d1bda1326f18b705f575e539aea71
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Alberto Compagno [Wed, 4 Dec 2019 17:03:40 +0000 (17:03 +0000)]
[HICN-435] Fixed dependency name in libhicntransport
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Ia2700df02a90f1acab30f52f642c90f2460c0282
mhemmatp [Wed, 4 Dec 2019 14:01:05 +0000 (15:01 +0100)]
[HICN-434] VAPI does not link to hicn sysrepo plugin
Signed-off-by: mhemmatp <mhemmatp@cisco.com>
Change-Id: I3d2fa27baf00b5fa70bef5c1c414475eabcd525c
Mauro Sardara [Wed, 4 Dec 2019 10:59:44 +0000 (10:59 +0000)]
Merge "[HICN-433] fix and tune parameters in rtc transport"
michele papalini [Wed, 4 Dec 2019 10:44:17 +0000 (11:44 +0100)]
[HICN-433] fix and tune parameters in rtc transport
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ib67d395e0c7c4ac4c11dabe44cbde417faa70e20
Alberto Compagno [Mon, 2 Dec 2019 19:41:05 +0000 (19:41 +0000)]
[HICN-427] Producer and consumer socket created with vapi
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I44142385b191b4c9b5c4bb418bfbd06a5e102eec
Mauro Sardara [Wed, 4 Dec 2019 09:56:31 +0000 (09:56 +0000)]
Merge "to fix HICN-421 by adding cpack to libyang and sysrepo"
Alberto Compagno [Wed, 4 Dec 2019 09:47:10 +0000 (09:47 +0000)]
Merge "[HICN-428] Creating libctrl deb and rpm packages specific for hicn-plugin"
Jordan Augé [Mon, 2 Dec 2019 13:28:22 +0000 (14:28 +0100)]
to fix HICN-421 by adding cpack to libyang and sysrepo
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: Ia9e0752f877c7fc0be6df85664d18e1caad86741
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Mauro Sardara [Wed, 4 Dec 2019 09:34:19 +0000 (10:34 +0100)]
[HICN-432] Set CPACK_COMPONENT_ALL variable with the global list of components.
Change-Id: I6a8c4dba362914ce4d80c86adffc8ca98ab4c2a1
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Alberto Compagno [Tue, 3 Dec 2019 16:00:27 +0000 (16:00 +0000)]
[HICN-428] Creating libctrl deb and rpm packages specific for hicn-plugin
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I2460276eb400777105d3351dffdaf8452f01c51f
Alberto Compagno [Mon, 2 Dec 2019 18:28:10 +0000 (18:28 +0000)]
Merge "[HICN-425] RTC min window"
michele papalini [Mon, 2 Dec 2019 18:15:19 +0000 (19:15 +0100)]
[HICN-425] RTC min window
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ic75e11dcf43b7ed947a8f577d9aa5d345d5662ee
Mauro Sardara [Mon, 2 Dec 2019 15:32:33 +0000 (16:32 +0100)]
[HICN-426] Add isRunning API to consumer and producer socket.
Change-Id: I5a144f804b87c3575f24c57ba5086136ec02efcd
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Jordan Augé [Mon, 2 Dec 2019 13:28:22 +0000 (14:28 +0100)]
[HICN-419] Expose facelet id in facelet_list(_json) in facemgr API
Change-Id: Ibce2e82ba125ca2e927cd270a8c45855384cd7fa
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Alberto Compagno [Mon, 2 Dec 2019 12:49:15 +0000 (12:49 +0000)]
Merge "[HICN-425] RTC min window"
Michele Papalini [Mon, 2 Dec 2019 09:59:23 +0000 (09:59 +0000)]
Merge "[HICN-423] Handle exception of producer socket thrown upon socket disposing."
michele papalini [Mon, 2 Dec 2019 09:56:34 +0000 (10:56 +0100)]
[HICN-425] RTC min window
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ieb41ffff61ed4341dc9aacb58d3e7c397e72fc41
Robot [Fri, 29 Nov 2019 18:07:06 +0000 (18:07 +0000)]
[HICN-424] linking missing vpp libraries to libsysrepohicn
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I70c1b1162fd7b7a093d60e03b55dcd01f62250f3
Alberto Compagno [Fri, 29 Nov 2019 16:07:18 +0000 (16:07 +0000)]
Merge "[HICN-403] update vapi communication with vpp"
Mauro Sardara [Fri, 29 Nov 2019 15:34:11 +0000 (16:34 +0100)]
[HICN-423] Handle exception of producer socket thrown upon socket disposing.
Change-Id: I2458d054150ca307cf7ac0391f7698ebf2e7466e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Masoud Hemmatpour [Tue, 26 Nov 2019 11:05:02 +0000 (12:05 +0100)]
[HICN-403] update vapi communication with vpp
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
Change-Id: I6e05d96af049229a6dc2da0adf32707873cdc816
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Alberto Compagno [Wed, 27 Nov 2019 16:57:02 +0000 (16:57 +0000)]
[HICN-417] Creation of multiple sockets calls only one connect to vpp
vlibmemoryclient provided by vpp does not handle calling connect
multiple times from the same application. Creation of multiple
sockets call connect only one. Destruction of all the sockets
call disconnet to vpp.
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I70f22c256f4f45640f80aae3da68541504852192
Jordan Augé [Tue, 26 Nov 2019 23:52:50 +0000 (00:52 +0100)]
[HICN-416] Fix error handling in facemgr netlink interface
Change-Id: Ia04a2f01005ec28a92cc5065ee2f3bddad27f573
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Alberto Compagno [Tue, 26 Nov 2019 14:29:28 +0000 (14:29 +0000)]
[HICN-414] Added udp punting on src port, or dst ports, or both
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I86fa8d76b22a90aa87c6623206022057ac9f30f1
Alberto Compagno [Tue, 19 Nov 2019 17:57:20 +0000 (17:57 +0000)]
[HICN-398] Added face create/delete/list and listener list on libctrl for hicn-plugin
Listener list returns the list of interfaces and their ip addresses
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I2582cf29d4f1f60964766d47ad8d6dc64504fd62
Jordan Augé [Mon, 25 Nov 2019 10:24:15 +0000 (10:24 +0000)]
Merge "[HICN-408] add a face manager interface for face priority control"
Jordan Augé [Mon, 25 Nov 2019 10:20:32 +0000 (11:20 +0100)]
[HICN-408] add a face manager interface for face priority control
Change-Id: I07cd4c100251c42ef32117a515e8e9e39b9c3031
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Mon, 25 Nov 2019 08:53:19 +0000 (08:53 +0000)]
Merge "[HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed"
Jordan Augé [Sun, 24 Nov 2019 22:51:45 +0000 (23:51 +0100)]
[HICN-408] Add a face manager interface for face priority control
Change-Id: I768112c920154380a614d0c5858f50efa135903d
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Sun, 24 Nov 2019 22:44:49 +0000 (22:44 +0000)]
Merge "[HICN-408] add a face manager interface for face priority control"
Mauro Sardara [Fri, 22 Nov 2019 14:53:57 +0000 (14:53 +0000)]
Merge "[HICN-413] rtc client improvements"
michele papalini [Fri, 22 Nov 2019 14:38:40 +0000 (15:38 +0100)]
[HICN-413] rtc client improvements
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ia23dee91776ccaa0bdf667eefc850e298f966cec
Alberto Compagno [Fri, 22 Nov 2019 14:22:41 +0000 (15:22 +0100)]
[HICN-412] Added option LINK_FLAGSgto build_executable to specify link flags
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Alberto Compagno [Fri, 22 Nov 2019 13:50:37 +0000 (13:50 +0000)]
Merge "[HICN-411] Change how manifests are requested"
Alberto Compagno [Thu, 21 Nov 2019 12:06:33 +0000 (12:06 +0000)]
[HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I09268dc5ae2ad465b4a4f68607732c0d3f48e62e
Alberto Compagno [Fri, 22 Nov 2019 13:09:58 +0000 (13:09 +0000)]
Merge "[HICN-405] Added application face delete"
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
Olivier Roques [Thu, 21 Nov 2019 15:47:00 +0000 (15:47 +0000)]
[HICN-411] Change how manifests are requested
This patch introduces a new way of requesting manifests such that
all the segments they contain fill the current transport window.
When a manifest (M) is received, we compute
L = last_segment_requested + current_window_size.
L is therefore equal or greater than the last segment of the
current window.
Then we compare L to the suffix of the next manifest that will
be (potentially) requested.
If L > next_manifest, it means that the last segment of the window is
greater than the first segment contained in the next manifest.
Therefore we request manifests until L <= next_manifest, ie until the
manifests would cover the entire window.
If L <= next_manifest, then all the manifests that were requested
already cover the window, so there's no need to request more. However
if the next manifest immediately follows the current one (M), we still
need to request it so that the content suffix queue is correctly
updated.
Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: I71a5a0031cd783277d0aa59fd68d5d7bf64fe6ae
Alberto Compagno [Fri, 22 Nov 2019 11:55:46 +0000 (11:55 +0000)]
Merge "[HICN-394] Add route commands add, list, del for the hicn-plugin"
michele papalini [Fri, 22 Nov 2019 10:24:43 +0000 (11:24 +0100)]
[HICN-410] reduce sentinel timer aggressiveness
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I538d8266912fea244505e4d2ceccef0dd9a242bc
michele papalini [Fri, 22 Nov 2019 08:50:31 +0000 (09:50 +0100)]
[HICN-409] remove race condition in rtc procuder socket
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: Ifdc5d912b8687bae3da78fadb05524d78e767f5a
Junsu Choi [Fri, 22 Nov 2019 02:15:56 +0000 (11:15 +0900)]
[HICN-408] add a face manager interface for face priority control
Change-Id: I166cb56e7376fe896d41d6d371ecb3727b7563ce
Signed-off-by: Junsu Choi <junsu.choi@samsung.com>
Alberto Compagno [Thu, 21 Nov 2019 09:28:55 +0000 (09:28 +0000)]
Merge "[HICN-402] Limit in-flight interests for manifests"
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>
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>
Olivier Roques [Wed, 20 Nov 2019 13:53:12 +0000 (13:53 +0000)]
[HICN-402] Limit in-flight interests for manifests
Currently, interests for manifests are sent independently of the
transport protocol. When receiving a manifest, interests for next
manifests are sent until the next window would be full of data
segments.
But there is no limit on the number of interests for manifests that
can be sent. After a while, the interest input buffer in the
producer's side is full of them and cannot satisfy the requests
quickly enough. This results in a large drop of bandwidth on the
consumer side. This patch allows to limit the number of in-flight
interests for manifests.
Signed-off-by: Olivier Roques <olvrqs@gmail.com>
Change-Id: Ic497bd55fd92233e4b47b04635fb9bf75506375e
Alberto Compagno [Fri, 15 Nov 2019 08:58:23 +0000 (08:58 +0000)]
[HICN-394] Add route commands add, list, del for the hicn-plugin
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I41641f6d27babaa1c413ecf2fe6eae0e499df97d
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)"
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>
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>
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"
Alberto Compagno [Mon, 18 Nov 2019 13:54:58 +0000 (13:54 +0000)]
Merge "[HICN-391] Supporting midchain as adjacencies for an ip face"
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>
Mauro Sardara [Mon, 18 Nov 2019 10:51:08 +0000 (10:51 +0000)]
Merge "[HICN-225] Added generic binary api for handling faces"