aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04[HICN-433] fix and tune parameters in rtc transportmichele papalini1-2/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ib67d395e0c7c4ac4c11dabe44cbde417faa70e20
2019-12-04Merge "to fix HICN-421 by adding cpack to libyang and sysrepo"Mauro Sardara11-16/+347
2019-12-04Merge "[HICN-428] Creating libctrl deb and rpm packages specific for ↵Alberto Compagno8-29/+62
hicn-plugin"
2019-12-04to fix HICN-421 by adding cpack to libyang and sysrepoJordan Augé11-16/+347
Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ia9e0752f877c7fc0be6df85664d18e1caad86741 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-12-04[HICN-432] Set CPACK_COMPONENT_ALL variable with the global list of components.Mauro Sardara1-0/+1
Change-Id: I6a8c4dba362914ce4d80c86adffc8ca98ab4c2a1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-04[HICN-428] Creating libctrl deb and rpm packages specific for hicn-pluginAlberto Compagno8-29/+62
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I2460276eb400777105d3351dffdaf8452f01c51f
2019-12-02Merge "[HICN-425] RTC min window"Alberto Compagno1-3/+0
2019-12-02[HICN-425] RTC min windowmichele papalini1-3/+0
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ic75e11dcf43b7ed947a8f577d9aa5d345d5662ee
2019-12-02[HICN-426] Add isRunning API to consumer and producer socket.Mauro Sardara3-0/+9
Change-Id: I5a144f804b87c3575f24c57ba5086136ec02efcd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-02[HICN-419] Expose facelet id in facelet_list(_json) in facemgr APIJordan Augé1-1/+11
Change-Id: Ibce2e82ba125ca2e927cd270a8c45855384cd7fa Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-02Merge "[HICN-425] RTC min window"Alberto Compagno2-2/+8
2019-12-02Merge "[HICN-423] Handle exception of producer socket thrown upon socket ↵Michele Papalini1-1/+7
disposing."
2019-12-02[HICN-425] RTC min windowmichele papalini2-2/+8
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ieb41ffff61ed4341dc9aacb58d3e7c397e72fc41
2019-11-29[HICN-424] linking missing vpp libraries to libsysrepohicnRobot1-1/+1
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I70c1b1162fd7b7a093d60e03b55dcd01f62250f3
2019-11-29Merge "[HICN-403] update vapi communication with vpp"Alberto Compagno15-1075/+808
2019-11-29[HICN-423] Handle exception of producer socket thrown upon socket disposing.Mauro Sardara1-1/+7
Change-Id: I2458d054150ca307cf7ac0391f7698ebf2e7466e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-11-29[HICN-403] update vapi communication with vppMasoud Hemmatpour15-1075/+808
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com> Change-Id: I6e05d96af049229a6dc2da0adf32707873cdc816 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-28[HICN-417] Creation of multiple sockets calls only one connect to vppAlberto Compagno1-5/+29
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
2019-11-27[HICN-416] Fix error handling in facemgr netlink interfaceJordan Augé1-18/+31
Change-Id: Ia04a2f01005ec28a92cc5065ee2f3bddad27f573 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-26[HICN-414] Added udp punting on src port, or dst ports, or bothAlberto Compagno2-15/+168
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I86fa8d76b22a90aa87c6623206022057ac9f30f1
2019-11-26[HICN-398] Added face create/delete/list and listener list on libctrl for ↵Alberto Compagno12-77/+535
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
2019-11-25Merge "[HICN-408] add a face manager interface for face priority control"Jordan Augé2-3/+23
2019-11-25[HICN-408] add a face manager interface for face priority controlJordan Augé2-3/+23
Change-Id: I07cd4c100251c42ef32117a515e8e9e39b9c3031 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-25Merge "[HICN-406] Adding face deletion on the hicn-plugin when the ↵Mauro Sardara4-7/+95
corresponding socket is destroyed"
2019-11-24[HICN-408] Add a face manager interface for face priority controlJordan Augé4-36/+19
Change-Id: I768112c920154380a614d0c5858f50efa135903d Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-24Merge "[HICN-408] add a face manager interface for face priority control"Jordan Augé4-1/+198
2019-11-22Merge "[HICN-413] rtc client improvements"Mauro Sardara2-9/+20
2019-11-22[HICN-413] rtc client improvementsmichele papalini2-9/+20
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ia23dee91776ccaa0bdf667eefc850e298f966cec
2019-11-22[HICN-412] Added option LINK_FLAGSgto build_executable to specify link flagsAlberto Compagno5-4/+10
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-22Merge "[HICN-411] Change how manifests are requested"Alberto Compagno3-90/+73
2019-11-22[HICN-406] Adding face deletion on the hicn-plugin when the corresponding ↵Alberto Compagno4-7/+95
socket is destroyed Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I09268dc5ae2ad465b4a4f68607732c0d3f48e62e
2019-11-22Merge "[HICN-405] Added application face delete"Alberto Compagno23-201/+446
2019-11-22[HICN-405] Added application face deleteAlberto Compagno23-201/+446
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
2019-11-22[HICN-411] Change how manifests are requestedOlivier Roques3-90/+73
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
2019-11-22Merge "[HICN-394] Add route commands add, list, del for the hicn-plugin"Alberto Compagno17-291/+1471
2019-11-22[HICN-410] reduce sentinel timer aggressivenessmichele papalini1-2/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I538d8266912fea244505e4d2ceccef0dd9a242bc
2019-11-22[HICN-409] remove race condition in rtc procuder socketmichele papalini1-2/+4
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ifdc5d912b8687bae3da78fadb05524d78e767f5a
2019-11-22[HICN-408] add a face manager interface for face priority controlJunsu Choi4-1/+198
Change-Id: I166cb56e7376fe896d41d6d371ecb3727b7563ce Signed-off-by: Junsu Choi <junsu.choi@samsung.com>
2019-11-21Merge "[HICN-402] Limit in-flight interests for manifests"Alberto Compagno3-2/+25
2019-11-21[HICN-379] Add face priority support in face managerJordan Augé9-29/+99
Change-Id: Iae19e016aae833b4bc95ff6d91d51b188f398e25 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-20[HICN-404] double-free in facemgr (facemgr_list_facelets_json) + valgrind fixesJordan Augé3-3/+5
Change-Id: Id57873d3f4152af654f3bc27778d7015495597d7 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-20[HICN-402] Limit in-flight interests for manifestsOlivier Roques3-2/+25
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
2019-11-20[HICN-394] Add route commands add, list, del for the hicn-pluginAlberto Compagno17-291/+1471
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I41641f6d27babaa1c413ecf2fe6eae0e499df97d
2019-11-19Merge "[HICN-400] fix NULL content name in PIT entry (temporary workaround)"Jordan Augé1-0/+5
2019-11-19[HICN-400] fix NULL content name in PIT entry (temporary workaround)Jordan Augé1-0/+5
Change-Id: I6a1d93a4e6beb78741d8243fc78d6ecff77b9034 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-19[HICN-399] facemgr crashes after wifi disabledJordan Augé1-1/+1
Change-Id: I8d504b1e83f79d028f2e7bbfacda2824076aa72f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-11-19Merge "[HICN-397] Added punting add message for punting on udp ports"Alberto Compagno5-26/+335
2019-11-18Merge "[HICN-391] Supporting midchain as adjacencies for an ip face"Alberto Compagno1-1/+1
2019-11-18[HICN-397] Added punting add message for punting on udp portsAlberto Compagno5-26/+335
Change-Id: Ieb5faf5d01e460179028eaba92170ee95cf35edf Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-18Merge "[HICN-225] Added generic binary api for handling faces"Mauro Sardara6-158/+873