X-Git-Url: https://gerrit.fd.io/r/gitweb?p=govpp.git;a=blobdiff_plain;f=internal%2Ftestbinapi%2Fbinapi2001%2Fgbp%2Fgbp.ba.go;fp=internal%2Ftestbinapi%2Fbinapi2001%2Fgbp%2Fgbp.ba.go;h=0000000000000000000000000000000000000000;hp=27df8b593958fa069f36e3b4f9cb04aeec965da5;hb=e9567fa8c853dda16c54afbd2ba99b7263fa37f1;hpb=4102c72bce694babd94a481b1201d33895a6f9c5 diff --git a/internal/testbinapi/binapi2001/gbp/gbp.ba.go b/internal/testbinapi/binapi2001/gbp/gbp.ba.go deleted file mode 100644 index 27df8b5..0000000 --- a/internal/testbinapi/binapi2001/gbp/gbp.ba.go +++ /dev/null @@ -1,3398 +0,0 @@ -// Code generated by GoVPP's binapi-generator. DO NOT EDIT. -// versions: -// binapi-generator: v0.5.0-dev -// VPP: 20.01 -// source: .vppapi/plugins/gbp.api.json - -// Package gbp contains generated bindings for API file gbp.api. -// -// Contents: -// 8 aliases -// 17 enums -// 20 structs -// 1 union -// 48 messages -// -package gbp - -import ( - "fmt" - "net" - "strconv" - "strings" - - api "git.fd.io/govpp.git/api" - codec "git.fd.io/govpp.git/codec" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the GoVPP api package it is being compiled against. -// A compilation error at this line likely means your copy of the -// GoVPP api package needs to be updated. -const _ = api.GoVppAPIPackageIsVersion2 - -const ( - APIFile = "gbp" - APIVersion = "2.0.0" - VersionCrc = 0xa891d6ff -) - -// AddressFamily defines enum 'address_family'. -type AddressFamily uint32 - -const ( - ADDRESS_IP4 AddressFamily = 0 - ADDRESS_IP6 AddressFamily = 1 -) - -var ( - AddressFamily_name = map[uint32]string{ - 0: "ADDRESS_IP4", - 1: "ADDRESS_IP6", - } - AddressFamily_value = map[string]uint32{ - "ADDRESS_IP4": 0, - "ADDRESS_IP6": 1, - } -) - -func (x AddressFamily) String() string { - s, ok := AddressFamily_name[uint32(x)] - if ok { - return s - } - return "AddressFamily(" + strconv.Itoa(int(x)) + ")" -} - -// GbpBridgeDomainFlags defines enum 'gbp_bridge_domain_flags'. -type GbpBridgeDomainFlags uint32 - -const ( - GBP_BD_API_FLAG_NONE GbpBridgeDomainFlags = 0 - GBP_BD_API_FLAG_DO_NOT_LEARN GbpBridgeDomainFlags = 1 - GBP_BD_API_FLAG_UU_FWD_DROP GbpBridgeDomainFlags = 2 - GBP_BD_API_FLAG_MCAST_DROP GbpBridgeDomainFlags = 4 - GBP_BD_API_FLAG_UCAST_ARP GbpBridgeDomainFlags = 8 -) - -var ( - GbpBridgeDomainFlags_name = map[uint32]string{ - 0: "GBP_BD_API_FLAG_NONE", - 1: "GBP_BD_API_FLAG_DO_NOT_LEARN", - 2: "GBP_BD_API_FLAG_UU_FWD_DROP", - 4: "GBP_BD_API_FLAG_MCAST_DROP", - 8: "GBP_BD_API_FLAG_UCAST_ARP", - } - GbpBridgeDomainFlags_value = map[string]uint32{ - "GBP_BD_API_FLAG_NONE": 0, - "GBP_BD_API_FLAG_DO_NOT_LEARN": 1, - "GBP_BD_API_FLAG_UU_FWD_DROP": 2, - "GBP_BD_API_FLAG_MCAST_DROP": 4, - "GBP_BD_API_FLAG_UCAST_ARP": 8, - } -) - -func (x GbpBridgeDomainFlags) String() string { - s, ok := GbpBridgeDomainFlags_name[uint32(x)] - if ok { - return s - } - str := func(n uint32) string { - s, ok := GbpBridgeDomainFlags_name[uint32(n)] - if ok { - return s - } - return "GbpBridgeDomainFlags(" + strconv.Itoa(int(n)) + ")" - } - for i := uint32(0); i <= 32; i++ { - val := uint32(x) - if val&(1<