aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl
AgeCommit message (Collapse)AuthorFilesLines
2020-05-04[HICN-603] Cleanup code for managing routeAlberto Compagno7-1572/+1238
- Remove old code to add and remove hicn route. Routes are now added only through the ip route commands/apis - Adjusted the cli to set the strategy for a particular prefix - Adjusted libtransport consumer and producer app creation - Adjusted sysrepo plugin. Added hicn enable and disable and removed old api related to hicn routes and hicn faces - Adjusted libhicnctrl. Only routes api and listener are now available for hicn-plugin Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Ib4f7f45ba0b99253d60a9da2b295d6e783e5cd51
2020-05-04[HICN-590] Removed andjacency type specific face implementationAlberto Compagno2-384/+265
Changes in the new implementation are: - the adjacency index is replaced with a dpo that allows the single face node to dispatch the packet to the right vlib node. - local and remote address in the face are replaced with a single nat address which is used to perform the nat operation when rewriting an interest or a data (in case of tunnels the nat address will be equal to 0) - the list of next hop in the load balance is no longer a list of dpos but a list of face id (this makes the code easier and increases the number of next hop we supports) Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I4ac2b4eb09425bfe1b3ca9f82d7d0ff564297b0d
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini2-2/+10
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-20[HICN-551] Removed source code that uses aclAlberto Compagno2-140/+2
- Removed punting from the sysrepo-plugin - Removed calls to the punting functions of binary api in the libhicnctrl - Added documentation in vpp-plugin.md and doxygen related to pg Change-Id: I8936156d51524797441ec49f0d5e801a1ad3643a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-02-13[HICN-518] new API in hicn-light to allow a producer to force MAP-Me ↵Jordan Augé1-1/+15
messages to be resent Change-Id: I2e17250c5e4f78341966507a4bf04d09b84bb9d0 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-02-12Merge "[HICN-512] documentation bundle using sphinx"Mauro Sardara2-599/+0
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello2-599/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-12[HICN-516] remove facemgr android-utility header from installed onesJordan Augé5-4/+4
Change-Id: I72018d73fdf0a295c6121efd38b0ce1a00519dd5 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-02-05[HICN-504] Added hicn yang model to the hicn-sysrepo-plugin packageAberto Compagno2-1/+10
Signed-off-by: Aberto Compagno <acompagn+fdio@cisco.com> Change-Id: I1679360a23fd7b790582c754d25fd6b4709fbfde
2020-02-03Merge "[HICN-489] Add iOS support to hicn stack"Jordan Augé8-55/+55
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini8-55/+55
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
2020-01-30[HICN-495] Removed wrong free before returnin the dataAlberto Compagno1-0/+3
Change-Id: Ibad8a7f737b30c3c719f5ccbc0635b2948affdce Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno3-13/+10
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-27[HICN-488] Adding lock to vapi calls and manage vapi_connect in order to ↵Alberto Compagno2-689/+350
connect only once. - Added library to hicn-plugin called safe_vapi that takes care of handling concurrent calls to the vapi. - Removed dependency of libhicnctrl from libtransport and added dependency to safe_vapi. - Added dependency to safe_vapi on libhicnctrl Change-Id: Ie49e8319f64a50e7ed6a56e041db977c3b184cc5 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-22[HICN-487] Calling the right function to parse the face del reply messageAlberto Compagno1-2/+2
Change-Id: Icf155be96947e2c1a692bae5bb7919ce4fa0bdf6 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-21[HICN-442] new forwarding strategymichele papalini1-2/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I62c03bddedc83e523fc60f4b50d2c69e38b50318 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Signed-off-by: michele papalini <micpapal@cisco.com>
2020-01-17[HICN-478] Correctly initialize struct sockaddrstorageMauro Sardara1-1/+2
Change-Id: I74992ed6b96fdd1c567dc2025e10aa9b0c169f47 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-01-15[HICN-473] Add getter functions for face manager rule configurationJordan Augé2-88/+80
Change-Id: I04fd2f776d8fad7c2608e790b2b400a440bad8e0 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-15[HICN-467] Priority settings on interfaces yet to be created should be ↵Jordan Augé1-0/+18
cached for further application Change-Id: I715f908587838b47b0491880391d875044e03293 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-13[HICN-473] Add getter functions for face manager rule configurationJordan Augé2-0/+135
Change-Id: I8b78694462d2fc5dfc085c9e198a06ca4b93a199 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-13[HICN-472] Decrease reattempt timeout in face manager to 250msJordan Augé1-2/+2
Change-Id: I85a4b05db9867753318ce9ca59b54a7ec81cd9e9 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-09Merge "[HICN-470] Fix wrong type for face_id_t in libhicnctrl"Mauro Sardara3-4/+6
2020-01-09[HICN-470] Fix wrong type for face_id_t in libhicnctrlJordan Augé3-4/+6
Change-Id: If345ba102971b0a718e7ac40f9d68a9e9dd9bd06 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-09Merge "[HICN-467] Priority settings on interfaces yet to be created should ↵Mauro Sardara1-0/+61
be cached for further application"
2020-01-07[HICN-467] Priority settings on interfaces yet to be created should be ↵Jordan Augé1-0/+61
cached for further application Change-Id: Ieeff69ee841583e40f5547f6f958ef964f42b4e5 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-01-07Merge "[HICN-443] Adding test to hicn sysrepo plugin"Alberto Compagno10-0/+431
2019-12-19[HICN-464] swapping the initial buffermhemmatp1-9/+10
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: Iff7880bfc02c1ecd82b090d098c4b11268dc899c
2019-12-19Merge "[HICN-440] Add comments to hicn sysrepo plugin code"Alberto Compagno9-258/+2951
2019-12-19[HICN-443] Adding test to hicn sysrepo pluginmhemmatp10-0/+431
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: Ib7568d9b44b94664822f3925682bab554c170e5a
2019-12-17[HICN-461] Improve netlink event management in facemgrJordan Augé1-12/+12
Change-Id: I4d26843bd3a3ac23db9c72a095ab030a037237d4 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-14[HICN-455] libhicnctrl incorrectly handles absence of forwarder in ↵Jordan Augé1-12/+23
synchronous mode after it has connected Change-Id: I3999c4f8706d3df6a003ebf2574bc20c41ce102a Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-13[HCIN-455] libhicnctrl incorrectly handles absence of forwarder in ↵Jordan Augé1-5/+10
synchronous mode after it has connected Change-Id: I76bc68fb44c0090b4004e8d1da37f906fcaa5b17 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-12[HICN-451] libhicnctrl creates collisions in created connection names when ↵Jordan Augé1-1/+11
two instances are started in the same second Change-Id: I70ccaf9199aa50074501d368d189c01521f37971 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-12[HICN-440] Add comments to hicn sysrepo plugin codemhemmatp9-258/+2951
Signed-off-by: mhemmatp <mhemmatp@cisco.com> Change-Id: I0ed0c5b0b9cd7714b46867e4d4fe0324945cf418
2019-12-12Merge "[HICN-449] Correct hicn-plugin dependency version check"Luca Muscariello1-2/+2
2019-12-12[HICN-449] Correct hicn-plugin dependency version checkMauro Sardara1-2/+2
Change-Id: I834abcf020da728c1a3fcb495dc0f12ad6d4bbc9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-12Merge "[HICN-449] Correct dependencies of DEB/RPM package for sysrepo."Alberto Compagno3-17/+9
2019-12-12[HICN-449] Correct dependencies of DEB/RPM package for sysrepo.Mauro Sardara3-17/+9
Change-Id: Ie3f7f700617d99e7e56431afbb1b877e6cb366f9 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-12Merge "[HICN-448] Returning face id when creating a face through libctrl in ↵Alberto Compagno2-2/+9
hicn-plugin"
2019-12-12[HICN-448] Returning face id when creating a face through libctrl in hicn-pluginAlberto Compagno2-2/+9
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I0b9420d9e5335a1062ba31b0885ee4414e4991bf
2019-12-12[HICN-446] Face manager incorrectly sets up static routes in case of ↵Jordan Augé1-0/+4
multihoming during startup Change-Id: Ifdf0bed4064d36b74129b929006b8c7ac9c56ebb Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-11[HICN-449] [HICN-430] Build sysrepo plugin. Update sysrepo and libyang ↵Mauro Sardara2-3/+4
dependencies for centos. Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11Merge "[HICN-446] Face manager incorrectly sets up static routes in case of ↵Jordan Augé2-41/+143
multihoming during startup"
2019-12-11[HICN-446] Face manager incorrectly sets up static routes in case of ↵Jordan Augé2-41/+143
multihoming during startup Change-Id: Iee01146d3d9437f0267cfac3de793608cccca5bc Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-11Merge "[HICN-430] Rework on CMake"Luca Muscariello3-31/+42
2019-12-10[HICN-438] facemgr should allow face creation with physical interface downJordan Augé4-33/+73
Change-Id: I6487fbec0607464a625daa01455ddac8fdd75ee2 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-10[HICN-430] Rework on CMakeMauro Sardara3-31/+42
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>
2019-12-09[HICN-438] facemgr should allow face creation with physical interface downJordan Augé8-101/+83
Change-Id: I9d333f2d420c735d3867c0813dc93e82aceb3861 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-12-05Merge "[HICN-435] Fixed dependency name in libhicntransport"Alberto Compagno1-1/+1
2019-12-05[HICN-420] MAP-Me code refactoring & face manager changes in support of mobilityJordan Augé14-125/+448
Change-Id: Ifde50b4c161d1bda1326f18b705f575e539aea71 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>