Refactored binapi generator with message encoding
[govpp.git] / cmd / binapi-generator / testdata / af_packet.api.json
diff --git a/cmd/binapi-generator/testdata/af_packet.api.json b/cmd/binapi-generator/testdata/af_packet.api.json
deleted file mode 100644 (file)
index 81ee2f9..0000000
+++ /dev/null
@@ -1,163 +0,0 @@
-{
-    "services": [
-        {
-            "af_packet_delete": {
-                "reply": "af_packet_delete_reply"
-            }
-        },
-        {
-            "af_packet_create": {
-                "reply": "af_packet_create_reply"
-            }
-        },
-        {
-            "af_packet_set_l4_cksum_offload": {
-                "reply": "af_packet_set_l4_cksum_offload_reply"
-            }
-        }
-    ],
-    "vl_api_version": "0x8957ca8b",
-    "enums": [],
-    "messages": [
-        [
-            "af_packet_create",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "host_if_name",
-                64
-            ],
-            [
-                "u8",
-                "hw_addr",
-                6
-            ],
-            [
-                "u8",
-                "use_random_hw_addr"
-            ],
-            {
-                "crc": "0x6d5d30d6"
-            }
-        ],
-        [
-            "af_packet_create_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            [
-                "u32",
-                "sw_if_index"
-            ],
-            {
-                "crc": "0xfda5941f"
-            }
-        ],
-        [
-            "af_packet_delete",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "host_if_name",
-                64
-            ],
-            {
-                "crc": "0x3efceda3"
-            }
-        ],
-        [
-            "af_packet_delete_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ],
-        [
-            "af_packet_set_l4_cksum_offload",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "client_index"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "u8",
-                "sw_if_index"
-            ],
-            [
-                "u8",
-                "set"
-            ],
-            {
-                "crc": "0x86538585"
-            }
-        ],
-        [
-            "af_packet_set_l4_cksum_offload_reply",
-            [
-                "u16",
-                "_vl_msg_id"
-            ],
-            [
-                "u32",
-                "context"
-            ],
-            [
-                "i32",
-                "retval"
-            ],
-            {
-                "crc": "0xe8d4e804"
-            }
-        ]
-    ],
-    "types": []
-}