summaryrefslogtreecommitdiffstats
path: root/extras
AgeCommit message (Collapse)AuthorFilesLines
2018-10-03jvppgen: update headersBernhard M. Wiedemann1-2/+2
headers of generated files should correctly tell about where it cames from to not confuse readers. Change-Id: If667fa4aab188978156982adf3fa13474bd93e9e Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2018-10-02Fix JVPP enum _host_to_net_ translation (VPP-1438)Michal Cmarada1-2/+2
- use ordinal value of enumeration instead of accessing its value directly. Change-Id: I6327a8f7668852846907a92c2713de9ff90c1c75 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-10-01Fix the path error inside vcl socket_test.shYalei Wang1-2/+2
Change-Id: I5bcfbd436839e7a6dd82dc57cdb3b7fb6200a69c Signed-off-by: Yalei Wang <william.wangyalei@huawei.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2018-09-29vom: Fix the l2 port type in bridge domainMohsin Kazmi5-35/+105
Change-Id: I8aba11142daeacce892ec529c2229ec54ee427e2 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-09-27Revert "japi: Move Java API binding to cmake"Damjan Marion6-218/+384
components: Development CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find JNI (missing: JAVA_AWT_INCLUDE_PATH) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.10/Modules/FindJNI.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:37 (find_package) -- Configuring incomplete, errors occurred! See also "/scratch/vpp-tmp/build-root/build-vpp-native/japi/CMakeFiles/CMakeOutput.log". See also "/scratch/vpp-tmp/build-root/build-vpp-native/japi/CMakeFiles/CMakeError.log". Makefile:640: recipe for target 'japi-configure' failed make[2]: *** [japi-configure] Error 1 make[2]: Leaving directory '/scratch/vpp-tmp/build-root' This reverts commit a33db2528485ac39e8987bec7b138dbdad21dc5a. Change-Id: I8a818ce70a8379656c1134432e22db418a4690fe Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-09-27libmemif: external region bugfixJakub Grajciar2-2/+5
Change-Id: I7dbece80dda917ff78f53f8f4074132895aed316 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2018-09-27vom: Add ip punt redirectMohsin Kazmi5-0/+585
Change-Id: I5c7b925b22b53f18b0c45374883a6a4bff580c75 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-09-26japi: Move Java API binding to cmakeMohsin Kazmi6-384/+218
Change-Id: Ia7ddd9f9e2e2d9c133967593c3e187fe42501eac Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-09-26rpm: Fix the spec file to look into right directoriesMohsin Kazmi2-4/+4
Change-Id: If526e9f17226d7c371a8a98b9ac932196dab547a Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-09-25L2 BD: introduce a BD interface on which to send UU packetsNeale Ranns1-2/+4
Change-Id: I21ad6b04c19c8735d057174b1f260a59f2812241 Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-09-21Fixed japi/java/Makefile.am so the JAR for NSH plugin builds as well.Tibor Král2-1/+21
Change-Id: I15b3e51d6e0206f4a387eb2ce764914167149385 Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
2018-09-20rename vpp-dpdk-dev to vpp-ext-depsDamjan Marion1-1/+1
We need to have new tenants in the development package. This is first of series of patches which will allow us to have multiple external libs and tools packaged for developer's convenience. Change-Id: I884bd75fba96005bbf8cea92774682b2228e0e22 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-09-14cpack: add deb/rpm packaging to VPP moduleDamjan Marion2-0/+8
This allows easy packaging of external projects, including VOM and sample plugin. i.e. $ make -C build-root PLATFORM=vpp TAG=vpp sample-plugin-install $ ninja -C build-root/build-vpp-native/sample-plugin package ninja: Entering directory `build-root/build-vpp-native/sample-plugin' [0/1] Run CPack packaging tool... CPack: Create package using DEB CPack: Install projects CPack: - Install project: sample-plugin CPack: - Install component: vpp-plugin-sample CPack: - Install component: vpp-plugin-sample-dev CPack: Create package CPack: - package: build-root/build-vpp-native/sample-plugin/vpp-plugin-sample_18.10~rc0~413~g1433e9d1-1_amd64.deb generated. CPack: - package: build-root/build-vpp-native/sample-plugin/vpp-plugin-sample-dev_18.10~rc0~413~g1433e9d1-1_amd64.deb generated. Change-Id: I6b3ec2433961e53edd976b19659ce214d272c40a Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-09-14cmake: use VPP package in VOMDamjan Marion2-7/+9
Change-Id: I83b244be920521e580085beffb7e40613e67c8ee Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-09-13Fix: vppapigen make build fails on fresh installPaul Vinciguerra1-2/+2
Steps to reproduce: vagrant@localhost:/vagrant$ build-root/vagrant/build.sh ... @@@@ Building vpp in /vagrant/build-root/build-vpp-native/vpp @@@@ [51/1169] Generating API header /vagrant/build-root/build-vpp-native/vpp/vlibmemory/memclnt.api.json FAILED: cd /vagrant/build-root/build-vpp-native/vpp/vlibmemory && mkdir -p /vagrant/build-root/build-vpp-native/vpp/vlibmemory && /vagrant/src/tools/vppapigen/vppapigen --includedir /vagrant/src --input /vagrant/src/vlibmemory/memclnt.api JSON --output /vagrant/build-root/build-vpp-native/vpp/vlibmemory/memclnt.api.json AttributeError: 'module' object has no attribute 'dumps' This seems to be due to JSON.py namespace colliding with the standard lib json.py Change-Id: If389e4e05ef0c166b0c2b3bef7ec0185298679a8 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
2018-09-12Always use 'lib' instead of 'lib64'Damjan Marion9-29/+21
It is packaging responsibility to put libs in the right place. Use of lib64 resulted in huge amount of files with hardcoded lib64. This patch simplifies things... Change-Id: Iab0dea0583e480907732c5d2379eb951a00fa9e6 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-09-11GBP Endpoint UpdatesNeale Ranns7-64/+104
- common types on the API - endpoints keyed in various ways for DP lookup - conparison functions for VPP IP address types Change-Id: If7ec0bbc5cea71fd0983fe78987d147ec1bd7ec8 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2018-09-09cmake: Move VOM to cmakeMohsin Kazmi5-263/+274
Change-Id: I352dbb8e972e59a4caae4acd507153446470ce6b Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-09-07update regex used by rpm build to find lib filesMatthew Smith1-1/+1
The old expression was '*.so.*.*.*' to find shared library files with 3 components in the version. Building from master gives you files with 2 components in the version (e.g. libvnet.so.18.10). So most libs were not getting included in vpp-lib. Change-Id: Ib89d2f5aeb2417eed1b6b851089b9d22f540a226 Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2018-09-07libmemif: slave connecting bugfixJakub Grajciar3-48/+70
in case first connecting slave fails continue connecting others add disconnect string to memif details Change-Id: I9d83db4724de1cab60786dca566e004016cf1e59 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2018-09-04Add JVPP for NSH pluginHongjun Ni3-0/+149
Change-Id: Ie904cbaf571165021e49c6c1052cee3205cde3ae Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2018-09-02Switch to cmakeDamjan Marion2-8/+0
Change-Id: I982b69390c55b5ffbd744f355efc0aaf425b360c Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-08-31Introduce a mac_address_t on the API and in VPPNeale Ranns5-2/+171
Change-Id: I05d6c2cb5d34de469eb050e4ee10dc6b954c986d Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2018-08-30SUSE: fix spec to generate RPMsMarco Varlese1-27/+27
Change-Id: I36ec5136d0f100c8277a19f89c8f6c9640e0614e Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2018-08-30libmemif: external region supportJakub Grajciar9-123/+1460
region 0: descriptors region 1: buffers (external) Change-Id: Ia728967817b4c78bc00f8eed44606d0c5bc386b0 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
2018-08-27VOM: Add support bridge domain arp entry dumpMohsin Kazmi3-0/+102
Change-Id: I5d563e1ebc3bd0a40e9347eaf0d00cad1f86a382 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-08-21SUSE: rpm-packaging fixesMarco Varlese2-2/+9
Change-Id: Ic7ddc34bbb2fe414d41a083efd8caf35a12488ab Signed-off-by: Marco Varlese <marco.varlese@suse.de>
2018-08-20Add Dockerfiles for run/build.Ed Warnicke6-0/+68
build-root/docker/build/ contains Dockerfiles for building vpp build-root/docker/run. contains Dockerfiles for creating Docker containers for runnining vpp. xenial, bionic, and centos7 are supported Change-Id: I90dd96ed9e01da14eead0395e597219717eead88 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-08-14Make vagrant work behind a proxyKyle Mestery6-13/+17
Without this change, I cannot get the in-tree VPP Vagrant to work behind a proxy. This commit fixes that by ensuring when we run sudo we're passing environment variables, amongst some other cleanups. Change-Id: Ica98a1238d40e6e6ccf80c472f52559c95af52f0 Signed-off-by: Kyle Mestery <mestery@mestery.com>
2018-08-11emacs skeletons: add quad/single, avx2/avx512 supportDave Barach6-6/+329
Change-Id: Ib8095ad69620308d6199ab030a754ee45f92e59b Signed-off-by: Dave Barach <dave@barachs.net>
2018-08-07PAPI: Move unit tests to fix packaging issues.Ole Troan1-1/+0
Change-Id: I67a0f168254367c657eb11d4413f9dc0c5356b3c Signed-off-by: Ole Troan <ot@cisco.com>
2018-08-03PAPI: Union pad at the end of short fields instead of at head.Ole Troan1-0/+1
Hopefully that's going to be consistent across platforms, compilers and ABI. Change-Id: I0b82565288d88fd046278d4d8288ec1488273ba5 Signed-off-by: Ole Troan <ot@cisco.com>
2018-08-02Temporrary disable japi packaging for opensuseDamjan Marion1-26/+26
To unbreak verify job, caused by following message: 19:06:58 RPM build errors: 19:06:58 File not found: /w/workspace/vpp-verify-master-osleap15/build-root/rpmbuild/BUILDROOT/vpp-18.10-rc0~105_g0578e3f9~b1992.x86_64/usr/share/java/* 19:06:58 make[2]: *** [Makefile:50: RPM] Error 1 19:06:58 make[2]: Leaving directory '/w/workspace/vpp-verify-master-osleap15/extras/rpm' 19:06:58 make[1]: *** [Makefile:476: pkg-rpm] Error 2 19:06:58 make[1]: Leaving directory '/w/workspace/vpp-verify-master-osleap15' 19:06:58 make: *** [Makefile:541: verify] Error 2 19:06:58 Build step 'Execute shell' marked build as failure Change-Id: Ie1300cbf70bedb9dd861a3f31feeddf1eb810eaf Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-08-02vcl: fix debug messages output before heap cfgFlorin Coras1-0/+20
Change-Id: Ifaef7ab2bc2fd4f5b4822d894facbcae01849031 Signed-off-by: Florin Coras <fcoras@cisco.com>
2018-08-01Move java api to extras/Damjan Marion116-6/+10191
Change-Id: Ibd5cbbdfb22a235442cddaebc9eae9a3c4e35ec9 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-07-30Update Release Notes for 18.07 ReleaseEd Warnicke1-2/+2
Change-Id: I2b58bca6d360badb4fd17022121e244aee5713b8 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2018-07-17VOM: support for pipesNeale Ranns80-300/+886
Change-Id: I5c381dfe2f926f94a34ee8ed8f1b9ec6038d5fe2 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2018-07-11memif: fix max number of ringsDamjan Marion1-1/+1
Change-Id: Ie7621a38a44e7c692e23e58c43d27d8d2aab43e6 Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-07-11vom: Add TAPv2 supportMohsin Kazmi11-176/+383
Change-Id: I1fff014dd7d8a66ed3cb063e8c996de4f7e745c2 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-07-10openSUSE: spec file update to reflect latest depsMarco Varlese1-5/+13
Change-Id: I3c04956400a2e88d331f43d1b4865ee2c75e7bc9 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2018-07-03vom: Add cross connect supportMohsin Kazmi5-0/+698
Change-Id: Ia316730d8f9fe9836200aa96e0b5fd827dc71c98 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-06-28libmemif: fixing head/tail arithmetics & queue reallocationMilan Lenco2-11/+6
Change-Id: Ibc1f01b1cc99e7be77e892e53b7e1283f2a145cf Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2018-06-22Python API: Add enum and union support.Ole Troan2-2/+2
As well as a rewrite of the encoders/decoders to make it more readable and extensible. (Re-commit after fix to verify build.) Change-Id: Ic244d3cebe070bb2570491f8a24f4a1e203f889a Signed-off-by: Ole Troan <ot@cisco.com>
2018-06-18Revert "Python API: Add enum and union support."Ole Trøan2-2/+2
This reverts commit a5ee900fb75201bbfceaf13c8bc57a13ed094988. Some of the unit tests breaks. Backing out until fixed. Change-Id: I1846fb417db44a2a772f7b59cda8bcfe6d39f8c3 Signed-off-by: Ole Troan <ot@cisco.com>
2018-06-17Python API: Add enum and union support.Ole Troan2-2/+2
As well as a rewrite of the encoders/decoders to make it more readable and extensible. Change-Id: I253369ac76303922bf9c11377622c8974fa92f19 Signed-off-by: Ole Troan <ot@cisco.com>
2018-06-11vom: Add support for af-packet dumpMohsin Kazmi5-9/+102
Change-Id: I0a1fc36ac29f6da70334ea3b5a5cf0e841faef76 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
2018-06-10add script for virtual function create/show/removeDamjan Marion1-0/+132
Change-Id: I151bc4269cb4d7e8572a6a676da20f69206d6c3f Signed-off-by: Damjan Marion <damarion@cisco.com>
2018-06-07DHCP Client DumpNeale Ranns9-318/+610
- use types on the DHCP API so that the same data is sent in comfing messages and in dumps - add the DHCP client dump API - update VOM to refelct API changes - rename VOM class dhcp_config* dhcp_client* - the VOM dhcp_client class maintains the lease data (which it reads on a dump) for clients to read Change-Id: I2a43463937cbd80c01d45798e74b21288d8b8ead Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2018-06-03Interface Tag: memset field in VOM, clear the tag in VPP on interface deleteNeale Ranns1-0/+1
Change-Id: Id97de732b5952d5d86202e7749c9e81cf8dbed87 Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
2018-05-25ARP proxy dumpsNeale Ranns7-20/+159
Change-Id: I8335ebf266becf2f42bb3f28a17dfed8d9b08f97 Signed-off-by: Neale Ranns <nranns@cisco.com>