53fffa1db7
Previously all types are compound. This adds support for aliases, so one can do things like: typedef u32 interface_index; or typedef u8 ip4_address[4]; Change-Id: I0455cad0123fc88acb491d2a3ea2725426bdb246 Signed-off-by: Ole Troan <ot@cisco.com> Signed-off-by: Klement Sekera <ksekera@cisco.com>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"services": {
|
|
"test_fake_msg": {
|
|
"reply":"test_fake_msg_reply"
|
|
},
|
|
"test_fake_dump": {
|
|
"reply":"test_fake_details",
|
|
"stream":"true"
|
|
}
|
|
},
|
|
"enums" : [
|
|
],
|
|
"unions" : [
|
|
],
|
|
"types" : [
|
|
],
|
|
"messages" : [
|
|
["test_fake_msg",
|
|
["u16", "_vl_msg_id"],
|
|
["u32", "client_index"],
|
|
["u32", "context"],
|
|
["u8", "dummy", 256],
|
|
{"crc" : "0xcafebafe"}
|
|
],
|
|
["test_fake_msg_reply",
|
|
["u16", "_vl_msg_id"],
|
|
["u32", "context"],
|
|
["i32", "retval"],
|
|
{"crc" : "0xcafebafe"}
|
|
],
|
|
["test_fake_dump",
|
|
["u16", "_vl_msg_id"],
|
|
["u32", "client_index"],
|
|
["u32", "context"],
|
|
["u32", "dummy"],
|
|
{"crc" : "0xcafebafe"}
|
|
],
|
|
["test_fake_details",
|
|
["u16", "_vl_msg_id"],
|
|
["u32", "client_index"],
|
|
["u32", "context"],
|
|
["u32", "dummy"],
|
|
{"crc" : "0xcafebafe"}
|
|
]
|
|
],
|
|
"aliases" : {
|
|
},
|
|
"vl_api_version" :"0x224c7aad"
|
|
}
|