summaryrefslogtreecommitdiffstats
path: root/nsh-plugin
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-09-12Change versions on master to 16.12v16.12-rc0Ed Warnicke1-2/+2
Change-Id: I440d1c839e83c3741e0decb7628c383a172e19d3 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-08Fix groupId so we can push artifactsv16.09-rc0Ed Warnicke1-1/+1
Change-Id: I38e3ab1016091c2d4623c4a61c1090ce1a4f2054 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-09-07jvpp support for nshEd Warnicke36-58/+25028
Augment APIs with entry_index for reply, dump and details Squashes: https://gerrit.fd.io/r/#/c/2538/ https://gerrit.fd.io/r/#/c/2118/ https://gerrit.fd.io/r/#/c/1884/ Change-Id: Ibbdc53e2db8ffa5499380f6ce70356c4a401315e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-08-11NSHSFC-7: send detail messages with proper idMarek Gradzki1-2/+4
Change-Id: If2c25f81853fc5b6f1a8a26cdfaa44f38b8bf394 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-03Augment md-type2 support within NSH APIHongjun Ni1-0/+4
PatchSet 2: change tlv[256] to tlv[tlv_length] Change-Id: I783483de0d55f38ad96c99faa701d735ba109f43 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-02Change control_ping to nsh_control_pingHongjun Ni3-13/+14
PatchSet 3: rebuild PatchSet 2: add msg_id_base Change-Id: I3a52acced0f85e5799560926fa8f4eb65e674009 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-02Workaround for C thread to Java thread attachment for pluginsHongjun Ni3-2/+97
Change-Id: Ic33c37f63a30946ee451d3223db3bd1e3043f408 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-02Fix tlv[0] issue of nsh_entryHongjun Ni4-18/+7
PatchSet 2: delete tlv Change-Id: I19131a8dfc441be1d7cbb92c817a3f7e583f9189 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-02Add nsh_map_dump APIHongjun Ni3-4/+90
Change-Id: If901cf638c9142c362afeb9634a7cbcd458c0125 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-08-02Add nsh entry dump APIHongjun Ni3-0/+105
Change-Id: I6664c9929b8332eb8f4d7bc33f0f99b458a71908 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-07-29Fix nsh_add_del_map issue with VATHongjun Ni3-22/+28
PatchSet 4: rebuild PatchSet 4: rebuild PatchSet 3: rebuild again PatchSet 2: rebuild Change-Id: Id8c10d65767a9d4eded63d7be6a87e2f87f383db Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-07-29Fix nsh_add_del_entry issue in VATHongjun Ni1-1/+12
Change-Id: I880204a58e6bd90702d935322de53a4377ff099b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>