github.com/networkservicemesh/govpp@v0.0.0-20240328101142-8a444680fbba/binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go (about)

     1  // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
     2  // versions:
     3  //  binapi-generator: v0.10.0-dev
     4  //  VPP:              23.10-rc0~170-g6f1548434
     5  // source: plugins/ioam_vxlan_gpe.api.json
     6  
     7  // Package ioam_vxlan_gpe contains generated bindings for API file ioam_vxlan_gpe.api.
     8  //
     9  // Contents:
    10  // - 12 messages
    11  package ioam_vxlan_gpe
    12  
    13  import (
    14  	ip_types "github.com/networkservicemesh/govpp/binapi/ip_types"
    15  	api "go.fd.io/govpp/api"
    16  	codec "go.fd.io/govpp/codec"
    17  )
    18  
    19  // This is a compile-time assertion to ensure that this generated file
    20  // is compatible with the GoVPP api package it is being compiled against.
    21  // A compilation error at this line likely means your copy of the
    22  // GoVPP api package needs to be updated.
    23  const _ = api.GoVppAPIPackageIsVersion2
    24  
    25  const (
    26  	APIFile    = "ioam_vxlan_gpe"
    27  	APIVersion = "1.0.0"
    28  	VersionCrc = 0xb49eb0b9
    29  )
    30  
    31  // iOAM for VxLAN-GPE disable
    32  //   - id - profile id
    33  //
    34  // VxlanGpeIoamDisable defines message 'vxlan_gpe_ioam_disable'.
    35  type VxlanGpeIoamDisable struct {
    36  	ID uint16 `binapi:"u16,name=id" json:"id,omitempty"`
    37  }
    38  
    39  func (m *VxlanGpeIoamDisable) Reset()               { *m = VxlanGpeIoamDisable{} }
    40  func (*VxlanGpeIoamDisable) GetMessageName() string { return "vxlan_gpe_ioam_disable" }
    41  func (*VxlanGpeIoamDisable) GetCrcString() string   { return "6b16a45e" }
    42  func (*VxlanGpeIoamDisable) GetMessageType() api.MessageType {
    43  	return api.RequestMessage
    44  }
    45  
    46  func (m *VxlanGpeIoamDisable) Size() (size int) {
    47  	if m == nil {
    48  		return 0
    49  	}
    50  	size += 2 // m.ID
    51  	return size
    52  }
    53  func (m *VxlanGpeIoamDisable) Marshal(b []byte) ([]byte, error) {
    54  	if b == nil {
    55  		b = make([]byte, m.Size())
    56  	}
    57  	buf := codec.NewBuffer(b)
    58  	buf.EncodeUint16(m.ID)
    59  	return buf.Bytes(), nil
    60  }
    61  func (m *VxlanGpeIoamDisable) Unmarshal(b []byte) error {
    62  	buf := codec.NewBuffer(b)
    63  	m.ID = buf.DecodeUint16()
    64  	return nil
    65  }
    66  
    67  // VxlanGpeIoamDisableReply defines message 'vxlan_gpe_ioam_disable_reply'.
    68  type VxlanGpeIoamDisableReply struct {
    69  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
    70  }
    71  
    72  func (m *VxlanGpeIoamDisableReply) Reset()               { *m = VxlanGpeIoamDisableReply{} }
    73  func (*VxlanGpeIoamDisableReply) GetMessageName() string { return "vxlan_gpe_ioam_disable_reply" }
    74  func (*VxlanGpeIoamDisableReply) GetCrcString() string   { return "e8d4e804" }
    75  func (*VxlanGpeIoamDisableReply) GetMessageType() api.MessageType {
    76  	return api.ReplyMessage
    77  }
    78  
    79  func (m *VxlanGpeIoamDisableReply) Size() (size int) {
    80  	if m == nil {
    81  		return 0
    82  	}
    83  	size += 4 // m.Retval
    84  	return size
    85  }
    86  func (m *VxlanGpeIoamDisableReply) Marshal(b []byte) ([]byte, error) {
    87  	if b == nil {
    88  		b = make([]byte, m.Size())
    89  	}
    90  	buf := codec.NewBuffer(b)
    91  	buf.EncodeInt32(m.Retval)
    92  	return buf.Bytes(), nil
    93  }
    94  func (m *VxlanGpeIoamDisableReply) Unmarshal(b []byte) error {
    95  	buf := codec.NewBuffer(b)
    96  	m.Retval = buf.DecodeInt32()
    97  	return nil
    98  }
    99  
   100  // iOAM Over VxLAN-GPE - Set iOAM transport for VxLAN-GPE
   101  //   - id - profile id
   102  //   - trace_ppc - Trace PPC (none/encap/decap)
   103  //   - pow_enable - Proof of Work enabled or not flag
   104  //   - trace_enable - iOAM Trace enabled or not flag
   105  //
   106  // VxlanGpeIoamEnable defines message 'vxlan_gpe_ioam_enable'.
   107  type VxlanGpeIoamEnable struct {
   108  	ID          uint16 `binapi:"u16,name=id" json:"id,omitempty"`
   109  	TracePpc    uint8  `binapi:"u8,name=trace_ppc" json:"trace_ppc,omitempty"`
   110  	PowEnable   bool   `binapi:"bool,name=pow_enable" json:"pow_enable,omitempty"`
   111  	TraceEnable bool   `binapi:"bool,name=trace_enable" json:"trace_enable,omitempty"`
   112  }
   113  
   114  func (m *VxlanGpeIoamEnable) Reset()               { *m = VxlanGpeIoamEnable{} }
   115  func (*VxlanGpeIoamEnable) GetMessageName() string { return "vxlan_gpe_ioam_enable" }
   116  func (*VxlanGpeIoamEnable) GetCrcString() string   { return "2481bef7" }
   117  func (*VxlanGpeIoamEnable) GetMessageType() api.MessageType {
   118  	return api.RequestMessage
   119  }
   120  
   121  func (m *VxlanGpeIoamEnable) Size() (size int) {
   122  	if m == nil {
   123  		return 0
   124  	}
   125  	size += 2 // m.ID
   126  	size += 1 // m.TracePpc
   127  	size += 1 // m.PowEnable
   128  	size += 1 // m.TraceEnable
   129  	return size
   130  }
   131  func (m *VxlanGpeIoamEnable) Marshal(b []byte) ([]byte, error) {
   132  	if b == nil {
   133  		b = make([]byte, m.Size())
   134  	}
   135  	buf := codec.NewBuffer(b)
   136  	buf.EncodeUint16(m.ID)
   137  	buf.EncodeUint8(m.TracePpc)
   138  	buf.EncodeBool(m.PowEnable)
   139  	buf.EncodeBool(m.TraceEnable)
   140  	return buf.Bytes(), nil
   141  }
   142  func (m *VxlanGpeIoamEnable) Unmarshal(b []byte) error {
   143  	buf := codec.NewBuffer(b)
   144  	m.ID = buf.DecodeUint16()
   145  	m.TracePpc = buf.DecodeUint8()
   146  	m.PowEnable = buf.DecodeBool()
   147  	m.TraceEnable = buf.DecodeBool()
   148  	return nil
   149  }
   150  
   151  // VxlanGpeIoamEnableReply defines message 'vxlan_gpe_ioam_enable_reply'.
   152  type VxlanGpeIoamEnableReply struct {
   153  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   154  }
   155  
   156  func (m *VxlanGpeIoamEnableReply) Reset()               { *m = VxlanGpeIoamEnableReply{} }
   157  func (*VxlanGpeIoamEnableReply) GetMessageName() string { return "vxlan_gpe_ioam_enable_reply" }
   158  func (*VxlanGpeIoamEnableReply) GetCrcString() string   { return "e8d4e804" }
   159  func (*VxlanGpeIoamEnableReply) GetMessageType() api.MessageType {
   160  	return api.ReplyMessage
   161  }
   162  
   163  func (m *VxlanGpeIoamEnableReply) Size() (size int) {
   164  	if m == nil {
   165  		return 0
   166  	}
   167  	size += 4 // m.Retval
   168  	return size
   169  }
   170  func (m *VxlanGpeIoamEnableReply) Marshal(b []byte) ([]byte, error) {
   171  	if b == nil {
   172  		b = make([]byte, m.Size())
   173  	}
   174  	buf := codec.NewBuffer(b)
   175  	buf.EncodeInt32(m.Retval)
   176  	return buf.Bytes(), nil
   177  }
   178  func (m *VxlanGpeIoamEnableReply) Unmarshal(b []byte) error {
   179  	buf := codec.NewBuffer(b)
   180  	m.Retval = buf.DecodeInt32()
   181  	return nil
   182  }
   183  
   184  // Disable iOAM for VXLAN-GPE transit
   185  //   - dst_addr - IPv4/6 Address of the local VTEP
   186  //   - outer_fib_index- FIB index
   187  //
   188  // VxlanGpeIoamTransitDisable defines message 'vxlan_gpe_ioam_transit_disable'.
   189  type VxlanGpeIoamTransitDisable struct {
   190  	OuterFibIndex uint32           `binapi:"u32,name=outer_fib_index" json:"outer_fib_index,omitempty"`
   191  	DstAddr       ip_types.Address `binapi:"address,name=dst_addr" json:"dst_addr,omitempty"`
   192  }
   193  
   194  func (m *VxlanGpeIoamTransitDisable) Reset()               { *m = VxlanGpeIoamTransitDisable{} }
   195  func (*VxlanGpeIoamTransitDisable) GetMessageName() string { return "vxlan_gpe_ioam_transit_disable" }
   196  func (*VxlanGpeIoamTransitDisable) GetCrcString() string   { return "3d3ec657" }
   197  func (*VxlanGpeIoamTransitDisable) GetMessageType() api.MessageType {
   198  	return api.RequestMessage
   199  }
   200  
   201  func (m *VxlanGpeIoamTransitDisable) Size() (size int) {
   202  	if m == nil {
   203  		return 0
   204  	}
   205  	size += 4      // m.OuterFibIndex
   206  	size += 1      // m.DstAddr.Af
   207  	size += 1 * 16 // m.DstAddr.Un
   208  	return size
   209  }
   210  func (m *VxlanGpeIoamTransitDisable) Marshal(b []byte) ([]byte, error) {
   211  	if b == nil {
   212  		b = make([]byte, m.Size())
   213  	}
   214  	buf := codec.NewBuffer(b)
   215  	buf.EncodeUint32(m.OuterFibIndex)
   216  	buf.EncodeUint8(uint8(m.DstAddr.Af))
   217  	buf.EncodeBytes(m.DstAddr.Un.XXX_UnionData[:], 16)
   218  	return buf.Bytes(), nil
   219  }
   220  func (m *VxlanGpeIoamTransitDisable) Unmarshal(b []byte) error {
   221  	buf := codec.NewBuffer(b)
   222  	m.OuterFibIndex = buf.DecodeUint32()
   223  	m.DstAddr.Af = ip_types.AddressFamily(buf.DecodeUint8())
   224  	copy(m.DstAddr.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   225  	return nil
   226  }
   227  
   228  // VxlanGpeIoamTransitDisableReply defines message 'vxlan_gpe_ioam_transit_disable_reply'.
   229  type VxlanGpeIoamTransitDisableReply struct {
   230  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   231  }
   232  
   233  func (m *VxlanGpeIoamTransitDisableReply) Reset() { *m = VxlanGpeIoamTransitDisableReply{} }
   234  func (*VxlanGpeIoamTransitDisableReply) GetMessageName() string {
   235  	return "vxlan_gpe_ioam_transit_disable_reply"
   236  }
   237  func (*VxlanGpeIoamTransitDisableReply) GetCrcString() string { return "e8d4e804" }
   238  func (*VxlanGpeIoamTransitDisableReply) GetMessageType() api.MessageType {
   239  	return api.ReplyMessage
   240  }
   241  
   242  func (m *VxlanGpeIoamTransitDisableReply) Size() (size int) {
   243  	if m == nil {
   244  		return 0
   245  	}
   246  	size += 4 // m.Retval
   247  	return size
   248  }
   249  func (m *VxlanGpeIoamTransitDisableReply) Marshal(b []byte) ([]byte, error) {
   250  	if b == nil {
   251  		b = make([]byte, m.Size())
   252  	}
   253  	buf := codec.NewBuffer(b)
   254  	buf.EncodeInt32(m.Retval)
   255  	return buf.Bytes(), nil
   256  }
   257  func (m *VxlanGpeIoamTransitDisableReply) Unmarshal(b []byte) error {
   258  	buf := codec.NewBuffer(b)
   259  	m.Retval = buf.DecodeInt32()
   260  	return nil
   261  }
   262  
   263  // Enable iOAM for a VXLAN-GPE transit
   264  //   - dst_addr - IPv4/6 Address of the local VTEP
   265  //   - outer_fib_index- FIB index
   266  //
   267  // VxlanGpeIoamTransitEnable defines message 'vxlan_gpe_ioam_transit_enable'.
   268  type VxlanGpeIoamTransitEnable struct {
   269  	OuterFibIndex uint32           `binapi:"u32,name=outer_fib_index" json:"outer_fib_index,omitempty"`
   270  	DstAddr       ip_types.Address `binapi:"address,name=dst_addr" json:"dst_addr,omitempty"`
   271  }
   272  
   273  func (m *VxlanGpeIoamTransitEnable) Reset()               { *m = VxlanGpeIoamTransitEnable{} }
   274  func (*VxlanGpeIoamTransitEnable) GetMessageName() string { return "vxlan_gpe_ioam_transit_enable" }
   275  func (*VxlanGpeIoamTransitEnable) GetCrcString() string   { return "3d3ec657" }
   276  func (*VxlanGpeIoamTransitEnable) GetMessageType() api.MessageType {
   277  	return api.RequestMessage
   278  }
   279  
   280  func (m *VxlanGpeIoamTransitEnable) Size() (size int) {
   281  	if m == nil {
   282  		return 0
   283  	}
   284  	size += 4      // m.OuterFibIndex
   285  	size += 1      // m.DstAddr.Af
   286  	size += 1 * 16 // m.DstAddr.Un
   287  	return size
   288  }
   289  func (m *VxlanGpeIoamTransitEnable) Marshal(b []byte) ([]byte, error) {
   290  	if b == nil {
   291  		b = make([]byte, m.Size())
   292  	}
   293  	buf := codec.NewBuffer(b)
   294  	buf.EncodeUint32(m.OuterFibIndex)
   295  	buf.EncodeUint8(uint8(m.DstAddr.Af))
   296  	buf.EncodeBytes(m.DstAddr.Un.XXX_UnionData[:], 16)
   297  	return buf.Bytes(), nil
   298  }
   299  func (m *VxlanGpeIoamTransitEnable) Unmarshal(b []byte) error {
   300  	buf := codec.NewBuffer(b)
   301  	m.OuterFibIndex = buf.DecodeUint32()
   302  	m.DstAddr.Af = ip_types.AddressFamily(buf.DecodeUint8())
   303  	copy(m.DstAddr.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   304  	return nil
   305  }
   306  
   307  // VxlanGpeIoamTransitEnableReply defines message 'vxlan_gpe_ioam_transit_enable_reply'.
   308  type VxlanGpeIoamTransitEnableReply struct {
   309  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   310  }
   311  
   312  func (m *VxlanGpeIoamTransitEnableReply) Reset() { *m = VxlanGpeIoamTransitEnableReply{} }
   313  func (*VxlanGpeIoamTransitEnableReply) GetMessageName() string {
   314  	return "vxlan_gpe_ioam_transit_enable_reply"
   315  }
   316  func (*VxlanGpeIoamTransitEnableReply) GetCrcString() string { return "e8d4e804" }
   317  func (*VxlanGpeIoamTransitEnableReply) GetMessageType() api.MessageType {
   318  	return api.ReplyMessage
   319  }
   320  
   321  func (m *VxlanGpeIoamTransitEnableReply) Size() (size int) {
   322  	if m == nil {
   323  		return 0
   324  	}
   325  	size += 4 // m.Retval
   326  	return size
   327  }
   328  func (m *VxlanGpeIoamTransitEnableReply) Marshal(b []byte) ([]byte, error) {
   329  	if b == nil {
   330  		b = make([]byte, m.Size())
   331  	}
   332  	buf := codec.NewBuffer(b)
   333  	buf.EncodeInt32(m.Retval)
   334  	return buf.Bytes(), nil
   335  }
   336  func (m *VxlanGpeIoamTransitEnableReply) Unmarshal(b []byte) error {
   337  	buf := codec.NewBuffer(b)
   338  	m.Retval = buf.DecodeInt32()
   339  	return nil
   340  }
   341  
   342  // Disable iOAM for a VNI (VXLAN-GPE)
   343  //   - vni - VXLAN-GPE VNI
   344  //   - local - IPv4/6 Address of the local VTEP
   345  //   - remote - IPv4/6 Address of the remote VTEP
   346  //
   347  // VxlanGpeIoamVniDisable defines message 'vxlan_gpe_ioam_vni_disable'.
   348  type VxlanGpeIoamVniDisable struct {
   349  	Vni    uint32           `binapi:"u32,name=vni" json:"vni,omitempty"`
   350  	Local  ip_types.Address `binapi:"address,name=local" json:"local,omitempty"`
   351  	Remote ip_types.Address `binapi:"address,name=remote" json:"remote,omitempty"`
   352  }
   353  
   354  func (m *VxlanGpeIoamVniDisable) Reset()               { *m = VxlanGpeIoamVniDisable{} }
   355  func (*VxlanGpeIoamVniDisable) GetMessageName() string { return "vxlan_gpe_ioam_vni_disable" }
   356  func (*VxlanGpeIoamVniDisable) GetCrcString() string   { return "0fbb5fb1" }
   357  func (*VxlanGpeIoamVniDisable) GetMessageType() api.MessageType {
   358  	return api.RequestMessage
   359  }
   360  
   361  func (m *VxlanGpeIoamVniDisable) Size() (size int) {
   362  	if m == nil {
   363  		return 0
   364  	}
   365  	size += 4      // m.Vni
   366  	size += 1      // m.Local.Af
   367  	size += 1 * 16 // m.Local.Un
   368  	size += 1      // m.Remote.Af
   369  	size += 1 * 16 // m.Remote.Un
   370  	return size
   371  }
   372  func (m *VxlanGpeIoamVniDisable) Marshal(b []byte) ([]byte, error) {
   373  	if b == nil {
   374  		b = make([]byte, m.Size())
   375  	}
   376  	buf := codec.NewBuffer(b)
   377  	buf.EncodeUint32(m.Vni)
   378  	buf.EncodeUint8(uint8(m.Local.Af))
   379  	buf.EncodeBytes(m.Local.Un.XXX_UnionData[:], 16)
   380  	buf.EncodeUint8(uint8(m.Remote.Af))
   381  	buf.EncodeBytes(m.Remote.Un.XXX_UnionData[:], 16)
   382  	return buf.Bytes(), nil
   383  }
   384  func (m *VxlanGpeIoamVniDisable) Unmarshal(b []byte) error {
   385  	buf := codec.NewBuffer(b)
   386  	m.Vni = buf.DecodeUint32()
   387  	m.Local.Af = ip_types.AddressFamily(buf.DecodeUint8())
   388  	copy(m.Local.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   389  	m.Remote.Af = ip_types.AddressFamily(buf.DecodeUint8())
   390  	copy(m.Remote.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   391  	return nil
   392  }
   393  
   394  // VxlanGpeIoamVniDisableReply defines message 'vxlan_gpe_ioam_vni_disable_reply'.
   395  type VxlanGpeIoamVniDisableReply struct {
   396  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   397  }
   398  
   399  func (m *VxlanGpeIoamVniDisableReply) Reset() { *m = VxlanGpeIoamVniDisableReply{} }
   400  func (*VxlanGpeIoamVniDisableReply) GetMessageName() string {
   401  	return "vxlan_gpe_ioam_vni_disable_reply"
   402  }
   403  func (*VxlanGpeIoamVniDisableReply) GetCrcString() string { return "e8d4e804" }
   404  func (*VxlanGpeIoamVniDisableReply) GetMessageType() api.MessageType {
   405  	return api.ReplyMessage
   406  }
   407  
   408  func (m *VxlanGpeIoamVniDisableReply) Size() (size int) {
   409  	if m == nil {
   410  		return 0
   411  	}
   412  	size += 4 // m.Retval
   413  	return size
   414  }
   415  func (m *VxlanGpeIoamVniDisableReply) Marshal(b []byte) ([]byte, error) {
   416  	if b == nil {
   417  		b = make([]byte, m.Size())
   418  	}
   419  	buf := codec.NewBuffer(b)
   420  	buf.EncodeInt32(m.Retval)
   421  	return buf.Bytes(), nil
   422  }
   423  func (m *VxlanGpeIoamVniDisableReply) Unmarshal(b []byte) error {
   424  	buf := codec.NewBuffer(b)
   425  	m.Retval = buf.DecodeInt32()
   426  	return nil
   427  }
   428  
   429  // Enable iOAM for a VNI (VXLAN-GPE)
   430  //   - vni - VXLAN-GPE VNI
   431  //   - local - IPv4/6 Address of the local VTEP
   432  //   - remote - IPv4/6 Address of the remote VTEP
   433  //
   434  // VxlanGpeIoamVniEnable defines message 'vxlan_gpe_ioam_vni_enable'.
   435  type VxlanGpeIoamVniEnable struct {
   436  	Vni    uint32           `binapi:"u32,name=vni" json:"vni,omitempty"`
   437  	Local  ip_types.Address `binapi:"address,name=local" json:"local,omitempty"`
   438  	Remote ip_types.Address `binapi:"address,name=remote" json:"remote,omitempty"`
   439  }
   440  
   441  func (m *VxlanGpeIoamVniEnable) Reset()               { *m = VxlanGpeIoamVniEnable{} }
   442  func (*VxlanGpeIoamVniEnable) GetMessageName() string { return "vxlan_gpe_ioam_vni_enable" }
   443  func (*VxlanGpeIoamVniEnable) GetCrcString() string   { return "0fbb5fb1" }
   444  func (*VxlanGpeIoamVniEnable) GetMessageType() api.MessageType {
   445  	return api.RequestMessage
   446  }
   447  
   448  func (m *VxlanGpeIoamVniEnable) Size() (size int) {
   449  	if m == nil {
   450  		return 0
   451  	}
   452  	size += 4      // m.Vni
   453  	size += 1      // m.Local.Af
   454  	size += 1 * 16 // m.Local.Un
   455  	size += 1      // m.Remote.Af
   456  	size += 1 * 16 // m.Remote.Un
   457  	return size
   458  }
   459  func (m *VxlanGpeIoamVniEnable) Marshal(b []byte) ([]byte, error) {
   460  	if b == nil {
   461  		b = make([]byte, m.Size())
   462  	}
   463  	buf := codec.NewBuffer(b)
   464  	buf.EncodeUint32(m.Vni)
   465  	buf.EncodeUint8(uint8(m.Local.Af))
   466  	buf.EncodeBytes(m.Local.Un.XXX_UnionData[:], 16)
   467  	buf.EncodeUint8(uint8(m.Remote.Af))
   468  	buf.EncodeBytes(m.Remote.Un.XXX_UnionData[:], 16)
   469  	return buf.Bytes(), nil
   470  }
   471  func (m *VxlanGpeIoamVniEnable) Unmarshal(b []byte) error {
   472  	buf := codec.NewBuffer(b)
   473  	m.Vni = buf.DecodeUint32()
   474  	m.Local.Af = ip_types.AddressFamily(buf.DecodeUint8())
   475  	copy(m.Local.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   476  	m.Remote.Af = ip_types.AddressFamily(buf.DecodeUint8())
   477  	copy(m.Remote.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   478  	return nil
   479  }
   480  
   481  // VxlanGpeIoamVniEnableReply defines message 'vxlan_gpe_ioam_vni_enable_reply'.
   482  type VxlanGpeIoamVniEnableReply struct {
   483  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   484  }
   485  
   486  func (m *VxlanGpeIoamVniEnableReply) Reset()               { *m = VxlanGpeIoamVniEnableReply{} }
   487  func (*VxlanGpeIoamVniEnableReply) GetMessageName() string { return "vxlan_gpe_ioam_vni_enable_reply" }
   488  func (*VxlanGpeIoamVniEnableReply) GetCrcString() string   { return "e8d4e804" }
   489  func (*VxlanGpeIoamVniEnableReply) GetMessageType() api.MessageType {
   490  	return api.ReplyMessage
   491  }
   492  
   493  func (m *VxlanGpeIoamVniEnableReply) Size() (size int) {
   494  	if m == nil {
   495  		return 0
   496  	}
   497  	size += 4 // m.Retval
   498  	return size
   499  }
   500  func (m *VxlanGpeIoamVniEnableReply) Marshal(b []byte) ([]byte, error) {
   501  	if b == nil {
   502  		b = make([]byte, m.Size())
   503  	}
   504  	buf := codec.NewBuffer(b)
   505  	buf.EncodeInt32(m.Retval)
   506  	return buf.Bytes(), nil
   507  }
   508  func (m *VxlanGpeIoamVniEnableReply) Unmarshal(b []byte) error {
   509  	buf := codec.NewBuffer(b)
   510  	m.Retval = buf.DecodeInt32()
   511  	return nil
   512  }
   513  
   514  func init() { file_ioam_vxlan_gpe_binapi_init() }
   515  func file_ioam_vxlan_gpe_binapi_init() {
   516  	api.RegisterMessage((*VxlanGpeIoamDisable)(nil), "vxlan_gpe_ioam_disable_6b16a45e")
   517  	api.RegisterMessage((*VxlanGpeIoamDisableReply)(nil), "vxlan_gpe_ioam_disable_reply_e8d4e804")
   518  	api.RegisterMessage((*VxlanGpeIoamEnable)(nil), "vxlan_gpe_ioam_enable_2481bef7")
   519  	api.RegisterMessage((*VxlanGpeIoamEnableReply)(nil), "vxlan_gpe_ioam_enable_reply_e8d4e804")
   520  	api.RegisterMessage((*VxlanGpeIoamTransitDisable)(nil), "vxlan_gpe_ioam_transit_disable_3d3ec657")
   521  	api.RegisterMessage((*VxlanGpeIoamTransitDisableReply)(nil), "vxlan_gpe_ioam_transit_disable_reply_e8d4e804")
   522  	api.RegisterMessage((*VxlanGpeIoamTransitEnable)(nil), "vxlan_gpe_ioam_transit_enable_3d3ec657")
   523  	api.RegisterMessage((*VxlanGpeIoamTransitEnableReply)(nil), "vxlan_gpe_ioam_transit_enable_reply_e8d4e804")
   524  	api.RegisterMessage((*VxlanGpeIoamVniDisable)(nil), "vxlan_gpe_ioam_vni_disable_0fbb5fb1")
   525  	api.RegisterMessage((*VxlanGpeIoamVniDisableReply)(nil), "vxlan_gpe_ioam_vni_disable_reply_e8d4e804")
   526  	api.RegisterMessage((*VxlanGpeIoamVniEnable)(nil), "vxlan_gpe_ioam_vni_enable_0fbb5fb1")
   527  	api.RegisterMessage((*VxlanGpeIoamVniEnableReply)(nil), "vxlan_gpe_ioam_vni_enable_reply_e8d4e804")
   528  }
   529  
   530  // Messages returns list of all messages in this module.
   531  func AllMessages() []api.Message {
   532  	return []api.Message{
   533  		(*VxlanGpeIoamDisable)(nil),
   534  		(*VxlanGpeIoamDisableReply)(nil),
   535  		(*VxlanGpeIoamEnable)(nil),
   536  		(*VxlanGpeIoamEnableReply)(nil),
   537  		(*VxlanGpeIoamTransitDisable)(nil),
   538  		(*VxlanGpeIoamTransitDisableReply)(nil),
   539  		(*VxlanGpeIoamTransitEnable)(nil),
   540  		(*VxlanGpeIoamTransitEnableReply)(nil),
   541  		(*VxlanGpeIoamVniDisable)(nil),
   542  		(*VxlanGpeIoamVniDisableReply)(nil),
   543  		(*VxlanGpeIoamVniEnable)(nil),
   544  		(*VxlanGpeIoamVniEnableReply)(nil),
   545  	}
   546  }