summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-13Merge "[HICN-606] Added doxygen documentation"Luca Muscariello51-900/+840
2020-05-06[HICN-606] Added doxygen documentationAlberto Compagno51-900/+840
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54
2020-05-05[HICN-608] Added configuratin option to manage hicn behaviour with interfacesAlberto Compagno5-7/+28
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I8d48237b5dce737be443ec8949ac11721158d830
2020-05-04[HICN-603] Cleanup code for managing routeAlberto Compagno21-2328/+1334
- 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-602] Added bidirectional udp tunnelsAlberto Compagno22-54/+1343
- Implemented a udp decapsulation node - Added a hash table to identify the incoming udp tunnel when an interest or data packets are received - Added udp punting through udp_register_dst_port Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Iffea4d81c5ea8ce8ccbbfd749113f06a698a2afe
2020-05-04[HICN-592] Updating the vrf 0 (default fib) when a mapme event occursAlberto Compagno13-202/+337
Updates on the vrf 0 will be reflected on the hicn vrf thanks to the fib entry tracking. Change-Id: I4afd6256593f27172c4b0a613316fb8428fa8e50 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-05-04[HICN-591] Created new command "hicn enable <prefix>" that enable hicn on a ↵Alberto Compagno20-292/+790
given prefix The changes include: - we use now a different vrf for the hicn routes. The default vrf (fib) contains every route, we sync the route we marked as hicn on the hicn vrf. In the vrf we use a custom dpo to implement the forwarding strategy. Change-Id: I399805eff8a62a5c41bf7b50831986a35bce4f76 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-05-04[HICN-590] Removed andjacency type specific face implementationAlberto Compagno65-7077/+2021
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-04-27[HICN-604] using host order port value to punt udp packetAlberto Compagno1-2/+2
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I9c135c76b881fecafe673517501d9539d2e30b2d
2020-04-27[HICN-604] Added missing punting for udp facesAlberto Compagno1-1/+8
Every time a udp face is created, a punting on the source port of the face is added Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I2b6205cdeb0ef8f527e2ce9a2046c345275b3bca
2020-04-23[HICN-600] correct hicn apps on windowsAngelo Mantellini2-13/+18
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I78656e5b3821024913b01b095e4368f53d02a5d1
2020-04-22[HICN-601] Redefine TCP flags with HICN_ prefixMauro Sardara3-49/+41
Change-Id: I9263a65f3f151d55cdefcd14d39df4a70df9a83c Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-20Merge "[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h"Alberto Compagno1-2/+4
2020-04-17[HICN-597] Add API to mark packet as interest/data.Mauro Sardara9-39/+107
Change-Id: I1106211d3cac63d0817d4908bd03d6a0ccd2b8e0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-16[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.hAlberto Compagno1-2/+4
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Iab0c363789215b5a5792bda8e228a1557c3b3a39
2020-04-07[HICN-593] Fix higet crash when no uri is specified in command lineMauro Sardara1-2/+5
Change-Id: Iccf6740deaf853eed766dfae92489d2b0f7acd58 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-07Regenerate the hicn packagesAngelo Mantellini1-0/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ia6ef4905e1b1d45539aa3ebc5d6260fd48040792
2020-04-01[HICN-587] Fix RAAQM default config pathOlivier Roques1-1/+1
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: I5c371941fcd550c676823f3f994f4a18160d632a
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini1-1/+3
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I74f7c08ddd4494ce9ca6df7519785fe12cd1010f
2020-03-31Merge "[HICN-581] update hicn stack to support windows, again"Angelo Mantellini27-76/+333
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini27-76/+333
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-27[HICN-583] Remove obsolete code from hiperfOlivier Roques1-7/+0
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: If8bea63ccb026be54293512d371d3a269e11385e
2020-03-27[HICN-458] Setting data packet size socket option when the payload size is ↵Alberto Compagno2-2/+7
passed Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Ie0ee26a1e8bff3279cc88c4e7c09b0fdb23924c1
2020-03-24[HICN-580] Improve memory usage in signer and verifierOlivier Roques5-96/+91
This patch reduces the amount of memory used by the signer and verifier classes. It also removes some logs from VPP collectd plugins. Change-Id: I3dac7b9104b5586ac22dee60f506bee51ece2cbe Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-23Merge "[HICN-572] Updated sysrepo documentation"Luca Muscariello1-6/+10
2020-03-23Merge "[HICN-551] Removed source code that uses acl"Luca Muscariello14-2251/+177
2020-03-23Merge "[HICN-549] Refactored pg to use punting through fib"Luca Muscariello3-252/+304
2020-03-23Merge "[HICN-548] Added node to perform a lookup in the fib with the src ↵Luca Muscariello3-1/+731
address to punt data packets"
2020-03-23Merge "[HICN-547] Removing punting through acl for interests"Luca Muscariello36-1035/+1007
2020-03-20[HICN-551] Removed source code that uses aclAlberto Compagno14-2251/+177
- 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-03-20[HICN-549] Refactored pg to use punting through fibAlberto Compagno3-252/+304
- interest packet generator uses the fib to forward interests. The entry in the fib matching the interest name can be a regular IP fib entry or an hICN fib entry. It is up to who configure the forwarder to chose how the forwarding should be done - the hicnpg-data is used to keep track of the number of data received in order to have statistics corresponding to the number of interests sent and data received (interest satisfied). This node punt packet registers himself as a node for satisfying local tcp packets (ip4_register_protocol or ip6_register_protocol), therefore tcp packets carrying a local address will be forwarded to it. - The hicnpg-server node satisfies interest packets by creating the correspoding data packet. It punts packet by using a feature on the interface that is passed in the configuration. Every packet that arrives on such interface is threated as an hICN interest. Change-Id: I75ffec4ce0a5afeaf321bcc48dd13fd307dd2925 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-20[HICN-573] Fixed match of data packet in the producer app faceacompagn1-0/+18
- Now the match honor the prefix length specified in the producer app face Signed-off-by: acompagn <acompagn@cisco.com> Change-Id: Icdd80b02603bb79ceeb0ab14e2da51328c0f9b74
2020-03-20[HICN-572] Updated sysrepo documentationAlberto Compagno1-6/+10
- Removed reference to the old sysrepod - Added information for the authentication to netopee2-server Change-Id: I435458bebb8f95eb8e63a45fa7fa8a3e060a08e4 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-19[HICN-548] Added node to perform a lookup in the fib with the src address to ↵Alberto Compagno3-1/+731
punt data packets Change-Id: Ia1d3a5d5b1df8bf17b289954289d449715803cfa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-19[HICN-547] Removing punting through acl for interestsAlberto Compagno36-1035/+1007
Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-18[HICN-562] Add new options to VPP collectd pluginsOlivier Roques3-89/+188
Add two options to the vpp and vpp-hicn plugins: * Verbose, to enable additional statistics * Tag, to tag the data with a given string Change-Id: Ifee6c979654f87a13787095dddab0076b218e334 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-18Merge "[HICN-553] Fixed path to root cmake folder that contains the macros ↵Mauro Sardara1-1/+1
definitions"
2020-03-18[HICN-553] Fixed path to root cmake folder that contains the macros definitionsAlberto Compagno1-1/+1
Change-Id: Ie8c1004ce7d08e686a3e4a28eee4108830ac94cc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-17[HICN-552] don't use hicn socket on apple OSAngelo Mantellini3-4/+9
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib555fb14d3240c85f5aa4eef065faad8f2ff9795
2020-03-11Merge "[HICN-546] Fix memory leak on producer side"Alberto Compagno2-13/+7
2020-03-11[HICN-546] Fix memory leak on producer sideOlivier Roques2-13/+7
Fix a memory leak caused during the signing of packets on the producer side by releasing the signature when signing is done. Change-Id: I352885913e3a16d03fcc77116238928edb090e01 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-11[HICN-545] Do not schedule callbacks during segmentation in a per packet basis.Mauro Sardara2-38/+57
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I1531a1fe1d1fa51bb45edab20ee449faa34847c3
2020-03-10[HICN-544] Do not block reading incoming messages in memif connector.Mauro Sardara5-22/+40
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I844dfa64a977c9c41bfc103bb110c274802b1839 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-09Merge "[HICN-540] Optimizations for libhicntransport"Alberto Compagno24-224/+351
2020-03-09[HICN-540] Optimizations for libhicntransportMauro Sardara24-224/+351
Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-05[HICN-541] Add custom type database of collectd pluginsOlivier Roques3-4/+49
This patch adds the database containing the types that the two collectd plugins, vpp and vpp-hicn, defines. It is useful when using InfluxDB as it requires the type database for multi-value metrics (see https://docs.influxdata.com/influxdb/v1.7/supported_protocols/collectd/). Change-Id: Ia3e630b134e58e942be38cacb9b23379066c6e63 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-04[HICN-541] Change installation directory of collectd pluginsOlivier Roques3-5/+5
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: Ic298e57c11a0b86976d52096a2f691dd511adc3f
2020-03-02Merge "[HICN-537] Update telemetry documentation"Luca Muscariello3-6/+12
2020-02-28[HICN-537] Update telemetry documentationOlivier Roques3-6/+12
Change-Id: I3f6c656164b27481e029eb72a63030bb592a6f1b Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-02-27Merge "[HICN-539] Expose portal APIs to applications"Angelo Mantellini10-64/+333