diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2018-12-13 10:21:49 +0100 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2018-12-13 10:21:49 +0100 |
commit | 868b541e296dc47748ad03b8f0174c828d996529 (patch) | |
tree | a43650ea7d9c96434d536e557177b38c5f84bd34 /examples/bin_api/acl.api.json | |
parent | 1768c495416997c7a6769c6a92b33b37c89eed25 (diff) |
Add support for aliases and boolean type
- aliases are now generated as new types or arrays (if length > 0)
- bool is recognized as a boolean type and generated as Go bool
- comment with original JSON is now prepended for each object type
- interface Services is now generated at the top of the file to provide
overview of what RPC services does the current module consists of
- dump services now correctly return slice of the particular details type
Change-Id: I788babc1c0f2de33e0febd87e5b200d54065b244
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/acl.api.json')
-rw-r--r-- | examples/bin_api/acl.api.json | 56 |
1 files changed, 48 insertions, 8 deletions
diff --git a/examples/bin_api/acl.api.json b/examples/bin_api/acl.api.json index 13b8665..1aa8285 100644 --- a/examples/bin_api/acl.api.json +++ b/examples/bin_api/acl.api.json @@ -85,6 +85,42 @@ } ], [ + "acl_plugin_get_conn_table_max_entries", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "client_index" + ], + [ + "u32", + "context" + ], + { + "crc": "0x51077d14" + } + ], + [ + "acl_plugin_get_conn_table_max_entries_reply", + [ + "u16", + "_vl_msg_id" + ], + [ + "u32", + "context" + ], + [ + "u64", + "conn_table_max_entries" + ], + { + "crc": "0x7a096d3d" + } + ], + [ "acl_add_replace", [ "u16", @@ -856,7 +892,7 @@ } ] ], - "vl_api_version": "0x25a6e1e9", + "vl_api_version": "0x8ed22cb9", "unions": [], "services": { "acl_plugin_get_version": { @@ -872,6 +908,9 @@ "acl_del": { "reply": "acl_del_reply" }, + "macip_acl_del": { + "reply": "macip_acl_del_reply" + }, "acl_plugin_control_ping": { "reply": "acl_plugin_control_ping_reply" }, @@ -885,11 +924,11 @@ "macip_acl_interface_add_del": { "reply": "macip_acl_interface_add_del_reply" }, - "macip_acl_del": { - "reply": "macip_acl_del_reply" + "acl_add_replace": { + "reply": "acl_add_replace_reply" }, - "macip_acl_add": { - "reply": "macip_acl_add_reply" + "acl_plugin_get_conn_table_max_entries": { + "reply": "acl_plugin_get_conn_table_max_entries_reply" }, "acl_interface_list_dump": { "reply": "acl_interface_list_details", @@ -898,8 +937,8 @@ "acl_interface_set_acl_list": { "reply": "acl_interface_set_acl_list_reply" }, - "acl_add_replace": { - "reply": "acl_add_replace_reply" + "macip_acl_add": { + "reply": "macip_acl_add_reply" }, "acl_interface_set_etype_whitelist": { "reply": "acl_interface_set_etype_whitelist_reply" @@ -1011,5 +1050,6 @@ "crc": "0x70589f1e" } ] - ] + ], + "aliases": {} } |