[v1,3/4] app/test-pmd-api: Add protobuf file

Message ID 20220407214707.29730-4-ohilyard@iol.unh.edu (mailing list archive)
State Changes Requested, archived
Delegated to: Thomas Monjalon
Headers
Series Testpmd RPC API |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Owen Hilyard April 7, 2022, 9:47 p.m. UTC
  From: Owen Hilyard <ohilyard@iol.unh.edu>

This file contains the gRPC definitions for the api as it currently
stands.

Signed-off-by: Owen Hilyard <ohilyard@iol.unh.edu>
---
 app/test-pmd-api/api.proto | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 app/test-pmd-api/api.proto
  

Patch

diff --git a/app/test-pmd-api/api.proto b/app/test-pmd-api/api.proto
new file mode 100644
index 0000000000..ba52e379e9
--- /dev/null
+++ b/app/test-pmd-api/api.proto
@@ -0,0 +1,12 @@ 
+syntax = "proto3";
+import "google/protobuf/empty.proto";
+
+message AclSetupArgs {
+    repeated string args = 1;
+}
+
+service TestpmdAPI {
+    rpc acl_setup (AclSetupArgs) returns (google.protobuf.Empty);
+    rpc acl_search (google.protobuf.Empty) returns (google.protobuf.Empty);
+    rpc acl_cleanup_config (google.protobuf.Empty) returns (google.protobuf.Empty);
+}
\ No newline at end of file