summaryrefslogtreecommitdiffstats
path: root/nsh
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-09-14HONEYCOMB-46: Add NSH_SFC Readme docHongjun Ni1-0/+14
Change-Id: Id1f8f17d025ebba07db0d138f881384306046487 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> (cherry picked from commit 2d6efba64a5050cb8349c874b5e4d7dadacb28e0)
2016-09-14Add NSH_SFC Postman CollectionHongjun Ni1-0/+337
Change-Id: I67acd9d5ee9581a8365e4ef46b0c441bbdbd9d4b Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-09-14Allow HC user to enable/disable NSH moduleMarek Gradzki3-14/+35
Because NSH plugin is optional in VPP, it is disabled by default in HC. Change-Id: I6842c68b94144b7ba7e9f6f87a2395e0d692a70c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-14HONEYCOMB-46: Add NSH_SFC Feature in HoneycombHongjun Ni16-60/+1299
Cherry pick to master PatchSet 9: Remove unused imports PatchSet 8: Fix interface DI broken PatchSet 7: Move VppNshModule to distribution PatchSet 2: Augment with encap-if-name for nsh-map Change-Id: Ia12afb72edfe804f26b84021b997d55db3129933 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-09-07Cleanup TODOs and FIXMEsMaros Marsalek2-15/+4
- Fix minor ones - Report bigger and include issue number in comment - Pull common dependencies into dependency management of common/parents Change-Id: I06a6ac37c52b603fd73ed42023d6b2e7fa18010f Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Bump version to 1.16.12-SNAPSHOTMaros Marsalek3-5/+5
Change-Id: I27b09dc1fdf7597c8b0751d8cbf950500e03fa23 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-31Fixing pomsMaros Marsalek1-7/+2
- Sample parent path - NSH redundant dependency + parent path Change-Id: I3f4144be4031e2742f9a29c7a5612fbafbf8d0cf Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-16HONEYCOMB-46: Add NSH feature in HoneycombHongjun Ni4-0/+446
PatchSet 14: Refactor NSH Plugin based on new code organization PatchSet 13: merge Change 1796: Add nsh-entry Yang Model PatchSet 12:augment with vxlan-encap-type PatchSet 11: rebase and make nsh yang model visible to ODL netconf PatchSet 8: move vpp-nsh.yang to v3po/nsh folder PatchSet 7: split two patches: nsh-entry and nsh-map PatchSet 6: support md-type1 and md-type2 PatchSet 5: Use encap-type and parameters PatchSet 4: Use identity instead of enum PatchSet 3: consolidate comments from Ed PatchSet 2: fix indent issue. Change-Id: I18353b714d39199ffa346fd39da6cafdbcc1b30c Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>