From de8e6592e23a3819266cea5e9999c7c21fdd826f Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Mon, 4 Dec 2017 09:54:13 +0100 Subject: Fix events for mock adapter Change-Id: Iee5fa6282e845ed2aef76c9246a9068f3765139c Signed-off-by: Ondrej Fabry --- examples/bin_api/acl/acl.go | 59 +++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 29 deletions(-) (limited to 'examples/bin_api/acl/acl.go') diff --git a/examples/bin_api/acl/acl.go b/examples/bin_api/acl/acl.go index accdd3f..488f9b5 100644 --- a/examples/bin_api/acl/acl.go +++ b/examples/bin_api/acl/acl.go @@ -1,5 +1,6 @@ +// Code generated by govpp binapi-generator DO NOT EDIT. // Package acl represents the VPP binary API of the 'acl' VPP module. -// DO NOT EDIT. Generated from 'bin_api/acl.api.json' +// Generated from '../../bin_api/acl.api.json' package acl import "git.fd.io/govpp.git/api" @@ -8,7 +9,7 @@ import "git.fd.io/govpp.git/api" const VlAPIVersion = 0x1fd77287 // ACLRule represents the VPP binary API data type 'acl_rule'. -// Generated from 'bin_api/acl.api.json', line 3: +// Generated from '../../bin_api/acl.api.json', line 3: // // ["acl_rule", // ["u8", "is_permit"], @@ -51,7 +52,7 @@ func (*ACLRule) GetCrcString() string { } // MacipACLRule represents the VPP binary API data type 'macip_acl_rule'. -// Generated from 'bin_api/acl.api.json', line 19: +// Generated from '../../bin_api/acl.api.json', line 19: // // ["macip_acl_rule", // ["u8", "is_permit"], @@ -80,7 +81,7 @@ func (*MacipACLRule) GetCrcString() string { } // ACLPluginGetVersion represents the VPP binary API message 'acl_plugin_get_version'. -// Generated from 'bin_api/acl.api.json', line 30: +// Generated from '../../bin_api/acl.api.json', line 30: // // ["acl_plugin_get_version", // ["u16", "_vl_msg_id"], @@ -106,7 +107,7 @@ func NewACLPluginGetVersion() api.Message { } // ACLPluginGetVersionReply represents the VPP binary API message 'acl_plugin_get_version_reply'. -// Generated from 'bin_api/acl.api.json', line 36: +// Generated from '../../bin_api/acl.api.json', line 36: // // ["acl_plugin_get_version_reply", // ["u16", "_vl_msg_id"], @@ -135,7 +136,7 @@ func NewACLPluginGetVersionReply() api.Message { } // ACLPluginControlPing represents the VPP binary API message 'acl_plugin_control_ping'. -// Generated from 'bin_api/acl.api.json', line 43: +// Generated from '../../bin_api/acl.api.json', line 43: // // ["acl_plugin_control_ping", // ["u16", "_vl_msg_id"], @@ -161,7 +162,7 @@ func NewACLPluginControlPing() api.Message { } // ACLPluginControlPingReply represents the VPP binary API message 'acl_plugin_control_ping_reply'. -// Generated from 'bin_api/acl.api.json', line 49: +// Generated from '../../bin_api/acl.api.json', line 49: // // ["acl_plugin_control_ping_reply", // ["u16", "_vl_msg_id"], @@ -192,7 +193,7 @@ func NewACLPluginControlPingReply() api.Message { } // ACLAddReplace represents the VPP binary API message 'acl_add_replace'. -// Generated from 'bin_api/acl.api.json', line 57: +// Generated from '../../bin_api/acl.api.json', line 57: // // ["acl_add_replace", // ["u16", "_vl_msg_id"], @@ -226,7 +227,7 @@ func NewACLAddReplace() api.Message { } // ACLAddReplaceReply represents the VPP binary API message 'acl_add_replace_reply'. -// Generated from 'bin_api/acl.api.json', line 67: +// Generated from '../../bin_api/acl.api.json', line 67: // // ["acl_add_replace_reply", // ["u16", "_vl_msg_id"], @@ -255,7 +256,7 @@ func NewACLAddReplaceReply() api.Message { } // ACLDel represents the VPP binary API message 'acl_del'. -// Generated from 'bin_api/acl.api.json', line 74: +// Generated from '../../bin_api/acl.api.json', line 74: // // ["acl_del", // ["u16", "_vl_msg_id"], @@ -283,7 +284,7 @@ func NewACLDel() api.Message { } // ACLDelReply represents the VPP binary API message 'acl_del_reply'. -// Generated from 'bin_api/acl.api.json', line 81: +// Generated from '../../bin_api/acl.api.json', line 81: // // ["acl_del_reply", // ["u16", "_vl_msg_id"], @@ -310,7 +311,7 @@ func NewACLDelReply() api.Message { } // ACLInterfaceAddDel represents the VPP binary API message 'acl_interface_add_del'. -// Generated from 'bin_api/acl.api.json', line 87: +// Generated from '../../bin_api/acl.api.json', line 87: // // ["acl_interface_add_del", // ["u16", "_vl_msg_id"], @@ -344,7 +345,7 @@ func NewACLInterfaceAddDel() api.Message { } // ACLInterfaceAddDelReply represents the VPP binary API message 'acl_interface_add_del_reply'. -// Generated from 'bin_api/acl.api.json', line 97: +// Generated from '../../bin_api/acl.api.json', line 97: // // ["acl_interface_add_del_reply", // ["u16", "_vl_msg_id"], @@ -371,7 +372,7 @@ func NewACLInterfaceAddDelReply() api.Message { } // ACLInterfaceSetACLList represents the VPP binary API message 'acl_interface_set_acl_list'. -// Generated from 'bin_api/acl.api.json', line 103: +// Generated from '../../bin_api/acl.api.json', line 103: // // ["acl_interface_set_acl_list", // ["u16", "_vl_msg_id"], @@ -405,7 +406,7 @@ func NewACLInterfaceSetACLList() api.Message { } // ACLInterfaceSetACLListReply represents the VPP binary API message 'acl_interface_set_acl_list_reply'. -// Generated from 'bin_api/acl.api.json', line 113: +// Generated from '../../bin_api/acl.api.json', line 113: // // ["acl_interface_set_acl_list_reply", // ["u16", "_vl_msg_id"], @@ -432,7 +433,7 @@ func NewACLInterfaceSetACLListReply() api.Message { } // ACLDump represents the VPP binary API message 'acl_dump'. -// Generated from 'bin_api/acl.api.json', line 119: +// Generated from '../../bin_api/acl.api.json', line 119: // // ["acl_dump", // ["u16", "_vl_msg_id"], @@ -460,7 +461,7 @@ func NewACLDump() api.Message { } // ACLDetails represents the VPP binary API message 'acl_details'. -// Generated from 'bin_api/acl.api.json', line 126: +// Generated from '../../bin_api/acl.api.json', line 126: // // ["acl_details", // ["u16", "_vl_msg_id"], @@ -493,7 +494,7 @@ func NewACLDetails() api.Message { } // ACLInterfaceListDump represents the VPP binary API message 'acl_interface_list_dump'. -// Generated from 'bin_api/acl.api.json', line 135: +// Generated from '../../bin_api/acl.api.json', line 135: // // ["acl_interface_list_dump", // ["u16", "_vl_msg_id"], @@ -521,7 +522,7 @@ func NewACLInterfaceListDump() api.Message { } // ACLInterfaceListDetails represents the VPP binary API message 'acl_interface_list_details'. -// Generated from 'bin_api/acl.api.json', line 142: +// Generated from '../../bin_api/acl.api.json', line 142: // // ["acl_interface_list_details", // ["u16", "_vl_msg_id"], @@ -554,7 +555,7 @@ func NewACLInterfaceListDetails() api.Message { } // MacipACLAdd represents the VPP binary API message 'macip_acl_add'. -// Generated from 'bin_api/acl.api.json', line 151: +// Generated from '../../bin_api/acl.api.json', line 151: // // ["macip_acl_add", // ["u16", "_vl_msg_id"], @@ -586,7 +587,7 @@ func NewMacipACLAdd() api.Message { } // MacipACLAddReply represents the VPP binary API message 'macip_acl_add_reply'. -// Generated from 'bin_api/acl.api.json', line 160: +// Generated from '../../bin_api/acl.api.json', line 160: // // ["macip_acl_add_reply", // ["u16", "_vl_msg_id"], @@ -615,7 +616,7 @@ func NewMacipACLAddReply() api.Message { } // MacipACLDel represents the VPP binary API message 'macip_acl_del'. -// Generated from 'bin_api/acl.api.json', line 167: +// Generated from '../../bin_api/acl.api.json', line 167: // // ["macip_acl_del", // ["u16", "_vl_msg_id"], @@ -643,7 +644,7 @@ func NewMacipACLDel() api.Message { } // MacipACLDelReply represents the VPP binary API message 'macip_acl_del_reply'. -// Generated from 'bin_api/acl.api.json', line 174: +// Generated from '../../bin_api/acl.api.json', line 174: // // ["macip_acl_del_reply", // ["u16", "_vl_msg_id"], @@ -670,7 +671,7 @@ func NewMacipACLDelReply() api.Message { } // MacipACLInterfaceAddDel represents the VPP binary API message 'macip_acl_interface_add_del'. -// Generated from 'bin_api/acl.api.json', line 180: +// Generated from '../../bin_api/acl.api.json', line 180: // // ["macip_acl_interface_add_del", // ["u16", "_vl_msg_id"], @@ -702,7 +703,7 @@ func NewMacipACLInterfaceAddDel() api.Message { } // MacipACLInterfaceAddDelReply represents the VPP binary API message 'macip_acl_interface_add_del_reply'. -// Generated from 'bin_api/acl.api.json', line 189: +// Generated from '../../bin_api/acl.api.json', line 189: // // ["macip_acl_interface_add_del_reply", // ["u16", "_vl_msg_id"], @@ -729,7 +730,7 @@ func NewMacipACLInterfaceAddDelReply() api.Message { } // MacipACLDump represents the VPP binary API message 'macip_acl_dump'. -// Generated from 'bin_api/acl.api.json', line 195: +// Generated from '../../bin_api/acl.api.json', line 195: // // ["macip_acl_dump", // ["u16", "_vl_msg_id"], @@ -757,7 +758,7 @@ func NewMacipACLDump() api.Message { } // MacipACLDetails represents the VPP binary API message 'macip_acl_details'. -// Generated from 'bin_api/acl.api.json', line 202: +// Generated from '../../bin_api/acl.api.json', line 202: // // ["macip_acl_details", // ["u16", "_vl_msg_id"], @@ -790,7 +791,7 @@ func NewMacipACLDetails() api.Message { } // MacipACLInterfaceGet represents the VPP binary API message 'macip_acl_interface_get'. -// Generated from 'bin_api/acl.api.json', line 211: +// Generated from '../../bin_api/acl.api.json', line 211: // // ["macip_acl_interface_get", // ["u16", "_vl_msg_id"], @@ -816,7 +817,7 @@ func NewMacipACLInterfaceGet() api.Message { } // MacipACLInterfaceGetReply represents the VPP binary API message 'macip_acl_interface_get_reply'. -// Generated from 'bin_api/acl.api.json', line 217: +// Generated from '../../bin_api/acl.api.json', line 217: // // ["macip_acl_interface_get_reply", // ["u16", "_vl_msg_id"], -- cgit 1.2.3-korg