aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin
AgeCommit message (Collapse)AuthorFilesLines
2017-09-29Add NSH TTL supportv18.01-rc0Hongjun Ni4-19/+67
Change-Id: Id2f8236cc997d08c53217fc92881b8bbf2c2f429 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-08-27NSH Plugin crashes VPP. NSHSFC-34Hongjun Ni2-1/+29
Change-Id: If7a3c3ebbbdc00a4ad351a056ebaacf9a9c237be Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-08-27bump nsh_sfc jar to 17.10Hongjun Ni4-6/+6
Change-Id: I90bd712d6391b3525c77820e4be16970a88ec29b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-06-06Fix adj lookup failure for NSH over EthHongjun Ni2-1/+31
Change-Id: If5b090b7d03b3ad1567c9659cb235c6a54d438ae Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-06-01Fix NSH plugin loading issueHongjun Ni2-2/+2
Change-Id: Ica0e6080a4ebdb898590864b7d5ab1da16d656bd Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-05-24Add Eth as NSH transport. NSHSFC-31Hongjun Ni4-3/+514
Change-Id: Ie0bac56af68ba0b1b45baf9d9a5822fbc1b2c0ac Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-04-25Fix dual-loop issue of NSH-SNAT. NSHSFC-30Hongjun Ni1-0/+32
Change-Id: I000f617e554c55da2629503da415350e139eceba Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit d74de22904687af10de9dbea04a282afb42fb326)
2017-04-17Extend nsh map to support gre4 and gre6 tunnelHongjun Ni3-8/+19
Change-Id: I8c2384082b54a013209c325573edd3775f5eda78 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-04-17NSH-Classifier failed and cause packets dropped. NSHSFC-28Hongjun Ni1-3/+3
Change-Id: I0a4c8d6bf6bb3487b73d425060c7398b020f03e0 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 56f2c156b1697d68fac307433754dc2984abedec)
2017-04-17Fix gre issue due to gre spit into gre4 and gre6Hongjun Ni2-5/+8
Change-Id: I474cb29c28206604fb213fe642f247d69ee5dfcb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-04-03Changes for supoprting iOAM/ NSH export. Add a separate node for POP onlyVengada8-15/+789
handling to support iOAM export dynamic node. Change-Id: I411ee93ea3ec34ed24c18c1ba4b5dc1c9533e483 Signed-off-by: Vengada <venggovi@cisco.com>
2017-04-01Bump master's JVPP version to 17.07Hongjun Ni5-18/+18
Change-Id: Ie710f2a13429c2fd7625ec74f9e850d9b305a736 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-27Fix MD2's api issue for hc2vppv17.07-rc0Hongjun Ni1-3/+3
Change-Id: Ibdeb1eac87d2253c3735be3733cdf8ae2f90b763 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-23Hc2vpp failed to load libjvpp_nsh.soHongjun Ni4-52/+46
Modify code to adapt new API registration mechanism Change-Id: I968199e86278a01ff01267e55468099886689d12 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-22NSHSFC-17 Enable NSH-aware SNATHongjun Ni2-0/+187
Configuration: set interface snat in nsh_tunnel0 out nsh_tunnel1 snat add static mapping local 192.168.50.72 external 10.0.35.1 Change-Id: I8e1bd5e3bea1ccaad03a1bba86eca3e98316df17 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-14Add support for iOAM (sub-TLV) over NSH-MD2. iOAM traceVengada8-3/+1512
records are carried as MD2 TLV data. Change-Id: Id6fe6c961aa3879df5ae476f13b0e39bcc6c0dfe Signed-off-by: Vengada <venggovi@cisco.com>
2017-03-10Restructure code to support both md-type1 and md-type2Hongjun Ni6-187/+894
Basic support to both MD1 and MD2 MD1 configuration: create nsh entry nsp 185 nsi 255 md-type 1 c1 1 c2 2 c3 3 c4 4 next-ethernet MD2 configuration: create nsh entry nsp 185 nsi 254 md-type 2 pot next-ethernet Change-Id: Ide0fdc122d76cb6a55643a15febd985bd41981b0 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Vengada <venggovi@cisco.com>
2017-02-16Merge "Add .gitignore file not to track some temp files"Hongjun Ni1-0/+7
2017-02-16Add .gitignore file not to track some temp filesHongjun Ni1-0/+7
Change-Id: Ife72e2bed5c215f63cb17ef4dd318f45598aa4ee Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-02-15Add NSH Egress Classifier featureHongjun Ni2-2/+7
Change-Id: Ib539f0f98ed03613429e0b6e952b7502f393c2b1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-02-06Fix compile issue due to jvpp and plugin improvementHongjun Ni8-643/+13
Change-Id: I86f172d9b2f59a7e2a24c71e876230c7ba48111e Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-26NSH Proxy session failed to configure via restconf. NSHSFC-21Hongjun Ni1-0/+6
Change-Id: Id2e81fe3536cccd2678889a29559cea3d62dbf99 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 24613f9946b814f2174b98a0020cfd55a0cf1fc5)
2017-01-26Insert nsh-classifier as a next node into l2-input-classifier statically. ↵Hongjun Ni1-0/+2
NSHSFC-20 Change-Id: I77b04c804e9c4e6dd96e7f4ffee88fff8a018aeb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 6c646d10a943617c1d49adebe9467ffe680e82fc)
2017-01-19Bump master's JVPP version to 17.04Hongjun Ni2-4/+4
Change-Id: If2787a3ccae1e17daabaadede0de956c68f3a6dd Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-11Fix master compile issuev17.04-rc0Hongjun Ni1-5/+8
Change-Id: I564484caec691186eab0837921fbfa1400b76320 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-28add nsh to xvlan-gpe next decap node listGabriel Ganne1-1/+3
Change-Id: Ie6d9ad0ae601d93569cd1624f10b61402b7e88bf Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-12-28register nodes using extern declaration in their respective headersGabriel Ganne2-34/+13
affects gre, vxlan4/6, vxlan-gpe4/6 Change-Id: I1acc2803262c62dd5d96a916d135f09523a32013 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2016-12-07Bump jvpp version to 17.01Marek Gradzki2-4/+4
Change-Id: I963ec6ba31e1aece10934708608442415db6fd08 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-02Add NSH Classifier feature in NSH_SFCHongjun Ni2-4/+69
nsp and nsi is passed via vnet_buffer(b0)->l2_classify.opaque_index Change-Id: I8c58201b0ccbb10527adf78471d8d87cff50958a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-01Add NSH-Proxy feature within NSH_SFCHongjun Ni3-68/+356
PatchSet 6: spit nsh_input to three node instances PatchSet 5: refactor NSH-Proxy PatchSet 4: Fix some issues PatchSet 3: get parameters from VPP via metadata PatchSet 2: Add FIXME Change-Id: I97448af867eb71554b8629f8da57a2ed6c6a3b8a Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-01VPP-530: make jvpp generator use json api representationMarek Gradzki1-4/+4
Depends on https://gerrit.fd.io/r/#/c/3963/ Change-Id: I5abef531e73bb34c7f06d9206b63c05468c14b14 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-25Add nsh_action process in dataplaneHongjun Ni1-28/+129
Change-Id: I46ac7e1c675b288e012d3fe4b57ce055041146e8 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-11-23Fix nsh_action CLI issueHongjun Ni1-2/+3
rebuild Change-Id: I5d823724186bdc31b15e4739f9f33f0a29d87fbe Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-11-03Remove unused nsh_control_pingMarek Gradzki4-77/+3
The nsh_control_ping was intended to be temporary workaround for jvpp problems. Now it can be safely removed. Change-Id: I8ea65f84617f1ab772432902ea13c102e165f026 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-03Fail to register Java API for nsh plugin if it was not loaded (VPP-522)Marek Gradzki1-17/+22
Change-Id: I8746a89b1f7f146d23c40154936aa0ac7f121bae Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-27Add NSH Entry error counterHongjun Ni2-3/+4
Change-Id: I4c0180ba52b50d8adad9cf1d0501a0cc2dd2fdb3 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-26Fix nsh_map_dump_details issueHongjun Ni1-1/+1
Change-Id: I4b3094b1895721bc88756d026452a5fcecb4c27b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-19Add nsh_action filed in nsh map APIHongjun Ni3-2/+62
In order to support SF, NSH Classifier, add nsh_action: swap|push|pop in nsh map API. Change-Id: I6e9eee13cbd2aa61e72420bfb4f74e9bb7bdfe4d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-08Fix HC NSH Reader failureHongjun Ni1-3/+3
Change-Id: Ie78622f24ecd65932d27b2710e9ff6785813ef37 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-04Fix rpm packaging to usr /usr/lib not /usr/lib64Ed Warnicke1-6/+6
Change-Id: Ic64b7369aa7459676fc4ac272637d20fbdbb7fac Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-04Only build packages, don't do a fresh make install afterwardEd Warnicke1-2/+10
Change-Id: I395ed0991ea1a432f2e4d1d75b6dde45197434f3 Signed-off-by: Ed Warnicke <hagbard@gmail.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-04doc: Initial doxygen framework for NSH SFC projectHåkan Jonsson1-0/+35
A first attempt for a documentation generation using Doxygen for the NSH SFC project. Doxygen tagging and documentation in the code still need to be done. Based on a copy of the Doxygen framework in VPP. Top Makefile added to (only) build documentation. Change-Id: Ibd09d9f5338609a7f57a384ded86fca874f4efdc Signed-off-by: Håkan Jonsson <hakan.jonsson@ericsson.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-04Start building rpms and debs in CIEd Warnicke1-1/+5
Change-Id: I880d6bb4848b9d0482c24eae1032d72c537a620e Signed-off-by: Ed Warnicke <hagbard@gmail.com> (cherry picked from commit 8c90bd263a620c340589c4b8019f188ea62223e9)
2016-10-04Fix to make "make dist" workEd Warnicke2-2/+4
Change-Id: I5f944198aa3b2cb55855157d8087d4bef6067106 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-04Fix really bad hardlinking of build directory into include statmentsEd Warnicke1-3/+3
Change-Id: I6101b28e2ac97412e5d2feeb4158bcabce9d804f Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-04nsh-plugin deb packagingEd Warnicke7-1/+125
Change-Id: I100f14fe2bc215beab8635cd987423599f15aaa0 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-04nsh-plugin rpm packagingEd Warnicke5-0/+109
Change-Id: I5ccacfa9e09c88f84ac5b5cb303ba4d170f3743d Signed-off-by: Ed Warnicke <eaw@cisco.com> Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-10-04Clean out files that should never have been committedEd Warnicke2-22615/+0
configure and libtool.m4 should't be committed, but rather generated by autoreconf -f -i nsh-plugin-api/* should not have been committed at all and is not used at all. Change-Id: Ic5f8160c39c4ff17baf36c59d7b67d8d7baed43a Signed-off-by: Ed Warnicke <hagbard@gmail.com> (cherry picked from commit 7e1fb32a85d72b147b9d3b2aa92223d782d166e3)
2016-09-28VPP-378: update jvpp package namesMarek Gradzki6-33/+32
Depends on vpp change: https://gerrit.fd.io/r/#/c/3178 Related Honeycomb change: https://gerrit.fd.io/r/#/c/3182 Change-Id: If8aa43a646ee64fb98b7d8b4398fbdf221c7dc25 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-16Fix .gitignore file to actually workEd Warnicke1-10/+10
Change-Id: Ica8ac231d0084fd5d5f15e3473e1dc82e6fdbe7a Signed-off-by: Ed Warnicke <hagbard@gmail.com>