summaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 Gradzki3-76/+2
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-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-09-07jvpp support for nshEd Warnicke5-96/+102
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 Ni3-17/+6
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-21Add input node wiring for vxlan4-gpe-input, vxlan6-gpe-input, greKeith Burns (alagalah)1-29/+52
Change-Id: Ie7b132924f36a0522e956a80d3f6f2b5fcca84f0 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)8-0/+1590
- 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>