Omit message factory and line numbers from generated output
[govpp.git] / examples / bin_api / vpe / vpe.ba.go
index 50476c3..fe0fa03 100644 (file)
@@ -1,15 +1,13 @@
 // Code generated by GoVPP binapi-generator. DO NOT EDIT.
-// source: vpe.api.json
+//  source: vpe.api.json
 
 /*
-Package vpe is a generated VPP binary API of the 'vpe' VPP module.
+ Package vpe is a generated from VPP binary API module 'vpe'.
 
-It is generated from this file:
-       vpe.api.json
+ It contains following objects:
+        16 messages
+         8 services
 
-It contains these VPP binary API objects:
-       16 messages
-       8 services
 */
 package vpe
 
@@ -25,7 +23,6 @@ var _ = bytes.NewBuffer
 /* Messages */
 
 // ControlPing represents the VPP binary API message 'control_ping'.
-// Generated from 'vpe.api.json', line 4:
 //
 //            "control_ping",
 //            [
@@ -55,12 +52,8 @@ func (*ControlPing) GetCrcString() string {
 func (*ControlPing) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewControlPing() api.Message {
-       return &ControlPing{}
-}
 
 // ControlPingReply represents the VPP binary API message 'control_ping_reply'.
-// Generated from 'vpe.api.json', line 22:
 //
 //            "control_ping_reply",
 //            [
@@ -102,12 +95,8 @@ func (*ControlPingReply) GetCrcString() string {
 func (*ControlPingReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewControlPingReply() api.Message {
-       return &ControlPingReply{}
-}
 
 // Cli represents the VPP binary API message 'cli'.
-// Generated from 'vpe.api.json', line 48:
 //
 //            "cli",
 //            [
@@ -143,12 +132,8 @@ func (*Cli) GetCrcString() string {
 func (*Cli) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewCli() api.Message {
-       return &Cli{}
-}
 
 // CliInband represents the VPP binary API message 'cli_inband'.
-// Generated from 'vpe.api.json', line 70:
 //
 //            "cli_inband",
 //            [
@@ -191,12 +176,8 @@ func (*CliInband) GetCrcString() string {
 func (*CliInband) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewCliInband() api.Message {
-       return &CliInband{}
-}
 
 // CliReply represents the VPP binary API message 'cli_reply'.
-// Generated from 'vpe.api.json', line 98:
 //
 //            "cli_reply",
 //            [
@@ -233,12 +214,8 @@ func (*CliReply) GetCrcString() string {
 func (*CliReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewCliReply() api.Message {
-       return &CliReply{}
-}
 
 // CliInbandReply represents the VPP binary API message 'cli_inband_reply'.
-// Generated from 'vpe.api.json', line 120:
 //
 //            "cli_inband_reply",
 //            [
@@ -282,12 +259,8 @@ func (*CliInbandReply) GetCrcString() string {
 func (*CliInbandReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewCliInbandReply() api.Message {
-       return &CliInbandReply{}
-}
 
 // GetNodeIndex represents the VPP binary API message 'get_node_index'.
-// Generated from 'vpe.api.json', line 148:
 //
 //            "get_node_index",
 //            [
@@ -324,12 +297,8 @@ func (*GetNodeIndex) GetCrcString() string {
 func (*GetNodeIndex) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewGetNodeIndex() api.Message {
-       return &GetNodeIndex{}
-}
 
 // GetNodeIndexReply represents the VPP binary API message 'get_node_index_reply'.
-// Generated from 'vpe.api.json', line 171:
 //
 //            "get_node_index_reply",
 //            [
@@ -366,12 +335,8 @@ func (*GetNodeIndexReply) GetCrcString() string {
 func (*GetNodeIndexReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewGetNodeIndexReply() api.Message {
-       return &GetNodeIndexReply{}
-}
 
 // AddNodeNext represents the VPP binary API message 'add_node_next'.
-// Generated from 'vpe.api.json', line 193:
 //
 //            "add_node_next",
 //            [
@@ -414,12 +379,8 @@ func (*AddNodeNext) GetCrcString() string {
 func (*AddNodeNext) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewAddNodeNext() api.Message {
-       return &AddNodeNext{}
-}
 
 // AddNodeNextReply represents the VPP binary API message 'add_node_next_reply'.
-// Generated from 'vpe.api.json', line 221:
 //
 //            "add_node_next_reply",
 //            [
@@ -456,12 +417,8 @@ func (*AddNodeNextReply) GetCrcString() string {
 func (*AddNodeNextReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewAddNodeNextReply() api.Message {
-       return &AddNodeNextReply{}
-}
 
 // ShowVersion represents the VPP binary API message 'show_version'.
-// Generated from 'vpe.api.json', line 243:
 //
 //            "show_version",
 //            [
@@ -491,12 +448,8 @@ func (*ShowVersion) GetCrcString() string {
 func (*ShowVersion) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewShowVersion() api.Message {
-       return &ShowVersion{}
-}
 
 // ShowVersionReply represents the VPP binary API message 'show_version_reply'.
-// Generated from 'vpe.api.json', line 261:
 //
 //            "show_version_reply",
 //            [
@@ -552,12 +505,8 @@ func (*ShowVersionReply) GetCrcString() string {
 func (*ShowVersionReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewShowVersionReply() api.Message {
-       return &ShowVersionReply{}
-}
 
 // GetNodeGraph represents the VPP binary API message 'get_node_graph'.
-// Generated from 'vpe.api.json', line 299:
 //
 //            "get_node_graph",
 //            [
@@ -587,12 +536,8 @@ func (*GetNodeGraph) GetCrcString() string {
 func (*GetNodeGraph) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewGetNodeGraph() api.Message {
-       return &GetNodeGraph{}
-}
 
 // GetNodeGraphReply represents the VPP binary API message 'get_node_graph_reply'.
-// Generated from 'vpe.api.json', line 317:
 //
 //            "get_node_graph_reply",
 //            [
@@ -629,12 +574,8 @@ func (*GetNodeGraphReply) GetCrcString() string {
 func (*GetNodeGraphReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewGetNodeGraphReply() api.Message {
-       return &GetNodeGraphReply{}
-}
 
 // GetNextIndex represents the VPP binary API message 'get_next_index'.
-// Generated from 'vpe.api.json', line 339:
 //
 //            "get_next_index",
 //            [
@@ -677,12 +618,8 @@ func (*GetNextIndex) GetCrcString() string {
 func (*GetNextIndex) GetMessageType() api.MessageType {
        return api.RequestMessage
 }
-func NewGetNextIndex() api.Message {
-       return &GetNextIndex{}
-}
 
 // GetNextIndexReply represents the VPP binary API message 'get_next_index_reply'.
-// Generated from 'vpe.api.json', line 367:
 //
 //            "get_next_index_reply",
 //            [
@@ -719,9 +656,6 @@ func (*GetNextIndexReply) GetCrcString() string {
 func (*GetNextIndexReply) GetMessageType() api.MessageType {
        return api.ReplyMessage
 }
-func NewGetNextIndexReply() api.Message {
-       return &GetNextIndexReply{}
-}
 
 /* Services */