summaryrefslogtreecommitdiffstats
path: root/java/jvpp-ioampot
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-02-28 10:21:59 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-03-04 11:11:16 +0100
commit2388db4347cf0c4a1032cb945db2fdb1011d74d7 (patch)
tree3eb778d84464edc9bd49d1f0f895232944477ea8 /java/jvpp-ioampot
parent2fc03523c64803826e74ce0af42880f65f60a107 (diff)
Update package names
updating package names from io.fd.vpp.jvpp* to io.fd.jvpp* Change-Id: Ia1634db8f0875ff6ecfeddc281041cd49c4aacc2 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'java/jvpp-ioampot')
-rw-r--r--java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/IoamPotApiExample.java (renamed from java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/IoamPotApiExample.java)18
-rw-r--r--java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/Readme.txt (renamed from java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/Readme.txt)4
-rw-r--r--java/jvpp-ioampot/io/fd/jvpp/ioampot/test/CallbackApiTest.java (renamed from java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/CallbackApiTest.java)6
-rw-r--r--java/jvpp-ioampot/io/fd/jvpp/ioampot/test/FutureApiTest.java (renamed from java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/FutureApiTest.java)16
-rw-r--r--java/jvpp-ioampot/io/fd/jvpp/ioampot/test/Readme.txt (renamed from java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/Readme.txt)4
-rw-r--r--java/jvpp-ioampot/jvpp_ioam_pot.c10
6 files changed, 29 insertions, 29 deletions
diff --git a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/IoamPotApiExample.java b/java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/IoamPotApiExample.java
index b9ed7d0..528249a 100644
--- a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/IoamPotApiExample.java
+++ b/java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/IoamPotApiExample.java
@@ -14,16 +14,16 @@
* limitations under the License.
*/
-package io.fd.vpp.jvpp.ioampot.examples;
+package io.fd.jvpp.ioampot.examples;
-import io.fd.vpp.jvpp.JVpp;
-import io.fd.vpp.jvpp.JVppRegistry;
-import io.fd.vpp.jvpp.JVppRegistryImpl;
-import io.fd.vpp.jvpp.VppCallbackException;
-import io.fd.vpp.jvpp.ioampot.JVppIoampotImpl;
-import io.fd.vpp.jvpp.ioampot.callback.PotProfileAddReplyCallback;
-import io.fd.vpp.jvpp.ioampot.dto.PotProfileAdd;
-import io.fd.vpp.jvpp.ioampot.dto.PotProfileAddReply;
+import io.fd.jvpp.JVpp;
+import io.fd.jvpp.JVppRegistry;
+import io.fd.jvpp.JVppRegistryImpl;
+import io.fd.jvpp.VppCallbackException;
+import io.fd.jvpp.ioampot.JVppIoampotImpl;
+import io.fd.jvpp.ioampot.callback.PotProfileAddReplyCallback;
+import io.fd.jvpp.ioampot.dto.PotProfileAdd;
+import io.fd.jvpp.ioampot.dto.PotProfileAddReply;
import java.nio.charset.StandardCharsets;
public class IoamPotApiExample {
diff --git a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/Readme.txt b/java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/Readme.txt
index e91550b..333fb90 100644
--- a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/examples/Readme.txt
+++ b/java/jvpp-ioampot/io/fd/jvpp/ioampot/examples/Readme.txt
@@ -1,4 +1,4 @@
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-ioampot-17.10.jar io.fd.vpp.jvpp.ioampot.examples.IoamPotApiExample
+sudo java -cp build-vpp-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp-native/vpp/vpp-api/java/jvpp-ioampot-17.10.jar io.fd.jvpp.ioampot.examples.IoamPotApiExample
debug vresion:
-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-ioampot-17.10.jar io.fd.vpp.jvpp.ioampot.examples.IoamPotApiExample
+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-ioampot-17.10.jar io.fd.jvpp.ioampot.examples.IoamPotApiExample
diff --git a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/CallbackApiTest.java b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/CallbackApiTest.java
index 20b85d8..90dce0e 100644
--- a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/CallbackApiTest.java
+++ b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/CallbackApiTest.java
@@ -14,10 +14,10 @@
* limitations under the License.
*/
-package io.fd.vpp.jvpp.ioampot.test;
+package io.fd.jvpp.ioampot.test;
-import io.fd.vpp.jvpp.AbstractCallbackApiTest;
-import io.fd.vpp.jvpp.ioampot.JVppIoampotImpl;
+import io.fd.jvpp.AbstractCallbackApiTest;
+import io.fd.jvpp.ioampot.JVppIoampotImpl;
import java.util.logging.Logger;
diff --git a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/FutureApiTest.java b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/FutureApiTest.java
index 6401c67..5b3f284 100644
--- a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/FutureApiTest.java
+++ b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/FutureApiTest.java
@@ -14,22 +14,22 @@
* limitations under the License.
*/
-package io.fd.vpp.jvpp.ioampot.test;
+package io.fd.jvpp.ioampot.test;
-import io.fd.vpp.jvpp.JVppRegistry;
-import io.fd.vpp.jvpp.JVppRegistryImpl;
-import io.fd.vpp.jvpp.ioampot.JVppIoampotImpl;
-import io.fd.vpp.jvpp.ioampot.dto.PotProfileShowConfigDetailsReplyDump;
-import io.fd.vpp.jvpp.ioampot.dto.PotProfileShowConfigDump;
-import io.fd.vpp.jvpp.ioampot.future.FutureJVppIoampotFacade;
+import io.fd.jvpp.JVppRegistry;
+import io.fd.jvpp.JVppRegistryImpl;
+import io.fd.jvpp.ioampot.JVppIoampotImpl;
+import io.fd.jvpp.ioampot.dto.PotProfileShowConfigDetailsReplyDump;
+import io.fd.jvpp.ioampot.dto.PotProfileShowConfigDump;
+import io.fd.jvpp.ioampot.future.FutureJVppIoampotFacade;
import java.util.concurrent.Future;
import java.util.logging.Logger;
public class FutureApiTest {
- private static final Logger LOG = Logger.getLogger(io.fd.vpp.jvpp.ioampot.test.FutureApiTest.class.getName());
+ private static final Logger LOG = Logger.getLogger(io.fd.jvpp.ioampot.test.FutureApiTest.class.getName());
public static void main(String[] args) throws Exception {
testCallbackApi(args);
diff --git a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/Readme.txt b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/Readme.txt
index f3cae26..5d31198 100644
--- a/java/jvpp-ioampot/io/fd/vpp/jvpp/ioampot/test/Readme.txt
+++ b/java/jvpp-ioampot/io/fd/jvpp/ioampot/test/Readme.txt
@@ -1,4 +1,4 @@
release version:
-sudo java -cp build-vpp-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp_debug-native/vpp/vpp-api/java/jvpp-ioampot-17.10.jar io.fd.vpp.jvpp.ioampot.test.[test-name]
+sudo java -cp build-vpp-native/vpp/vpp-api/java/jvpp-registry-17.10.jar:build-vpp_debug-native/vpp/vpp-api/java/jvpp-ioampot-17.10.jar io.fd.jvpp.ioampot.test.[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-ioampot-17.10.jar io.fd.vpp.jvpp.ioampot.test.[test-name]
+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-ioampot-17.10.jar io.fd.jvpp.ioampot.test.[test-name]
diff --git a/java/jvpp-ioampot/jvpp_ioam_pot.c b/java/jvpp-ioampot/jvpp_ioam_pot.c
index ce1da69..0fdf147 100644
--- a/java/jvpp-ioampot/jvpp_ioam_pot.c
+++ b/java/jvpp-ioampot/jvpp_ioam_pot.c
@@ -32,19 +32,19 @@
#include <jvpp-common/jvpp_common.h>
-#include "jvpp-ioampot/io_fd_vpp_jvpp_ioampot_JVppIoampotImpl.h"
+#include "jvpp-ioampot/io_fd_jvpp_ioampot_JVppIoampotImpl.h"
#include "jvpp_ioam_pot.h"
#include "jvpp-ioampot/jvpp_ioampot_gen.h"
/*
- * Class: io_fd_vpp_jvpp_ioampot_JVppIoampotImpl
+ * Class: io_fd_jvpp_ioampot_JVppIoampotImpl
* Method: init0
* Signature: (JI)V
*/
-JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioampot_JVppIoampotImpl_init0
+JNIEXPORT void JNICALL Java_io_fd_jvpp_ioampot_JVppIoampotImpl_init0
(JNIEnv *env, jclass clazz, jobject callback, jlong queue_address, jint my_client_index) {
ioampot_main_t * plugin_main = &ioampot_main;
- clib_warning ("Java_io_fd_vpp_jvpp_ioampot_JVppIoampotImpl_init0");
+ clib_warning ("Java_io_fd_jvpp_ioampot_JVppIoampotImpl_init0");
plugin_main->my_client_index = my_client_index;
plugin_main->vl_input_queue = uword_to_pointer (queue_address, svm_queue_t *);
@@ -69,7 +69,7 @@ JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioampot_JVppIoampotImpl_init0
#undef _
}
-JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioampot_JVppIoampotImpl_close0
+JNIEXPORT void JNICALL Java_io_fd_jvpp_ioampot_JVppIoampotImpl_close0
(JNIEnv *env, jclass clazz) {
ioampot_main_t * plugin_main = &ioampot_main;