go.ligato.io/vpp-agent/v3@v3.5.0/plugins/vpp/binapi/vpp2106/vpp2106.go (about)

     1  // Copyright (c) 2020 Pantheon.tech
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at:
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package vpp2106
    16  
    17  import (
    18  	"go.ligato.io/vpp-agent/v3/plugins/vpp"
    19  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi"
    20  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/abf"
    21  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/acl"
    22  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/af_packet"
    23  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/arp"
    24  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/bond"
    25  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/dhcp"
    26  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/dns"
    27  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/flowprobe"
    28  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/gre"
    29  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/gtpu"
    30  	interfaces "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/interface"
    31  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ip"
    32  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ip6_nd"
    33  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ip_neighbor"
    34  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ipfix_export"
    35  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ipip"
    36  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ipsec"
    37  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/l2"
    38  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/l3xc"
    39  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/memclnt"
    40  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/memif"
    41  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/nat44_ed"
    42  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/nat44_ei"
    43  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/punt"
    44  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/rd_cp"
    45  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/rdma"
    46  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/span"
    47  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/sr"
    48  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/stn"
    49  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/tapv2"
    50  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/teib"
    51  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/vmxnet3"
    52  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/vpe"
    53  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/vxlan"
    54  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/vxlan_gpe"
    55  	"go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/wireguard"
    56  )
    57  
    58  // Version is used to identify VPP binapi version
    59  const Version = "21.06"
    60  
    61  func init() {
    62  	binapi.Versions[Version] = binapi.VersionMsgs{
    63  		Core: vpp.Messages(
    64  			af_packet.AllMessages,
    65  			arp.AllMessages,
    66  			bond.AllMessages,
    67  			gre.AllMessages,
    68  			interfaces.AllMessages,
    69  			ip.AllMessages,
    70  			ip6_nd.AllMessages,
    71  			ip_neighbor.AllMessages,
    72  			ipfix_export.AllMessages,
    73  			ipip.AllMessages,
    74  			ipsec.AllMessages,
    75  			l2.AllMessages,
    76  			memclnt.AllMessages,
    77  			punt.AllMessages,
    78  			rd_cp.AllMessages,
    79  			span.AllMessages,
    80  			sr.AllMessages,
    81  			tapv2.AllMessages,
    82  			teib.AllMessages,
    83  			vpe.AllMessages,
    84  			vxlan.AllMessages,
    85  			vxlan_gpe.AllMessages,
    86  		),
    87  		Plugins: vpp.Messages(
    88  			abf.AllMessages,
    89  			acl.AllMessages,
    90  			dhcp.AllMessages,
    91  			dns.AllMessages,
    92  			flowprobe.AllMessages,
    93  			gtpu.AllMessages,
    94  			l3xc.AllMessages,
    95  			memif.AllMessages,
    96  			nat44_ed.AllMessages,
    97  			nat44_ei.AllMessages,
    98  			rdma.AllMessages,
    99  			stn.AllMessages,
   100  			vmxnet3.AllMessages,
   101  			wireguard.AllMessages,
   102  		),
   103  	}
   104  }
   105  
   106  //go:generate -command binapigen binapi-generator --no-version-info --output-dir=.
   107  //go:generate binapigen --input-file=$VPP_API_DIR/core/af_packet.api.json
   108  //go:generate binapigen --input-file=$VPP_API_DIR/core/arp.api.json
   109  //go:generate binapigen --input-file=$VPP_API_DIR/core/bond.api.json
   110  //go:generate binapigen --input-file=$VPP_API_DIR/core/gre.api.json
   111  //go:generate binapigen --input-file=$VPP_API_DIR/core/interface.api.json
   112  //go:generate binapigen --input-file=$VPP_API_DIR/core/ip.api.json
   113  //go:generate binapigen --input-file=$VPP_API_DIR/core/ip6_nd.api.json
   114  //go:generate binapigen --input-file=$VPP_API_DIR/core/ip_neighbor.api.json
   115  //go:generate binapigen --input-file=$VPP_API_DIR/core/ipfix_export.api.json
   116  //go:generate binapigen --input-file=$VPP_API_DIR/core/ipip.api.json
   117  //go:generate binapigen --input-file=$VPP_API_DIR/core/ipsec.api.json
   118  //go:generate binapigen --input-file=$VPP_API_DIR/core/l2.api.json
   119  //go:generate binapigen --input-file=$VPP_API_DIR/core/memclnt.api.json
   120  //go:generate binapigen --input-file=$VPP_API_DIR/core/punt.api.json
   121  //go:generate binapigen --input-file=$VPP_API_DIR/core/rd_cp.api.json
   122  //go:generate binapigen --input-file=$VPP_API_DIR/core/span.api.json
   123  //go:generate binapigen --input-file=$VPP_API_DIR/core/sr.api.json
   124  //go:generate binapigen --input-file=$VPP_API_DIR/core/tapv2.api.json
   125  //go:generate binapigen --input-file=$VPP_API_DIR/core/teib.api.json
   126  //go:generate binapigen --input-file=$VPP_API_DIR/core/vpe.api.json
   127  //go:generate binapigen --input-file=$VPP_API_DIR/core/vxlan.api.json
   128  //go:generate binapigen --input-file=$VPP_API_DIR/core/vxlan_gpe.api.json
   129  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/abf.api.json
   130  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/acl.api.json
   131  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/dhcp.api.json
   132  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/dns.api.json
   133  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/flowprobe.api.json
   134  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/gtpu.api.json
   135  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/l3xc.api.json
   136  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/memif.api.json
   137  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/nat44_ed.api.json
   138  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/nat44_ei.api.json
   139  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/rdma.api.json
   140  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/stn.api.json
   141  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/vmxnet3.api.json
   142  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/wireguard.api.json
   143  //go:generate binapigen --input-file=$VPP_API_DIR/plugins/vrrp.api.json