Age | Commit message (Collapse) | Author | Files | Lines |
|
As vpp has moved away from the dear old indent, also
the hicn plugin should do the same and use clang-format.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iee896f3ce01cef53b1acfccbebeef66ca77add7d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ia116ad74ce78e2ca2d7ee624eea75a38936d27f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3663ac73cdbaad3e53d4b1973a7bcbb333b3910c
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I42d69455542f3def0076fe58020f8f10347ef83f
|
|
service
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I8d8fdffef31a7013265d6529c5f52f3d5ec70d18
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro <you@example.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I701379bf0f088cad4a94209664de16e7bfe76f5e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54
|
|
- 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
|
|
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>
|
|
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>
|
|
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
|
|
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I9c135c76b881fecafe673517501d9539d2e30b2d
|
|
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
|
|
|
|
- Now the match honor the prefix length specified in the producer app face
Signed-off-by: acompagn <acompagn@cisco.com>
Change-Id: Icdd80b02603bb79ceeb0ab14e2da51328c0f9b74
|
|
Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I8115fd1be93477811e349d13ab5e3aaaff1880c7
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I44bc9aed26d35fadf66f65aa33a8d7880e149e59
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
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
|
|
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
|
|
|
|
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>
|
|
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>
|
|
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Reworked incoming face identification on receiving a data packet. The output is now a list of possible incoming faces, plus a preferred one which cover the case in which the face is a local producer face. In that case we can identify the face uniquely as we are sure that we have one face for memif.
Change-Id: Ic48475a36e37a28cec8cc1448b4b4ee6c001efc0
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
vnet_get_sw_interface_or_null
Change-Id: I080e7e216b779ce8beb292edadff0cc6c468549b
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
to forward interests
Change-Id: I97c408c9e910df0ea7c43c0341c0025521ced125
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
function.
Change-Id: I79cd1c0233c841d5eb111ba6247f46c7510a09bb
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I15306e87a1e8b4207c116b57cbca9fb5b686cf41
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
and we follow the new adjacency. The adj in the face is updated accordingly.
Change-Id: Ieb5c02ee66146475d54ee99a77fc795c9bdf3130
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I054754ff722106a5be45324c1ace25447deeef2c
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
misconfiguration of parameters in param.h
Change-Id: Ia64eaebe267f87bd5f93abf3e5a9e80bab735765
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
create a producer face"
|
|
a producer face
Change-Id: Ic1d72ed2046549cd575cefec0303ae2c78c96322
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
command hicn face ip add
Change-Id: I606fcc8c777124879659623749eb049c9e3929f9
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
|
|
Change-Id: I7a793e3664e30f765861fd5153c99fecb47ce863
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
"via" route.
Change-Id: Ic5e217ea997e8e86db1c21371839dfde03c641cf
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
will be used one of the ip addresses available in the interface
Change-Id: If800a07c0a61cde9152efdee01dd6ae9b12615dc
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: Icfe9cd84bdc72afef3d714064e695d1abef368f5
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: Id87483597b0259ed1b940948f2de7e2138ca97f9
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
visualization of udp faces with "hicn show" command"
|
|
udp faces with "hicn show" command
Change-Id: I8d2898427b19abc707ac7a0c2942576f81094ef9
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Added check if the swif exists on the face ip binary api, before calling the internal api to add the face.
Change-Id: I6e23d20290755707194bc86c93baee8932a03c40
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
configuration file and binary api.
Added simple example with two vpp forwarders, client and server ping application
Change-Id: I170500cd23c9a08b18ac902307a60e7558eb4ea0
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
show the hicn name
Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
- Handling the case in which a pushed data hit an existing pit entry (created after the data has gone through the data_pcslookup_node). In this case the data packet is forwarded to the data_fwd_node
- Handling the case in which the hash table (in pcs) is full and it is not possible to allocate another bucket. In this case the packet is dropped.
- Copying packets whose length is less than 128B. VPP prevents to create a chain of vlib_buffer where the first, or middle, vlib_buffer are holding less then 128B.
[HICN-72]
- Assign a /128 subnet to the producer app face.
Change-Id: I6c19d6d127774a7f59ac69ac965d4bcd6a72becc
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: Id6bb058bfb54e76ab08afae89db8cf489629f306
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|