summaryrefslogtreecommitdiffstats
path: root/nsh
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19Bump hc2vpp version to 1.17.10-RC2v1.17.10-RC2Marek Gradzki3-6/+6
Also updates honeycomb dependencies Change-Id: Ifc6b3233b141236c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Set hc2vpp version back to 1.17.10-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I6fa53750c10dc914794d4d45ebc5fdb881e214c8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-04Bump hc2vpp version to 1.17.10-RC1v1.17.10-RC1Marek Gradzki3-6/+6
Also updates honeycomb dependencies Change-Id: Ifc6b3233b14f0d6c3d2d70930e3a711a20344411 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-28Bump nsh-sfc version to 17.10-SNAPSHOTMarek Gradzki1-7/+1
Change-Id: I722e260dca2bae351d4bb1ef4c27ac65bf9b1248 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-16HONEYCOMB-386 - Hc2vpp Customizers updateJan Srnicek2-26/+10
Utilizes new default update implementation Change-Id: I9bf8473336274ba5fcfc18804f7b414937b3708e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Usage of ShutdownHandler for jvpp componentsJan Srnicek1-10/+7
and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-03Fix vpp-translate-test scopeMarek Gradzki1-0/+1
Wrong scope was needlessly increasing footprint and caused DEBUG logs to be printed after introducing https://gerrit.fd.io/r/#/c/7895/ Change-Id: Iad75e376da8b2a3005cfaf5147062a35b15a5e64 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-25HC2VPP-180 - Doc coverage generatorJan Srnicek1-2/+2
TODO - links to specific vpp api section(now points just to section with apis) TODO - links to specific java binding code(now points to class thats doing binding) TODO - operational coverage(ASM does not support lambda processing) TODO - generate coverage adoc links Change-Id: I44c85012da3bd2e7cdd41930753e5aae6955cd7b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07Bump jvpp version to 17.10-SNAPSHOTMarek Gradzki1-1/+7
Also sets version of vpp package dependencies to 17.10 Change-Id: I4e139ff2d485933c0de3339db50714a5c72e0a9e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump hc2vpp version to 1.17.10-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I744c3bc4962295b307b718764adb14035ee13d1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06HONEYCOMB-360 - Use binding-init module instead of whole distro coreMarek Gradzki2-2/+2
Change-Id: I86eb100ca96169c7cf8df7ba9f2a1c7e3e75d77f Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-01Change minimal-distribution to minimal-distribution-coreMarek Gradzki1-1/+1
The minimal-distribution-core was introduced by HONEYCOMB-373. Adoption is needed to remove indirect dependencies on various HC infra yang models to decrease footprint (HONEYCOMB-358 loads yang models based on maven dependencies). Change-Id: Iba639efb893deb8d51de09009750542f78dfdd50 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-16Rename yang files to match model revisionMarek Gradzki1-0/+0
Also order of revisions was sorted starting from most current. Change-Id: I21fd35cfdb1cc5601b3fb40c9f3755bd3b995b14 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-09Update module tests after introducing YangDAGMarek Gradzki1-2/+3
Change-Id: I3ce66e2e1fbed7b9a333382c664b5dd8ed501df0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-04-04Bump hc2vpp version to 1.17.07-SNAPSHOTMarek Gradzki3-8/+8
Also bumps honeycomb and vpp dependencies Change-Id: Ice9863b8afc1895d43b97953ed6d93e739730f5e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-28Postman to support NSH MD2 featureHongjun Ni1-18/+100
Change-Id: Ie188c82bde7b38f60db949ba4d97c1c8c2e7cdbe Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-27Add Yang model for NSH MD2 supportHongjun Ni11-100/+204
Change-Id: Idec4f8dae90ef90de538b977248bee7a078ae374 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-03-24Add hc2vpp common parentsMarek Gradzki3-6/+8
- provides single root (hc2vpp-parent) for all projects to make site plugin work - fixes relative links in child poms - adds missing project names Partially based on https://gerrit.fd.io/r/#/c/4720 To test: - mvn clean install && mvn site site:stage - open hc2vpp/target/staging/hc2vpp-parent/hc2vpp-aggregator/index.html Change-Id: Ife5a8555748221cd8bcc8ad2fa48f1d0e98fff1d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-27Bump NSH version to 17.04-SNAPSHOTMarek Gradzki1-8/+1
Change-Id: Iea99737616deb7612058b93b36e548e178a80ed9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-16Postman for NSH Egress ClassifierHongjun Ni1-24/+159
Change-Id: I94fb36cfc2610a727043f6f1e778cfe4d09f3488 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-02-17Add NSH Egress Classifier featureHongjun Ni3-42/+58
Change-Id: I3242b8913df2eaa525f8595f6e2899203986b172 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-18Add test postman for complete NSH ClassifierHongjun Ni1-0/+345
Add and Delete configuration items in numeric order Change-Id: I488cd213e8a6893a6cc173d80a45cb056e8c98e2 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-16Add test postman for complete NSH-ProxyHongjun Ni1-8/+250
As per some customer's request, add a complete postman configuration for NSH-Proxy. Change-Id: Ifcfc9665424bf32440227cae84da7c8660959aa6 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-13Add test postman for complete SFFHongjun Ni1-7/+311
Change-Id: I8d591a2dcbc1d9f5016122f1480136c4f42c2079 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2017-01-11Bump of jvpp version to 17.04Jan Srnicek1-1/+8
Depends on https://gerrit.fd.io/r/#/c/4632/ Nsh stays on 17.01, till owner provides higher version Change-Id: I1f51699b6809d30dd0272301ebb1074a42863618 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-05Bump hc2vpp versoin to 17.04Marek Gradzki3-6/+6
Also updates version of honeycomb dependencies. Vpp API version bump moved to separate commit due to issues with jvpp jars. Change-Id: Id336393b00fe05e8ecee9b547dcfc6a49e1a98ec Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14Postman for support decap_next with node nameHongjun Ni1-7/+28
Change-Id: I0c6a749958a7d42ea3d03fdded8ed98bb2abf71e Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-08Bump nsh_sfc java bindingsMarek Gradzki1-1/+1
Change-Id: Ib4c099de44f3f72105fa56ddd433a3e0acda428c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-08Postman for support nsh-proxyHongjun Ni1-35/+151
Change-Id: I130809569de94b572bb320eef392bd9e241f7a3e Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-08Augment nsh-map to support nsh-proxyHongjun Ni11-90/+115
recheck Change-Id: Ie2c3b7901e20df3e6bb19cceebe1e6d5c077cbea Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-07Set hc2vpp version to 17.01 to align with vpp releaseMarek Gradzki3-6/+6
Depends on https://gerrit.fd.io/r/#/c/4137 Change-Id: I11cc690bf5d12db5c7223f46a19c3f555213aead Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-06Bump jvpp version to 17.01Marek Gradzki1-1/+1
Change-Id: I61bd9c78ad4a1a654ed3d54e76163724a738913f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-27Removed references to old v3po pluginJan Srnicek2-2/+2
These(maven part) were causing distribution export old v3po.json file, which would cause runtime error due to non-existing keepalive-delay property Change-Id: Icde6a8187ff7b1424df18521c2de8279fa7ad33b Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-24HONEYCOMB-275 - compilation error with HC runner and setUpJan Srnicek2-40/+40
Refactored setUp() method in WriteCustomizerTest to not trigger http://errorprone.info/bugpattern/JUnit4SetUpNotRun while used in combination with @RunWith(HoneycombTestRunner.class) Change-Id: Iba56b39399ddd7678dda97e094e935a3f02dd22c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-11-19Post split cleanupMaros Marsalek17-51/+49
- change groupIds - change packages - update poms Change-Id: I343c5a292a67de1dd50687870ca4ab5b7276e93e Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-08HONEYCOMB-270 Add isPresent() to Readers/CustomizersMaros Marsalek1-2/+2
So that they can influence whether empty data is to be considered as present + Move registries implementations from util to impl + Introduce DelegatingReader trait + Extend GenericReader where possible to reduce duplication Change-Id: I5a416acd0c4eab1fbc30fcbe585719991dbe9215 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-28Honeycomb-73 Extensible initializers for nshMaros Marsalek14-273/+81
Change-Id: I019e4d1ac50d77c20b47c39e7eafee36cc04509b Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-26Augment postman json with nsh_actionHongjun Ni2-118/+125
Change-Id: I2940b98397f1bdb140b042e78551971b868180f2 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-24Augment nsh map API with nsh_actionHongjun Ni5-0/+70
Depends on VPP's patch: https://gerrit.fd.io/r/#/c/3462/ Change-Id: I874cb7c5b39b9ece75d7d9af980e8d25df6f5aad Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-15Raise test coverage of nsh plugin. HONEYCOMB-198Hongjun Ni2-0/+76
Change-Id: Iaf57bced6f07799e26470dd5c1700a8bbe7960f4 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-14Raise test coverage of nsh plugin to 80%. HONEYCOMB-198Hongjun Ni5-2/+224
Change-Id: Ia1ebc0330544d63c66b6462a33563b86358ace6c Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-14HONEYCOMB-229 Introduce NAT to HCMaros Marsalek1-2/+2
Reflects SNAT from VPP: - 1:1 Static IPv4 mapping - interface in/out NAT feature management Bonus: - Support presence containers in infra Change-Id: Ieb38526f83edbae5e605d5c7e39bb22bbafc50e5 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-13HONEYCOMB-207 : Configurable modules list for distributionsJan Srnicek3-68/+0
Export list of modules for built distribution on compile time according to distribution.modules property to ***module-config.txt Load aggregated set of modules on start from all descriptors in /modules folder Change-Id: Icdeb23536aee3a243a221d3f2ec5f340d387764e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-13Add NSH map test case. HONEYCOMB-198Hongjun Ni3-1/+303
Change-Id: I2d2fc50e25350d95d6b529eb3af045ea23e661ec Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-12Add NSH entry test case. HONEYCOMB-198Hongjun Ni3-0/+334
Change-Id: Ie11b030f3071fdeca4b8fda5bcb63f6ba1de3b80 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-10-06HONEYCOMB-236 - Unified read/write exceptionsJan Srnicek4-170/+137
Change-Id: Idde761d0c0c2c4d96555ef94dbdaa87fad889493 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-09-28VPP-378: update jvpp package namesMarek Gradzki9-26/+26
Depends on - vpp: https://gerrit.fd.io/r/#/c/3178 - NSH: https://gerrit.fd.io/r/#/c/3181 Change-Id: I1929947ccccc453aa32552fc42942a8b24ade157 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-27HONEYCOMB-206: change package name to match groupIdMarek Gradzki7-22/+15
Change-Id: I74f769c09e86f08b1753e685a134d20e801bd7da Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-26HONEYCOMB-209 Configure maven siteMaros Marsalek6-8/+15
To produce site for Honeycomb + javadoc asciidoc To build the site: mvn clean install site:attach-descriptor site mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-09-23HONEYCOMB-145 - Utility Class RefactoringJan Srnicek4-141/+114
problematic mockito-all changed to mockito-core( https://github.com/mockito/mockito/issues/324) Translate Utils Splitted to multiple Trait Interfaces Ipv4Translator - Logic for translation of ipv4-based data Ipv6Translator - Logic for translation of ipv6-based data MacTranslator - Logic for translation of mac-based data AddressTranslator - Aggregation trait for Ipv4/Ipv6/Mac JvppReplyConsumer - Logic for extracting replies from jvpp calls ByteDataTranslator - any byte-based conversions Plus some existing utility classes changed to traits Change-Id: I342b625954223966802e65dca0fabf8456c89345 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>