[PATCH v1 3/4] app/test-pmd-api: Add protobuf file
ohilyard at iol.unh.edu
ohilyard at iol.unh.edu
Thu Apr 7 23:47:07 CEST 2022
From: Owen Hilyard <ohilyard at iol.unh.edu>
This file contains the gRPC definitions for the api as it currently
stands.
Signed-off-by: Owen Hilyard <ohilyard at iol.unh.edu>
---
app/test-pmd-api/api.proto | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 app/test-pmd-api/api.proto
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
--
2.30.2
More information about the dev
mailing list