aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25Need to change from host order to net order when encaping nsh header NSHSFC-22v17.01stable/1701Hongjun Ni3-8/+22
Change-Id: I689c55d0689c4cbc1493432d2e0761a277fe8ec3 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-25Bump jar version to v17.01Hongjun Ni2-4/+4
Change-Id: Idbad312ce1e9e3c3bd5e7cb5ad0e6ed220e926f4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-25NSH Proxy session failed to configure via restconf. NSHSFC-21v17.01-rc3Hongjun Ni1-0/+6
Change-Id: Id2e81fe3536cccd2678889a29559cea3d62dbf99 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-18Insert nsh-classifier as a next node into l2-input-classifier statically. ↵v17.01-rc2Hongjun Ni1-0/+2
NSHSFC-20 Change-Id: I77b04c804e9c4e6dd96e7f4ffee88fff8a018aeb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-18Test tag v17.01-rc1Hongjun Ni1-1/+0
Change-Id: Id8daa33dbcabc44c3afc4a3a85acae34742010f6 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>
2016-06-22VPP-70: Fix nsh-input next_index issueHongjun Ni1-1/+0
Change-Id: I46e3a6ee18846e3d786600b08f23113e3aa9af03 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-21Merge "Have verify.sh use build.sh so verify checks user code path"Keith Burns1-1/+5
2016-06-21Add input node wiring for vxlan4-gpe-input, vxlan6-gpe-input, greKeith Burns (alagalah)2-31/+54
Change-Id: Ie7b132924f36a0522e956a80d3f6f2b5fcca84f0 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-06-17Have verify.sh use build.sh so verify checks user code pathEd Warnicke1-1/+5
Change-Id: Iadc3b1cec27d994daf6bc096c2230be19b565655 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-18Build needs prefix else stuff goes in the wrong placeKeith Burns (alagalah)2-2/+2
Change-Id: I7e6c8ac8bf754ed9f88da7c691b21aef439993c5 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-06-15NSHSFC-3: Fix create_nsh_map_command's helpHongjun Ni1-131/+119
PatchSet 2: fix indent issue. Change-Id: I1dbff5081c685d4cd492a6b53a7130bf065f9c85 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
2016-06-15NSHSFC-1 Initial move from VPP to NSH_SFCKeith Burns (alagalah)13-0/+1687
- API is giving me some negative energy currently -- I'll work it out but wanted to publish both VPP-61 and this simultaneously Change-Id: I4a04b56dd470655114605621d0c44ea3c26bc069 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>