aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/jvpp-core/io/fd/vpp/jvpp/core/examples/Readme.txt
blob: 10c603f5b3a8414c8bd60d0ff8757c4ea42c34e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This package contains basic examples for jvpp. To run the examples:

- Make sure VPP is running
- From VPP's build-root/ folder execute:
  - release version: sudo java -cp build-vpp-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp-native/vpp/vpp-api/java/jvpp-core-17.10.jar io.fd.vpp.jvpp.core.examples.[test name]
  - debug version: sudo java -cp build-vpp_debug-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp_debug-native/vpp/vpp-api/java/jvpp-core-17.10.jar io.fd.vpp.jvpp.core.examples.[test name]

Available examples:
CallbackApiExample - Similar to ControlPingTest, invokes more complex calls (e.g. interface dump) using low level JVpp APIs
CallbackJVppFacadeNotificationExample - Example of interface notifications using Callback based JVpp facade
CallbackJVppFacadeExample - Execution of more complex calls using Callback based JVpp facade
CallbackNotificationApiExample -  Example of interface notifications using low level JVpp APIs
CreateSubInterfaceExample - Example of sub-interface creation
FutureApiNotificationExample - Example of interface notifications using Future based JVpp facade
FutureApiExample - Execution of more complex calls using Future based JVpp facade
L2AclExample - Example of L2 ACL creation
LispAdjacencyExample - Example of lisp adjacency creation and read (custom vpe.api type support showcase)