summaryrefslogtreecommitdiffstats
path: root/nsh
AgeCommit message (Collapse)AuthorFilesLines
2017-09-08Fix 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-28Set Hc2vpp version to 1.17.07.1-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I53e12a6e48130455e6b2c1e395517041f728f7a7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Bump Hc2vpp version to 1.17.07v1.17.07Marek Gradzki3-6/+6
Also updates honeycomb dependencies. Change-Id: I531cc998b4d2a3a3c77664658c8dce42513a1378 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-26Bump nsh-sfc version to 17.07Marek Gradzki1-7/+1
Change-Id: Ic811cad5c24a4ddf9fc07e471b67b1bdb04b6d78 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-24Set jvpp version to 17.07Marek Gradzki1-1/+7
Change-Id: Iac4e527b3a795ade805f3f57ecf7c01fec46bc12 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-18Set hc2vpp version back to 1.17.07-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: I6a0d42009705156b629f1638c3830a84c7e09f1f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-18Bump hc2vpp version to 1.17.07-RC2v1.17.07-RC2Marek Gradzki3-6/+6
Also updates honeycomb dependencies. Change-Id: I6f2e059d96ba8e85ee7fde5d2cae1b24d8f7699d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07Set hc2vpp version back to 1.17.07-SNAPSHOTMarek Gradzki3-6/+6
Change-Id: Iba9ed317babd87cf2ed8b1b0a047c43007b93eb3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07Bump hc2vpp version to 1.17.07-RC1v1.17.07-RC1Marek Gradzki3-6/+6
Also updates honeycomb dependencies Change-Id: I48bc75829313e0c0f3f83ec1bf4dfdcd32b99efa 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>