Fix binapigen decoding and minor improvements
[govpp.git] / internal / testbinapi / binapi2001 / .vppapi / plugins / dns.api.json
diff --git a/internal/testbinapi/binapi2001/.vppapi/plugins/dns.api.json b/internal/testbinapi/binapi2001/.vppapi/plugins/dns.api.json
new file mode 100644 (file)
index 0000000..493a07b
--- /dev/null
@@ -0,0 +1,224 @@
+{
+    "types": [],
+    "messages": [
+        [
+            "dns_enable_disable",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "enable"
+            ],
+            {
+                "crc": "0x8050327d"
+            }
+        ],
+        [
+            "dns_enable_disable_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "dns_name_server_add_del",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_ip6"
+            ],
+            [
+                "u8",
+                "is_add"
+            ],
+            [
+                "u8",
+                "server_address",
+                16
+            ],
+            {
+                "crc": "0x3bb05d8c"
+            }
+        ],
+        [
+            "dns_name_server_add_del_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            {
+                "crc": "0xe8d4e804"
+            }
+        ],
+        [
+            "dns_resolve_name",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "name",
+                256
+            ],
+            {
+                "crc": "0xc6566676"
+            }
+        ],
+        [
+            "dns_resolve_name_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u8",
+                "ip4_set"
+            ],
+            [
+                "u8",
+                "ip6_set"
+            ],
+            [
+                "u8",
+                "ip4_address",
+                4
+            ],
+            [
+                "u8",
+                "ip6_address",
+                16
+            ],
+            {
+                "crc": "0xc2d758c3"
+            }
+        ],
+        [
+            "dns_resolve_ip",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "client_index"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "u8",
+                "is_ip6"
+            ],
+            [
+                "u8",
+                "address",
+                16
+            ],
+            {
+                "crc": "0xae96a1a3"
+            }
+        ],
+        [
+            "dns_resolve_ip_reply",
+            [
+                "u16",
+                "_vl_msg_id"
+            ],
+            [
+                "u32",
+                "context"
+            ],
+            [
+                "i32",
+                "retval"
+            ],
+            [
+                "u8",
+                "name",
+                256
+            ],
+            {
+                "crc": "0x49ed78d6"
+            }
+        ]
+    ],
+    "unions": [],
+    "enums": [],
+    "services": {
+        "dns_enable_disable": {
+            "reply": "dns_enable_disable_reply"
+        },
+        "dns_name_server_add_del": {
+            "reply": "dns_name_server_add_del_reply"
+        },
+        "dns_resolve_name": {
+            "reply": "dns_resolve_name_reply"
+        },
+        "dns_resolve_ip": {
+            "reply": "dns_resolve_ip_reply"
+        }
+    },
+    "options": {
+        "version": "1.0.0"
+    },
+    "aliases": {},
+    "vl_api_version": "0x269575cd"
+}