diff --git a/BUILD b/BUILD index 882611b7..43e7f735 100644 --- a/BUILD +++ b/BUILD @@ -5,6 +5,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") # gazelle:prefix github.com/openconfig/lemming # gazelle:resolve proto go google/rpc/status.proto @org_golang_google_genproto_googleapis_rpc//status # gazelle:resolve proto google/rpc/status.proto @googleapis//google/rpc:status_proto +# gazelle:resolve go github.com/openconfig/lemming/dataplane/proto/sai //dataplane/proto/sai:sai # gazelle:build_file_name BUILD # gazelle:exclude github.com/p4lang/p4runtime gazelle( diff --git a/Dockerfile.saibuilder b/Dockerfile.saibuilder index 3cf0670c..5653f127 100644 --- a/Dockerfile.saibuilder +++ b/Dockerfile.saibuilder @@ -1,18 +1,25 @@ -FROM us-west1-docker.pkg.dev/openconfig-lemming/internal/builder@sha256:6a960d06bfd63c9cd8cff1f2ab3b3cc21e578b570979b5574d232be644dd0bf9 +FROM debian:bookworm + +# Install required build packages and development libraries +RUN apt-get update && apt-get install -y --no-install-recommends \ + build-essential \ + clang \ + git \ + wget \ + unzip \ + ca-certificates \ + libnl-genl-3-dev \ + libnl-3-dev \ + libpcap-dev \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + +# Install Bazelisk +RUN wget -q -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64 && \ + chmod +x /usr/local/bin/bazel + WORKDIR /build -COPY patches/sai.patch sai.patch -RUN wget -q https://github.com/opencomputeproject/SAI/archive/refs/tags/v1.14.0.tar.gz && tar xf v1.14.0.tar.gz && rm v1.14.0.tar.gz -RUN mkdir external && mv SAI-1.14.0 external/com_github_opencomputeproject_sai && patch -p1 -d external/com_github_opencomputeproject_sai < sai.patch -COPY go.* . -COPY dataplane/proto/sai/*.proto dataplane/proto/sai/ -COPY dataplane/cpusink/*.go dataplane/cpusink/ -COPY dataplane/standalone/packetio/*.go dataplane/standalone/packetio/ -COPY dataplane/dplaneopts/*.go dataplane/dplaneopts/ -COPY dataplane/forwarding/ dataplane/forwarding/ -COPY dataplane/internal/kernel/*.go dataplane/internal/kernel/ -COPY proto/forwarding/*.go proto/forwarding/ -COPY dataplane/standalone/sai/*.cc dataplane/standalone/sai/ -COPY dataplane/standalone/sai/*.h dataplane/standalone/sai/ -COPY dataplane/standalone/entrypoint.cc dataplane/standalone/entrypoint.cc -COPY Makefile . -RUN make lucius-libsai -j 48 +COPY . . + +RUN bazel build --lockfile_mode=off --dynamic_mode=off //dataplane/standalone:sai && \ + cp bazel-bin/dataplane/standalone/libsai.so /build/libsai.so diff --git a/MODULE.bazel b/MODULE.bazel index d5ecb0ad..7434aff9 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -15,7 +15,7 @@ bazel_dep(name = "protobuf", version = "29.3", repo_name = "com_google_protobuf" bazel_dep(name = "re2", version = "2024-07-02.bcr.1") bazel_dep(name = "rules_go", version = "0.57.0", repo_name = "io_bazel_rules_go") bazel_dep(name = "rules_pkg", version = "1.1.0") -bazel_dep(name = "rules_proto", version = "7.0.2") +bazel_dep(name = "rules_proto", version = "7.1.0") bazel_dep(name = "rules_proto_grpc_go", version = "5.0.1") bazel_dep(name = "rules_cc", version = "0.1.1") bazel_dep(name = "rules_distroless", version = "0.5.1") @@ -31,13 +31,30 @@ archive_override( http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +http_archive( + name = "doxygen_release", + build_file_content = 'exports_files(["bin/doxygen"], ["//visibility:public"])', + sha256 = "610697eba6104110389d371e6908ed35b4b00f9e650c969a213dc0020b067a55", + strip_prefix = "doxygen-1.8.16", + type = "tar.gz", + urls = ["https://sourceforge.net/projects/doxygen/files/rel-1.8.16/doxygen-1.8.16.linux.bin.tar.gz/download"], +) + http_archive( name = "com_github_opencomputeproject_sai", build_file_content = """ +exports_files(["meta/Doxyfile"]) + +filegroup( + name = "headers", + srcs = glob(["inc/**/*.h", "experimental/**/*.h", "meta/**/*.h"]), + visibility = ["//visibility:public"], +) + cc_library( name = "sai", - hdrs = glob(["inc/*.h","experimental/*.h"]), - includes = ["inc", "experimental"], + hdrs = [":headers"], + includes = ["inc", "experimental", "meta"], visibility = ["//visibility:public"], ) """, diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 7e1d03bd..d677f84f 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -288,7 +288,8 @@ "https://bcr.bazel.build/modules/rules_proto/6.0.0/MODULE.bazel": "b531d7f09f58dce456cd61b4579ce8c86b38544da75184eadaf0a7cb7966453f", "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", - "https://bcr.bazel.build/modules/rules_proto/7.0.2/source.json": "1e5e7260ae32ef4f2b52fd1d0de8d03b606a44c91b694d2f1afb1d3b28a48ce1", + "https://bcr.bazel.build/modules/rules_proto/7.1.0/MODULE.bazel": "002d62d9108f75bb807cd56245d45648f38275cb3a99dcd45dfb864c5d74cb96", + "https://bcr.bazel.build/modules/rules_proto/7.1.0/source.json": "39f89066c12c24097854e8f57ab8558929f9c8d474d34b2c00ac04630ad8940e", "https://bcr.bazel.build/modules/rules_proto_grpc/5.0.1/MODULE.bazel": "af7a76546e6fb5cfb37d30ece061bad276ceb785eb4ea43d6f74fc35cff71dfc", "https://bcr.bazel.build/modules/rules_proto_grpc/5.0.1/source.json": "eb2a5cd4344970803514e64bce3bb16840fe9476a4e9695d95c6e0475d821606", "https://bcr.bazel.build/modules/rules_proto_grpc_go/5.0.1/MODULE.bazel": "1d6a9096ae9d4714b5d82d693fb714fb0b1554d56e6fb1c18595c1e35a2121fb", diff --git a/Makefile b/Makefile index 94db2c87..897c4699 100644 --- a/Makefile +++ b/Makefile @@ -111,5 +111,5 @@ lucius-libsai: libsai.so lucius-libsai-bullseye: DOCKER_BUILDKIT=1 docker build . -f Dockerfile.saibuilder -t lemming-libsai:latest docker create --name libsai-temp lemming-libsai:latest - docker cp libsai-temp:/build/pkg/lucius-libsai.deb . + docker cp libsai-temp:/build/libsai.so ./libsai.so docker rm libsai-temp diff --git a/dataplane/apigen/apigen.go b/dataplane/apigen/apigen.go index f7b8d3df..c2c1774d 100644 --- a/dataplane/apigen/apigen.go +++ b/dataplane/apigen/apigen.go @@ -21,6 +21,8 @@ import ( "os" "path/filepath" "runtime" + "slices" + "strings" "github.com/openconfig/lemming/dataplane/apigen/ccgen" "github.com/openconfig/lemming/dataplane/apigen/docparser" @@ -58,15 +60,43 @@ func parse(headers []string, includePaths ...string) (*cc.AST, error) { } var ( - saiPath = flag.String("sai_path", "bazel-lemming/external/com_github_opencomputeproject_sai", "Path to SAI repo") - clientOutDir = flag.String("client_out_dir", "dataplane/standalone/sai", "Output directory for C++ client code") - serverOutDir = flag.String("server_out_dir", "dataplane/standalone/saiserver", "Output directory for C++ server code") - protoOutDir = flag.String("proto_out_dir", "dataplane/proto/sai", "Output dirrectory for proto code") - protoPackage = flag.String("proto_package", "lemming.dataplane.sai", "Package for generated proto code") - protoGoPackage = flag.String("proto_go_package", "github.com/openconfig/lemming/dataplane/proto/sai", "Go package option in proto code") - xmlPath = flag.String("xml_path", "dataplane/apigen/xml", "Path to generate SAI doxygen XML files.") + saiPath = flag.String("sai_path", "bazel-lemming/external/com_github_opencomputeproject_sai", "Path to SAI repo") + clientOutDir = flag.String("client_out_dir", "dataplane/standalone/sai", "Output directory for C++ client code") + serverOutDir = flag.String("server_out_dir", "dataplane/standalone/saiserver", "Output directory for C++ server code") + protoOutDir = flag.String("proto_out_dir", "dataplane/proto/sai", "Output dirrectory for proto code") + protoImportPath = flag.String("proto_import_path", "", "Proto import path inside generated includes (falls back to -proto_out_dir if empty)") + protoPackage = flag.String("proto_package", "lemming.dataplane.sai", "Package for generated proto code") + protoGoPackage = flag.String("proto_go_package", "github.com/openconfig/lemming/dataplane/proto/sai", "Go package option in proto code") + xmlPath = flag.String("xml_path", "dataplane/apigen/xml", "Path to generate SAI doxygen XML files.") + apis = flag.String("apis", "", "Comma-separated list of APIs to generate. If empty, generate all.") ) +var virtualAttributes = map[string][]*docparser.AttrTypeName{ + "SWITCH": { + { + EnumName: "SAI_SWITCH_ATTR_SUPPORTED_DEBUG_COUNTER_TYPE_LIST", + MemberName: "supported_debug_counter_type_list", + SaiType: "sai_s32_list_t sai_debug_counter_type_t", + Comment: "Supported debug counter types", + Value: 2112, + }, + { + EnumName: "SAI_SWITCH_ATTR_SUPPORTED_INGRESS_DROP_REASON_LIST", + MemberName: "supported_ingress_drop_reason_list", + SaiType: "sai_s32_list_t sai_in_drop_reason_t", + Comment: "Supported ingress drop reasons", + Value: 2113, + }, + { + EnumName: "SAI_SWITCH_ATTR_AVAILABLE_SWITCH_INGRESS_DROP_COUNTERS", + MemberName: "available_switch_ingress_drop_counters", + SaiType: "sai_uint32_t", + Comment: "Available ingress drop counters", + Value: 2118, + }, + }, +} + func generate() error { saiHeaderFile, err := filepath.Abs(filepath.Join(*saiPath, "inc/sai.h")) if err != nil { @@ -89,20 +119,48 @@ func generate() error { return err } sai := saiast.Get(ast) + var allAPIs []string + for _, iface := range sai.Ifaces { + allAPIs = append(allAPIs, strings.TrimSuffix(strings.TrimPrefix(iface.Name, "sai_"), "_api_t")) + } + slices.SortFunc(allAPIs, func(a, b string) int { + return len(b) - len(a) + }) + + var apiList []string + if *apis != "" { + for _, api := range strings.Split(*apis, ",") { + apiList = append(apiList, strings.TrimSpace(api)) + } + sai.Filter(apiList) + } xmlInfo, err := docparser.ParseSAIXMLDir(*xmlPath) if err != nil { return err } + if *apis != "" { + xmlInfo.Filter(apiList, allAPIs) + } - protos, err := protogen.Generate(xmlInfo, sai, *protoPackage, *protoGoPackage, *protoOutDir) + for api, attrs := range virtualAttributes { + xmlInfo.Attrs[api].ReadFields = append(xmlInfo.Attrs[api].ReadFields, attrs...) + } + + // Use proto_import_path to set the include path prefix for generated C++ headers. + // Fall back to proto_out_dir if not specified (e.g. for standalone builds). + importPath := *protoImportPath + if importPath == "" { + importPath = *protoOutDir + } + protos, err := protogen.Generate(xmlInfo, sai, *protoPackage, *protoGoPackage, importPath) if err != nil { return err } - clientFiles, err := ccgen.GenClient(xmlInfo, sai, *protoOutDir, *clientOutDir) + clientFiles, err := ccgen.GenClient(xmlInfo, sai, importPath, *clientOutDir, virtualAttributes) if err != nil { return err } - serverFiles, err := ccgen.GenServer(xmlInfo, sai, *protoOutDir, *serverOutDir) + serverFiles, err := ccgen.GenServer(xmlInfo, sai, importPath, *serverOutDir) if err != nil { return err } diff --git a/dataplane/apigen/ccgen/ccgen.go b/dataplane/apigen/ccgen/ccgen.go index 6a47ff63..3b7bfeb1 100644 --- a/dataplane/apigen/ccgen/ccgen.go +++ b/dataplane/apigen/ccgen/ccgen.go @@ -15,6 +15,7 @@ package ccgen import ( + "fmt" "slices" "strings" "text/template" @@ -29,12 +30,20 @@ var unsupportedEnum = map[string]struct{}{ } // GenClient generates the C++ code for the SAI library. -func GenClient(doc *docparser.SAIInfo, sai *saiast.SAIAPI, protoOutDir, ccOutDir string) (map[string]string, error) { +func GenClient(doc *docparser.SAIInfo, sai *saiast.SAIAPI, protoOutDir, ccOutDir string, virtualAttrs map[string][]*docparser.AttrTypeName) (map[string]string, error) { files := make(map[string]string) enums := enumFile{ ProtoOutDir: protoOutDir, CCOutDir: ccOutDir, } + for api, attrs := range virtualAttrs { + castType := fmt.Sprintf("sai_%s_attr_t", strings.ToLower(api)) + for _, attr := range attrs { + enums.VirtualDefines = append(enums.VirtualDefines, fmt.Sprintf("#define %s (%s)%d", attr.EnumName, castType, attr.Value)) + } + } + slices.Sort(enums.VirtualDefines) + d, err := typeinfo.Data(doc, sai, "", "", ccOutDir, protoOutDir) if err != nil { return nil, err @@ -208,9 +217,9 @@ switch ({{ .Var }}) { // See the License for the specific language governing permissions and // limitations under the License. -#include "{{ .CCOutDir }}/{{ .Header }}" -#include "{{ .CCOutDir }}/common.h" -#include "{{ .CCOutDir }}/enum.h" +#include "{{ .Header }}" +#include "common.h" +#include "enum.h" #include "{{ .ProtoOutDir }}/common.pb.h" #include "{{ .ProtoOutDir }}/{{ .ProtoInclude }}.h" #include @@ -477,6 +486,10 @@ extern "C" { #include "experimental/saiextensions.h" } +{{ range .VirtualDefines }} +{{ . }} +{{ end }} + {{ range .Enums }} lemming::dataplane::sai::{{ .ProtoName }} convert_{{ .SAIName }}_to_proto(const sai_int32_t val); {{ .SAIName }} convert_{{ .SAIName }}_to_sai(lemming::dataplane::sai::{{ .ProtoName }} val); @@ -501,7 +514,7 @@ void convert_list_{{ .SAIName }}_to_sai(int32_t *list, const google::protobuf::R // See the License for the specific language governing permissions and // limitations under the License. -#include "{{ .CCOutDir }}/enum.h" +#include "enum.h" {{ range .Enums }} {{$enum := .}} @@ -516,9 +529,9 @@ lemming::dataplane::sai::{{ .ProtoName }} convert_{{ .SAIName }}_to_proto(const {{ .SAIName }} convert_{{ .SAIName }}_to_sai(lemming::dataplane::sai::{{ .ProtoName }} val) { switch (val) { {{ range .Elems }} - case lemming::dataplane::sai::{{ .ProtoName}}: return {{ .SAIName}}; + case lemming::dataplane::sai::{{ .ProtoName}}: return static_cast<{{ $enum.SAIName }}>({{ .SAIName}}); {{ end }} - default: return {{ $enum.DefaultReturn }}; + default: return static_cast<{{ $enum.SAIName }}>({{ $enum.DefaultReturn }}); } } @@ -541,10 +554,11 @@ void convert_list_{{ .SAIName }}_to_sai(int32_t *list, const google::protobuf::R ) type enumFile struct { - ProtoIncludes []string - Enums []enum - ProtoOutDir string - CCOutDir string + ProtoIncludes []string + Enums []enum + ProtoOutDir string + CCOutDir string + VirtualDefines []string } type enum struct { diff --git a/dataplane/apigen/docparser/docparser.go b/dataplane/apigen/docparser/docparser.go index 6c597276..b354d82d 100644 --- a/dataplane/apigen/docparser/docparser.go +++ b/dataplane/apigen/docparser/docparser.go @@ -34,8 +34,9 @@ type SAIInfo struct { } type Enum struct { - Name string - Value int + Name string + Value int + SourceFile string } // attrInfo holds values and types for an attribute enum. @@ -75,6 +76,11 @@ type MemberDef struct { Name string `xml:"name"` EnumValues []EnumValue `xml:"enumvalue"` Kind string `xml:"kind,attr"` + Location Location `xml:"location"` +} + +type Location struct { + File string `xml:"file,attr"` } // EnumValue is a single values in a enum. @@ -113,7 +119,8 @@ func ParseSAIXMLDir(xmlPath string) (*SAIInfo, error) { if err != nil { return nil, err } - members := []MemberDef{} + seen := make(map[string]bool) + var members []MemberDef for _, file := range files { if !strings.HasSuffix(file.Name(), "xml") { continue @@ -132,7 +139,18 @@ func ParseSAIXMLDir(xmlPath string) (*SAIInfo, error) { return nil, err } for _, section := range dox.CompoundDef.SectionDef { - members = append(members, section.MemberDef...) + for _, m := range section.MemberDef { + if m.Name == "" { + continue + } + key := m.Name + "#" + m.Kind + // Deduplicate members by Name and Kind to avoid duplicate attribute registrations. + if seen[key] { + continue + } + seen[key] = true + members = append(members, m) + } } } if err := parseXMLEntries(members, i); err != nil { @@ -148,7 +166,15 @@ var typeNameExpr = regexp.MustCompile("sai_(.*)_attr.*") // their types, and if they createable, readable, and/or writable. func memberToAttrInfo(enum MemberDef) (*Attr, error) { info := &Attr{} - trimStr := strings.TrimSuffix(strings.TrimPrefix(enum.Name, "_"), "_t") + "_" + // Trim custom and extension suffixes so that the base name matches the standard SAI API naming convention, + // allowing custom fields to map correctly to their base API attribute types. + name := strings.TrimPrefix(enum.Name, "_") + name = strings.TrimSuffix(name, "_t") + name = strings.TrimSuffix(name, "_extensions") + name = strings.TrimSuffix(name, "extensions") + name = strings.TrimSuffix(name, "_custom") + name = strings.TrimSuffix(name, "custom") + trimStr := name + "_" for i, value := range enum.EnumValues { tagRegex := regexp.MustCompile(`<[^>]*>`) @@ -215,23 +241,34 @@ var saiConsts = map[string]int{ "SAI_ACL_USER_DEFINED_FIELD_ATTR_ID_RANGE": 0xff, } +// resolveConst recursively resolves a named constant to its integer value from the enum list or global cache. +func resolveConst(name string, vals []EnumValue) (int, error) { + for i, eV := range vals { + if eV.Name == name { + return parseInitializer(i, vals) + } + } + if v, ok := saiConsts[name]; ok { + return v, nil + } + return 0, fmt.Errorf("constant %q not found", name) +} + +// parseInitializer parses an enum value's initializer string (including arithmetic expressions like A + B, shifts like A << B, or variable references) and returns its evaluated integer value. func parseInitializer(i int, vals []EnumValue) (val int, rerr error) { + if i < 0 || i >= len(vals) { + return 0, fmt.Errorf("index out of bounds: %d", i) + } defer func() { if rerr == nil { saiConsts[vals[i].Name] = val } }() - findIndex := func(val string, vals []EnumValue) int { - for i, eV := range vals { - if eV.Name == val { - return i - } - } - return -1 - } - init := strings.TrimSpace(strings.TrimPrefix(vals[i].Initializer, "= ")) + // Remove enclosing parentheses to simplify arithmetic parsing (e.g. (SAI_CONST + 1) -> SAI_CONST + 1). + init = strings.ReplaceAll(init, "(", "") + init = strings.ReplaceAll(init, ")", "") if init == "" { if i == 0 { return 0, nil @@ -239,6 +276,7 @@ func parseInitializer(i int, vals []EnumValue) (val int, rerr error) { prev, err := parseInitializer(i-1, vals) return prev + 1, err } + // Parse addition (e.g. CONSTANT + OFFSET). if strings.Contains(init, "+") { splits := strings.Split(init, "+") if len(splits) != 2 { @@ -246,20 +284,21 @@ func parseInitializer(i int, vals []EnumValue) (val int, rerr error) { } lhs := strings.TrimSpace(splits[0]) rhs := strings.TrimSpace(splits[1]) - rv, err := strconv.ParseUint(rhs, 0, 64) + lv, err := resolveConst(lhs, vals) if err != nil { - saiConst, ok := saiConsts[rhs] - if !ok { - return 0, err - } - rv = uint64(saiConst) + return 0, err } - lv, err := parseInitializer(findIndex(lhs, vals), vals) + rv, err := resolveConst(rhs, vals) if err != nil { - return 0, err + if parsed, pErr := strconv.ParseUint(rhs, 0, 64); pErr == nil { + rv = int(parsed) + } else { + return 0, fmt.Errorf("failed to parse RHS %q for enum %q: %w", rhs, vals[i].Name, err) + } } - return lv + int(rv), nil + return lv + rv, nil } + // Parse bit-shifts (e.g. 1 << 2). if strings.Contains(init, "<<") { splits := strings.Split(init, "<<") if len(splits) != 2 { @@ -278,19 +317,15 @@ func parseInitializer(i int, vals []EnumValue) (val int, rerr error) { return int(lv << rv), nil } + // Parse simple numeric values directly. if v, err := strconv.ParseUint(init, 0, 64); err == nil { return int(v), nil } - if v, ok := saiConsts[init]; ok { - return v, nil - } - if idx := findIndex(init, vals); idx != -1 { - return parseInitializer(idx, vals) - } - return 0, fmt.Errorf("failed to parse intialiazer for enum %v", vals[i].Name) + // Fall back to resolving as a named constant. + return resolveConst(init, vals) } -func memberToEnumValueStrings(enum MemberDef) ([]*Enum, error) { +func memberToEnumValueStrings(enum MemberDef, sourceFile string) ([]*Enum, error) { res := []*Enum{} for i, value := range enum.EnumValues { val, err := parseInitializer(i, enum.EnumValues) @@ -298,8 +333,9 @@ func memberToEnumValueStrings(enum MemberDef) ([]*Enum, error) { return nil, err } res = append(res, &Enum{ - Name: value.Name, - Value: val, + Name: value.Name, + Value: val, + SourceFile: sourceFile, }) } return res, nil @@ -313,7 +349,7 @@ func parseXMLEntries(members []MemberDef, xmlInfo *SAIInfo) error { if enum.Kind != "enum" { return nil } - if strings.Contains(enum.Name, "attr_t") { + if typeNameExpr.MatchString(enum.Name) { matches := typeNameExpr.FindStringSubmatch(enum.Name) if len(matches) != 2 { return fmt.Errorf("unexpected number of matches: got %v", matches) @@ -322,9 +358,18 @@ func parseXMLEntries(members []MemberDef, xmlInfo *SAIInfo) error { if err != nil { return err } - xmlInfo.Attrs[strings.ToUpper(matches[1])] = info + key := strings.ToUpper(matches[1]) + // Merge attributes (create, read, and set fields) with any existing attributes under the same API key. + // This prevents custom and extension enums from overwriting the standard attributes. + if existing, ok := xmlInfo.Attrs[key]; ok { + existing.CreateFields = append(existing.CreateFields, info.CreateFields...) + existing.ReadFields = append(existing.ReadFields, info.ReadFields...) + existing.SetFields = append(existing.SetFields, info.SetFields...) + } else { + xmlInfo.Attrs[key] = info + } } else { - enums, err := memberToEnumValueStrings(enum) + enums, err := memberToEnumValueStrings(enum, filepath.Base(enum.Location.File)) if err != nil { return err } @@ -349,3 +394,68 @@ func parseXMLEntries(members []MemberDef, xmlInfo *SAIInfo) error { return nil } + +// Filter prunes both Attrs and Enums to keep only those belonging to supported APIs. +func (info *SAIInfo) Filter(supportedAPIs []string, allAPIs []string) { + supportedMap := make(map[string]bool) + for _, api := range supportedAPIs { + supportedMap[strings.TrimSpace(api)] = true + } + + commonScopes := map[string]bool{ + "types": true, + "status": true, + "object": true, + } + + // Match a name against allAPIs to find the exact base API it belongs to. + getAPIName := func(name string) string { + name = strings.TrimPrefix(name, "sai_") + name = strings.ToLower(name) + + for _, api := range allAPIs { + if strings.HasPrefix(name, api+"_") || name == api { + return api + } + } + return "" + } + + getAPINameFromHeader := func(header string) string { + header = strings.TrimSuffix(strings.TrimPrefix(header, "sai"), ".h") + header = strings.ToLower(header) + header = strings.TrimPrefix(header, "experimental") + + if commonScopes[header] { + return header + } + + for _, api := range allAPIs { + apiCleaned := strings.ReplaceAll(api, "_", "") + if strings.HasPrefix(header, apiCleaned) { + return api + } + } + return "" + } + + // Filter Attrs + for key := range info.Attrs { + api := getAPIName(key) + if api == "" || !supportedMap[api] { + delete(info.Attrs, key) + } + } + + // Filter Enums + for key, enums := range info.Enums { + if len(enums) == 0 { + delete(info.Enums, key) + continue + } + api := getAPINameFromHeader(enums[0].SourceFile) + if api == "" || (!supportedMap[api] && !commonScopes[api]) { + delete(info.Enums, key) + } + } +} diff --git a/dataplane/apigen/saiast/saiast.go b/dataplane/apigen/saiast/saiast.go index e9021f54..2e48f2a2 100644 --- a/dataplane/apigen/saiast/saiast.go +++ b/dataplane/apigen/saiast/saiast.go @@ -18,6 +18,7 @@ package saiast import ( "fmt" "regexp" + "slices" "strings" "modernc.org/cc/v4" @@ -205,3 +206,15 @@ func handleIfaces(name string, decl *cc.Declaration) *SAIInterface { } return si } + +// Filter prunes the interfaces list to keep only those belonging to the supported APIs. +func (sai *SAIAPI) Filter(supportedAPIs []string) { + filterMap := make(map[string]bool) + for _, api := range supportedAPIs { + rawName := fmt.Sprintf("sai_%s_api_t", strings.TrimSpace(api)) + filterMap[rawName] = true + } + sai.Ifaces = slices.DeleteFunc(sai.Ifaces, func(iface *SAIInterface) bool { + return !filterMap[iface.Name] + }) +} diff --git a/dataplane/apigen/typeinfo/typeinfo.go b/dataplane/apigen/typeinfo/typeinfo.go index 7784b9fe..1534211f 100644 --- a/dataplane/apigen/typeinfo/typeinfo.go +++ b/dataplane/apigen/typeinfo/typeinfo.go @@ -772,7 +772,8 @@ func CreateAttrs(startIdx int, typeName string, xmlInfo *docparser.SAIInfo, attr } typ, repeated, err := SaiTypeToProtoType(attr.SaiType, xmlInfo) if err != nil { - return nil, err + fmt.Printf("skipping attribute %s due to unknown type error: %v\n", attr.MemberName, err) + continue } for i, val := range xmlInfo.Attrs[typeName].ReadFields { if val == attr { diff --git a/dataplane/proto/sai/BUILD b/dataplane/proto/sai/BUILD index 6d7a92c8..b507d78e 100644 --- a/dataplane/proto/sai/BUILD +++ b/dataplane/proto/sai/BUILD @@ -3,79 +3,67 @@ load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") load("@io_bazel_rules_go//go:def.bzl", "go_library") load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") load("@rules_proto//proto:defs.bzl", "proto_library") +load("//:doxygen.bzl", "doxygen_xml") +load("//:supported_apis.bzl", "SUPPORTED_APIS") -proto_library( - name = "sai_proto", +SUPPORTED_SAI_APIS = SUPPORTED_APIS + +ALL_SAI_APIS = SUPPORTED_APIS + +GEN_CLIENT_SOURCES = [f + ".cc" for f in SUPPORTED_SAI_APIS] + ["enum.cc"] + +GEN_CLIENT_HEADERS = [f + ".h" for f in SUPPORTED_SAI_APIS] + ["enum.h"] + +GEN_PROTOS = [f + ".proto" for f in ALL_SAI_APIS] + ["common.proto"] + +GEN_OUTS = GEN_CLIENT_SOURCES + GEN_CLIENT_HEADERS + GEN_PROTOS + +doxygen_xml( + name = "sai_doxygen_xml", + doxyfile_template = "@com_github_opencomputeproject_sai//:meta/Doxyfile", + headers = [ + "@com_github_opencomputeproject_sai//:headers", + ], +) + +genrule( + name = "generate_sai_code", srcs = [ - "acl.proto", - "ars.proto", - "ars_profile.proto", - "bfd.proto", - "bmtor.proto", - "bridge.proto", - "buffer.proto", - "common.proto", - "counter.proto", - "dash_acl.proto", - "dash_appliance.proto", - "dash_direction_lookup.proto", - "dash_eni.proto", - "dash_flow.proto", - "dash_ha.proto", - "dash_inbound_routing.proto", - "dash_meter.proto", - "dash_outbound_ca_to_pa.proto", - "dash_outbound_routing.proto", - "dash_pa_validation.proto", - "dash_tunnel.proto", - "dash_vip.proto", - "dash_vnet.proto", - "debug_counter.proto", - "dtel.proto", - "fdb.proto", - "generic_programmable.proto", - "hash.proto", - "hostif.proto", - "icmp_echo.proto", - "ipmc.proto", - "ipmc_group.proto", - "ipsec.proto", - "isolation_group.proto", - "l2mc.proto", - "l2mc_group.proto", - "lag.proto", - "macsec.proto", - "mcast_fdb.proto", - "mirror.proto", - "mpls.proto", - "my_mac.proto", - "nat.proto", - "neighbor.proto", - "next_hop.proto", - "next_hop_group.proto", - "poe.proto", - "policer.proto", - "port.proto", - "qos_map.proto", - "queue.proto", - "route.proto", - "router_interface.proto", - "rpf_group.proto", - "samplepacket.proto", - "scheduler.proto", - "scheduler_group.proto", - "srv6.proto", - "stp.proto", - "switch.proto", - "system_port.proto", - "tam.proto", - "tunnel.proto", - "twamp.proto", - "udf.proto", - "virtual_router.proto", - "vlan.proto", - "wred.proto", + ":sai_doxygen_xml", + "@com_github_opencomputeproject_sai//:headers", ], + outs = GEN_OUTS, + cmd = "xml_dir=$(location :sai_doxygen_xml); " + + "sai_files=($(locations @com_github_opencomputeproject_sai//:headers)); " + + "sai_dir=$$(dirname $$(dirname $${sai_files[0]})); " + + "$(location //dataplane/apigen:apigen) " + + "-sai_path=$$sai_dir " + + "-client_out_dir=$(RULEDIR) " + + "-server_out_dir=$$TMPDIR " + + "-proto_out_dir=$(RULEDIR) " + + "-proto_import_path=dataplane/proto/sai " + + "-xml_path=$$xml_dir " + + "-apis=" + ",".join(SUPPORTED_APIS), + tools = ["//dataplane/apigen"], + visibility = ["//visibility:public"], +) + +filegroup( + name = "sai_client_sources", + srcs = [":" + f for f in GEN_CLIENT_SOURCES], + visibility = ["//visibility:public"], +) + +filegroup( + name = "sai_client_headers", + srcs = [":" + f for f in GEN_CLIENT_HEADERS], + visibility = ["//visibility:public"], +) + +proto_library( + name = "sai_proto", + # keep + srcs = [":" + f for f in GEN_PROTOS], visibility = ["//visibility:public"], deps = [ "@com_google_protobuf//:descriptor_proto", @@ -83,6 +71,7 @@ proto_library( ], ) +# keep go_proto_library( name = "sai_go_proto", compilers = [ @@ -94,6 +83,7 @@ go_proto_library( visibility = ["//visibility:public"], ) +# keep go_library( name = "sai", embed = [":sai_go_proto"], diff --git a/dataplane/proto/sai/bmtor.pb.go b/dataplane/proto/sai/bmtor.pb.go index 7d619ccc..187167b0 100644 --- a/dataplane/proto/sai/bmtor.pb.go +++ b/dataplane/proto/sai/bmtor.pb.go @@ -10,7 +10,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - sync "sync" unsafe "unsafe" ) @@ -21,1648 +20,20 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type TableBitmapClassificationEntryAttr int32 - -const ( - TableBitmapClassificationEntryAttr_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_UNSPECIFIED TableBitmapClassificationEntryAttr = 0 - TableBitmapClassificationEntryAttr_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION TableBitmapClassificationEntryAttr = 1 - TableBitmapClassificationEntryAttr_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ROUTER_INTERFACE_KEY TableBitmapClassificationEntryAttr = 2 - TableBitmapClassificationEntryAttr_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IS_DEFAULT TableBitmapClassificationEntryAttr = 3 - TableBitmapClassificationEntryAttr_TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IN_RIF_METADATA TableBitmapClassificationEntryAttr = 4 -) - -// Enum value maps for TableBitmapClassificationEntryAttr. -var ( - TableBitmapClassificationEntryAttr_name = map[int32]string{ - 0: "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_UNSPECIFIED", - 1: "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION", - 2: "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ROUTER_INTERFACE_KEY", - 3: "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IS_DEFAULT", - 4: "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IN_RIF_METADATA", - } - TableBitmapClassificationEntryAttr_value = map[string]int32{ - "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_UNSPECIFIED": 0, - "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION": 1, - "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ROUTER_INTERFACE_KEY": 2, - "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IS_DEFAULT": 3, - "TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IN_RIF_METADATA": 4, - } -) - -func (x TableBitmapClassificationEntryAttr) Enum() *TableBitmapClassificationEntryAttr { - p := new(TableBitmapClassificationEntryAttr) - *p = x - return p -} - -func (x TableBitmapClassificationEntryAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TableBitmapClassificationEntryAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_bmtor_proto_enumTypes[0].Descriptor() -} - -func (TableBitmapClassificationEntryAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_bmtor_proto_enumTypes[0] -} - -func (x TableBitmapClassificationEntryAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TableBitmapClassificationEntryAttr.Descriptor instead. -func (TableBitmapClassificationEntryAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{0} -} - -type TableBitmapRouterEntryAttr int32 - -const ( - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_UNSPECIFIED TableBitmapRouterEntryAttr = 0 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION TableBitmapRouterEntryAttr = 1 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_PRIORITY TableBitmapRouterEntryAttr = 2 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_KEY TableBitmapRouterEntryAttr = 3 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_MASK TableBitmapRouterEntryAttr = 4 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_DST_IP_KEY TableBitmapRouterEntryAttr = 5 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_TUNNEL_INDEX TableBitmapRouterEntryAttr = 6 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_NEXT_HOP TableBitmapRouterEntryAttr = 7 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_ROUTER_INTERFACE TableBitmapRouterEntryAttr = 8 - TableBitmapRouterEntryAttr_TABLE_BITMAP_ROUTER_ENTRY_ATTR_TRAP_ID TableBitmapRouterEntryAttr = 9 -) - -// Enum value maps for TableBitmapRouterEntryAttr. -var ( - TableBitmapRouterEntryAttr_name = map[int32]string{ - 0: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_UNSPECIFIED", - 1: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION", - 2: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_PRIORITY", - 3: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_KEY", - 4: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_MASK", - 5: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_DST_IP_KEY", - 6: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_TUNNEL_INDEX", - 7: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_NEXT_HOP", - 8: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_ROUTER_INTERFACE", - 9: "TABLE_BITMAP_ROUTER_ENTRY_ATTR_TRAP_ID", - } - TableBitmapRouterEntryAttr_value = map[string]int32{ - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_UNSPECIFIED": 0, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION": 1, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_PRIORITY": 2, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_KEY": 3, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_MASK": 4, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_DST_IP_KEY": 5, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_TUNNEL_INDEX": 6, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_NEXT_HOP": 7, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_ROUTER_INTERFACE": 8, - "TABLE_BITMAP_ROUTER_ENTRY_ATTR_TRAP_ID": 9, - } -) - -func (x TableBitmapRouterEntryAttr) Enum() *TableBitmapRouterEntryAttr { - p := new(TableBitmapRouterEntryAttr) - *p = x - return p -} - -func (x TableBitmapRouterEntryAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TableBitmapRouterEntryAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_bmtor_proto_enumTypes[1].Descriptor() -} - -func (TableBitmapRouterEntryAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_bmtor_proto_enumTypes[1] -} - -func (x TableBitmapRouterEntryAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TableBitmapRouterEntryAttr.Descriptor instead. -func (TableBitmapRouterEntryAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{1} -} - -type TableMetaTunnelEntryAttr int32 - -const ( - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_UNSPECIFIED TableMetaTunnelEntryAttr = 0 - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_ACTION TableMetaTunnelEntryAttr = 1 - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_METADATA_KEY TableMetaTunnelEntryAttr = 2 - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_IS_DEFAULT TableMetaTunnelEntryAttr = 3 - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_TUNNEL_ID TableMetaTunnelEntryAttr = 4 - TableMetaTunnelEntryAttr_TABLE_META_TUNNEL_ENTRY_ATTR_UNDERLAY_DIP TableMetaTunnelEntryAttr = 5 -) - -// Enum value maps for TableMetaTunnelEntryAttr. -var ( - TableMetaTunnelEntryAttr_name = map[int32]string{ - 0: "TABLE_META_TUNNEL_ENTRY_ATTR_UNSPECIFIED", - 1: "TABLE_META_TUNNEL_ENTRY_ATTR_ACTION", - 2: "TABLE_META_TUNNEL_ENTRY_ATTR_METADATA_KEY", - 3: "TABLE_META_TUNNEL_ENTRY_ATTR_IS_DEFAULT", - 4: "TABLE_META_TUNNEL_ENTRY_ATTR_TUNNEL_ID", - 5: "TABLE_META_TUNNEL_ENTRY_ATTR_UNDERLAY_DIP", - } - TableMetaTunnelEntryAttr_value = map[string]int32{ - "TABLE_META_TUNNEL_ENTRY_ATTR_UNSPECIFIED": 0, - "TABLE_META_TUNNEL_ENTRY_ATTR_ACTION": 1, - "TABLE_META_TUNNEL_ENTRY_ATTR_METADATA_KEY": 2, - "TABLE_META_TUNNEL_ENTRY_ATTR_IS_DEFAULT": 3, - "TABLE_META_TUNNEL_ENTRY_ATTR_TUNNEL_ID": 4, - "TABLE_META_TUNNEL_ENTRY_ATTR_UNDERLAY_DIP": 5, - } -) - -func (x TableMetaTunnelEntryAttr) Enum() *TableMetaTunnelEntryAttr { - p := new(TableMetaTunnelEntryAttr) - *p = x - return p -} - -func (x TableMetaTunnelEntryAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TableMetaTunnelEntryAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_bmtor_proto_enumTypes[2].Descriptor() -} - -func (TableMetaTunnelEntryAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_bmtor_proto_enumTypes[2] -} - -func (x TableMetaTunnelEntryAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TableMetaTunnelEntryAttr.Descriptor instead. -func (TableMetaTunnelEntryAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{2} -} - -type CreateTableBitmapClassificationEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` - Action *TableBitmapClassificationEntryAction `protobuf:"varint,2,opt,name=action,proto3,enum=lemming.dataplane.sai.TableBitmapClassificationEntryAction,oneof" json:"action,omitempty"` - RouterInterfaceKey *uint64 `protobuf:"varint,3,opt,name=router_interface_key,json=routerInterfaceKey,proto3,oneof" json:"router_interface_key,omitempty"` - IsDefault *bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"` - InRifMetadata *uint32 `protobuf:"varint,5,opt,name=in_rif_metadata,json=inRifMetadata,proto3,oneof" json:"in_rif_metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableBitmapClassificationEntryRequest) Reset() { - *x = CreateTableBitmapClassificationEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableBitmapClassificationEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableBitmapClassificationEntryRequest) ProtoMessage() {} - -func (x *CreateTableBitmapClassificationEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableBitmapClassificationEntryRequest.ProtoReflect.Descriptor instead. -func (*CreateTableBitmapClassificationEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateTableBitmapClassificationEntryRequest) GetSwitch() uint64 { - if x != nil { - return x.Switch - } - return 0 -} - -func (x *CreateTableBitmapClassificationEntryRequest) GetAction() TableBitmapClassificationEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableBitmapClassificationEntryAction_TABLE_BITMAP_CLASSIFICATION_ENTRY_ACTION_UNSPECIFIED -} - -func (x *CreateTableBitmapClassificationEntryRequest) GetRouterInterfaceKey() uint64 { - if x != nil && x.RouterInterfaceKey != nil { - return *x.RouterInterfaceKey - } - return 0 -} - -func (x *CreateTableBitmapClassificationEntryRequest) GetIsDefault() bool { - if x != nil && x.IsDefault != nil { - return *x.IsDefault - } - return false -} - -func (x *CreateTableBitmapClassificationEntryRequest) GetInRifMetadata() uint32 { - if x != nil && x.InRifMetadata != nil { - return *x.InRifMetadata - } - return 0 -} - -type CreateTableBitmapClassificationEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableBitmapClassificationEntryResponse) Reset() { - *x = CreateTableBitmapClassificationEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableBitmapClassificationEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableBitmapClassificationEntryResponse) ProtoMessage() {} - -func (x *CreateTableBitmapClassificationEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableBitmapClassificationEntryResponse.ProtoReflect.Descriptor instead. -func (*CreateTableBitmapClassificationEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateTableBitmapClassificationEntryResponse) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableBitmapClassificationEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableBitmapClassificationEntryRequest) Reset() { - *x = RemoveTableBitmapClassificationEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableBitmapClassificationEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableBitmapClassificationEntryRequest) ProtoMessage() {} - -func (x *RemoveTableBitmapClassificationEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableBitmapClassificationEntryRequest.ProtoReflect.Descriptor instead. -func (*RemoveTableBitmapClassificationEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{2} -} - -func (x *RemoveTableBitmapClassificationEntryRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableBitmapClassificationEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableBitmapClassificationEntryResponse) Reset() { - *x = RemoveTableBitmapClassificationEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableBitmapClassificationEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableBitmapClassificationEntryResponse) ProtoMessage() {} - -func (x *RemoveTableBitmapClassificationEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableBitmapClassificationEntryResponse.ProtoReflect.Descriptor instead. -func (*RemoveTableBitmapClassificationEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{3} -} - -type GetTableBitmapClassificationEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - AttrType []TableBitmapClassificationEntryAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.TableBitmapClassificationEntryAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapClassificationEntryAttributeRequest) Reset() { - *x = GetTableBitmapClassificationEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapClassificationEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapClassificationEntryAttributeRequest) ProtoMessage() {} - -func (x *GetTableBitmapClassificationEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapClassificationEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetTableBitmapClassificationEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{4} -} - -func (x *GetTableBitmapClassificationEntryAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableBitmapClassificationEntryAttributeRequest) GetAttrType() []TableBitmapClassificationEntryAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetTableBitmapClassificationEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *TableBitmapClassificationEntryAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapClassificationEntryAttributeResponse) Reset() { - *x = GetTableBitmapClassificationEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapClassificationEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapClassificationEntryAttributeResponse) ProtoMessage() {} - -func (x *GetTableBitmapClassificationEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapClassificationEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetTableBitmapClassificationEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{5} -} - -func (x *GetTableBitmapClassificationEntryAttributeResponse) GetAttr() *TableBitmapClassificationEntryAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type GetTableBitmapClassificationEntryStatsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - CounterIds []TableBitmapClassificationEntryStat `protobuf:"varint,2,rep,packed,name=counter_ids,json=counterIds,proto3,enum=lemming.dataplane.sai.TableBitmapClassificationEntryStat" json:"counter_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapClassificationEntryStatsRequest) Reset() { - *x = GetTableBitmapClassificationEntryStatsRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapClassificationEntryStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapClassificationEntryStatsRequest) ProtoMessage() {} - -func (x *GetTableBitmapClassificationEntryStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapClassificationEntryStatsRequest.ProtoReflect.Descriptor instead. -func (*GetTableBitmapClassificationEntryStatsRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{6} -} - -func (x *GetTableBitmapClassificationEntryStatsRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableBitmapClassificationEntryStatsRequest) GetCounterIds() []TableBitmapClassificationEntryStat { - if x != nil { - return x.CounterIds - } - return nil -} - -type GetTableBitmapClassificationEntryStatsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Values []uint64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapClassificationEntryStatsResponse) Reset() { - *x = GetTableBitmapClassificationEntryStatsResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapClassificationEntryStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapClassificationEntryStatsResponse) ProtoMessage() {} - -func (x *GetTableBitmapClassificationEntryStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapClassificationEntryStatsResponse.ProtoReflect.Descriptor instead. -func (*GetTableBitmapClassificationEntryStatsResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{7} -} - -func (x *GetTableBitmapClassificationEntryStatsResponse) GetValues() []uint64 { - if x != nil { - return x.Values - } - return nil -} - -type CreateTableBitmapRouterEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` - Action *TableBitmapRouterEntryAction `protobuf:"varint,2,opt,name=action,proto3,enum=lemming.dataplane.sai.TableBitmapRouterEntryAction,oneof" json:"action,omitempty"` - Priority *uint32 `protobuf:"varint,3,opt,name=priority,proto3,oneof" json:"priority,omitempty"` - InRifMetadataKey *uint32 `protobuf:"varint,4,opt,name=in_rif_metadata_key,json=inRifMetadataKey,proto3,oneof" json:"in_rif_metadata_key,omitempty"` - InRifMetadataMask *uint32 `protobuf:"varint,5,opt,name=in_rif_metadata_mask,json=inRifMetadataMask,proto3,oneof" json:"in_rif_metadata_mask,omitempty"` - DstIpKey *IpPrefix `protobuf:"bytes,6,opt,name=dst_ip_key,json=dstIpKey,proto3,oneof" json:"dst_ip_key,omitempty"` - TunnelIndex *uint32 `protobuf:"varint,7,opt,name=tunnel_index,json=tunnelIndex,proto3,oneof" json:"tunnel_index,omitempty"` - NextHop *uint64 `protobuf:"varint,8,opt,name=next_hop,json=nextHop,proto3,oneof" json:"next_hop,omitempty"` - RouterInterface *uint64 `protobuf:"varint,9,opt,name=router_interface,json=routerInterface,proto3,oneof" json:"router_interface,omitempty"` - TrapId *uint64 `protobuf:"varint,10,opt,name=trap_id,json=trapId,proto3,oneof" json:"trap_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableBitmapRouterEntryRequest) Reset() { - *x = CreateTableBitmapRouterEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableBitmapRouterEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableBitmapRouterEntryRequest) ProtoMessage() {} - -func (x *CreateTableBitmapRouterEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableBitmapRouterEntryRequest.ProtoReflect.Descriptor instead. -func (*CreateTableBitmapRouterEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateTableBitmapRouterEntryRequest) GetSwitch() uint64 { - if x != nil { - return x.Switch - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetAction() TableBitmapRouterEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableBitmapRouterEntryAction_TABLE_BITMAP_ROUTER_ENTRY_ACTION_UNSPECIFIED -} - -func (x *CreateTableBitmapRouterEntryRequest) GetPriority() uint32 { - if x != nil && x.Priority != nil { - return *x.Priority - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetInRifMetadataKey() uint32 { - if x != nil && x.InRifMetadataKey != nil { - return *x.InRifMetadataKey - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetInRifMetadataMask() uint32 { - if x != nil && x.InRifMetadataMask != nil { - return *x.InRifMetadataMask - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetDstIpKey() *IpPrefix { - if x != nil { - return x.DstIpKey - } - return nil -} - -func (x *CreateTableBitmapRouterEntryRequest) GetTunnelIndex() uint32 { - if x != nil && x.TunnelIndex != nil { - return *x.TunnelIndex - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetNextHop() uint64 { - if x != nil && x.NextHop != nil { - return *x.NextHop - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetRouterInterface() uint64 { - if x != nil && x.RouterInterface != nil { - return *x.RouterInterface - } - return 0 -} - -func (x *CreateTableBitmapRouterEntryRequest) GetTrapId() uint64 { - if x != nil && x.TrapId != nil { - return *x.TrapId - } - return 0 -} - -type CreateTableBitmapRouterEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableBitmapRouterEntryResponse) Reset() { - *x = CreateTableBitmapRouterEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableBitmapRouterEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableBitmapRouterEntryResponse) ProtoMessage() {} - -func (x *CreateTableBitmapRouterEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableBitmapRouterEntryResponse.ProtoReflect.Descriptor instead. -func (*CreateTableBitmapRouterEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{9} -} - -func (x *CreateTableBitmapRouterEntryResponse) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableBitmapRouterEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableBitmapRouterEntryRequest) Reset() { - *x = RemoveTableBitmapRouterEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableBitmapRouterEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableBitmapRouterEntryRequest) ProtoMessage() {} - -func (x *RemoveTableBitmapRouterEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableBitmapRouterEntryRequest.ProtoReflect.Descriptor instead. -func (*RemoveTableBitmapRouterEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{10} -} - -func (x *RemoveTableBitmapRouterEntryRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableBitmapRouterEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableBitmapRouterEntryResponse) Reset() { - *x = RemoveTableBitmapRouterEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableBitmapRouterEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableBitmapRouterEntryResponse) ProtoMessage() {} - -func (x *RemoveTableBitmapRouterEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableBitmapRouterEntryResponse.ProtoReflect.Descriptor instead. -func (*RemoveTableBitmapRouterEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{11} -} - -type GetTableBitmapRouterEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - AttrType []TableBitmapRouterEntryAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.TableBitmapRouterEntryAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapRouterEntryAttributeRequest) Reset() { - *x = GetTableBitmapRouterEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapRouterEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapRouterEntryAttributeRequest) ProtoMessage() {} - -func (x *GetTableBitmapRouterEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapRouterEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetTableBitmapRouterEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{12} -} - -func (x *GetTableBitmapRouterEntryAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableBitmapRouterEntryAttributeRequest) GetAttrType() []TableBitmapRouterEntryAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetTableBitmapRouterEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *TableBitmapRouterEntryAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapRouterEntryAttributeResponse) Reset() { - *x = GetTableBitmapRouterEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapRouterEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapRouterEntryAttributeResponse) ProtoMessage() {} - -func (x *GetTableBitmapRouterEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapRouterEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetTableBitmapRouterEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{13} -} - -func (x *GetTableBitmapRouterEntryAttributeResponse) GetAttr() *TableBitmapRouterEntryAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type GetTableBitmapRouterEntryStatsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - CounterIds []TableBitmapRouterEntryStat `protobuf:"varint,2,rep,packed,name=counter_ids,json=counterIds,proto3,enum=lemming.dataplane.sai.TableBitmapRouterEntryStat" json:"counter_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapRouterEntryStatsRequest) Reset() { - *x = GetTableBitmapRouterEntryStatsRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapRouterEntryStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapRouterEntryStatsRequest) ProtoMessage() {} - -func (x *GetTableBitmapRouterEntryStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapRouterEntryStatsRequest.ProtoReflect.Descriptor instead. -func (*GetTableBitmapRouterEntryStatsRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{14} -} - -func (x *GetTableBitmapRouterEntryStatsRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableBitmapRouterEntryStatsRequest) GetCounterIds() []TableBitmapRouterEntryStat { - if x != nil { - return x.CounterIds - } - return nil -} - -type GetTableBitmapRouterEntryStatsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Values []uint64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableBitmapRouterEntryStatsResponse) Reset() { - *x = GetTableBitmapRouterEntryStatsResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableBitmapRouterEntryStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableBitmapRouterEntryStatsResponse) ProtoMessage() {} - -func (x *GetTableBitmapRouterEntryStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableBitmapRouterEntryStatsResponse.ProtoReflect.Descriptor instead. -func (*GetTableBitmapRouterEntryStatsResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{15} -} - -func (x *GetTableBitmapRouterEntryStatsResponse) GetValues() []uint64 { - if x != nil { - return x.Values - } - return nil -} - -type CreateTableMetaTunnelEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` - Action *TableMetaTunnelEntryAction `protobuf:"varint,2,opt,name=action,proto3,enum=lemming.dataplane.sai.TableMetaTunnelEntryAction,oneof" json:"action,omitempty"` - MetadataKey *uint32 `protobuf:"varint,3,opt,name=metadata_key,json=metadataKey,proto3,oneof" json:"metadata_key,omitempty"` - IsDefault *bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"` - TunnelId *uint64 `protobuf:"varint,5,opt,name=tunnel_id,json=tunnelId,proto3,oneof" json:"tunnel_id,omitempty"` - UnderlayDip []byte `protobuf:"bytes,6,opt,name=underlay_dip,json=underlayDip,proto3,oneof" json:"underlay_dip,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableMetaTunnelEntryRequest) Reset() { - *x = CreateTableMetaTunnelEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableMetaTunnelEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableMetaTunnelEntryRequest) ProtoMessage() {} - -func (x *CreateTableMetaTunnelEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableMetaTunnelEntryRequest.ProtoReflect.Descriptor instead. -func (*CreateTableMetaTunnelEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{16} -} - -func (x *CreateTableMetaTunnelEntryRequest) GetSwitch() uint64 { - if x != nil { - return x.Switch - } - return 0 -} - -func (x *CreateTableMetaTunnelEntryRequest) GetAction() TableMetaTunnelEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableMetaTunnelEntryAction_TABLE_META_TUNNEL_ENTRY_ACTION_UNSPECIFIED -} - -func (x *CreateTableMetaTunnelEntryRequest) GetMetadataKey() uint32 { - if x != nil && x.MetadataKey != nil { - return *x.MetadataKey - } - return 0 -} - -func (x *CreateTableMetaTunnelEntryRequest) GetIsDefault() bool { - if x != nil && x.IsDefault != nil { - return *x.IsDefault - } - return false -} - -func (x *CreateTableMetaTunnelEntryRequest) GetTunnelId() uint64 { - if x != nil && x.TunnelId != nil { - return *x.TunnelId - } - return 0 -} - -func (x *CreateTableMetaTunnelEntryRequest) GetUnderlayDip() []byte { - if x != nil { - return x.UnderlayDip - } - return nil -} - -type CreateTableMetaTunnelEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateTableMetaTunnelEntryResponse) Reset() { - *x = CreateTableMetaTunnelEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateTableMetaTunnelEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateTableMetaTunnelEntryResponse) ProtoMessage() {} - -func (x *CreateTableMetaTunnelEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateTableMetaTunnelEntryResponse.ProtoReflect.Descriptor instead. -func (*CreateTableMetaTunnelEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{17} -} - -func (x *CreateTableMetaTunnelEntryResponse) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableMetaTunnelEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableMetaTunnelEntryRequest) Reset() { - *x = RemoveTableMetaTunnelEntryRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableMetaTunnelEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableMetaTunnelEntryRequest) ProtoMessage() {} - -func (x *RemoveTableMetaTunnelEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableMetaTunnelEntryRequest.ProtoReflect.Descriptor instead. -func (*RemoveTableMetaTunnelEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{18} -} - -func (x *RemoveTableMetaTunnelEntryRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveTableMetaTunnelEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveTableMetaTunnelEntryResponse) Reset() { - *x = RemoveTableMetaTunnelEntryResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveTableMetaTunnelEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveTableMetaTunnelEntryResponse) ProtoMessage() {} - -func (x *RemoveTableMetaTunnelEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveTableMetaTunnelEntryResponse.ProtoReflect.Descriptor instead. -func (*RemoveTableMetaTunnelEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{19} -} - -type GetTableMetaTunnelEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - AttrType []TableMetaTunnelEntryAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.TableMetaTunnelEntryAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableMetaTunnelEntryAttributeRequest) Reset() { - *x = GetTableMetaTunnelEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableMetaTunnelEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableMetaTunnelEntryAttributeRequest) ProtoMessage() {} - -func (x *GetTableMetaTunnelEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableMetaTunnelEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetTableMetaTunnelEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{20} -} - -func (x *GetTableMetaTunnelEntryAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableMetaTunnelEntryAttributeRequest) GetAttrType() []TableMetaTunnelEntryAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetTableMetaTunnelEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *TableMetaTunnelEntryAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableMetaTunnelEntryAttributeResponse) Reset() { - *x = GetTableMetaTunnelEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableMetaTunnelEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableMetaTunnelEntryAttributeResponse) ProtoMessage() {} - -func (x *GetTableMetaTunnelEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableMetaTunnelEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetTableMetaTunnelEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{21} -} - -func (x *GetTableMetaTunnelEntryAttributeResponse) GetAttr() *TableMetaTunnelEntryAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type GetTableMetaTunnelEntryStatsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - CounterIds []TableMetaTunnelEntryStat `protobuf:"varint,2,rep,packed,name=counter_ids,json=counterIds,proto3,enum=lemming.dataplane.sai.TableMetaTunnelEntryStat" json:"counter_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableMetaTunnelEntryStatsRequest) Reset() { - *x = GetTableMetaTunnelEntryStatsRequest{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableMetaTunnelEntryStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableMetaTunnelEntryStatsRequest) ProtoMessage() {} - -func (x *GetTableMetaTunnelEntryStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableMetaTunnelEntryStatsRequest.ProtoReflect.Descriptor instead. -func (*GetTableMetaTunnelEntryStatsRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{22} -} - -func (x *GetTableMetaTunnelEntryStatsRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetTableMetaTunnelEntryStatsRequest) GetCounterIds() []TableMetaTunnelEntryStat { - if x != nil { - return x.CounterIds - } - return nil -} - -type GetTableMetaTunnelEntryStatsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Values []uint64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetTableMetaTunnelEntryStatsResponse) Reset() { - *x = GetTableMetaTunnelEntryStatsResponse{} - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetTableMetaTunnelEntryStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTableMetaTunnelEntryStatsResponse) ProtoMessage() {} - -func (x *GetTableMetaTunnelEntryStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_bmtor_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTableMetaTunnelEntryStatsResponse.ProtoReflect.Descriptor instead. -func (*GetTableMetaTunnelEntryStatsResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_bmtor_proto_rawDescGZIP(), []int{23} -} - -func (x *GetTableMetaTunnelEntryStatsResponse) GetValues() []uint64 { - if x != nil { - return x.Values - } - return nil -} - var File_dataplane_proto_sai_bmtor_proto protoreflect.FileDescriptor const file_dataplane_proto_sai_bmtor_proto_rawDesc = "" + "\n" + - "\x1fdataplane/proto/sai/bmtor.proto\x12\x15lemming.dataplane.sai\x1a dataplane/proto/sai/common.proto\"\x96\x03\n" + - "+CreateTableBitmapClassificationEntryRequest\x12\x16\n" + - "\x06switch\x18\x01 \x01(\x04R\x06switch\x12`\n" + - "\x06action\x18\x02 \x01(\x0e2;.lemming.dataplane.sai.TableBitmapClassificationEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12=\n" + - "\x14router_interface_key\x18\x03 \x01(\x04B\x06\xf0ܓ\xad\x0f\x02H\x01R\x12routerInterfaceKey\x88\x01\x01\x12*\n" + - "\n" + - "is_default\x18\x04 \x01(\bB\x06\xf0ܓ\xad\x0f\x03H\x02R\tisDefault\x88\x01\x01\x123\n" + - "\x0fin_rif_metadata\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\rinRifMetadata\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0f\x00B\t\n" + - "\a_actionB\x17\n" + - "\x15_router_interface_keyB\r\n" + - "\v_is_defaultB\x12\n" + - "\x10_in_rif_metadata\"@\n" + - ",CreateTableBitmapClassificationEntryResponse\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"?\n" + - "+RemoveTableBitmapClassificationEntryRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\".\n" + - ",RemoveTableBitmapClassificationEntryResponse\"\x9d\x01\n" + - "1GetTableBitmapClassificationEntryAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12V\n" + - "\tattr_type\x18\x02 \x03(\x0e29.lemming.dataplane.sai.TableBitmapClassificationEntryAttrR\battrType\"\x88\x01\n" + - "2GetTableBitmapClassificationEntryAttributeResponse\x12R\n" + - "\x04attr\x18\x01 \x01(\v2>.lemming.dataplane.sai.TableBitmapClassificationEntryAttributeR\x04attr\"\x9d\x01\n" + - "-GetTableBitmapClassificationEntryStatsRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12Z\n" + - "\vcounter_ids\x18\x02 \x03(\x0e29.lemming.dataplane.sai.TableBitmapClassificationEntryStatR\n" + - "counterIds\"H\n" + - ".GetTableBitmapClassificationEntryStatsResponse\x12\x16\n" + - "\x06values\x18\x01 \x03(\x04R\x06values\"\xdb\x05\n" + - "#CreateTableBitmapRouterEntryRequest\x12\x16\n" + - "\x06switch\x18\x01 \x01(\x04R\x06switch\x12X\n" + - "\x06action\x18\x02 \x01(\x0e23.lemming.dataplane.sai.TableBitmapRouterEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12'\n" + - "\bpriority\x18\x03 \x01(\rB\x06\xf0ܓ\xad\x0f\x02H\x01R\bpriority\x88\x01\x01\x12:\n" + - "\x13in_rif_metadata_key\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x03H\x02R\x10inRifMetadataKey\x88\x01\x01\x12<\n" + - "\x14in_rif_metadata_mask\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\x11inRifMetadataMask\x88\x01\x01\x12J\n" + - "\n" + - "dst_ip_key\x18\x06 \x01(\v2\x1f.lemming.dataplane.sai.IpPrefixB\x06\xf0ܓ\xad\x0f\x05H\x04R\bdstIpKey\x88\x01\x01\x12.\n" + - "\ftunnel_index\x18\a \x01(\rB\x06\xf0ܓ\xad\x0f\x06H\x05R\vtunnelIndex\x88\x01\x01\x12&\n" + - "\bnext_hop\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\anextHop\x88\x01\x01\x126\n" + - "\x10router_interface\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\x0frouterInterface\x88\x01\x01\x12$\n" + - "\atrap_id\x18\n" + - " \x01(\x04B\x06\xf0ܓ\xad\x0f\tH\bR\x06trapId\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0f\x00B\t\n" + - "\a_actionB\v\n" + - "\t_priorityB\x16\n" + - "\x14_in_rif_metadata_keyB\x17\n" + - "\x15_in_rif_metadata_maskB\r\n" + - "\v_dst_ip_keyB\x0f\n" + - "\r_tunnel_indexB\v\n" + - "\t_next_hopB\x13\n" + - "\x11_router_interfaceB\n" + - "\n" + - "\b_trap_id\"8\n" + - "$CreateTableBitmapRouterEntryResponse\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"7\n" + - "#RemoveTableBitmapRouterEntryRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"&\n" + - "$RemoveTableBitmapRouterEntryResponse\"\x8d\x01\n" + - ")GetTableBitmapRouterEntryAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12N\n" + - "\tattr_type\x18\x02 \x03(\x0e21.lemming.dataplane.sai.TableBitmapRouterEntryAttrR\battrType\"x\n" + - "*GetTableBitmapRouterEntryAttributeResponse\x12J\n" + - "\x04attr\x18\x01 \x01(\v26.lemming.dataplane.sai.TableBitmapRouterEntryAttributeR\x04attr\"\x8d\x01\n" + - "%GetTableBitmapRouterEntryStatsRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12R\n" + - "\vcounter_ids\x18\x02 \x03(\x0e21.lemming.dataplane.sai.TableBitmapRouterEntryStatR\n" + - "counterIds\"@\n" + - "&GetTableBitmapRouterEntryStatsResponse\x12\x16\n" + - "\x06values\x18\x01 \x03(\x04R\x06values\"\x9b\x03\n" + - "!CreateTableMetaTunnelEntryRequest\x12\x16\n" + - "\x06switch\x18\x01 \x01(\x04R\x06switch\x12V\n" + - "\x06action\x18\x02 \x01(\x0e21.lemming.dataplane.sai.TableMetaTunnelEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12.\n" + - "\fmetadata_key\x18\x03 \x01(\rB\x06\xf0ܓ\xad\x0f\x02H\x01R\vmetadataKey\x88\x01\x01\x12*\n" + - "\n" + - "is_default\x18\x04 \x01(\bB\x06\xf0ܓ\xad\x0f\x03H\x02R\tisDefault\x88\x01\x01\x12(\n" + - "\ttunnel_id\x18\x05 \x01(\x04B\x06\xf0ܓ\xad\x0f\x04H\x03R\btunnelId\x88\x01\x01\x12.\n" + - "\funderlay_dip\x18\x06 \x01(\fB\x06\xf0ܓ\xad\x0f\x05H\x04R\vunderlayDip\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0f\x00B\t\n" + - "\a_actionB\x0f\n" + - "\r_metadata_keyB\r\n" + - "\v_is_defaultB\f\n" + - "\n" + - "_tunnel_idB\x0f\n" + - "\r_underlay_dip\"6\n" + - "\"CreateTableMetaTunnelEntryResponse\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"5\n" + - "!RemoveTableMetaTunnelEntryRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"$\n" + - "\"RemoveTableMetaTunnelEntryResponse\"\x89\x01\n" + - "'GetTableMetaTunnelEntryAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12L\n" + - "\tattr_type\x18\x02 \x03(\x0e2/.lemming.dataplane.sai.TableMetaTunnelEntryAttrR\battrType\"t\n" + - "(GetTableMetaTunnelEntryAttributeResponse\x12H\n" + - "\x04attr\x18\x01 \x01(\v24.lemming.dataplane.sai.TableMetaTunnelEntryAttributeR\x04attr\"\x89\x01\n" + - "#GetTableMetaTunnelEntryStatsRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12P\n" + - "\vcounter_ids\x18\x02 \x03(\x0e2/.lemming.dataplane.sai.TableMetaTunnelEntryStatR\n" + - "counterIds\">\n" + - "$GetTableMetaTunnelEntryStatsResponse\x12\x16\n" + - "\x06values\x18\x01 \x03(\x04R\x06values*\xc3\x02\n" + - "\"TableBitmapClassificationEntryAttr\x126\n" + - "2TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_UNSPECIFIED\x10\x00\x121\n" + - "-TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ACTION\x10\x01\x12?\n" + - ";TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_ROUTER_INTERFACE_KEY\x10\x02\x125\n" + - "1TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IS_DEFAULT\x10\x03\x12:\n" + - "6TABLE_BITMAP_CLASSIFICATION_ENTRY_ATTR_IN_RIF_METADATA\x10\x04*\x83\x04\n" + - "\x1aTableBitmapRouterEntryAttr\x12.\n" + - "*TABLE_BITMAP_ROUTER_ENTRY_ATTR_UNSPECIFIED\x10\x00\x12)\n" + - "%TABLE_BITMAP_ROUTER_ENTRY_ATTR_ACTION\x10\x01\x12+\n" + - "'TABLE_BITMAP_ROUTER_ENTRY_ATTR_PRIORITY\x10\x02\x126\n" + - "2TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_KEY\x10\x03\x127\n" + - "3TABLE_BITMAP_ROUTER_ENTRY_ATTR_IN_RIF_METADATA_MASK\x10\x04\x12-\n" + - ")TABLE_BITMAP_ROUTER_ENTRY_ATTR_DST_IP_KEY\x10\x05\x12/\n" + - "+TABLE_BITMAP_ROUTER_ENTRY_ATTR_TUNNEL_INDEX\x10\x06\x12+\n" + - "'TABLE_BITMAP_ROUTER_ENTRY_ATTR_NEXT_HOP\x10\a\x123\n" + - "/TABLE_BITMAP_ROUTER_ENTRY_ATTR_ROUTER_INTERFACE\x10\b\x12*\n" + - "&TABLE_BITMAP_ROUTER_ENTRY_ATTR_TRAP_ID\x10\t*\xa8\x02\n" + - "\x18TableMetaTunnelEntryAttr\x12,\n" + - "(TABLE_META_TUNNEL_ENTRY_ATTR_UNSPECIFIED\x10\x00\x12'\n" + - "#TABLE_META_TUNNEL_ENTRY_ATTR_ACTION\x10\x01\x12-\n" + - ")TABLE_META_TUNNEL_ENTRY_ATTR_METADATA_KEY\x10\x02\x12+\n" + - "'TABLE_META_TUNNEL_ENTRY_ATTR_IS_DEFAULT\x10\x03\x12*\n" + - "&TABLE_META_TUNNEL_ENTRY_ATTR_TUNNEL_ID\x10\x04\x12-\n" + - ")TABLE_META_TUNNEL_ENTRY_ATTR_UNDERLAY_DIP\x10\x052\xe7\x0f\n" + - "\x05Bmtor\x12\xb1\x01\n" + - "$CreateTableBitmapClassificationEntry\x12B.lemming.dataplane.sai.CreateTableBitmapClassificationEntryRequest\x1aC.lemming.dataplane.sai.CreateTableBitmapClassificationEntryResponse\"\x00\x12\xb1\x01\n" + - "$RemoveTableBitmapClassificationEntry\x12B.lemming.dataplane.sai.RemoveTableBitmapClassificationEntryRequest\x1aC.lemming.dataplane.sai.RemoveTableBitmapClassificationEntryResponse\"\x00\x12\xc3\x01\n" + - "*GetTableBitmapClassificationEntryAttribute\x12H.lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeRequest\x1aI.lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeResponse\"\x00\x12\xb7\x01\n" + - "&GetTableBitmapClassificationEntryStats\x12D.lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsRequest\x1aE.lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsResponse\"\x00\x12\x99\x01\n" + - "\x1cCreateTableBitmapRouterEntry\x12:.lemming.dataplane.sai.CreateTableBitmapRouterEntryRequest\x1a;.lemming.dataplane.sai.CreateTableBitmapRouterEntryResponse\"\x00\x12\x99\x01\n" + - "\x1cRemoveTableBitmapRouterEntry\x12:.lemming.dataplane.sai.RemoveTableBitmapRouterEntryRequest\x1a;.lemming.dataplane.sai.RemoveTableBitmapRouterEntryResponse\"\x00\x12\xab\x01\n" + - "\"GetTableBitmapRouterEntryAttribute\x12@.lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeRequest\x1aA.lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeResponse\"\x00\x12\x9f\x01\n" + - "\x1eGetTableBitmapRouterEntryStats\x12<.lemming.dataplane.sai.GetTableBitmapRouterEntryStatsRequest\x1a=.lemming.dataplane.sai.GetTableBitmapRouterEntryStatsResponse\"\x00\x12\x93\x01\n" + - "\x1aCreateTableMetaTunnelEntry\x128.lemming.dataplane.sai.CreateTableMetaTunnelEntryRequest\x1a9.lemming.dataplane.sai.CreateTableMetaTunnelEntryResponse\"\x00\x12\x93\x01\n" + - "\x1aRemoveTableMetaTunnelEntry\x128.lemming.dataplane.sai.RemoveTableMetaTunnelEntryRequest\x1a9.lemming.dataplane.sai.RemoveTableMetaTunnelEntryResponse\"\x00\x12\xa5\x01\n" + - " GetTableMetaTunnelEntryAttribute\x12>.lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeRequest\x1a?.lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeResponse\"\x00\x12\x99\x01\n" + - "\x1cGetTableMetaTunnelEntryStats\x12:.lemming.dataplane.sai.GetTableMetaTunnelEntryStatsRequest\x1a;.lemming.dataplane.sai.GetTableMetaTunnelEntryStatsResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" - -var ( - file_dataplane_proto_sai_bmtor_proto_rawDescOnce sync.Once - file_dataplane_proto_sai_bmtor_proto_rawDescData []byte -) + "\x1fdataplane/proto/sai/bmtor.proto\x12\x15lemming.dataplane.sai\x1a dataplane/proto/sai/common.proto2\a\n" + + "\x05BmtorB3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" -func file_dataplane_proto_sai_bmtor_proto_rawDescGZIP() []byte { - file_dataplane_proto_sai_bmtor_proto_rawDescOnce.Do(func() { - file_dataplane_proto_sai_bmtor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_bmtor_proto_rawDesc), len(file_dataplane_proto_sai_bmtor_proto_rawDesc))) - }) - return file_dataplane_proto_sai_bmtor_proto_rawDescData -} - -var file_dataplane_proto_sai_bmtor_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_dataplane_proto_sai_bmtor_proto_msgTypes = make([]protoimpl.MessageInfo, 24) -var file_dataplane_proto_sai_bmtor_proto_goTypes = []any{ - (TableBitmapClassificationEntryAttr)(0), // 0: lemming.dataplane.sai.TableBitmapClassificationEntryAttr - (TableBitmapRouterEntryAttr)(0), // 1: lemming.dataplane.sai.TableBitmapRouterEntryAttr - (TableMetaTunnelEntryAttr)(0), // 2: lemming.dataplane.sai.TableMetaTunnelEntryAttr - (*CreateTableBitmapClassificationEntryRequest)(nil), // 3: lemming.dataplane.sai.CreateTableBitmapClassificationEntryRequest - (*CreateTableBitmapClassificationEntryResponse)(nil), // 4: lemming.dataplane.sai.CreateTableBitmapClassificationEntryResponse - (*RemoveTableBitmapClassificationEntryRequest)(nil), // 5: lemming.dataplane.sai.RemoveTableBitmapClassificationEntryRequest - (*RemoveTableBitmapClassificationEntryResponse)(nil), // 6: lemming.dataplane.sai.RemoveTableBitmapClassificationEntryResponse - (*GetTableBitmapClassificationEntryAttributeRequest)(nil), // 7: lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeRequest - (*GetTableBitmapClassificationEntryAttributeResponse)(nil), // 8: lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeResponse - (*GetTableBitmapClassificationEntryStatsRequest)(nil), // 9: lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsRequest - (*GetTableBitmapClassificationEntryStatsResponse)(nil), // 10: lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsResponse - (*CreateTableBitmapRouterEntryRequest)(nil), // 11: lemming.dataplane.sai.CreateTableBitmapRouterEntryRequest - (*CreateTableBitmapRouterEntryResponse)(nil), // 12: lemming.dataplane.sai.CreateTableBitmapRouterEntryResponse - (*RemoveTableBitmapRouterEntryRequest)(nil), // 13: lemming.dataplane.sai.RemoveTableBitmapRouterEntryRequest - (*RemoveTableBitmapRouterEntryResponse)(nil), // 14: lemming.dataplane.sai.RemoveTableBitmapRouterEntryResponse - (*GetTableBitmapRouterEntryAttributeRequest)(nil), // 15: lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeRequest - (*GetTableBitmapRouterEntryAttributeResponse)(nil), // 16: lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeResponse - (*GetTableBitmapRouterEntryStatsRequest)(nil), // 17: lemming.dataplane.sai.GetTableBitmapRouterEntryStatsRequest - (*GetTableBitmapRouterEntryStatsResponse)(nil), // 18: lemming.dataplane.sai.GetTableBitmapRouterEntryStatsResponse - (*CreateTableMetaTunnelEntryRequest)(nil), // 19: lemming.dataplane.sai.CreateTableMetaTunnelEntryRequest - (*CreateTableMetaTunnelEntryResponse)(nil), // 20: lemming.dataplane.sai.CreateTableMetaTunnelEntryResponse - (*RemoveTableMetaTunnelEntryRequest)(nil), // 21: lemming.dataplane.sai.RemoveTableMetaTunnelEntryRequest - (*RemoveTableMetaTunnelEntryResponse)(nil), // 22: lemming.dataplane.sai.RemoveTableMetaTunnelEntryResponse - (*GetTableMetaTunnelEntryAttributeRequest)(nil), // 23: lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeRequest - (*GetTableMetaTunnelEntryAttributeResponse)(nil), // 24: lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeResponse - (*GetTableMetaTunnelEntryStatsRequest)(nil), // 25: lemming.dataplane.sai.GetTableMetaTunnelEntryStatsRequest - (*GetTableMetaTunnelEntryStatsResponse)(nil), // 26: lemming.dataplane.sai.GetTableMetaTunnelEntryStatsResponse - (TableBitmapClassificationEntryAction)(0), // 27: lemming.dataplane.sai.TableBitmapClassificationEntryAction - (*TableBitmapClassificationEntryAttribute)(nil), // 28: lemming.dataplane.sai.TableBitmapClassificationEntryAttribute - (TableBitmapClassificationEntryStat)(0), // 29: lemming.dataplane.sai.TableBitmapClassificationEntryStat - (TableBitmapRouterEntryAction)(0), // 30: lemming.dataplane.sai.TableBitmapRouterEntryAction - (*IpPrefix)(nil), // 31: lemming.dataplane.sai.IpPrefix - (*TableBitmapRouterEntryAttribute)(nil), // 32: lemming.dataplane.sai.TableBitmapRouterEntryAttribute - (TableBitmapRouterEntryStat)(0), // 33: lemming.dataplane.sai.TableBitmapRouterEntryStat - (TableMetaTunnelEntryAction)(0), // 34: lemming.dataplane.sai.TableMetaTunnelEntryAction - (*TableMetaTunnelEntryAttribute)(nil), // 35: lemming.dataplane.sai.TableMetaTunnelEntryAttribute - (TableMetaTunnelEntryStat)(0), // 36: lemming.dataplane.sai.TableMetaTunnelEntryStat -} +var file_dataplane_proto_sai_bmtor_proto_goTypes = []any{} var file_dataplane_proto_sai_bmtor_proto_depIdxs = []int32{ - 27, // 0: lemming.dataplane.sai.CreateTableBitmapClassificationEntryRequest.action:type_name -> lemming.dataplane.sai.TableBitmapClassificationEntryAction - 0, // 1: lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.TableBitmapClassificationEntryAttr - 28, // 2: lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeResponse.attr:type_name -> lemming.dataplane.sai.TableBitmapClassificationEntryAttribute - 29, // 3: lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.TableBitmapClassificationEntryStat - 30, // 4: lemming.dataplane.sai.CreateTableBitmapRouterEntryRequest.action:type_name -> lemming.dataplane.sai.TableBitmapRouterEntryAction - 31, // 5: lemming.dataplane.sai.CreateTableBitmapRouterEntryRequest.dst_ip_key:type_name -> lemming.dataplane.sai.IpPrefix - 1, // 6: lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.TableBitmapRouterEntryAttr - 32, // 7: lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeResponse.attr:type_name -> lemming.dataplane.sai.TableBitmapRouterEntryAttribute - 33, // 8: lemming.dataplane.sai.GetTableBitmapRouterEntryStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.TableBitmapRouterEntryStat - 34, // 9: lemming.dataplane.sai.CreateTableMetaTunnelEntryRequest.action:type_name -> lemming.dataplane.sai.TableMetaTunnelEntryAction - 2, // 10: lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.TableMetaTunnelEntryAttr - 35, // 11: lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeResponse.attr:type_name -> lemming.dataplane.sai.TableMetaTunnelEntryAttribute - 36, // 12: lemming.dataplane.sai.GetTableMetaTunnelEntryStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.TableMetaTunnelEntryStat - 3, // 13: lemming.dataplane.sai.Bmtor.CreateTableBitmapClassificationEntry:input_type -> lemming.dataplane.sai.CreateTableBitmapClassificationEntryRequest - 5, // 14: lemming.dataplane.sai.Bmtor.RemoveTableBitmapClassificationEntry:input_type -> lemming.dataplane.sai.RemoveTableBitmapClassificationEntryRequest - 7, // 15: lemming.dataplane.sai.Bmtor.GetTableBitmapClassificationEntryAttribute:input_type -> lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeRequest - 9, // 16: lemming.dataplane.sai.Bmtor.GetTableBitmapClassificationEntryStats:input_type -> lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsRequest - 11, // 17: lemming.dataplane.sai.Bmtor.CreateTableBitmapRouterEntry:input_type -> lemming.dataplane.sai.CreateTableBitmapRouterEntryRequest - 13, // 18: lemming.dataplane.sai.Bmtor.RemoveTableBitmapRouterEntry:input_type -> lemming.dataplane.sai.RemoveTableBitmapRouterEntryRequest - 15, // 19: lemming.dataplane.sai.Bmtor.GetTableBitmapRouterEntryAttribute:input_type -> lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeRequest - 17, // 20: lemming.dataplane.sai.Bmtor.GetTableBitmapRouterEntryStats:input_type -> lemming.dataplane.sai.GetTableBitmapRouterEntryStatsRequest - 19, // 21: lemming.dataplane.sai.Bmtor.CreateTableMetaTunnelEntry:input_type -> lemming.dataplane.sai.CreateTableMetaTunnelEntryRequest - 21, // 22: lemming.dataplane.sai.Bmtor.RemoveTableMetaTunnelEntry:input_type -> lemming.dataplane.sai.RemoveTableMetaTunnelEntryRequest - 23, // 23: lemming.dataplane.sai.Bmtor.GetTableMetaTunnelEntryAttribute:input_type -> lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeRequest - 25, // 24: lemming.dataplane.sai.Bmtor.GetTableMetaTunnelEntryStats:input_type -> lemming.dataplane.sai.GetTableMetaTunnelEntryStatsRequest - 4, // 25: lemming.dataplane.sai.Bmtor.CreateTableBitmapClassificationEntry:output_type -> lemming.dataplane.sai.CreateTableBitmapClassificationEntryResponse - 6, // 26: lemming.dataplane.sai.Bmtor.RemoveTableBitmapClassificationEntry:output_type -> lemming.dataplane.sai.RemoveTableBitmapClassificationEntryResponse - 8, // 27: lemming.dataplane.sai.Bmtor.GetTableBitmapClassificationEntryAttribute:output_type -> lemming.dataplane.sai.GetTableBitmapClassificationEntryAttributeResponse - 10, // 28: lemming.dataplane.sai.Bmtor.GetTableBitmapClassificationEntryStats:output_type -> lemming.dataplane.sai.GetTableBitmapClassificationEntryStatsResponse - 12, // 29: lemming.dataplane.sai.Bmtor.CreateTableBitmapRouterEntry:output_type -> lemming.dataplane.sai.CreateTableBitmapRouterEntryResponse - 14, // 30: lemming.dataplane.sai.Bmtor.RemoveTableBitmapRouterEntry:output_type -> lemming.dataplane.sai.RemoveTableBitmapRouterEntryResponse - 16, // 31: lemming.dataplane.sai.Bmtor.GetTableBitmapRouterEntryAttribute:output_type -> lemming.dataplane.sai.GetTableBitmapRouterEntryAttributeResponse - 18, // 32: lemming.dataplane.sai.Bmtor.GetTableBitmapRouterEntryStats:output_type -> lemming.dataplane.sai.GetTableBitmapRouterEntryStatsResponse - 20, // 33: lemming.dataplane.sai.Bmtor.CreateTableMetaTunnelEntry:output_type -> lemming.dataplane.sai.CreateTableMetaTunnelEntryResponse - 22, // 34: lemming.dataplane.sai.Bmtor.RemoveTableMetaTunnelEntry:output_type -> lemming.dataplane.sai.RemoveTableMetaTunnelEntryResponse - 24, // 35: lemming.dataplane.sai.Bmtor.GetTableMetaTunnelEntryAttribute:output_type -> lemming.dataplane.sai.GetTableMetaTunnelEntryAttributeResponse - 26, // 36: lemming.dataplane.sai.Bmtor.GetTableMetaTunnelEntryStats:output_type -> lemming.dataplane.sai.GetTableMetaTunnelEntryStatsResponse - 25, // [25:37] is the sub-list for method output_type - 13, // [13:25] is the sub-list for method input_type - 13, // [13:13] is the sub-list for extension type_name - 13, // [13:13] is the sub-list for extension extendee - 0, // [0:13] is the sub-list for field type_name + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_bmtor_proto_init() } @@ -1671,23 +42,18 @@ func file_dataplane_proto_sai_bmtor_proto_init() { return } file_dataplane_proto_sai_common_proto_init() - file_dataplane_proto_sai_bmtor_proto_msgTypes[0].OneofWrappers = []any{} - file_dataplane_proto_sai_bmtor_proto_msgTypes[8].OneofWrappers = []any{} - file_dataplane_proto_sai_bmtor_proto_msgTypes[16].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_bmtor_proto_rawDesc), len(file_dataplane_proto_sai_bmtor_proto_rawDesc)), - NumEnums: 3, - NumMessages: 24, + NumEnums: 0, + NumMessages: 0, NumExtensions: 0, NumServices: 1, }, GoTypes: file_dataplane_proto_sai_bmtor_proto_goTypes, DependencyIndexes: file_dataplane_proto_sai_bmtor_proto_depIdxs, - EnumInfos: file_dataplane_proto_sai_bmtor_proto_enumTypes, - MessageInfos: file_dataplane_proto_sai_bmtor_proto_msgTypes, }.Build() File_dataplane_proto_sai_bmtor_proto = out.File file_dataplane_proto_sai_bmtor_proto_goTypes = nil diff --git a/dataplane/proto/sai/bmtor_grpc.pb.go b/dataplane/proto/sai/bmtor_grpc.pb.go index 965f863f..6c140563 100755 --- a/dataplane/proto/sai/bmtor_grpc.pb.go +++ b/dataplane/proto/sai/bmtor_grpc.pb.go @@ -7,10 +7,7 @@ package sai import ( - context "context" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file @@ -18,37 +15,10 @@ import ( // Requires gRPC-Go v1.64.0 or later. const _ = grpc.SupportPackageIsVersion9 -const ( - Bmtor_CreateTableBitmapClassificationEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/CreateTableBitmapClassificationEntry" - Bmtor_RemoveTableBitmapClassificationEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/RemoveTableBitmapClassificationEntry" - Bmtor_GetTableBitmapClassificationEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableBitmapClassificationEntryAttribute" - Bmtor_GetTableBitmapClassificationEntryStats_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableBitmapClassificationEntryStats" - Bmtor_CreateTableBitmapRouterEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/CreateTableBitmapRouterEntry" - Bmtor_RemoveTableBitmapRouterEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/RemoveTableBitmapRouterEntry" - Bmtor_GetTableBitmapRouterEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableBitmapRouterEntryAttribute" - Bmtor_GetTableBitmapRouterEntryStats_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableBitmapRouterEntryStats" - Bmtor_CreateTableMetaTunnelEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/CreateTableMetaTunnelEntry" - Bmtor_RemoveTableMetaTunnelEntry_FullMethodName = "/lemming.dataplane.sai.Bmtor/RemoveTableMetaTunnelEntry" - Bmtor_GetTableMetaTunnelEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableMetaTunnelEntryAttribute" - Bmtor_GetTableMetaTunnelEntryStats_FullMethodName = "/lemming.dataplane.sai.Bmtor/GetTableMetaTunnelEntryStats" -) - // BmtorClient is the client API for Bmtor service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type BmtorClient interface { - CreateTableBitmapClassificationEntry(ctx context.Context, in *CreateTableBitmapClassificationEntryRequest, opts ...grpc.CallOption) (*CreateTableBitmapClassificationEntryResponse, error) - RemoveTableBitmapClassificationEntry(ctx context.Context, in *RemoveTableBitmapClassificationEntryRequest, opts ...grpc.CallOption) (*RemoveTableBitmapClassificationEntryResponse, error) - GetTableBitmapClassificationEntryAttribute(ctx context.Context, in *GetTableBitmapClassificationEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableBitmapClassificationEntryAttributeResponse, error) - GetTableBitmapClassificationEntryStats(ctx context.Context, in *GetTableBitmapClassificationEntryStatsRequest, opts ...grpc.CallOption) (*GetTableBitmapClassificationEntryStatsResponse, error) - CreateTableBitmapRouterEntry(ctx context.Context, in *CreateTableBitmapRouterEntryRequest, opts ...grpc.CallOption) (*CreateTableBitmapRouterEntryResponse, error) - RemoveTableBitmapRouterEntry(ctx context.Context, in *RemoveTableBitmapRouterEntryRequest, opts ...grpc.CallOption) (*RemoveTableBitmapRouterEntryResponse, error) - GetTableBitmapRouterEntryAttribute(ctx context.Context, in *GetTableBitmapRouterEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableBitmapRouterEntryAttributeResponse, error) - GetTableBitmapRouterEntryStats(ctx context.Context, in *GetTableBitmapRouterEntryStatsRequest, opts ...grpc.CallOption) (*GetTableBitmapRouterEntryStatsResponse, error) - CreateTableMetaTunnelEntry(ctx context.Context, in *CreateTableMetaTunnelEntryRequest, opts ...grpc.CallOption) (*CreateTableMetaTunnelEntryResponse, error) - RemoveTableMetaTunnelEntry(ctx context.Context, in *RemoveTableMetaTunnelEntryRequest, opts ...grpc.CallOption) (*RemoveTableMetaTunnelEntryResponse, error) - GetTableMetaTunnelEntryAttribute(ctx context.Context, in *GetTableMetaTunnelEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableMetaTunnelEntryAttributeResponse, error) - GetTableMetaTunnelEntryStats(ctx context.Context, in *GetTableMetaTunnelEntryStatsRequest, opts ...grpc.CallOption) (*GetTableMetaTunnelEntryStatsResponse, error) } type bmtorClient struct { @@ -59,142 +29,10 @@ func NewBmtorClient(cc grpc.ClientConnInterface) BmtorClient { return &bmtorClient{cc} } -func (c *bmtorClient) CreateTableBitmapClassificationEntry(ctx context.Context, in *CreateTableBitmapClassificationEntryRequest, opts ...grpc.CallOption) (*CreateTableBitmapClassificationEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateTableBitmapClassificationEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_CreateTableBitmapClassificationEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) RemoveTableBitmapClassificationEntry(ctx context.Context, in *RemoveTableBitmapClassificationEntryRequest, opts ...grpc.CallOption) (*RemoveTableBitmapClassificationEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveTableBitmapClassificationEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_RemoveTableBitmapClassificationEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableBitmapClassificationEntryAttribute(ctx context.Context, in *GetTableBitmapClassificationEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableBitmapClassificationEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableBitmapClassificationEntryAttributeResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableBitmapClassificationEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableBitmapClassificationEntryStats(ctx context.Context, in *GetTableBitmapClassificationEntryStatsRequest, opts ...grpc.CallOption) (*GetTableBitmapClassificationEntryStatsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableBitmapClassificationEntryStatsResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableBitmapClassificationEntryStats_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) CreateTableBitmapRouterEntry(ctx context.Context, in *CreateTableBitmapRouterEntryRequest, opts ...grpc.CallOption) (*CreateTableBitmapRouterEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateTableBitmapRouterEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_CreateTableBitmapRouterEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) RemoveTableBitmapRouterEntry(ctx context.Context, in *RemoveTableBitmapRouterEntryRequest, opts ...grpc.CallOption) (*RemoveTableBitmapRouterEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveTableBitmapRouterEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_RemoveTableBitmapRouterEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableBitmapRouterEntryAttribute(ctx context.Context, in *GetTableBitmapRouterEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableBitmapRouterEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableBitmapRouterEntryAttributeResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableBitmapRouterEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableBitmapRouterEntryStats(ctx context.Context, in *GetTableBitmapRouterEntryStatsRequest, opts ...grpc.CallOption) (*GetTableBitmapRouterEntryStatsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableBitmapRouterEntryStatsResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableBitmapRouterEntryStats_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) CreateTableMetaTunnelEntry(ctx context.Context, in *CreateTableMetaTunnelEntryRequest, opts ...grpc.CallOption) (*CreateTableMetaTunnelEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateTableMetaTunnelEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_CreateTableMetaTunnelEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) RemoveTableMetaTunnelEntry(ctx context.Context, in *RemoveTableMetaTunnelEntryRequest, opts ...grpc.CallOption) (*RemoveTableMetaTunnelEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveTableMetaTunnelEntryResponse) - err := c.cc.Invoke(ctx, Bmtor_RemoveTableMetaTunnelEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableMetaTunnelEntryAttribute(ctx context.Context, in *GetTableMetaTunnelEntryAttributeRequest, opts ...grpc.CallOption) (*GetTableMetaTunnelEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableMetaTunnelEntryAttributeResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableMetaTunnelEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bmtorClient) GetTableMetaTunnelEntryStats(ctx context.Context, in *GetTableMetaTunnelEntryStatsRequest, opts ...grpc.CallOption) (*GetTableMetaTunnelEntryStatsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetTableMetaTunnelEntryStatsResponse) - err := c.cc.Invoke(ctx, Bmtor_GetTableMetaTunnelEntryStats_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - // BmtorServer is the server API for Bmtor service. // All implementations should embed UnimplementedBmtorServer // for forward compatibility. type BmtorServer interface { - CreateTableBitmapClassificationEntry(context.Context, *CreateTableBitmapClassificationEntryRequest) (*CreateTableBitmapClassificationEntryResponse, error) - RemoveTableBitmapClassificationEntry(context.Context, *RemoveTableBitmapClassificationEntryRequest) (*RemoveTableBitmapClassificationEntryResponse, error) - GetTableBitmapClassificationEntryAttribute(context.Context, *GetTableBitmapClassificationEntryAttributeRequest) (*GetTableBitmapClassificationEntryAttributeResponse, error) - GetTableBitmapClassificationEntryStats(context.Context, *GetTableBitmapClassificationEntryStatsRequest) (*GetTableBitmapClassificationEntryStatsResponse, error) - CreateTableBitmapRouterEntry(context.Context, *CreateTableBitmapRouterEntryRequest) (*CreateTableBitmapRouterEntryResponse, error) - RemoveTableBitmapRouterEntry(context.Context, *RemoveTableBitmapRouterEntryRequest) (*RemoveTableBitmapRouterEntryResponse, error) - GetTableBitmapRouterEntryAttribute(context.Context, *GetTableBitmapRouterEntryAttributeRequest) (*GetTableBitmapRouterEntryAttributeResponse, error) - GetTableBitmapRouterEntryStats(context.Context, *GetTableBitmapRouterEntryStatsRequest) (*GetTableBitmapRouterEntryStatsResponse, error) - CreateTableMetaTunnelEntry(context.Context, *CreateTableMetaTunnelEntryRequest) (*CreateTableMetaTunnelEntryResponse, error) - RemoveTableMetaTunnelEntry(context.Context, *RemoveTableMetaTunnelEntryRequest) (*RemoveTableMetaTunnelEntryResponse, error) - GetTableMetaTunnelEntryAttribute(context.Context, *GetTableMetaTunnelEntryAttributeRequest) (*GetTableMetaTunnelEntryAttributeResponse, error) - GetTableMetaTunnelEntryStats(context.Context, *GetTableMetaTunnelEntryStatsRequest) (*GetTableMetaTunnelEntryStatsResponse, error) } // UnimplementedBmtorServer should be embedded to have @@ -204,42 +42,6 @@ type BmtorServer interface { // pointer dereference when methods are called. type UnimplementedBmtorServer struct{} -func (UnimplementedBmtorServer) CreateTableBitmapClassificationEntry(context.Context, *CreateTableBitmapClassificationEntryRequest) (*CreateTableBitmapClassificationEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTableBitmapClassificationEntry not implemented") -} -func (UnimplementedBmtorServer) RemoveTableBitmapClassificationEntry(context.Context, *RemoveTableBitmapClassificationEntryRequest) (*RemoveTableBitmapClassificationEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveTableBitmapClassificationEntry not implemented") -} -func (UnimplementedBmtorServer) GetTableBitmapClassificationEntryAttribute(context.Context, *GetTableBitmapClassificationEntryAttributeRequest) (*GetTableBitmapClassificationEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableBitmapClassificationEntryAttribute not implemented") -} -func (UnimplementedBmtorServer) GetTableBitmapClassificationEntryStats(context.Context, *GetTableBitmapClassificationEntryStatsRequest) (*GetTableBitmapClassificationEntryStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableBitmapClassificationEntryStats not implemented") -} -func (UnimplementedBmtorServer) CreateTableBitmapRouterEntry(context.Context, *CreateTableBitmapRouterEntryRequest) (*CreateTableBitmapRouterEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTableBitmapRouterEntry not implemented") -} -func (UnimplementedBmtorServer) RemoveTableBitmapRouterEntry(context.Context, *RemoveTableBitmapRouterEntryRequest) (*RemoveTableBitmapRouterEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveTableBitmapRouterEntry not implemented") -} -func (UnimplementedBmtorServer) GetTableBitmapRouterEntryAttribute(context.Context, *GetTableBitmapRouterEntryAttributeRequest) (*GetTableBitmapRouterEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableBitmapRouterEntryAttribute not implemented") -} -func (UnimplementedBmtorServer) GetTableBitmapRouterEntryStats(context.Context, *GetTableBitmapRouterEntryStatsRequest) (*GetTableBitmapRouterEntryStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableBitmapRouterEntryStats not implemented") -} -func (UnimplementedBmtorServer) CreateTableMetaTunnelEntry(context.Context, *CreateTableMetaTunnelEntryRequest) (*CreateTableMetaTunnelEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateTableMetaTunnelEntry not implemented") -} -func (UnimplementedBmtorServer) RemoveTableMetaTunnelEntry(context.Context, *RemoveTableMetaTunnelEntryRequest) (*RemoveTableMetaTunnelEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveTableMetaTunnelEntry not implemented") -} -func (UnimplementedBmtorServer) GetTableMetaTunnelEntryAttribute(context.Context, *GetTableMetaTunnelEntryAttributeRequest) (*GetTableMetaTunnelEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableMetaTunnelEntryAttribute not implemented") -} -func (UnimplementedBmtorServer) GetTableMetaTunnelEntryStats(context.Context, *GetTableMetaTunnelEntryStatsRequest) (*GetTableMetaTunnelEntryStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetTableMetaTunnelEntryStats not implemented") -} func (UnimplementedBmtorServer) testEmbeddedByValue() {} // UnsafeBmtorServer may be embedded to opt out of forward compatibility for this service. @@ -260,278 +62,13 @@ func RegisterBmtorServer(s grpc.ServiceRegistrar, srv BmtorServer) { s.RegisterService(&Bmtor_ServiceDesc, srv) } -func _Bmtor_CreateTableBitmapClassificationEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableBitmapClassificationEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).CreateTableBitmapClassificationEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_CreateTableBitmapClassificationEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).CreateTableBitmapClassificationEntry(ctx, req.(*CreateTableBitmapClassificationEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_RemoveTableBitmapClassificationEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveTableBitmapClassificationEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).RemoveTableBitmapClassificationEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_RemoveTableBitmapClassificationEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).RemoveTableBitmapClassificationEntry(ctx, req.(*RemoveTableBitmapClassificationEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableBitmapClassificationEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableBitmapClassificationEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableBitmapClassificationEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableBitmapClassificationEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableBitmapClassificationEntryAttribute(ctx, req.(*GetTableBitmapClassificationEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableBitmapClassificationEntryStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableBitmapClassificationEntryStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableBitmapClassificationEntryStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableBitmapClassificationEntryStats_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableBitmapClassificationEntryStats(ctx, req.(*GetTableBitmapClassificationEntryStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_CreateTableBitmapRouterEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableBitmapRouterEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).CreateTableBitmapRouterEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_CreateTableBitmapRouterEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).CreateTableBitmapRouterEntry(ctx, req.(*CreateTableBitmapRouterEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_RemoveTableBitmapRouterEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveTableBitmapRouterEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).RemoveTableBitmapRouterEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_RemoveTableBitmapRouterEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).RemoveTableBitmapRouterEntry(ctx, req.(*RemoveTableBitmapRouterEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableBitmapRouterEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableBitmapRouterEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableBitmapRouterEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableBitmapRouterEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableBitmapRouterEntryAttribute(ctx, req.(*GetTableBitmapRouterEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableBitmapRouterEntryStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableBitmapRouterEntryStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableBitmapRouterEntryStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableBitmapRouterEntryStats_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableBitmapRouterEntryStats(ctx, req.(*GetTableBitmapRouterEntryStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_CreateTableMetaTunnelEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateTableMetaTunnelEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).CreateTableMetaTunnelEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_CreateTableMetaTunnelEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).CreateTableMetaTunnelEntry(ctx, req.(*CreateTableMetaTunnelEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_RemoveTableMetaTunnelEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveTableMetaTunnelEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).RemoveTableMetaTunnelEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_RemoveTableMetaTunnelEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).RemoveTableMetaTunnelEntry(ctx, req.(*RemoveTableMetaTunnelEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableMetaTunnelEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableMetaTunnelEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableMetaTunnelEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableMetaTunnelEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableMetaTunnelEntryAttribute(ctx, req.(*GetTableMetaTunnelEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Bmtor_GetTableMetaTunnelEntryStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableMetaTunnelEntryStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BmtorServer).GetTableMetaTunnelEntryStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Bmtor_GetTableMetaTunnelEntryStats_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BmtorServer).GetTableMetaTunnelEntryStats(ctx, req.(*GetTableMetaTunnelEntryStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - // Bmtor_ServiceDesc is the grpc.ServiceDesc for Bmtor service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Bmtor_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lemming.dataplane.sai.Bmtor", HandlerType: (*BmtorServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateTableBitmapClassificationEntry", - Handler: _Bmtor_CreateTableBitmapClassificationEntry_Handler, - }, - { - MethodName: "RemoveTableBitmapClassificationEntry", - Handler: _Bmtor_RemoveTableBitmapClassificationEntry_Handler, - }, - { - MethodName: "GetTableBitmapClassificationEntryAttribute", - Handler: _Bmtor_GetTableBitmapClassificationEntryAttribute_Handler, - }, - { - MethodName: "GetTableBitmapClassificationEntryStats", - Handler: _Bmtor_GetTableBitmapClassificationEntryStats_Handler, - }, - { - MethodName: "CreateTableBitmapRouterEntry", - Handler: _Bmtor_CreateTableBitmapRouterEntry_Handler, - }, - { - MethodName: "RemoveTableBitmapRouterEntry", - Handler: _Bmtor_RemoveTableBitmapRouterEntry_Handler, - }, - { - MethodName: "GetTableBitmapRouterEntryAttribute", - Handler: _Bmtor_GetTableBitmapRouterEntryAttribute_Handler, - }, - { - MethodName: "GetTableBitmapRouterEntryStats", - Handler: _Bmtor_GetTableBitmapRouterEntryStats_Handler, - }, - { - MethodName: "CreateTableMetaTunnelEntry", - Handler: _Bmtor_CreateTableMetaTunnelEntry_Handler, - }, - { - MethodName: "RemoveTableMetaTunnelEntry", - Handler: _Bmtor_RemoveTableMetaTunnelEntry_Handler, - }, - { - MethodName: "GetTableMetaTunnelEntryAttribute", - Handler: _Bmtor_GetTableMetaTunnelEntryAttribute_Handler, - }, - { - MethodName: "GetTableMetaTunnelEntryStats", - Handler: _Bmtor_GetTableMetaTunnelEntryStats_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dataplane/proto/sai/bmtor.proto", + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "dataplane/proto/sai/bmtor.proto", } diff --git a/dataplane/proto/sai/buffer.pb.go b/dataplane/proto/sai/buffer.pb.go index 2b9a1825..c34e9cfc 100644 --- a/dataplane/proto/sai/buffer.pb.go +++ b/dataplane/proto/sai/buffer.pb.go @@ -91,67 +91,6 @@ func (BufferPoolAttr) EnumDescriptor() ([]byte, []int) { return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{0} } -type IngressPriorityGroupAttr int32 - -const ( - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_UNSPECIFIED IngressPriorityGroupAttr = 0 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_BUFFER_PROFILE IngressPriorityGroupAttr = 1 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_PORT IngressPriorityGroupAttr = 2 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_TAM IngressPriorityGroupAttr = 3 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_INDEX IngressPriorityGroupAttr = 4 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_STATS_COUNT_MODE IngressPriorityGroupAttr = 5 - IngressPriorityGroupAttr_INGRESS_PRIORITY_GROUP_ATTR_SELECTIVE_COUNTER_LIST IngressPriorityGroupAttr = 6 -) - -// Enum value maps for IngressPriorityGroupAttr. -var ( - IngressPriorityGroupAttr_name = map[int32]string{ - 0: "INGRESS_PRIORITY_GROUP_ATTR_UNSPECIFIED", - 1: "INGRESS_PRIORITY_GROUP_ATTR_BUFFER_PROFILE", - 2: "INGRESS_PRIORITY_GROUP_ATTR_PORT", - 3: "INGRESS_PRIORITY_GROUP_ATTR_TAM", - 4: "INGRESS_PRIORITY_GROUP_ATTR_INDEX", - 5: "INGRESS_PRIORITY_GROUP_ATTR_STATS_COUNT_MODE", - 6: "INGRESS_PRIORITY_GROUP_ATTR_SELECTIVE_COUNTER_LIST", - } - IngressPriorityGroupAttr_value = map[string]int32{ - "INGRESS_PRIORITY_GROUP_ATTR_UNSPECIFIED": 0, - "INGRESS_PRIORITY_GROUP_ATTR_BUFFER_PROFILE": 1, - "INGRESS_PRIORITY_GROUP_ATTR_PORT": 2, - "INGRESS_PRIORITY_GROUP_ATTR_TAM": 3, - "INGRESS_PRIORITY_GROUP_ATTR_INDEX": 4, - "INGRESS_PRIORITY_GROUP_ATTR_STATS_COUNT_MODE": 5, - "INGRESS_PRIORITY_GROUP_ATTR_SELECTIVE_COUNTER_LIST": 6, - } -) - -func (x IngressPriorityGroupAttr) Enum() *IngressPriorityGroupAttr { - p := new(IngressPriorityGroupAttr) - *p = x - return p -} - -func (x IngressPriorityGroupAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IngressPriorityGroupAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_buffer_proto_enumTypes[1].Descriptor() -} - -func (IngressPriorityGroupAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_buffer_proto_enumTypes[1] -} - -func (x IngressPriorityGroupAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IngressPriorityGroupAttr.Descriptor instead. -func (IngressPriorityGroupAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{1} -} - type BufferProfileAttr int32 const ( @@ -203,11 +142,11 @@ func (x BufferProfileAttr) String() string { } func (BufferProfileAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_buffer_proto_enumTypes[2].Descriptor() + return file_dataplane_proto_sai_buffer_proto_enumTypes[1].Descriptor() } func (BufferProfileAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_buffer_proto_enumTypes[2] + return &file_dataplane_proto_sai_buffer_proto_enumTypes[1] } func (x BufferProfileAttr) Number() protoreflect.EnumNumber { @@ -216,7 +155,7 @@ func (x BufferProfileAttr) Number() protoreflect.EnumNumber { // Deprecated: Use BufferProfileAttr.Descriptor instead. func (BufferProfileAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{2} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{1} } type CreateBufferPoolRequest struct { @@ -771,526 +710,6 @@ func (x *GetBufferPoolStatsResponse) GetValues() []uint64 { return nil } -type CreateIngressPriorityGroupRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` - BufferProfile *uint64 `protobuf:"varint,2,opt,name=buffer_profile,json=bufferProfile,proto3,oneof" json:"buffer_profile,omitempty"` - Port *uint64 `protobuf:"varint,3,opt,name=port,proto3,oneof" json:"port,omitempty"` - Tam []uint64 `protobuf:"varint,4,rep,packed,name=tam,proto3" json:"tam,omitempty"` - Index *uint32 `protobuf:"varint,5,opt,name=index,proto3,oneof" json:"index,omitempty"` - StatsCountMode *StatsCountMode `protobuf:"varint,6,opt,name=stats_count_mode,json=statsCountMode,proto3,enum=lemming.dataplane.sai.StatsCountMode,oneof" json:"stats_count_mode,omitempty"` - SelectiveCounterList []uint64 `protobuf:"varint,7,rep,packed,name=selective_counter_list,json=selectiveCounterList,proto3" json:"selective_counter_list,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateIngressPriorityGroupRequest) Reset() { - *x = CreateIngressPriorityGroupRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateIngressPriorityGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateIngressPriorityGroupRequest) ProtoMessage() {} - -func (x *CreateIngressPriorityGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateIngressPriorityGroupRequest.ProtoReflect.Descriptor instead. -func (*CreateIngressPriorityGroupRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{10} -} - -func (x *CreateIngressPriorityGroupRequest) GetSwitch() uint64 { - if x != nil { - return x.Switch - } - return 0 -} - -func (x *CreateIngressPriorityGroupRequest) GetBufferProfile() uint64 { - if x != nil && x.BufferProfile != nil { - return *x.BufferProfile - } - return 0 -} - -func (x *CreateIngressPriorityGroupRequest) GetPort() uint64 { - if x != nil && x.Port != nil { - return *x.Port - } - return 0 -} - -func (x *CreateIngressPriorityGroupRequest) GetTam() []uint64 { - if x != nil { - return x.Tam - } - return nil -} - -func (x *CreateIngressPriorityGroupRequest) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *CreateIngressPriorityGroupRequest) GetStatsCountMode() StatsCountMode { - if x != nil && x.StatsCountMode != nil { - return *x.StatsCountMode - } - return StatsCountMode_STATS_COUNT_MODE_UNSPECIFIED -} - -func (x *CreateIngressPriorityGroupRequest) GetSelectiveCounterList() []uint64 { - if x != nil { - return x.SelectiveCounterList - } - return nil -} - -type CreateIngressPriorityGroupResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateIngressPriorityGroupResponse) Reset() { - *x = CreateIngressPriorityGroupResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateIngressPriorityGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateIngressPriorityGroupResponse) ProtoMessage() {} - -func (x *CreateIngressPriorityGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateIngressPriorityGroupResponse.ProtoReflect.Descriptor instead. -func (*CreateIngressPriorityGroupResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{11} -} - -func (x *CreateIngressPriorityGroupResponse) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveIngressPriorityGroupRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveIngressPriorityGroupRequest) Reset() { - *x = RemoveIngressPriorityGroupRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveIngressPriorityGroupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveIngressPriorityGroupRequest) ProtoMessage() {} - -func (x *RemoveIngressPriorityGroupRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveIngressPriorityGroupRequest.ProtoReflect.Descriptor instead. -func (*RemoveIngressPriorityGroupRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{12} -} - -func (x *RemoveIngressPriorityGroupRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveIngressPriorityGroupResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveIngressPriorityGroupResponse) Reset() { - *x = RemoveIngressPriorityGroupResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveIngressPriorityGroupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveIngressPriorityGroupResponse) ProtoMessage() {} - -func (x *RemoveIngressPriorityGroupResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveIngressPriorityGroupResponse.ProtoReflect.Descriptor instead. -func (*RemoveIngressPriorityGroupResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{13} -} - -type SetIngressPriorityGroupAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - BufferProfile *uint64 `protobuf:"varint,2,opt,name=buffer_profile,json=bufferProfile,proto3,oneof" json:"buffer_profile,omitempty"` - Tam []uint64 `protobuf:"varint,3,rep,packed,name=tam,proto3" json:"tam,omitempty"` - StatsCountMode *StatsCountMode `protobuf:"varint,4,opt,name=stats_count_mode,json=statsCountMode,proto3,enum=lemming.dataplane.sai.StatsCountMode,oneof" json:"stats_count_mode,omitempty"` - SelectiveCounterList []uint64 `protobuf:"varint,5,rep,packed,name=selective_counter_list,json=selectiveCounterList,proto3" json:"selective_counter_list,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetIngressPriorityGroupAttributeRequest) Reset() { - *x = SetIngressPriorityGroupAttributeRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetIngressPriorityGroupAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetIngressPriorityGroupAttributeRequest) ProtoMessage() {} - -func (x *SetIngressPriorityGroupAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetIngressPriorityGroupAttributeRequest.ProtoReflect.Descriptor instead. -func (*SetIngressPriorityGroupAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{14} -} - -func (x *SetIngressPriorityGroupAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *SetIngressPriorityGroupAttributeRequest) GetBufferProfile() uint64 { - if x != nil && x.BufferProfile != nil { - return *x.BufferProfile - } - return 0 -} - -func (x *SetIngressPriorityGroupAttributeRequest) GetTam() []uint64 { - if x != nil { - return x.Tam - } - return nil -} - -func (x *SetIngressPriorityGroupAttributeRequest) GetStatsCountMode() StatsCountMode { - if x != nil && x.StatsCountMode != nil { - return *x.StatsCountMode - } - return StatsCountMode_STATS_COUNT_MODE_UNSPECIFIED -} - -func (x *SetIngressPriorityGroupAttributeRequest) GetSelectiveCounterList() []uint64 { - if x != nil { - return x.SelectiveCounterList - } - return nil -} - -type SetIngressPriorityGroupAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetIngressPriorityGroupAttributeResponse) Reset() { - *x = SetIngressPriorityGroupAttributeResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetIngressPriorityGroupAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetIngressPriorityGroupAttributeResponse) ProtoMessage() {} - -func (x *SetIngressPriorityGroupAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetIngressPriorityGroupAttributeResponse.ProtoReflect.Descriptor instead. -func (*SetIngressPriorityGroupAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{15} -} - -type GetIngressPriorityGroupAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - AttrType []IngressPriorityGroupAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.IngressPriorityGroupAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetIngressPriorityGroupAttributeRequest) Reset() { - *x = GetIngressPriorityGroupAttributeRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetIngressPriorityGroupAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIngressPriorityGroupAttributeRequest) ProtoMessage() {} - -func (x *GetIngressPriorityGroupAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetIngressPriorityGroupAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetIngressPriorityGroupAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{16} -} - -func (x *GetIngressPriorityGroupAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetIngressPriorityGroupAttributeRequest) GetAttrType() []IngressPriorityGroupAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetIngressPriorityGroupAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *IngressPriorityGroupAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetIngressPriorityGroupAttributeResponse) Reset() { - *x = GetIngressPriorityGroupAttributeResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetIngressPriorityGroupAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIngressPriorityGroupAttributeResponse) ProtoMessage() {} - -func (x *GetIngressPriorityGroupAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetIngressPriorityGroupAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetIngressPriorityGroupAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{17} -} - -func (x *GetIngressPriorityGroupAttributeResponse) GetAttr() *IngressPriorityGroupAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type GetIngressPriorityGroupStatsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - CounterIds []IngressPriorityGroupStat `protobuf:"varint,2,rep,packed,name=counter_ids,json=counterIds,proto3,enum=lemming.dataplane.sai.IngressPriorityGroupStat" json:"counter_ids,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetIngressPriorityGroupStatsRequest) Reset() { - *x = GetIngressPriorityGroupStatsRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetIngressPriorityGroupStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIngressPriorityGroupStatsRequest) ProtoMessage() {} - -func (x *GetIngressPriorityGroupStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetIngressPriorityGroupStatsRequest.ProtoReflect.Descriptor instead. -func (*GetIngressPriorityGroupStatsRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{18} -} - -func (x *GetIngressPriorityGroupStatsRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetIngressPriorityGroupStatsRequest) GetCounterIds() []IngressPriorityGroupStat { - if x != nil { - return x.CounterIds - } - return nil -} - -type GetIngressPriorityGroupStatsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Values []uint64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetIngressPriorityGroupStatsResponse) Reset() { - *x = GetIngressPriorityGroupStatsResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetIngressPriorityGroupStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetIngressPriorityGroupStatsResponse) ProtoMessage() {} - -func (x *GetIngressPriorityGroupStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetIngressPriorityGroupStatsResponse.ProtoReflect.Descriptor instead. -func (*GetIngressPriorityGroupStatsResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{19} -} - -func (x *GetIngressPriorityGroupStatsResponse) GetValues() []uint64 { - if x != nil { - return x.Values - } - return nil -} - type CreateBufferProfileRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` @@ -1308,7 +727,7 @@ type CreateBufferProfileRequest struct { func (x *CreateBufferProfileRequest) Reset() { *x = CreateBufferProfileRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[20] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1320,7 +739,7 @@ func (x *CreateBufferProfileRequest) String() string { func (*CreateBufferProfileRequest) ProtoMessage() {} func (x *CreateBufferProfileRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[20] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1333,7 +752,7 @@ func (x *CreateBufferProfileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateBufferProfileRequest.ProtoReflect.Descriptor instead. func (*CreateBufferProfileRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{20} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{10} } func (x *CreateBufferProfileRequest) GetSwitch() uint64 { @@ -1408,7 +827,7 @@ type CreateBufferProfileResponse struct { func (x *CreateBufferProfileResponse) Reset() { *x = CreateBufferProfileResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[21] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1420,7 +839,7 @@ func (x *CreateBufferProfileResponse) String() string { func (*CreateBufferProfileResponse) ProtoMessage() {} func (x *CreateBufferProfileResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[21] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1433,7 +852,7 @@ func (x *CreateBufferProfileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateBufferProfileResponse.ProtoReflect.Descriptor instead. func (*CreateBufferProfileResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{21} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{11} } func (x *CreateBufferProfileResponse) GetOid() uint64 { @@ -1452,7 +871,7 @@ type RemoveBufferProfileRequest struct { func (x *RemoveBufferProfileRequest) Reset() { *x = RemoveBufferProfileRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[22] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1464,7 +883,7 @@ func (x *RemoveBufferProfileRequest) String() string { func (*RemoveBufferProfileRequest) ProtoMessage() {} func (x *RemoveBufferProfileRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[22] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1477,7 +896,7 @@ func (x *RemoveBufferProfileRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveBufferProfileRequest.ProtoReflect.Descriptor instead. func (*RemoveBufferProfileRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{22} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{12} } func (x *RemoveBufferProfileRequest) GetOid() uint64 { @@ -1495,7 +914,7 @@ type RemoveBufferProfileResponse struct { func (x *RemoveBufferProfileResponse) Reset() { *x = RemoveBufferProfileResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[23] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1507,7 +926,7 @@ func (x *RemoveBufferProfileResponse) String() string { func (*RemoveBufferProfileResponse) ProtoMessage() {} func (x *RemoveBufferProfileResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[23] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1520,7 +939,7 @@ func (x *RemoveBufferProfileResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveBufferProfileResponse.ProtoReflect.Descriptor instead. func (*RemoveBufferProfileResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{23} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{13} } type SetBufferProfileAttributeRequest struct { @@ -1538,7 +957,7 @@ type SetBufferProfileAttributeRequest struct { func (x *SetBufferProfileAttributeRequest) Reset() { *x = SetBufferProfileAttributeRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[24] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1550,7 +969,7 @@ func (x *SetBufferProfileAttributeRequest) String() string { func (*SetBufferProfileAttributeRequest) ProtoMessage() {} func (x *SetBufferProfileAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[24] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1563,7 +982,7 @@ func (x *SetBufferProfileAttributeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use SetBufferProfileAttributeRequest.ProtoReflect.Descriptor instead. func (*SetBufferProfileAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{24} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{14} } func (x *SetBufferProfileAttributeRequest) GetOid() uint64 { @@ -1623,7 +1042,7 @@ type SetBufferProfileAttributeResponse struct { func (x *SetBufferProfileAttributeResponse) Reset() { *x = SetBufferProfileAttributeResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[25] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1635,7 +1054,7 @@ func (x *SetBufferProfileAttributeResponse) String() string { func (*SetBufferProfileAttributeResponse) ProtoMessage() {} func (x *SetBufferProfileAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[25] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1648,7 +1067,7 @@ func (x *SetBufferProfileAttributeResponse) ProtoReflect() protoreflect.Message // Deprecated: Use SetBufferProfileAttributeResponse.ProtoReflect.Descriptor instead. func (*SetBufferProfileAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{25} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{15} } type GetBufferProfileAttributeRequest struct { @@ -1661,7 +1080,7 @@ type GetBufferProfileAttributeRequest struct { func (x *GetBufferProfileAttributeRequest) Reset() { *x = GetBufferProfileAttributeRequest{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[26] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1673,7 +1092,7 @@ func (x *GetBufferProfileAttributeRequest) String() string { func (*GetBufferProfileAttributeRequest) ProtoMessage() {} func (x *GetBufferProfileAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[26] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1686,7 +1105,7 @@ func (x *GetBufferProfileAttributeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetBufferProfileAttributeRequest.ProtoReflect.Descriptor instead. func (*GetBufferProfileAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{26} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{16} } func (x *GetBufferProfileAttributeRequest) GetOid() uint64 { @@ -1712,7 +1131,7 @@ type GetBufferProfileAttributeResponse struct { func (x *GetBufferProfileAttributeResponse) Reset() { *x = GetBufferProfileAttributeResponse{} - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[27] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1724,7 +1143,7 @@ func (x *GetBufferProfileAttributeResponse) String() string { func (*GetBufferProfileAttributeResponse) ProtoMessage() {} func (x *GetBufferProfileAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[27] + mi := &file_dataplane_proto_sai_buffer_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1737,7 +1156,7 @@ func (x *GetBufferProfileAttributeResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetBufferProfileAttributeResponse.ProtoReflect.Descriptor instead. func (*GetBufferProfileAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{27} + return file_dataplane_proto_sai_buffer_proto_rawDescGZIP(), []int{17} } func (x *GetBufferProfileAttributeResponse) GetAttr() *BufferProfileAttribute { @@ -1798,43 +1217,6 @@ const file_dataplane_proto_sai_buffer_proto_rawDesc = "" + "\vcounter_ids\x18\x02 \x03(\x0e2%.lemming.dataplane.sai.BufferPoolStatR\n" + "counterIds\"4\n" + "\x1aGetBufferPoolStatsResponse\x12\x16\n" + - "\x06values\x18\x01 \x03(\x04R\x06values\"\xac\x03\n" + - "!CreateIngressPriorityGroupRequest\x12\x16\n" + - "\x06switch\x18\x01 \x01(\x04R\x06switch\x122\n" + - "\x0ebuffer_profile\x18\x02 \x01(\x04B\x06\xf0ܓ\xad\x0f\x01H\x00R\rbufferProfile\x88\x01\x01\x12\x1f\n" + - "\x04port\x18\x03 \x01(\x04B\x06\xf0ܓ\xad\x0f\x02H\x01R\x04port\x88\x01\x01\x12\x18\n" + - "\x03tam\x18\x04 \x03(\x04B\x06\xf0ܓ\xad\x0f\x03R\x03tam\x12!\n" + - "\x05index\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x02R\x05index\x88\x01\x01\x12\\\n" + - "\x10stats_count_mode\x18\x06 \x01(\x0e2%.lemming.dataplane.sai.StatsCountModeB\x06\xf0ܓ\xad\x0f\x05H\x03R\x0estatsCountMode\x88\x01\x01\x12<\n" + - "\x16selective_counter_list\x18\a \x03(\x04B\x06\xf0ܓ\xad\x0f\x06R\x14selectiveCounterList:\x06\xa0\xa9\x90\xad\x0f\x1bB\x11\n" + - "\x0f_buffer_profileB\a\n" + - "\x05_portB\b\n" + - "\x06_indexB\x13\n" + - "\x11_stats_count_mode\"6\n" + - "\"CreateIngressPriorityGroupResponse\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"5\n" + - "!RemoveIngressPriorityGroupRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"$\n" + - "\"RemoveIngressPriorityGroupResponse\"\xcd\x02\n" + - "'SetIngressPriorityGroupAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x122\n" + - "\x0ebuffer_profile\x18\x02 \x01(\x04B\x06\xf0ܓ\xad\x0f\x01H\x00R\rbufferProfile\x88\x01\x01\x12\x18\n" + - "\x03tam\x18\x03 \x03(\x04B\x06\xf0ܓ\xad\x0f\x03R\x03tam\x12\\\n" + - "\x10stats_count_mode\x18\x04 \x01(\x0e2%.lemming.dataplane.sai.StatsCountModeB\x06\xf0ܓ\xad\x0f\x05H\x01R\x0estatsCountMode\x88\x01\x01\x12<\n" + - "\x16selective_counter_list\x18\x05 \x03(\x04B\x06\xf0ܓ\xad\x0f\x06R\x14selectiveCounterListB\x11\n" + - "\x0f_buffer_profileB\x13\n" + - "\x11_stats_count_mode\"*\n" + - "(SetIngressPriorityGroupAttributeResponse\"\x89\x01\n" + - "'GetIngressPriorityGroupAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12L\n" + - "\tattr_type\x18\x02 \x03(\x0e2/.lemming.dataplane.sai.IngressPriorityGroupAttrR\battrType\"t\n" + - "(GetIngressPriorityGroupAttributeResponse\x12H\n" + - "\x04attr\x18\x01 \x01(\v24.lemming.dataplane.sai.IngressPriorityGroupAttributeR\x04attr\"\x89\x01\n" + - "#GetIngressPriorityGroupStatsRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12P\n" + - "\vcounter_ids\x18\x02 \x03(\x0e2/.lemming.dataplane.sai.IngressPriorityGroupStatR\n" + - "counterIds\">\n" + - "$GetIngressPriorityGroupStatsResponse\x12\x16\n" + "\x06values\x18\x01 \x03(\x04R\x06values\"\xff\x04\n" + "\x1aCreateBufferProfileRequest\x12\x16\n" + "\x06switch\x18\x01 \x01(\x04R\x06switch\x12$\n" + @@ -1892,15 +1274,7 @@ const file_dataplane_proto_sai_buffer_proto_rawDesc = "" + "\x1aBUFFER_POOL_ATTR_XOFF_SIZE\x10\x06\x12$\n" + " BUFFER_POOL_ATTR_WRED_PROFILE_ID\x10\a\x12%\n" + "!BUFFER_POOL_ATTR_STATS_COUNT_MODE\x10\b\x12+\n" + - "'BUFFER_POOL_ATTR_SELECTIVE_COUNTER_LIST\x10\t*\xd3\x02\n" + - "\x18IngressPriorityGroupAttr\x12+\n" + - "'INGRESS_PRIORITY_GROUP_ATTR_UNSPECIFIED\x10\x00\x12.\n" + - "*INGRESS_PRIORITY_GROUP_ATTR_BUFFER_PROFILE\x10\x01\x12$\n" + - " INGRESS_PRIORITY_GROUP_ATTR_PORT\x10\x02\x12#\n" + - "\x1fINGRESS_PRIORITY_GROUP_ATTR_TAM\x10\x03\x12%\n" + - "!INGRESS_PRIORITY_GROUP_ATTR_INDEX\x10\x04\x120\n" + - ",INGRESS_PRIORITY_GROUP_ATTR_STATS_COUNT_MODE\x10\x05\x126\n" + - "2INGRESS_PRIORITY_GROUP_ATTR_SELECTIVE_COUNTER_LIST\x10\x06*\xec\x02\n" + + "'BUFFER_POOL_ATTR_SELECTIVE_COUNTER_LIST\x10\t*\xec\x02\n" + "\x11BufferProfileAttr\x12#\n" + "\x1fBUFFER_PROFILE_ATTR_UNSPECIFIED\x10\x00\x12\x1f\n" + "\x1bBUFFER_PROFILE_ATTR_POOL_ID\x10\x01\x12,\n" + @@ -1910,18 +1284,13 @@ const file_dataplane_proto_sai_buffer_proto_rawDesc = "" + "$BUFFER_PROFILE_ATTR_SHARED_STATIC_TH\x10\x05\x12\x1f\n" + "\x1bBUFFER_PROFILE_ATTR_XOFF_TH\x10\x06\x12\x1e\n" + "\x1aBUFFER_PROFILE_ATTR_XON_TH\x10\a\x12%\n" + - "!BUFFER_PROFILE_ATTR_XON_OFFSET_TH\x10\b2\xc5\x0f\n" + + "!BUFFER_PROFILE_ATTR_XON_OFFSET_TH\x10\b2\xad\t\n" + "\x06Buffer\x12u\n" + "\x10CreateBufferPool\x12..lemming.dataplane.sai.CreateBufferPoolRequest\x1a/.lemming.dataplane.sai.CreateBufferPoolResponse\"\x00\x12u\n" + "\x10RemoveBufferPool\x12..lemming.dataplane.sai.RemoveBufferPoolRequest\x1a/.lemming.dataplane.sai.RemoveBufferPoolResponse\"\x00\x12\x87\x01\n" + "\x16SetBufferPoolAttribute\x124.lemming.dataplane.sai.SetBufferPoolAttributeRequest\x1a5.lemming.dataplane.sai.SetBufferPoolAttributeResponse\"\x00\x12\x87\x01\n" + "\x16GetBufferPoolAttribute\x124.lemming.dataplane.sai.GetBufferPoolAttributeRequest\x1a5.lemming.dataplane.sai.GetBufferPoolAttributeResponse\"\x00\x12{\n" + - "\x12GetBufferPoolStats\x120.lemming.dataplane.sai.GetBufferPoolStatsRequest\x1a1.lemming.dataplane.sai.GetBufferPoolStatsResponse\"\x00\x12\x93\x01\n" + - "\x1aCreateIngressPriorityGroup\x128.lemming.dataplane.sai.CreateIngressPriorityGroupRequest\x1a9.lemming.dataplane.sai.CreateIngressPriorityGroupResponse\"\x00\x12\x93\x01\n" + - "\x1aRemoveIngressPriorityGroup\x128.lemming.dataplane.sai.RemoveIngressPriorityGroupRequest\x1a9.lemming.dataplane.sai.RemoveIngressPriorityGroupResponse\"\x00\x12\xa5\x01\n" + - " SetIngressPriorityGroupAttribute\x12>.lemming.dataplane.sai.SetIngressPriorityGroupAttributeRequest\x1a?.lemming.dataplane.sai.SetIngressPriorityGroupAttributeResponse\"\x00\x12\xa5\x01\n" + - " GetIngressPriorityGroupAttribute\x12>.lemming.dataplane.sai.GetIngressPriorityGroupAttributeRequest\x1a?.lemming.dataplane.sai.GetIngressPriorityGroupAttributeResponse\"\x00\x12\x99\x01\n" + - "\x1cGetIngressPriorityGroupStats\x12:.lemming.dataplane.sai.GetIngressPriorityGroupStatsRequest\x1a;.lemming.dataplane.sai.GetIngressPriorityGroupStatsResponse\"\x00\x12~\n" + + "\x12GetBufferPoolStats\x120.lemming.dataplane.sai.GetBufferPoolStatsRequest\x1a1.lemming.dataplane.sai.GetBufferPoolStatsResponse\"\x00\x12~\n" + "\x13CreateBufferProfile\x121.lemming.dataplane.sai.CreateBufferProfileRequest\x1a2.lemming.dataplane.sai.CreateBufferProfileResponse\"\x00\x12~\n" + "\x13RemoveBufferProfile\x121.lemming.dataplane.sai.RemoveBufferProfileRequest\x1a2.lemming.dataplane.sai.RemoveBufferProfileResponse\"\x00\x12\x90\x01\n" + "\x19SetBufferProfileAttribute\x127.lemming.dataplane.sai.SetBufferProfileAttributeRequest\x1a8.lemming.dataplane.sai.SetBufferProfileAttributeResponse\"\x00\x12\x90\x01\n" + @@ -1939,99 +1308,71 @@ func file_dataplane_proto_sai_buffer_proto_rawDescGZIP() []byte { return file_dataplane_proto_sai_buffer_proto_rawDescData } -var file_dataplane_proto_sai_buffer_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_dataplane_proto_sai_buffer_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_dataplane_proto_sai_buffer_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_dataplane_proto_sai_buffer_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_dataplane_proto_sai_buffer_proto_goTypes = []any{ - (BufferPoolAttr)(0), // 0: lemming.dataplane.sai.BufferPoolAttr - (IngressPriorityGroupAttr)(0), // 1: lemming.dataplane.sai.IngressPriorityGroupAttr - (BufferProfileAttr)(0), // 2: lemming.dataplane.sai.BufferProfileAttr - (*CreateBufferPoolRequest)(nil), // 3: lemming.dataplane.sai.CreateBufferPoolRequest - (*CreateBufferPoolResponse)(nil), // 4: lemming.dataplane.sai.CreateBufferPoolResponse - (*RemoveBufferPoolRequest)(nil), // 5: lemming.dataplane.sai.RemoveBufferPoolRequest - (*RemoveBufferPoolResponse)(nil), // 6: lemming.dataplane.sai.RemoveBufferPoolResponse - (*SetBufferPoolAttributeRequest)(nil), // 7: lemming.dataplane.sai.SetBufferPoolAttributeRequest - (*SetBufferPoolAttributeResponse)(nil), // 8: lemming.dataplane.sai.SetBufferPoolAttributeResponse - (*GetBufferPoolAttributeRequest)(nil), // 9: lemming.dataplane.sai.GetBufferPoolAttributeRequest - (*GetBufferPoolAttributeResponse)(nil), // 10: lemming.dataplane.sai.GetBufferPoolAttributeResponse - (*GetBufferPoolStatsRequest)(nil), // 11: lemming.dataplane.sai.GetBufferPoolStatsRequest - (*GetBufferPoolStatsResponse)(nil), // 12: lemming.dataplane.sai.GetBufferPoolStatsResponse - (*CreateIngressPriorityGroupRequest)(nil), // 13: lemming.dataplane.sai.CreateIngressPriorityGroupRequest - (*CreateIngressPriorityGroupResponse)(nil), // 14: lemming.dataplane.sai.CreateIngressPriorityGroupResponse - (*RemoveIngressPriorityGroupRequest)(nil), // 15: lemming.dataplane.sai.RemoveIngressPriorityGroupRequest - (*RemoveIngressPriorityGroupResponse)(nil), // 16: lemming.dataplane.sai.RemoveIngressPriorityGroupResponse - (*SetIngressPriorityGroupAttributeRequest)(nil), // 17: lemming.dataplane.sai.SetIngressPriorityGroupAttributeRequest - (*SetIngressPriorityGroupAttributeResponse)(nil), // 18: lemming.dataplane.sai.SetIngressPriorityGroupAttributeResponse - (*GetIngressPriorityGroupAttributeRequest)(nil), // 19: lemming.dataplane.sai.GetIngressPriorityGroupAttributeRequest - (*GetIngressPriorityGroupAttributeResponse)(nil), // 20: lemming.dataplane.sai.GetIngressPriorityGroupAttributeResponse - (*GetIngressPriorityGroupStatsRequest)(nil), // 21: lemming.dataplane.sai.GetIngressPriorityGroupStatsRequest - (*GetIngressPriorityGroupStatsResponse)(nil), // 22: lemming.dataplane.sai.GetIngressPriorityGroupStatsResponse - (*CreateBufferProfileRequest)(nil), // 23: lemming.dataplane.sai.CreateBufferProfileRequest - (*CreateBufferProfileResponse)(nil), // 24: lemming.dataplane.sai.CreateBufferProfileResponse - (*RemoveBufferProfileRequest)(nil), // 25: lemming.dataplane.sai.RemoveBufferProfileRequest - (*RemoveBufferProfileResponse)(nil), // 26: lemming.dataplane.sai.RemoveBufferProfileResponse - (*SetBufferProfileAttributeRequest)(nil), // 27: lemming.dataplane.sai.SetBufferProfileAttributeRequest - (*SetBufferProfileAttributeResponse)(nil), // 28: lemming.dataplane.sai.SetBufferProfileAttributeResponse - (*GetBufferProfileAttributeRequest)(nil), // 29: lemming.dataplane.sai.GetBufferProfileAttributeRequest - (*GetBufferProfileAttributeResponse)(nil), // 30: lemming.dataplane.sai.GetBufferProfileAttributeResponse - (BufferPoolType)(0), // 31: lemming.dataplane.sai.BufferPoolType - (BufferPoolThresholdMode)(0), // 32: lemming.dataplane.sai.BufferPoolThresholdMode - (StatsCountMode)(0), // 33: lemming.dataplane.sai.StatsCountMode - (*BufferPoolAttribute)(nil), // 34: lemming.dataplane.sai.BufferPoolAttribute - (BufferPoolStat)(0), // 35: lemming.dataplane.sai.BufferPoolStat - (*IngressPriorityGroupAttribute)(nil), // 36: lemming.dataplane.sai.IngressPriorityGroupAttribute - (IngressPriorityGroupStat)(0), // 37: lemming.dataplane.sai.IngressPriorityGroupStat - (BufferProfileThresholdMode)(0), // 38: lemming.dataplane.sai.BufferProfileThresholdMode - (*BufferProfileAttribute)(nil), // 39: lemming.dataplane.sai.BufferProfileAttribute + (BufferPoolAttr)(0), // 0: lemming.dataplane.sai.BufferPoolAttr + (BufferProfileAttr)(0), // 1: lemming.dataplane.sai.BufferProfileAttr + (*CreateBufferPoolRequest)(nil), // 2: lemming.dataplane.sai.CreateBufferPoolRequest + (*CreateBufferPoolResponse)(nil), // 3: lemming.dataplane.sai.CreateBufferPoolResponse + (*RemoveBufferPoolRequest)(nil), // 4: lemming.dataplane.sai.RemoveBufferPoolRequest + (*RemoveBufferPoolResponse)(nil), // 5: lemming.dataplane.sai.RemoveBufferPoolResponse + (*SetBufferPoolAttributeRequest)(nil), // 6: lemming.dataplane.sai.SetBufferPoolAttributeRequest + (*SetBufferPoolAttributeResponse)(nil), // 7: lemming.dataplane.sai.SetBufferPoolAttributeResponse + (*GetBufferPoolAttributeRequest)(nil), // 8: lemming.dataplane.sai.GetBufferPoolAttributeRequest + (*GetBufferPoolAttributeResponse)(nil), // 9: lemming.dataplane.sai.GetBufferPoolAttributeResponse + (*GetBufferPoolStatsRequest)(nil), // 10: lemming.dataplane.sai.GetBufferPoolStatsRequest + (*GetBufferPoolStatsResponse)(nil), // 11: lemming.dataplane.sai.GetBufferPoolStatsResponse + (*CreateBufferProfileRequest)(nil), // 12: lemming.dataplane.sai.CreateBufferProfileRequest + (*CreateBufferProfileResponse)(nil), // 13: lemming.dataplane.sai.CreateBufferProfileResponse + (*RemoveBufferProfileRequest)(nil), // 14: lemming.dataplane.sai.RemoveBufferProfileRequest + (*RemoveBufferProfileResponse)(nil), // 15: lemming.dataplane.sai.RemoveBufferProfileResponse + (*SetBufferProfileAttributeRequest)(nil), // 16: lemming.dataplane.sai.SetBufferProfileAttributeRequest + (*SetBufferProfileAttributeResponse)(nil), // 17: lemming.dataplane.sai.SetBufferProfileAttributeResponse + (*GetBufferProfileAttributeRequest)(nil), // 18: lemming.dataplane.sai.GetBufferProfileAttributeRequest + (*GetBufferProfileAttributeResponse)(nil), // 19: lemming.dataplane.sai.GetBufferProfileAttributeResponse + (BufferPoolType)(0), // 20: lemming.dataplane.sai.BufferPoolType + (BufferPoolThresholdMode)(0), // 21: lemming.dataplane.sai.BufferPoolThresholdMode + (StatsCountMode)(0), // 22: lemming.dataplane.sai.StatsCountMode + (*BufferPoolAttribute)(nil), // 23: lemming.dataplane.sai.BufferPoolAttribute + (BufferPoolStat)(0), // 24: lemming.dataplane.sai.BufferPoolStat + (BufferProfileThresholdMode)(0), // 25: lemming.dataplane.sai.BufferProfileThresholdMode + (*BufferProfileAttribute)(nil), // 26: lemming.dataplane.sai.BufferProfileAttribute } var file_dataplane_proto_sai_buffer_proto_depIdxs = []int32{ - 31, // 0: lemming.dataplane.sai.CreateBufferPoolRequest.type:type_name -> lemming.dataplane.sai.BufferPoolType - 32, // 1: lemming.dataplane.sai.CreateBufferPoolRequest.threshold_mode:type_name -> lemming.dataplane.sai.BufferPoolThresholdMode - 33, // 2: lemming.dataplane.sai.CreateBufferPoolRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 33, // 3: lemming.dataplane.sai.SetBufferPoolAttributeRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 20, // 0: lemming.dataplane.sai.CreateBufferPoolRequest.type:type_name -> lemming.dataplane.sai.BufferPoolType + 21, // 1: lemming.dataplane.sai.CreateBufferPoolRequest.threshold_mode:type_name -> lemming.dataplane.sai.BufferPoolThresholdMode + 22, // 2: lemming.dataplane.sai.CreateBufferPoolRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 22, // 3: lemming.dataplane.sai.SetBufferPoolAttributeRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode 0, // 4: lemming.dataplane.sai.GetBufferPoolAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.BufferPoolAttr - 34, // 5: lemming.dataplane.sai.GetBufferPoolAttributeResponse.attr:type_name -> lemming.dataplane.sai.BufferPoolAttribute - 35, // 6: lemming.dataplane.sai.GetBufferPoolStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.BufferPoolStat - 33, // 7: lemming.dataplane.sai.CreateIngressPriorityGroupRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 33, // 8: lemming.dataplane.sai.SetIngressPriorityGroupAttributeRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 1, // 9: lemming.dataplane.sai.GetIngressPriorityGroupAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.IngressPriorityGroupAttr - 36, // 10: lemming.dataplane.sai.GetIngressPriorityGroupAttributeResponse.attr:type_name -> lemming.dataplane.sai.IngressPriorityGroupAttribute - 37, // 11: lemming.dataplane.sai.GetIngressPriorityGroupStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.IngressPriorityGroupStat - 38, // 12: lemming.dataplane.sai.CreateBufferProfileRequest.threshold_mode:type_name -> lemming.dataplane.sai.BufferProfileThresholdMode - 2, // 13: lemming.dataplane.sai.GetBufferProfileAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.BufferProfileAttr - 39, // 14: lemming.dataplane.sai.GetBufferProfileAttributeResponse.attr:type_name -> lemming.dataplane.sai.BufferProfileAttribute - 3, // 15: lemming.dataplane.sai.Buffer.CreateBufferPool:input_type -> lemming.dataplane.sai.CreateBufferPoolRequest - 5, // 16: lemming.dataplane.sai.Buffer.RemoveBufferPool:input_type -> lemming.dataplane.sai.RemoveBufferPoolRequest - 7, // 17: lemming.dataplane.sai.Buffer.SetBufferPoolAttribute:input_type -> lemming.dataplane.sai.SetBufferPoolAttributeRequest - 9, // 18: lemming.dataplane.sai.Buffer.GetBufferPoolAttribute:input_type -> lemming.dataplane.sai.GetBufferPoolAttributeRequest - 11, // 19: lemming.dataplane.sai.Buffer.GetBufferPoolStats:input_type -> lemming.dataplane.sai.GetBufferPoolStatsRequest - 13, // 20: lemming.dataplane.sai.Buffer.CreateIngressPriorityGroup:input_type -> lemming.dataplane.sai.CreateIngressPriorityGroupRequest - 15, // 21: lemming.dataplane.sai.Buffer.RemoveIngressPriorityGroup:input_type -> lemming.dataplane.sai.RemoveIngressPriorityGroupRequest - 17, // 22: lemming.dataplane.sai.Buffer.SetIngressPriorityGroupAttribute:input_type -> lemming.dataplane.sai.SetIngressPriorityGroupAttributeRequest - 19, // 23: lemming.dataplane.sai.Buffer.GetIngressPriorityGroupAttribute:input_type -> lemming.dataplane.sai.GetIngressPriorityGroupAttributeRequest - 21, // 24: lemming.dataplane.sai.Buffer.GetIngressPriorityGroupStats:input_type -> lemming.dataplane.sai.GetIngressPriorityGroupStatsRequest - 23, // 25: lemming.dataplane.sai.Buffer.CreateBufferProfile:input_type -> lemming.dataplane.sai.CreateBufferProfileRequest - 25, // 26: lemming.dataplane.sai.Buffer.RemoveBufferProfile:input_type -> lemming.dataplane.sai.RemoveBufferProfileRequest - 27, // 27: lemming.dataplane.sai.Buffer.SetBufferProfileAttribute:input_type -> lemming.dataplane.sai.SetBufferProfileAttributeRequest - 29, // 28: lemming.dataplane.sai.Buffer.GetBufferProfileAttribute:input_type -> lemming.dataplane.sai.GetBufferProfileAttributeRequest - 4, // 29: lemming.dataplane.sai.Buffer.CreateBufferPool:output_type -> lemming.dataplane.sai.CreateBufferPoolResponse - 6, // 30: lemming.dataplane.sai.Buffer.RemoveBufferPool:output_type -> lemming.dataplane.sai.RemoveBufferPoolResponse - 8, // 31: lemming.dataplane.sai.Buffer.SetBufferPoolAttribute:output_type -> lemming.dataplane.sai.SetBufferPoolAttributeResponse - 10, // 32: lemming.dataplane.sai.Buffer.GetBufferPoolAttribute:output_type -> lemming.dataplane.sai.GetBufferPoolAttributeResponse - 12, // 33: lemming.dataplane.sai.Buffer.GetBufferPoolStats:output_type -> lemming.dataplane.sai.GetBufferPoolStatsResponse - 14, // 34: lemming.dataplane.sai.Buffer.CreateIngressPriorityGroup:output_type -> lemming.dataplane.sai.CreateIngressPriorityGroupResponse - 16, // 35: lemming.dataplane.sai.Buffer.RemoveIngressPriorityGroup:output_type -> lemming.dataplane.sai.RemoveIngressPriorityGroupResponse - 18, // 36: lemming.dataplane.sai.Buffer.SetIngressPriorityGroupAttribute:output_type -> lemming.dataplane.sai.SetIngressPriorityGroupAttributeResponse - 20, // 37: lemming.dataplane.sai.Buffer.GetIngressPriorityGroupAttribute:output_type -> lemming.dataplane.sai.GetIngressPriorityGroupAttributeResponse - 22, // 38: lemming.dataplane.sai.Buffer.GetIngressPriorityGroupStats:output_type -> lemming.dataplane.sai.GetIngressPriorityGroupStatsResponse - 24, // 39: lemming.dataplane.sai.Buffer.CreateBufferProfile:output_type -> lemming.dataplane.sai.CreateBufferProfileResponse - 26, // 40: lemming.dataplane.sai.Buffer.RemoveBufferProfile:output_type -> lemming.dataplane.sai.RemoveBufferProfileResponse - 28, // 41: lemming.dataplane.sai.Buffer.SetBufferProfileAttribute:output_type -> lemming.dataplane.sai.SetBufferProfileAttributeResponse - 30, // 42: lemming.dataplane.sai.Buffer.GetBufferProfileAttribute:output_type -> lemming.dataplane.sai.GetBufferProfileAttributeResponse - 29, // [29:43] is the sub-list for method output_type - 15, // [15:29] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name + 23, // 5: lemming.dataplane.sai.GetBufferPoolAttributeResponse.attr:type_name -> lemming.dataplane.sai.BufferPoolAttribute + 24, // 6: lemming.dataplane.sai.GetBufferPoolStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.BufferPoolStat + 25, // 7: lemming.dataplane.sai.CreateBufferProfileRequest.threshold_mode:type_name -> lemming.dataplane.sai.BufferProfileThresholdMode + 1, // 8: lemming.dataplane.sai.GetBufferProfileAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.BufferProfileAttr + 26, // 9: lemming.dataplane.sai.GetBufferProfileAttributeResponse.attr:type_name -> lemming.dataplane.sai.BufferProfileAttribute + 2, // 10: lemming.dataplane.sai.Buffer.CreateBufferPool:input_type -> lemming.dataplane.sai.CreateBufferPoolRequest + 4, // 11: lemming.dataplane.sai.Buffer.RemoveBufferPool:input_type -> lemming.dataplane.sai.RemoveBufferPoolRequest + 6, // 12: lemming.dataplane.sai.Buffer.SetBufferPoolAttribute:input_type -> lemming.dataplane.sai.SetBufferPoolAttributeRequest + 8, // 13: lemming.dataplane.sai.Buffer.GetBufferPoolAttribute:input_type -> lemming.dataplane.sai.GetBufferPoolAttributeRequest + 10, // 14: lemming.dataplane.sai.Buffer.GetBufferPoolStats:input_type -> lemming.dataplane.sai.GetBufferPoolStatsRequest + 12, // 15: lemming.dataplane.sai.Buffer.CreateBufferProfile:input_type -> lemming.dataplane.sai.CreateBufferProfileRequest + 14, // 16: lemming.dataplane.sai.Buffer.RemoveBufferProfile:input_type -> lemming.dataplane.sai.RemoveBufferProfileRequest + 16, // 17: lemming.dataplane.sai.Buffer.SetBufferProfileAttribute:input_type -> lemming.dataplane.sai.SetBufferProfileAttributeRequest + 18, // 18: lemming.dataplane.sai.Buffer.GetBufferProfileAttribute:input_type -> lemming.dataplane.sai.GetBufferProfileAttributeRequest + 3, // 19: lemming.dataplane.sai.Buffer.CreateBufferPool:output_type -> lemming.dataplane.sai.CreateBufferPoolResponse + 5, // 20: lemming.dataplane.sai.Buffer.RemoveBufferPool:output_type -> lemming.dataplane.sai.RemoveBufferPoolResponse + 7, // 21: lemming.dataplane.sai.Buffer.SetBufferPoolAttribute:output_type -> lemming.dataplane.sai.SetBufferPoolAttributeResponse + 9, // 22: lemming.dataplane.sai.Buffer.GetBufferPoolAttribute:output_type -> lemming.dataplane.sai.GetBufferPoolAttributeResponse + 11, // 23: lemming.dataplane.sai.Buffer.GetBufferPoolStats:output_type -> lemming.dataplane.sai.GetBufferPoolStatsResponse + 13, // 24: lemming.dataplane.sai.Buffer.CreateBufferProfile:output_type -> lemming.dataplane.sai.CreateBufferProfileResponse + 15, // 25: lemming.dataplane.sai.Buffer.RemoveBufferProfile:output_type -> lemming.dataplane.sai.RemoveBufferProfileResponse + 17, // 26: lemming.dataplane.sai.Buffer.SetBufferProfileAttribute:output_type -> lemming.dataplane.sai.SetBufferProfileAttributeResponse + 19, // 27: lemming.dataplane.sai.Buffer.GetBufferProfileAttribute:output_type -> lemming.dataplane.sai.GetBufferProfileAttributeResponse + 19, // [19:28] is the sub-list for method output_type + 10, // [10:19] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_buffer_proto_init() } @@ -2044,15 +1385,13 @@ func file_dataplane_proto_sai_buffer_proto_init() { file_dataplane_proto_sai_buffer_proto_msgTypes[4].OneofWrappers = []any{} file_dataplane_proto_sai_buffer_proto_msgTypes[10].OneofWrappers = []any{} file_dataplane_proto_sai_buffer_proto_msgTypes[14].OneofWrappers = []any{} - file_dataplane_proto_sai_buffer_proto_msgTypes[20].OneofWrappers = []any{} - file_dataplane_proto_sai_buffer_proto_msgTypes[24].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_buffer_proto_rawDesc), len(file_dataplane_proto_sai_buffer_proto_rawDesc)), - NumEnums: 3, - NumMessages: 28, + NumEnums: 2, + NumMessages: 18, NumExtensions: 0, NumServices: 1, }, diff --git a/dataplane/proto/sai/buffer_grpc.pb.go b/dataplane/proto/sai/buffer_grpc.pb.go index cebb8f40..7b7d0f0e 100755 --- a/dataplane/proto/sai/buffer_grpc.pb.go +++ b/dataplane/proto/sai/buffer_grpc.pb.go @@ -19,20 +19,15 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Buffer_CreateBufferPool_FullMethodName = "/lemming.dataplane.sai.Buffer/CreateBufferPool" - Buffer_RemoveBufferPool_FullMethodName = "/lemming.dataplane.sai.Buffer/RemoveBufferPool" - Buffer_SetBufferPoolAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/SetBufferPoolAttribute" - Buffer_GetBufferPoolAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferPoolAttribute" - Buffer_GetBufferPoolStats_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferPoolStats" - Buffer_CreateIngressPriorityGroup_FullMethodName = "/lemming.dataplane.sai.Buffer/CreateIngressPriorityGroup" - Buffer_RemoveIngressPriorityGroup_FullMethodName = "/lemming.dataplane.sai.Buffer/RemoveIngressPriorityGroup" - Buffer_SetIngressPriorityGroupAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/SetIngressPriorityGroupAttribute" - Buffer_GetIngressPriorityGroupAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/GetIngressPriorityGroupAttribute" - Buffer_GetIngressPriorityGroupStats_FullMethodName = "/lemming.dataplane.sai.Buffer/GetIngressPriorityGroupStats" - Buffer_CreateBufferProfile_FullMethodName = "/lemming.dataplane.sai.Buffer/CreateBufferProfile" - Buffer_RemoveBufferProfile_FullMethodName = "/lemming.dataplane.sai.Buffer/RemoveBufferProfile" - Buffer_SetBufferProfileAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/SetBufferProfileAttribute" - Buffer_GetBufferProfileAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferProfileAttribute" + Buffer_CreateBufferPool_FullMethodName = "/lemming.dataplane.sai.Buffer/CreateBufferPool" + Buffer_RemoveBufferPool_FullMethodName = "/lemming.dataplane.sai.Buffer/RemoveBufferPool" + Buffer_SetBufferPoolAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/SetBufferPoolAttribute" + Buffer_GetBufferPoolAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferPoolAttribute" + Buffer_GetBufferPoolStats_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferPoolStats" + Buffer_CreateBufferProfile_FullMethodName = "/lemming.dataplane.sai.Buffer/CreateBufferProfile" + Buffer_RemoveBufferProfile_FullMethodName = "/lemming.dataplane.sai.Buffer/RemoveBufferProfile" + Buffer_SetBufferProfileAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/SetBufferProfileAttribute" + Buffer_GetBufferProfileAttribute_FullMethodName = "/lemming.dataplane.sai.Buffer/GetBufferProfileAttribute" ) // BufferClient is the client API for Buffer service. @@ -44,11 +39,6 @@ type BufferClient interface { SetBufferPoolAttribute(ctx context.Context, in *SetBufferPoolAttributeRequest, opts ...grpc.CallOption) (*SetBufferPoolAttributeResponse, error) GetBufferPoolAttribute(ctx context.Context, in *GetBufferPoolAttributeRequest, opts ...grpc.CallOption) (*GetBufferPoolAttributeResponse, error) GetBufferPoolStats(ctx context.Context, in *GetBufferPoolStatsRequest, opts ...grpc.CallOption) (*GetBufferPoolStatsResponse, error) - CreateIngressPriorityGroup(ctx context.Context, in *CreateIngressPriorityGroupRequest, opts ...grpc.CallOption) (*CreateIngressPriorityGroupResponse, error) - RemoveIngressPriorityGroup(ctx context.Context, in *RemoveIngressPriorityGroupRequest, opts ...grpc.CallOption) (*RemoveIngressPriorityGroupResponse, error) - SetIngressPriorityGroupAttribute(ctx context.Context, in *SetIngressPriorityGroupAttributeRequest, opts ...grpc.CallOption) (*SetIngressPriorityGroupAttributeResponse, error) - GetIngressPriorityGroupAttribute(ctx context.Context, in *GetIngressPriorityGroupAttributeRequest, opts ...grpc.CallOption) (*GetIngressPriorityGroupAttributeResponse, error) - GetIngressPriorityGroupStats(ctx context.Context, in *GetIngressPriorityGroupStatsRequest, opts ...grpc.CallOption) (*GetIngressPriorityGroupStatsResponse, error) CreateBufferProfile(ctx context.Context, in *CreateBufferProfileRequest, opts ...grpc.CallOption) (*CreateBufferProfileResponse, error) RemoveBufferProfile(ctx context.Context, in *RemoveBufferProfileRequest, opts ...grpc.CallOption) (*RemoveBufferProfileResponse, error) SetBufferProfileAttribute(ctx context.Context, in *SetBufferProfileAttributeRequest, opts ...grpc.CallOption) (*SetBufferProfileAttributeResponse, error) @@ -113,56 +103,6 @@ func (c *bufferClient) GetBufferPoolStats(ctx context.Context, in *GetBufferPool return out, nil } -func (c *bufferClient) CreateIngressPriorityGroup(ctx context.Context, in *CreateIngressPriorityGroupRequest, opts ...grpc.CallOption) (*CreateIngressPriorityGroupResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateIngressPriorityGroupResponse) - err := c.cc.Invoke(ctx, Buffer_CreateIngressPriorityGroup_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bufferClient) RemoveIngressPriorityGroup(ctx context.Context, in *RemoveIngressPriorityGroupRequest, opts ...grpc.CallOption) (*RemoveIngressPriorityGroupResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveIngressPriorityGroupResponse) - err := c.cc.Invoke(ctx, Buffer_RemoveIngressPriorityGroup_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bufferClient) SetIngressPriorityGroupAttribute(ctx context.Context, in *SetIngressPriorityGroupAttributeRequest, opts ...grpc.CallOption) (*SetIngressPriorityGroupAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetIngressPriorityGroupAttributeResponse) - err := c.cc.Invoke(ctx, Buffer_SetIngressPriorityGroupAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bufferClient) GetIngressPriorityGroupAttribute(ctx context.Context, in *GetIngressPriorityGroupAttributeRequest, opts ...grpc.CallOption) (*GetIngressPriorityGroupAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetIngressPriorityGroupAttributeResponse) - err := c.cc.Invoke(ctx, Buffer_GetIngressPriorityGroupAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *bufferClient) GetIngressPriorityGroupStats(ctx context.Context, in *GetIngressPriorityGroupStatsRequest, opts ...grpc.CallOption) (*GetIngressPriorityGroupStatsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetIngressPriorityGroupStatsResponse) - err := c.cc.Invoke(ctx, Buffer_GetIngressPriorityGroupStats_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *bufferClient) CreateBufferProfile(ctx context.Context, in *CreateBufferProfileRequest, opts ...grpc.CallOption) (*CreateBufferProfileResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateBufferProfileResponse) @@ -212,11 +152,6 @@ type BufferServer interface { SetBufferPoolAttribute(context.Context, *SetBufferPoolAttributeRequest) (*SetBufferPoolAttributeResponse, error) GetBufferPoolAttribute(context.Context, *GetBufferPoolAttributeRequest) (*GetBufferPoolAttributeResponse, error) GetBufferPoolStats(context.Context, *GetBufferPoolStatsRequest) (*GetBufferPoolStatsResponse, error) - CreateIngressPriorityGroup(context.Context, *CreateIngressPriorityGroupRequest) (*CreateIngressPriorityGroupResponse, error) - RemoveIngressPriorityGroup(context.Context, *RemoveIngressPriorityGroupRequest) (*RemoveIngressPriorityGroupResponse, error) - SetIngressPriorityGroupAttribute(context.Context, *SetIngressPriorityGroupAttributeRequest) (*SetIngressPriorityGroupAttributeResponse, error) - GetIngressPriorityGroupAttribute(context.Context, *GetIngressPriorityGroupAttributeRequest) (*GetIngressPriorityGroupAttributeResponse, error) - GetIngressPriorityGroupStats(context.Context, *GetIngressPriorityGroupStatsRequest) (*GetIngressPriorityGroupStatsResponse, error) CreateBufferProfile(context.Context, *CreateBufferProfileRequest) (*CreateBufferProfileResponse, error) RemoveBufferProfile(context.Context, *RemoveBufferProfileRequest) (*RemoveBufferProfileResponse, error) SetBufferProfileAttribute(context.Context, *SetBufferProfileAttributeRequest) (*SetBufferProfileAttributeResponse, error) @@ -245,21 +180,6 @@ func (UnimplementedBufferServer) GetBufferPoolAttribute(context.Context, *GetBuf func (UnimplementedBufferServer) GetBufferPoolStats(context.Context, *GetBufferPoolStatsRequest) (*GetBufferPoolStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBufferPoolStats not implemented") } -func (UnimplementedBufferServer) CreateIngressPriorityGroup(context.Context, *CreateIngressPriorityGroupRequest) (*CreateIngressPriorityGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIngressPriorityGroup not implemented") -} -func (UnimplementedBufferServer) RemoveIngressPriorityGroup(context.Context, *RemoveIngressPriorityGroupRequest) (*RemoveIngressPriorityGroupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveIngressPriorityGroup not implemented") -} -func (UnimplementedBufferServer) SetIngressPriorityGroupAttribute(context.Context, *SetIngressPriorityGroupAttributeRequest) (*SetIngressPriorityGroupAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetIngressPriorityGroupAttribute not implemented") -} -func (UnimplementedBufferServer) GetIngressPriorityGroupAttribute(context.Context, *GetIngressPriorityGroupAttributeRequest) (*GetIngressPriorityGroupAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIngressPriorityGroupAttribute not implemented") -} -func (UnimplementedBufferServer) GetIngressPriorityGroupStats(context.Context, *GetIngressPriorityGroupStatsRequest) (*GetIngressPriorityGroupStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIngressPriorityGroupStats not implemented") -} func (UnimplementedBufferServer) CreateBufferProfile(context.Context, *CreateBufferProfileRequest) (*CreateBufferProfileResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateBufferProfile not implemented") } @@ -382,96 +302,6 @@ func _Buffer_GetBufferPoolStats_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -func _Buffer_CreateIngressPriorityGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateIngressPriorityGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BufferServer).CreateIngressPriorityGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Buffer_CreateIngressPriorityGroup_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BufferServer).CreateIngressPriorityGroup(ctx, req.(*CreateIngressPriorityGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Buffer_RemoveIngressPriorityGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveIngressPriorityGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BufferServer).RemoveIngressPriorityGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Buffer_RemoveIngressPriorityGroup_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BufferServer).RemoveIngressPriorityGroup(ctx, req.(*RemoveIngressPriorityGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Buffer_SetIngressPriorityGroupAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetIngressPriorityGroupAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BufferServer).SetIngressPriorityGroupAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Buffer_SetIngressPriorityGroupAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BufferServer).SetIngressPriorityGroupAttribute(ctx, req.(*SetIngressPriorityGroupAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Buffer_GetIngressPriorityGroupAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIngressPriorityGroupAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BufferServer).GetIngressPriorityGroupAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Buffer_GetIngressPriorityGroupAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BufferServer).GetIngressPriorityGroupAttribute(ctx, req.(*GetIngressPriorityGroupAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Buffer_GetIngressPriorityGroupStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIngressPriorityGroupStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BufferServer).GetIngressPriorityGroupStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Buffer_GetIngressPriorityGroupStats_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BufferServer).GetIngressPriorityGroupStats(ctx, req.(*GetIngressPriorityGroupStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _Buffer_CreateBufferProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateBufferProfileRequest) if err := dec(in); err != nil { @@ -571,26 +401,6 @@ var Buffer_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetBufferPoolStats", Handler: _Buffer_GetBufferPoolStats_Handler, }, - { - MethodName: "CreateIngressPriorityGroup", - Handler: _Buffer_CreateIngressPriorityGroup_Handler, - }, - { - MethodName: "RemoveIngressPriorityGroup", - Handler: _Buffer_RemoveIngressPriorityGroup_Handler, - }, - { - MethodName: "SetIngressPriorityGroupAttribute", - Handler: _Buffer_SetIngressPriorityGroupAttribute_Handler, - }, - { - MethodName: "GetIngressPriorityGroupAttribute", - Handler: _Buffer_GetIngressPriorityGroupAttribute_Handler, - }, - { - MethodName: "GetIngressPriorityGroupStats", - Handler: _Buffer_GetIngressPriorityGroupStats_Handler, - }, { MethodName: "CreateBufferProfile", Handler: _Buffer_CreateBufferProfile_Handler, diff --git a/dataplane/proto/sai/common.pb.go b/dataplane/proto/sai/common.pb.go index 13610db8..4d280529 100644 --- a/dataplane/proto/sai/common.pb.go +++ b/dataplane/proto/sai/common.pb.go @@ -854,308 +854,6 @@ func (AclTableSupportedMatchType) EnumDescriptor() ([]byte, []int) { return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{11} } -type ApiExtensions int32 - -const ( - ApiExtensions_API_EXTENSIONS_UNSPECIFIED ApiExtensions = 0 - ApiExtensions_API_EXTENSIONS_RANGE_START ApiExtensions = 536870913 - ApiExtensions_API_BMTOR ApiExtensions = 536870913 - ApiExtensions_API_DASH_ACL ApiExtensions = 536870914 - ApiExtensions_API_DASH_DIRECTION_LOOKUP ApiExtensions = 536870915 - ApiExtensions_API_DASH_ENI ApiExtensions = 536870916 - ApiExtensions_API_DASH_INBOUND_ROUTING ApiExtensions = 536870917 - ApiExtensions_API_DASH_METER ApiExtensions = 536870918 - ApiExtensions_API_DASH_OUTBOUND_CA_TO_PA ApiExtensions = 536870919 - ApiExtensions_API_DASH_OUTBOUND_ROUTING ApiExtensions = 536870920 - ApiExtensions_API_DASH_VNET ApiExtensions = 536870921 - ApiExtensions_API_DASH_PA_VALIDATION ApiExtensions = 536870922 - ApiExtensions_API_DASH_VIP ApiExtensions = 536870923 - ApiExtensions_API_DASH_HA ApiExtensions = 536870924 - ApiExtensions_API_DASH_TUNNEL ApiExtensions = 536870925 - ApiExtensions_API_DASH_FLOW ApiExtensions = 536870926 - ApiExtensions_API_DASH_APPLIANCE ApiExtensions = 536870927 - ApiExtensions_API_EXTENSIONS_RANGE_END ApiExtensions = 536870928 -) - -// Enum value maps for ApiExtensions. -var ( - ApiExtensions_name = map[int32]string{ - 0: "API_EXTENSIONS_UNSPECIFIED", - 536870913: "API_EXTENSIONS_RANGE_START", - // Duplicate value: 536870913: "API_BMTOR", - 536870914: "API_DASH_ACL", - 536870915: "API_DASH_DIRECTION_LOOKUP", - 536870916: "API_DASH_ENI", - 536870917: "API_DASH_INBOUND_ROUTING", - 536870918: "API_DASH_METER", - 536870919: "API_DASH_OUTBOUND_CA_TO_PA", - 536870920: "API_DASH_OUTBOUND_ROUTING", - 536870921: "API_DASH_VNET", - 536870922: "API_DASH_PA_VALIDATION", - 536870923: "API_DASH_VIP", - 536870924: "API_DASH_HA", - 536870925: "API_DASH_TUNNEL", - 536870926: "API_DASH_FLOW", - 536870927: "API_DASH_APPLIANCE", - 536870928: "API_EXTENSIONS_RANGE_END", - } - ApiExtensions_value = map[string]int32{ - "API_EXTENSIONS_UNSPECIFIED": 0, - "API_EXTENSIONS_RANGE_START": 536870913, - "API_BMTOR": 536870913, - "API_DASH_ACL": 536870914, - "API_DASH_DIRECTION_LOOKUP": 536870915, - "API_DASH_ENI": 536870916, - "API_DASH_INBOUND_ROUTING": 536870917, - "API_DASH_METER": 536870918, - "API_DASH_OUTBOUND_CA_TO_PA": 536870919, - "API_DASH_OUTBOUND_ROUTING": 536870920, - "API_DASH_VNET": 536870921, - "API_DASH_PA_VALIDATION": 536870922, - "API_DASH_VIP": 536870923, - "API_DASH_HA": 536870924, - "API_DASH_TUNNEL": 536870925, - "API_DASH_FLOW": 536870926, - "API_DASH_APPLIANCE": 536870927, - "API_EXTENSIONS_RANGE_END": 536870928, - } -) - -func (x ApiExtensions) Enum() *ApiExtensions { - p := new(ApiExtensions) - *p = x - return p -} - -func (x ApiExtensions) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ApiExtensions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[12].Descriptor() -} - -func (ApiExtensions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[12] -} - -func (x ApiExtensions) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ApiExtensions.Descriptor instead. -func (ApiExtensions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{12} -} - -type Api int32 - -const ( - Api_API_UNSPECIFIED Api = 0 - Api_API_SAI_UNSPECIFIED Api = 1 - Api_API_SWITCH Api = 2 - Api_API_PORT Api = 3 - Api_API_FDB Api = 4 - Api_API_VLAN Api = 5 - Api_API_VIRTUAL_ROUTER Api = 6 - Api_API_ROUTE Api = 7 - Api_API_NEXT_HOP Api = 8 - Api_API_NEXT_HOP_GROUP Api = 9 - Api_API_ROUTER_INTERFACE Api = 10 - Api_API_NEIGHBOR Api = 11 - Api_API_ACL Api = 12 - Api_API_HOSTIF Api = 13 - Api_API_MIRROR Api = 14 - Api_API_SAMPLEPACKET Api = 15 - Api_API_STP Api = 16 - Api_API_LAG Api = 17 - Api_API_POLICER Api = 18 - Api_API_WRED Api = 19 - Api_API_QOS_MAP Api = 20 - Api_API_QUEUE Api = 21 - Api_API_SCHEDULER Api = 22 - Api_API_SCHEDULER_GROUP Api = 23 - Api_API_BUFFER Api = 24 - Api_API_HASH Api = 25 - Api_API_UDF Api = 26 - Api_API_TUNNEL Api = 27 - Api_API_L2MC Api = 28 - Api_API_IPMC Api = 29 - Api_API_RPF_GROUP Api = 30 - Api_API_L2MC_GROUP Api = 31 - Api_API_IPMC_GROUP Api = 32 - Api_API_MCAST_FDB Api = 33 - Api_API_BRIDGE Api = 34 - Api_API_TAM Api = 35 - Api_API_SRV6 Api = 36 - Api_API_MPLS Api = 37 - Api_API_DTEL Api = 38 - Api_API_BFD Api = 39 - Api_API_ISOLATION_GROUP Api = 40 - Api_API_NAT Api = 41 - Api_API_COUNTER Api = 42 - Api_API_DEBUG_COUNTER Api = 43 - Api_API_MACSEC Api = 44 - Api_API_SYSTEM_PORT Api = 45 - Api_API_MY_MAC Api = 46 - Api_API_IPSEC Api = 47 - Api_API_GENERIC_PROGRAMMABLE Api = 48 - Api_API_ARS Api = 49 - Api_API_ARS_PROFILE Api = 50 - Api_API_TWAMP Api = 51 - Api_API_POE Api = 52 - Api_API_ICMP_ECHO Api = 53 - Api_API_MAX Api = 54 - Api_API_EXTENSIONS_RANGE_BASE Api = 536870913 -) - -// Enum value maps for Api. -var ( - Api_name = map[int32]string{ - 0: "API_UNSPECIFIED", - 1: "API_SAI_UNSPECIFIED", - 2: "API_SWITCH", - 3: "API_PORT", - 4: "API_FDB", - 5: "API_VLAN", - 6: "API_VIRTUAL_ROUTER", - 7: "API_ROUTE", - 8: "API_NEXT_HOP", - 9: "API_NEXT_HOP_GROUP", - 10: "API_ROUTER_INTERFACE", - 11: "API_NEIGHBOR", - 12: "API_ACL", - 13: "API_HOSTIF", - 14: "API_MIRROR", - 15: "API_SAMPLEPACKET", - 16: "API_STP", - 17: "API_LAG", - 18: "API_POLICER", - 19: "API_WRED", - 20: "API_QOS_MAP", - 21: "API_QUEUE", - 22: "API_SCHEDULER", - 23: "API_SCHEDULER_GROUP", - 24: "API_BUFFER", - 25: "API_HASH", - 26: "API_UDF", - 27: "API_TUNNEL", - 28: "API_L2MC", - 29: "API_IPMC", - 30: "API_RPF_GROUP", - 31: "API_L2MC_GROUP", - 32: "API_IPMC_GROUP", - 33: "API_MCAST_FDB", - 34: "API_BRIDGE", - 35: "API_TAM", - 36: "API_SRV6", - 37: "API_MPLS", - 38: "API_DTEL", - 39: "API_BFD", - 40: "API_ISOLATION_GROUP", - 41: "API_NAT", - 42: "API_COUNTER", - 43: "API_DEBUG_COUNTER", - 44: "API_MACSEC", - 45: "API_SYSTEM_PORT", - 46: "API_MY_MAC", - 47: "API_IPSEC", - 48: "API_GENERIC_PROGRAMMABLE", - 49: "API_ARS", - 50: "API_ARS_PROFILE", - 51: "API_TWAMP", - 52: "API_POE", - 53: "API_ICMP_ECHO", - 54: "API_MAX", - 536870913: "API_EXTENSIONS_RANGE_BASE", - } - Api_value = map[string]int32{ - "API_UNSPECIFIED": 0, - "API_SAI_UNSPECIFIED": 1, - "API_SWITCH": 2, - "API_PORT": 3, - "API_FDB": 4, - "API_VLAN": 5, - "API_VIRTUAL_ROUTER": 6, - "API_ROUTE": 7, - "API_NEXT_HOP": 8, - "API_NEXT_HOP_GROUP": 9, - "API_ROUTER_INTERFACE": 10, - "API_NEIGHBOR": 11, - "API_ACL": 12, - "API_HOSTIF": 13, - "API_MIRROR": 14, - "API_SAMPLEPACKET": 15, - "API_STP": 16, - "API_LAG": 17, - "API_POLICER": 18, - "API_WRED": 19, - "API_QOS_MAP": 20, - "API_QUEUE": 21, - "API_SCHEDULER": 22, - "API_SCHEDULER_GROUP": 23, - "API_BUFFER": 24, - "API_HASH": 25, - "API_UDF": 26, - "API_TUNNEL": 27, - "API_L2MC": 28, - "API_IPMC": 29, - "API_RPF_GROUP": 30, - "API_L2MC_GROUP": 31, - "API_IPMC_GROUP": 32, - "API_MCAST_FDB": 33, - "API_BRIDGE": 34, - "API_TAM": 35, - "API_SRV6": 36, - "API_MPLS": 37, - "API_DTEL": 38, - "API_BFD": 39, - "API_ISOLATION_GROUP": 40, - "API_NAT": 41, - "API_COUNTER": 42, - "API_DEBUG_COUNTER": 43, - "API_MACSEC": 44, - "API_SYSTEM_PORT": 45, - "API_MY_MAC": 46, - "API_IPSEC": 47, - "API_GENERIC_PROGRAMMABLE": 48, - "API_ARS": 49, - "API_ARS_PROFILE": 50, - "API_TWAMP": 51, - "API_POE": 52, - "API_ICMP_ECHO": 53, - "API_MAX": 54, - "API_EXTENSIONS_RANGE_BASE": 536870913, - } -) - -func (x Api) Enum() *Api { - p := new(Api) - *p = x - return p -} - -func (x Api) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (Api) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[13].Descriptor() -} - -func (Api) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[13] -} - -func (x Api) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use Api.Descriptor instead. -func (Api) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{13} -} - type BfdEncapsulationType int32 const ( @@ -1195,11 +893,11 @@ func (x BfdEncapsulationType) String() string { } func (BfdEncapsulationType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[14].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[12].Descriptor() } func (BfdEncapsulationType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[14] + return &file_dataplane_proto_sai_common_proto_enumTypes[12] } func (x BfdEncapsulationType) Number() protoreflect.EnumNumber { @@ -1208,7 +906,7 @@ func (x BfdEncapsulationType) Number() protoreflect.EnumNumber { // Deprecated: Use BfdEncapsulationType.Descriptor instead. func (BfdEncapsulationType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{14} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{12} } type BfdSessionOffloadType int32 @@ -1247,11 +945,11 @@ func (x BfdSessionOffloadType) String() string { } func (BfdSessionOffloadType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[15].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[13].Descriptor() } func (BfdSessionOffloadType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[15] + return &file_dataplane_proto_sai_common_proto_enumTypes[13] } func (x BfdSessionOffloadType) Number() protoreflect.EnumNumber { @@ -1260,7 +958,7 @@ func (x BfdSessionOffloadType) Number() protoreflect.EnumNumber { // Deprecated: Use BfdSessionOffloadType.Descriptor instead. func (BfdSessionOffloadType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{15} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{13} } type BfdSessionStat int32 @@ -1299,11 +997,11 @@ func (x BfdSessionStat) String() string { } func (BfdSessionStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[16].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[14].Descriptor() } func (BfdSessionStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[16] + return &file_dataplane_proto_sai_common_proto_enumTypes[14] } func (x BfdSessionStat) Number() protoreflect.EnumNumber { @@ -1312,7 +1010,7 @@ func (x BfdSessionStat) Number() protoreflect.EnumNumber { // Deprecated: Use BfdSessionStat.Descriptor instead. func (BfdSessionStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{16} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{14} } type BfdSessionState int32 @@ -1354,11 +1052,11 @@ func (x BfdSessionState) String() string { } func (BfdSessionState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[17].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[15].Descriptor() } func (BfdSessionState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[17] + return &file_dataplane_proto_sai_common_proto_enumTypes[15] } func (x BfdSessionState) Number() protoreflect.EnumNumber { @@ -1367,7 +1065,7 @@ func (x BfdSessionState) Number() protoreflect.EnumNumber { // Deprecated: Use BfdSessionState.Descriptor instead. func (BfdSessionState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{17} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{15} } type BfdSessionType int32 @@ -1409,11 +1107,11 @@ func (x BfdSessionType) String() string { } func (BfdSessionType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[18].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[16].Descriptor() } func (BfdSessionType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[18] + return &file_dataplane_proto_sai_common_proto_enumTypes[16] } func (x BfdSessionType) Number() protoreflect.EnumNumber { @@ -1422,7 +1120,7 @@ func (x BfdSessionType) Number() protoreflect.EnumNumber { // Deprecated: Use BfdSessionType.Descriptor instead. func (BfdSessionType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{18} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{16} } type BridgeFloodControlType int32 @@ -1464,11 +1162,11 @@ func (x BridgeFloodControlType) String() string { } func (BridgeFloodControlType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[19].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[17].Descriptor() } func (BridgeFloodControlType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[19] + return &file_dataplane_proto_sai_common_proto_enumTypes[17] } func (x BridgeFloodControlType) Number() protoreflect.EnumNumber { @@ -1477,7 +1175,7 @@ func (x BridgeFloodControlType) Number() protoreflect.EnumNumber { // Deprecated: Use BridgeFloodControlType.Descriptor instead. func (BridgeFloodControlType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{19} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{17} } type BridgePortFdbLearningMode int32 @@ -1525,11 +1223,11 @@ func (x BridgePortFdbLearningMode) String() string { } func (BridgePortFdbLearningMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[20].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[18].Descriptor() } func (BridgePortFdbLearningMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[20] + return &file_dataplane_proto_sai_common_proto_enumTypes[18] } func (x BridgePortFdbLearningMode) Number() protoreflect.EnumNumber { @@ -1538,7 +1236,7 @@ func (x BridgePortFdbLearningMode) Number() protoreflect.EnumNumber { // Deprecated: Use BridgePortFdbLearningMode.Descriptor instead. func (BridgePortFdbLearningMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{20} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{18} } type BridgePortStat int32 @@ -1580,11 +1278,11 @@ func (x BridgePortStat) String() string { } func (BridgePortStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[21].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[19].Descriptor() } func (BridgePortStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[21] + return &file_dataplane_proto_sai_common_proto_enumTypes[19] } func (x BridgePortStat) Number() protoreflect.EnumNumber { @@ -1593,7 +1291,7 @@ func (x BridgePortStat) Number() protoreflect.EnumNumber { // Deprecated: Use BridgePortStat.Descriptor instead. func (BridgePortStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{21} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{19} } type BridgePortTaggingMode int32 @@ -1629,11 +1327,11 @@ func (x BridgePortTaggingMode) String() string { } func (BridgePortTaggingMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[22].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[20].Descriptor() } func (BridgePortTaggingMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[22] + return &file_dataplane_proto_sai_common_proto_enumTypes[20] } func (x BridgePortTaggingMode) Number() protoreflect.EnumNumber { @@ -1642,7 +1340,7 @@ func (x BridgePortTaggingMode) Number() protoreflect.EnumNumber { // Deprecated: Use BridgePortTaggingMode.Descriptor instead. func (BridgePortTaggingMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{22} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{20} } type BridgePortType int32 @@ -1687,11 +1385,11 @@ func (x BridgePortType) String() string { } func (BridgePortType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[23].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[21].Descriptor() } func (BridgePortType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[23] + return &file_dataplane_proto_sai_common_proto_enumTypes[21] } func (x BridgePortType) Number() protoreflect.EnumNumber { @@ -1700,7 +1398,7 @@ func (x BridgePortType) Number() protoreflect.EnumNumber { // Deprecated: Use BridgePortType.Descriptor instead. func (BridgePortType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{23} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{21} } type BridgeStat int32 @@ -1742,11 +1440,11 @@ func (x BridgeStat) String() string { } func (BridgeStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[24].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[22].Descriptor() } func (BridgeStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[24] + return &file_dataplane_proto_sai_common_proto_enumTypes[22] } func (x BridgeStat) Number() protoreflect.EnumNumber { @@ -1755,7 +1453,7 @@ func (x BridgeStat) Number() protoreflect.EnumNumber { // Deprecated: Use BridgeStat.Descriptor instead. func (BridgeStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{24} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{22} } type BridgeType int32 @@ -1791,11 +1489,11 @@ func (x BridgeType) String() string { } func (BridgeType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[25].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[23].Descriptor() } func (BridgeType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[25] + return &file_dataplane_proto_sai_common_proto_enumTypes[23] } func (x BridgeType) Number() protoreflect.EnumNumber { @@ -1804,7 +1502,7 @@ func (x BridgeType) Number() protoreflect.EnumNumber { // Deprecated: Use BridgeType.Descriptor instead. func (BridgeType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{25} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{23} } type BufferPoolStat int32 @@ -1900,11 +1598,11 @@ func (x BufferPoolStat) String() string { } func (BufferPoolStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[26].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[24].Descriptor() } func (BufferPoolStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[26] + return &file_dataplane_proto_sai_common_proto_enumTypes[24] } func (x BufferPoolStat) Number() protoreflect.EnumNumber { @@ -1913,7 +1611,7 @@ func (x BufferPoolStat) Number() protoreflect.EnumNumber { // Deprecated: Use BufferPoolStat.Descriptor instead. func (BufferPoolStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{26} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{24} } type BufferPoolThresholdMode int32 @@ -1949,11 +1647,11 @@ func (x BufferPoolThresholdMode) String() string { } func (BufferPoolThresholdMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[27].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[25].Descriptor() } func (BufferPoolThresholdMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[27] + return &file_dataplane_proto_sai_common_proto_enumTypes[25] } func (x BufferPoolThresholdMode) Number() protoreflect.EnumNumber { @@ -1962,7 +1660,7 @@ func (x BufferPoolThresholdMode) Number() protoreflect.EnumNumber { // Deprecated: Use BufferPoolThresholdMode.Descriptor instead. func (BufferPoolThresholdMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{27} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{25} } type BufferPoolType int32 @@ -2001,11 +1699,11 @@ func (x BufferPoolType) String() string { } func (BufferPoolType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[28].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[26].Descriptor() } func (BufferPoolType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[28] + return &file_dataplane_proto_sai_common_proto_enumTypes[26] } func (x BufferPoolType) Number() protoreflect.EnumNumber { @@ -2014,7 +1712,7 @@ func (x BufferPoolType) Number() protoreflect.EnumNumber { // Deprecated: Use BufferPoolType.Descriptor instead. func (BufferPoolType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{28} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{26} } type BufferProfileThresholdMode int32 @@ -2050,11 +1748,11 @@ func (x BufferProfileThresholdMode) String() string { } func (BufferProfileThresholdMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[29].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[27].Descriptor() } func (BufferProfileThresholdMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[29] + return &file_dataplane_proto_sai_common_proto_enumTypes[27] } func (x BufferProfileThresholdMode) Number() protoreflect.EnumNumber { @@ -2063,7 +1761,7 @@ func (x BufferProfileThresholdMode) Number() protoreflect.EnumNumber { // Deprecated: Use BufferProfileThresholdMode.Descriptor instead. func (BufferProfileThresholdMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{29} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{27} } type BulkOpErrorMode int32 @@ -2099,11 +1797,11 @@ func (x BulkOpErrorMode) String() string { } func (BulkOpErrorMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[30].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[28].Descriptor() } func (BulkOpErrorMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[30] + return &file_dataplane_proto_sai_common_proto_enumTypes[28] } func (x BulkOpErrorMode) Number() protoreflect.EnumNumber { @@ -2112,7 +1810,7 @@ func (x BulkOpErrorMode) Number() protoreflect.EnumNumber { // Deprecated: Use BulkOpErrorMode.Descriptor instead. func (BulkOpErrorMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{30} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{28} } type CommonApi int32 @@ -2169,11 +1867,11 @@ func (x CommonApi) String() string { } func (CommonApi) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[31].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[29].Descriptor() } func (CommonApi) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[31] + return &file_dataplane_proto_sai_common_proto_enumTypes[29] } func (x CommonApi) Number() protoreflect.EnumNumber { @@ -2182,7 +1880,7 @@ func (x CommonApi) Number() protoreflect.EnumNumber { // Deprecated: Use CommonApi.Descriptor instead. func (CommonApi) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{31} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{29} } type CounterStat int32 @@ -2221,11 +1919,11 @@ func (x CounterStat) String() string { } func (CounterStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[32].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[30].Descriptor() } func (CounterStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[32] + return &file_dataplane_proto_sai_common_proto_enumTypes[30] } func (x CounterStat) Number() protoreflect.EnumNumber { @@ -2234,7 +1932,7 @@ func (x CounterStat) Number() protoreflect.EnumNumber { // Deprecated: Use CounterStat.Descriptor instead. func (CounterStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{32} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{30} } type CounterType int32 @@ -2270,11 +1968,11 @@ func (x CounterType) String() string { } func (CounterType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[33].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[31].Descriptor() } func (CounterType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[33] + return &file_dataplane_proto_sai_common_proto_enumTypes[31] } func (x CounterType) Number() protoreflect.EnumNumber { @@ -2283,7 +1981,7 @@ func (x CounterType) Number() protoreflect.EnumNumber { // Deprecated: Use CounterType.Descriptor instead. func (CounterType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{33} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{31} } type DashCapsHaScopeLevel int32 @@ -2319,11 +2017,11 @@ func (x DashCapsHaScopeLevel) String() string { } func (DashCapsHaScopeLevel) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[34].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[32].Descriptor() } func (DashCapsHaScopeLevel) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[34] + return &file_dataplane_proto_sai_common_proto_enumTypes[32] } func (x DashCapsHaScopeLevel) Number() protoreflect.EnumNumber { @@ -2332,706 +2030,7 @@ func (x DashCapsHaScopeLevel) Number() protoreflect.EnumNumber { // Deprecated: Use DashCapsHaScopeLevel.Descriptor instead. func (DashCapsHaScopeLevel) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{34} -} - -type DashDirection int32 - -const ( - DashDirection_DASH_DIRECTION_UNSPECIFIED DashDirection = 0 - DashDirection_DASH_DIRECTION_INVALID DashDirection = 1 - DashDirection_DASH_DIRECTION_OUTBOUND DashDirection = 2 - DashDirection_DASH_DIRECTION_INBOUND DashDirection = 3 -) - -// Enum value maps for DashDirection. -var ( - DashDirection_name = map[int32]string{ - 0: "DASH_DIRECTION_UNSPECIFIED", - 1: "DASH_DIRECTION_INVALID", - 2: "DASH_DIRECTION_OUTBOUND", - 3: "DASH_DIRECTION_INBOUND", - } - DashDirection_value = map[string]int32{ - "DASH_DIRECTION_UNSPECIFIED": 0, - "DASH_DIRECTION_INVALID": 1, - "DASH_DIRECTION_OUTBOUND": 2, - "DASH_DIRECTION_INBOUND": 3, - } -) - -func (x DashDirection) Enum() *DashDirection { - p := new(DashDirection) - *p = x - return p -} - -func (x DashDirection) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashDirection) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[35].Descriptor() -} - -func (DashDirection) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[35] -} - -func (x DashDirection) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashDirection.Descriptor instead. -func (DashDirection) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{35} -} - -type DashEncapsulation int32 - -const ( - DashEncapsulation_DASH_ENCAPSULATION_UNSPECIFIED DashEncapsulation = 0 - DashEncapsulation_DASH_ENCAPSULATION_INVALID DashEncapsulation = 1 - DashEncapsulation_DASH_ENCAPSULATION_VXLAN DashEncapsulation = 2 - DashEncapsulation_DASH_ENCAPSULATION_NVGRE DashEncapsulation = 3 -) - -// Enum value maps for DashEncapsulation. -var ( - DashEncapsulation_name = map[int32]string{ - 0: "DASH_ENCAPSULATION_UNSPECIFIED", - 1: "DASH_ENCAPSULATION_INVALID", - 2: "DASH_ENCAPSULATION_VXLAN", - 3: "DASH_ENCAPSULATION_NVGRE", - } - DashEncapsulation_value = map[string]int32{ - "DASH_ENCAPSULATION_UNSPECIFIED": 0, - "DASH_ENCAPSULATION_INVALID": 1, - "DASH_ENCAPSULATION_VXLAN": 2, - "DASH_ENCAPSULATION_NVGRE": 3, - } -) - -func (x DashEncapsulation) Enum() *DashEncapsulation { - p := new(DashEncapsulation) - *p = x - return p -} - -func (x DashEncapsulation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashEncapsulation) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[36].Descriptor() -} - -func (DashEncapsulation) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[36] -} - -func (x DashEncapsulation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashEncapsulation.Descriptor instead. -func (DashEncapsulation) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{36} -} - -type DashEniMacOverrideType int32 - -const ( - DashEniMacOverrideType_DASH_ENI_MAC_OVERRIDE_TYPE_UNSPECIFIED DashEniMacOverrideType = 0 - DashEniMacOverrideType_DASH_ENI_MAC_OVERRIDE_TYPE_NONE DashEniMacOverrideType = 1 - DashEniMacOverrideType_DASH_ENI_MAC_OVERRIDE_TYPE_SRC_MAC DashEniMacOverrideType = 2 - DashEniMacOverrideType_DASH_ENI_MAC_OVERRIDE_TYPE_DST_MAC DashEniMacOverrideType = 3 -) - -// Enum value maps for DashEniMacOverrideType. -var ( - DashEniMacOverrideType_name = map[int32]string{ - 0: "DASH_ENI_MAC_OVERRIDE_TYPE_UNSPECIFIED", - 1: "DASH_ENI_MAC_OVERRIDE_TYPE_NONE", - 2: "DASH_ENI_MAC_OVERRIDE_TYPE_SRC_MAC", - 3: "DASH_ENI_MAC_OVERRIDE_TYPE_DST_MAC", - } - DashEniMacOverrideType_value = map[string]int32{ - "DASH_ENI_MAC_OVERRIDE_TYPE_UNSPECIFIED": 0, - "DASH_ENI_MAC_OVERRIDE_TYPE_NONE": 1, - "DASH_ENI_MAC_OVERRIDE_TYPE_SRC_MAC": 2, - "DASH_ENI_MAC_OVERRIDE_TYPE_DST_MAC": 3, - } -) - -func (x DashEniMacOverrideType) Enum() *DashEniMacOverrideType { - p := new(DashEniMacOverrideType) - *p = x - return p -} - -func (x DashEniMacOverrideType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashEniMacOverrideType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[37].Descriptor() -} - -func (DashEniMacOverrideType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[37] -} - -func (x DashEniMacOverrideType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashEniMacOverrideType.Descriptor instead. -func (DashEniMacOverrideType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{37} -} - -type DashFlowAction int32 - -const ( - DashFlowAction_DASH_FLOW_ACTION_UNSPECIFIED DashFlowAction = 0 - DashFlowAction_DASH_FLOW_ACTION_NONE DashFlowAction = 1 -) - -// Enum value maps for DashFlowAction. -var ( - DashFlowAction_name = map[int32]string{ - 0: "DASH_FLOW_ACTION_UNSPECIFIED", - 1: "DASH_FLOW_ACTION_NONE", - } - DashFlowAction_value = map[string]int32{ - "DASH_FLOW_ACTION_UNSPECIFIED": 0, - "DASH_FLOW_ACTION_NONE": 1, - } -) - -func (x DashFlowAction) Enum() *DashFlowAction { - p := new(DashFlowAction) - *p = x - return p -} - -func (x DashFlowAction) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashFlowAction) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[38].Descriptor() -} - -func (DashFlowAction) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[38] -} - -func (x DashFlowAction) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashFlowAction.Descriptor instead. -func (DashFlowAction) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{38} -} - -type DashFlowEnabledKey int32 - -const ( - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_UNSPECIFIED DashFlowEnabledKey = 0 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_ENI_MAC DashFlowEnabledKey = 2 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_VNI DashFlowEnabledKey = 3 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_PROTOCOL DashFlowEnabledKey = 5 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_SRC_IP DashFlowEnabledKey = 9 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_DST_IP DashFlowEnabledKey = 17 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_SRC_PORT DashFlowEnabledKey = 33 - DashFlowEnabledKey_DASH_FLOW_ENABLED_KEY_DST_PORT DashFlowEnabledKey = 65 -) - -// Enum value maps for DashFlowEnabledKey. -var ( - DashFlowEnabledKey_name = map[int32]string{ - 0: "DASH_FLOW_ENABLED_KEY_UNSPECIFIED", - 2: "DASH_FLOW_ENABLED_KEY_ENI_MAC", - 3: "DASH_FLOW_ENABLED_KEY_VNI", - 5: "DASH_FLOW_ENABLED_KEY_PROTOCOL", - 9: "DASH_FLOW_ENABLED_KEY_SRC_IP", - 17: "DASH_FLOW_ENABLED_KEY_DST_IP", - 33: "DASH_FLOW_ENABLED_KEY_SRC_PORT", - 65: "DASH_FLOW_ENABLED_KEY_DST_PORT", - } - DashFlowEnabledKey_value = map[string]int32{ - "DASH_FLOW_ENABLED_KEY_UNSPECIFIED": 0, - "DASH_FLOW_ENABLED_KEY_ENI_MAC": 2, - "DASH_FLOW_ENABLED_KEY_VNI": 3, - "DASH_FLOW_ENABLED_KEY_PROTOCOL": 5, - "DASH_FLOW_ENABLED_KEY_SRC_IP": 9, - "DASH_FLOW_ENABLED_KEY_DST_IP": 17, - "DASH_FLOW_ENABLED_KEY_SRC_PORT": 33, - "DASH_FLOW_ENABLED_KEY_DST_PORT": 65, - } -) - -func (x DashFlowEnabledKey) Enum() *DashFlowEnabledKey { - p := new(DashFlowEnabledKey) - *p = x - return p -} - -func (x DashFlowEnabledKey) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashFlowEnabledKey) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[39].Descriptor() -} - -func (DashFlowEnabledKey) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[39] -} - -func (x DashFlowEnabledKey) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashFlowEnabledKey.Descriptor instead. -func (DashFlowEnabledKey) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{39} -} - -type DashFlowEntryBulkGetSessionFilterKey int32 - -const ( - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_UNSPECIFIED DashFlowEntryBulkGetSessionFilterKey = 0 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_INVAILD DashFlowEntryBulkGetSessionFilterKey = 1 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_FLOW_TABLE_ID DashFlowEntryBulkGetSessionFilterKey = 2 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_ENI_ADDR DashFlowEntryBulkGetSessionFilterKey = 3 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_IP_PROTOCOL DashFlowEntryBulkGetSessionFilterKey = 4 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_IP_ADDR DashFlowEntryBulkGetSessionFilterKey = 5 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_IP_ADDR DashFlowEntryBulkGetSessionFilterKey = 6 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_L4_PORT DashFlowEntryBulkGetSessionFilterKey = 7 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_L4_PORT DashFlowEntryBulkGetSessionFilterKey = 8 - DashFlowEntryBulkGetSessionFilterKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_KEY_VERSION DashFlowEntryBulkGetSessionFilterKey = 9 -) - -// Enum value maps for DashFlowEntryBulkGetSessionFilterKey. -var ( - DashFlowEntryBulkGetSessionFilterKey_name = map[int32]string{ - 0: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_UNSPECIFIED", - 1: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_INVAILD", - 2: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_FLOW_TABLE_ID", - 3: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_ENI_ADDR", - 4: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_IP_PROTOCOL", - 5: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_IP_ADDR", - 6: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_IP_ADDR", - 7: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_L4_PORT", - 8: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_L4_PORT", - 9: "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_KEY_VERSION", - } - DashFlowEntryBulkGetSessionFilterKey_value = map[string]int32{ - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_UNSPECIFIED": 0, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_INVAILD": 1, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_FLOW_TABLE_ID": 2, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_ENI_ADDR": 3, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_IP_PROTOCOL": 4, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_IP_ADDR": 5, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_IP_ADDR": 6, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_L4_PORT": 7, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_L4_PORT": 8, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_KEY_VERSION": 9, - } -) - -func (x DashFlowEntryBulkGetSessionFilterKey) Enum() *DashFlowEntryBulkGetSessionFilterKey { - p := new(DashFlowEntryBulkGetSessionFilterKey) - *p = x - return p -} - -func (x DashFlowEntryBulkGetSessionFilterKey) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashFlowEntryBulkGetSessionFilterKey) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[40].Descriptor() -} - -func (DashFlowEntryBulkGetSessionFilterKey) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[40] -} - -func (x DashFlowEntryBulkGetSessionFilterKey) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashFlowEntryBulkGetSessionFilterKey.Descriptor instead. -func (DashFlowEntryBulkGetSessionFilterKey) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{40} -} - -type DashFlowEntryBulkGetSessionMode int32 - -const ( - DashFlowEntryBulkGetSessionMode_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_UNSPECIFIED DashFlowEntryBulkGetSessionMode = 0 - DashFlowEntryBulkGetSessionMode_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_GRPC DashFlowEntryBulkGetSessionMode = 1 - DashFlowEntryBulkGetSessionMode_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_VENDOR DashFlowEntryBulkGetSessionMode = 2 - DashFlowEntryBulkGetSessionMode_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT DashFlowEntryBulkGetSessionMode = 3 - DashFlowEntryBulkGetSessionMode_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT_WITHOUT_FLOW_STATE DashFlowEntryBulkGetSessionMode = 4 -) - -// Enum value maps for DashFlowEntryBulkGetSessionMode. -var ( - DashFlowEntryBulkGetSessionMode_name = map[int32]string{ - 0: "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_UNSPECIFIED", - 1: "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_GRPC", - 2: "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_VENDOR", - 3: "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT", - 4: "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT_WITHOUT_FLOW_STATE", - } - DashFlowEntryBulkGetSessionMode_value = map[string]int32{ - "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_UNSPECIFIED": 0, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_GRPC": 1, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_VENDOR": 2, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT": 3, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT_WITHOUT_FLOW_STATE": 4, - } -) - -func (x DashFlowEntryBulkGetSessionMode) Enum() *DashFlowEntryBulkGetSessionMode { - p := new(DashFlowEntryBulkGetSessionMode) - *p = x - return p -} - -func (x DashFlowEntryBulkGetSessionMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashFlowEntryBulkGetSessionMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[41].Descriptor() -} - -func (DashFlowEntryBulkGetSessionMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[41] -} - -func (x DashFlowEntryBulkGetSessionMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashFlowEntryBulkGetSessionMode.Descriptor instead. -func (DashFlowEntryBulkGetSessionMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{41} -} - -type DashFlowEntryBulkGetSessionOpKey int32 - -const ( - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_UNSPECIFIED DashFlowEntryBulkGetSessionOpKey = 0 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_INVALID DashFlowEntryBulkGetSessionOpKey = 1 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_EQUAL_TO DashFlowEntryBulkGetSessionOpKey = 2 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN DashFlowEntryBulkGetSessionOpKey = 3 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN_OR_EQUAL_TO DashFlowEntryBulkGetSessionOpKey = 4 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN DashFlowEntryBulkGetSessionOpKey = 5 - DashFlowEntryBulkGetSessionOpKey_DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN_OR_EQUAL_TO DashFlowEntryBulkGetSessionOpKey = 6 -) - -// Enum value maps for DashFlowEntryBulkGetSessionOpKey. -var ( - DashFlowEntryBulkGetSessionOpKey_name = map[int32]string{ - 0: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_UNSPECIFIED", - 1: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_INVALID", - 2: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_EQUAL_TO", - 3: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN", - 4: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN_OR_EQUAL_TO", - 5: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN", - 6: "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN_OR_EQUAL_TO", - } - DashFlowEntryBulkGetSessionOpKey_value = map[string]int32{ - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_UNSPECIFIED": 0, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_INVALID": 1, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_EQUAL_TO": 2, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN": 3, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN_OR_EQUAL_TO": 4, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN": 5, - "DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN_OR_EQUAL_TO": 6, - } -) - -func (x DashFlowEntryBulkGetSessionOpKey) Enum() *DashFlowEntryBulkGetSessionOpKey { - p := new(DashFlowEntryBulkGetSessionOpKey) - *p = x - return p -} - -func (x DashFlowEntryBulkGetSessionOpKey) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashFlowEntryBulkGetSessionOpKey) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[42].Descriptor() -} - -func (DashFlowEntryBulkGetSessionOpKey) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[42] -} - -func (x DashFlowEntryBulkGetSessionOpKey) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashFlowEntryBulkGetSessionOpKey.Descriptor instead. -func (DashFlowEntryBulkGetSessionOpKey) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{42} -} - -type DashHaRole int32 - -const ( - DashHaRole_DASH_HA_ROLE_UNSPECIFIED DashHaRole = 0 - DashHaRole_DASH_HA_ROLE_DEAD DashHaRole = 1 - DashHaRole_DASH_HA_ROLE_ACTIVE DashHaRole = 2 - DashHaRole_DASH_HA_ROLE_STANDBY DashHaRole = 3 - DashHaRole_DASH_HA_ROLE_STANDALONE DashHaRole = 4 - DashHaRole_DASH_HA_ROLE_SWITCHING_TO_ACTIVE DashHaRole = 5 -) - -// Enum value maps for DashHaRole. -var ( - DashHaRole_name = map[int32]string{ - 0: "DASH_HA_ROLE_UNSPECIFIED", - 1: "DASH_HA_ROLE_DEAD", - 2: "DASH_HA_ROLE_ACTIVE", - 3: "DASH_HA_ROLE_STANDBY", - 4: "DASH_HA_ROLE_STANDALONE", - 5: "DASH_HA_ROLE_SWITCHING_TO_ACTIVE", - } - DashHaRole_value = map[string]int32{ - "DASH_HA_ROLE_UNSPECIFIED": 0, - "DASH_HA_ROLE_DEAD": 1, - "DASH_HA_ROLE_ACTIVE": 2, - "DASH_HA_ROLE_STANDBY": 3, - "DASH_HA_ROLE_STANDALONE": 4, - "DASH_HA_ROLE_SWITCHING_TO_ACTIVE": 5, - } -) - -func (x DashHaRole) Enum() *DashHaRole { - p := new(DashHaRole) - *p = x - return p -} - -func (x DashHaRole) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashHaRole) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[43].Descriptor() -} - -func (DashHaRole) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[43] -} - -func (x DashHaRole) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashHaRole.Descriptor instead. -func (DashHaRole) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{43} -} - -type DashHaState int32 - -const ( - DashHaState_DASH_HA_STATE_UNSPECIFIED DashHaState = 0 - DashHaState_DASH_HA_STATE_DEAD DashHaState = 1 - DashHaState_DASH_HA_STATE_CONNECTING DashHaState = 2 - DashHaState_DASH_HA_STATE_CONNECTED DashHaState = 3 - DashHaState_DASH_HA_STATE_INITIALIZING_TO_ACTIVE DashHaState = 4 - DashHaState_DASH_HA_STATE_INITIALIZING_TO_STANDBY DashHaState = 5 - DashHaState_DASH_HA_STATE_PENDING_STANDALONE_ACTIVATION DashHaState = 6 - DashHaState_DASH_HA_STATE_PENDING_ACTIVE_ACTIVATION DashHaState = 7 - DashHaState_DASH_HA_STATE_PENDING_STANDBY_ACTIVATION DashHaState = 8 - DashHaState_DASH_HA_STATE_STANDALONE DashHaState = 9 - DashHaState_DASH_HA_STATE_ACTIVE DashHaState = 10 - DashHaState_DASH_HA_STATE_STANDBY DashHaState = 11 - DashHaState_DASH_HA_STATE_DESTROYING DashHaState = 12 - DashHaState_DASH_HA_STATE_SWITCHING_TO_STANDALONE DashHaState = 13 -) - -// Enum value maps for DashHaState. -var ( - DashHaState_name = map[int32]string{ - 0: "DASH_HA_STATE_UNSPECIFIED", - 1: "DASH_HA_STATE_DEAD", - 2: "DASH_HA_STATE_CONNECTING", - 3: "DASH_HA_STATE_CONNECTED", - 4: "DASH_HA_STATE_INITIALIZING_TO_ACTIVE", - 5: "DASH_HA_STATE_INITIALIZING_TO_STANDBY", - 6: "DASH_HA_STATE_PENDING_STANDALONE_ACTIVATION", - 7: "DASH_HA_STATE_PENDING_ACTIVE_ACTIVATION", - 8: "DASH_HA_STATE_PENDING_STANDBY_ACTIVATION", - 9: "DASH_HA_STATE_STANDALONE", - 10: "DASH_HA_STATE_ACTIVE", - 11: "DASH_HA_STATE_STANDBY", - 12: "DASH_HA_STATE_DESTROYING", - 13: "DASH_HA_STATE_SWITCHING_TO_STANDALONE", - } - DashHaState_value = map[string]int32{ - "DASH_HA_STATE_UNSPECIFIED": 0, - "DASH_HA_STATE_DEAD": 1, - "DASH_HA_STATE_CONNECTING": 2, - "DASH_HA_STATE_CONNECTED": 3, - "DASH_HA_STATE_INITIALIZING_TO_ACTIVE": 4, - "DASH_HA_STATE_INITIALIZING_TO_STANDBY": 5, - "DASH_HA_STATE_PENDING_STANDALONE_ACTIVATION": 6, - "DASH_HA_STATE_PENDING_ACTIVE_ACTIVATION": 7, - "DASH_HA_STATE_PENDING_STANDBY_ACTIVATION": 8, - "DASH_HA_STATE_STANDALONE": 9, - "DASH_HA_STATE_ACTIVE": 10, - "DASH_HA_STATE_STANDBY": 11, - "DASH_HA_STATE_DESTROYING": 12, - "DASH_HA_STATE_SWITCHING_TO_STANDALONE": 13, - } -) - -func (x DashHaState) Enum() *DashHaState { - p := new(DashHaState) - *p = x - return p -} - -func (x DashHaState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashHaState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[44].Descriptor() -} - -func (DashHaState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[44] -} - -func (x DashHaState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashHaState.Descriptor instead. -func (DashHaState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{44} -} - -type DashRoutingActions int32 - -const ( - DashRoutingActions_DASH_ROUTING_ACTIONS_UNSPECIFIED DashRoutingActions = 0 - DashRoutingActions_DASH_ROUTING_ACTIONS_STATIC_ENCAP DashRoutingActions = 2 - DashRoutingActions_DASH_ROUTING_ACTIONS_NAT DashRoutingActions = 3 - DashRoutingActions_DASH_ROUTING_ACTIONS_NAT46 DashRoutingActions = 5 - DashRoutingActions_DASH_ROUTING_ACTIONS_NAT64 DashRoutingActions = 9 - DashRoutingActions_DASH_ROUTING_ACTIONS_NAT_PORT DashRoutingActions = 17 -) - -// Enum value maps for DashRoutingActions. -var ( - DashRoutingActions_name = map[int32]string{ - 0: "DASH_ROUTING_ACTIONS_UNSPECIFIED", - 2: "DASH_ROUTING_ACTIONS_STATIC_ENCAP", - 3: "DASH_ROUTING_ACTIONS_NAT", - 5: "DASH_ROUTING_ACTIONS_NAT46", - 9: "DASH_ROUTING_ACTIONS_NAT64", - 17: "DASH_ROUTING_ACTIONS_NAT_PORT", - } - DashRoutingActions_value = map[string]int32{ - "DASH_ROUTING_ACTIONS_UNSPECIFIED": 0, - "DASH_ROUTING_ACTIONS_STATIC_ENCAP": 2, - "DASH_ROUTING_ACTIONS_NAT": 3, - "DASH_ROUTING_ACTIONS_NAT46": 5, - "DASH_ROUTING_ACTIONS_NAT64": 9, - "DASH_ROUTING_ACTIONS_NAT_PORT": 17, - } -) - -func (x DashRoutingActions) Enum() *DashRoutingActions { - p := new(DashRoutingActions) - *p = x - return p -} - -func (x DashRoutingActions) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashRoutingActions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[45].Descriptor() -} - -func (DashRoutingActions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[45] -} - -func (x DashRoutingActions) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashRoutingActions.Descriptor instead. -func (DashRoutingActions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{45} -} - -type DashTunnelDscpMode int32 - -const ( - DashTunnelDscpMode_DASH_TUNNEL_DSCP_MODE_UNSPECIFIED DashTunnelDscpMode = 0 - DashTunnelDscpMode_DASH_TUNNEL_DSCP_MODE_PRESERVE_MODEL DashTunnelDscpMode = 1 - DashTunnelDscpMode_DASH_TUNNEL_DSCP_MODE_PIPE_MODEL DashTunnelDscpMode = 2 -) - -// Enum value maps for DashTunnelDscpMode. -var ( - DashTunnelDscpMode_name = map[int32]string{ - 0: "DASH_TUNNEL_DSCP_MODE_UNSPECIFIED", - 1: "DASH_TUNNEL_DSCP_MODE_PRESERVE_MODEL", - 2: "DASH_TUNNEL_DSCP_MODE_PIPE_MODEL", - } - DashTunnelDscpMode_value = map[string]int32{ - "DASH_TUNNEL_DSCP_MODE_UNSPECIFIED": 0, - "DASH_TUNNEL_DSCP_MODE_PRESERVE_MODEL": 1, - "DASH_TUNNEL_DSCP_MODE_PIPE_MODEL": 2, - } -) - -func (x DashTunnelDscpMode) Enum() *DashTunnelDscpMode { - p := new(DashTunnelDscpMode) - *p = x - return p -} - -func (x DashTunnelDscpMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DashTunnelDscpMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[46].Descriptor() -} - -func (DashTunnelDscpMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[46] -} - -func (x DashTunnelDscpMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DashTunnelDscpMode.Descriptor instead. -func (DashTunnelDscpMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{46} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{32} } type DebugCounterBindMethod int32 @@ -3064,11 +2063,11 @@ func (x DebugCounterBindMethod) String() string { } func (DebugCounterBindMethod) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[47].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[33].Descriptor() } func (DebugCounterBindMethod) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[47] + return &file_dataplane_proto_sai_common_proto_enumTypes[33] } func (x DebugCounterBindMethod) Number() protoreflect.EnumNumber { @@ -3077,7 +2076,7 @@ func (x DebugCounterBindMethod) Number() protoreflect.EnumNumber { // Deprecated: Use DebugCounterBindMethod.Descriptor instead. func (DebugCounterBindMethod) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{47} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{33} } type DebugCounterType int32 @@ -3119,11 +2118,11 @@ func (x DebugCounterType) String() string { } func (DebugCounterType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[48].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[34].Descriptor() } func (DebugCounterType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[48] + return &file_dataplane_proto_sai_common_proto_enumTypes[34] } func (x DebugCounterType) Number() protoreflect.EnumNumber { @@ -3132,7 +2131,7 @@ func (x DebugCounterType) Number() protoreflect.EnumNumber { // Deprecated: Use DebugCounterType.Descriptor instead. func (DebugCounterType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{48} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{34} } type DtelEventType int32 @@ -3183,11 +2182,11 @@ func (x DtelEventType) String() string { } func (DtelEventType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[49].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[35].Descriptor() } func (DtelEventType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[49] + return &file_dataplane_proto_sai_common_proto_enumTypes[35] } func (x DtelEventType) Number() protoreflect.EnumNumber { @@ -3196,7 +2195,7 @@ func (x DtelEventType) Number() protoreflect.EnumNumber { // Deprecated: Use DtelEventType.Descriptor instead. func (DtelEventType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{49} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{35} } type EcnMarkMode int32 @@ -3250,11 +2249,11 @@ func (x EcnMarkMode) String() string { } func (EcnMarkMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[50].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[36].Descriptor() } func (EcnMarkMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[50] + return &file_dataplane_proto_sai_common_proto_enumTypes[36] } func (x EcnMarkMode) Number() protoreflect.EnumNumber { @@ -3263,7 +2262,7 @@ func (x EcnMarkMode) Number() protoreflect.EnumNumber { // Deprecated: Use EcnMarkMode.Descriptor instead. func (EcnMarkMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{50} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{36} } type ErspanEncapsulationType int32 @@ -3296,11 +2295,11 @@ func (x ErspanEncapsulationType) String() string { } func (ErspanEncapsulationType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[51].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[37].Descriptor() } func (ErspanEncapsulationType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[51] + return &file_dataplane_proto_sai_common_proto_enumTypes[37] } func (x ErspanEncapsulationType) Number() protoreflect.EnumNumber { @@ -3309,7 +2308,7 @@ func (x ErspanEncapsulationType) Number() protoreflect.EnumNumber { // Deprecated: Use ErspanEncapsulationType.Descriptor instead. func (ErspanEncapsulationType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{51} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{37} } type FdbEntryType int32 @@ -3345,11 +2344,11 @@ func (x FdbEntryType) String() string { } func (FdbEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[52].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[38].Descriptor() } func (FdbEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[52] + return &file_dataplane_proto_sai_common_proto_enumTypes[38] } func (x FdbEntryType) Number() protoreflect.EnumNumber { @@ -3358,7 +2357,7 @@ func (x FdbEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use FdbEntryType.Descriptor instead. func (FdbEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{52} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{38} } type FdbEvent int32 @@ -3400,11 +2399,11 @@ func (x FdbEvent) String() string { } func (FdbEvent) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[53].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[39].Descriptor() } func (FdbEvent) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[53] + return &file_dataplane_proto_sai_common_proto_enumTypes[39] } func (x FdbEvent) Number() protoreflect.EnumNumber { @@ -3413,7 +2412,7 @@ func (x FdbEvent) Number() protoreflect.EnumNumber { // Deprecated: Use FdbEvent.Descriptor instead. func (FdbEvent) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{53} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{39} } type FdbFlushEntryType int32 @@ -3452,11 +2451,11 @@ func (x FdbFlushEntryType) String() string { } func (FdbFlushEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[54].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[40].Descriptor() } func (FdbFlushEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[54] + return &file_dataplane_proto_sai_common_proto_enumTypes[40] } func (x FdbFlushEntryType) Number() protoreflect.EnumNumber { @@ -3465,7 +2464,7 @@ func (x FdbFlushEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use FdbFlushEntryType.Descriptor instead. func (FdbFlushEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{54} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{40} } type HaScopeEvent int32 @@ -3504,11 +2503,11 @@ func (x HaScopeEvent) String() string { } func (HaScopeEvent) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[55].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[41].Descriptor() } func (HaScopeEvent) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[55] + return &file_dataplane_proto_sai_common_proto_enumTypes[41] } func (x HaScopeEvent) Number() protoreflect.EnumNumber { @@ -3517,7 +2516,7 @@ func (x HaScopeEvent) Number() protoreflect.EnumNumber { // Deprecated: Use HaScopeEvent.Descriptor instead. func (HaScopeEvent) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{55} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{41} } type HaSetEvent int32 @@ -3553,11 +2552,11 @@ func (x HaSetEvent) String() string { } func (HaSetEvent) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[56].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[42].Descriptor() } func (HaSetEvent) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[56] + return &file_dataplane_proto_sai_common_proto_enumTypes[42] } func (x HaSetEvent) Number() protoreflect.EnumNumber { @@ -3566,7 +2565,7 @@ func (x HaSetEvent) Number() protoreflect.EnumNumber { // Deprecated: Use HaSetEvent.Descriptor instead. func (HaSetEvent) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{56} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{42} } type HashAlgorithm int32 @@ -3617,11 +2616,11 @@ func (x HashAlgorithm) String() string { } func (HashAlgorithm) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[57].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[43].Descriptor() } func (HashAlgorithm) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[57] + return &file_dataplane_proto_sai_common_proto_enumTypes[43] } func (x HashAlgorithm) Number() protoreflect.EnumNumber { @@ -3630,7 +2629,7 @@ func (x HashAlgorithm) Number() protoreflect.EnumNumber { // Deprecated: Use HashAlgorithm.Descriptor instead. func (HashAlgorithm) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{57} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{43} } type HealthDataType int32 @@ -3666,11 +2665,11 @@ func (x HealthDataType) String() string { } func (HealthDataType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[58].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[44].Descriptor() } func (HealthDataType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[58] + return &file_dataplane_proto_sai_common_proto_enumTypes[44] } func (x HealthDataType) Number() protoreflect.EnumNumber { @@ -3679,7 +2678,7 @@ func (x HealthDataType) Number() protoreflect.EnumNumber { // Deprecated: Use HealthDataType.Descriptor instead. func (HealthDataType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{58} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{44} } type HostifTableEntryChannelType int32 @@ -3727,11 +2726,11 @@ func (x HostifTableEntryChannelType) String() string { } func (HostifTableEntryChannelType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[59].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[45].Descriptor() } func (HostifTableEntryChannelType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[59] + return &file_dataplane_proto_sai_common_proto_enumTypes[45] } func (x HostifTableEntryChannelType) Number() protoreflect.EnumNumber { @@ -3740,7 +2739,7 @@ func (x HostifTableEntryChannelType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifTableEntryChannelType.Descriptor instead. func (HostifTableEntryChannelType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{59} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{45} } type HostifTableEntryType int32 @@ -3785,11 +2784,11 @@ func (x HostifTableEntryType) String() string { } func (HostifTableEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[60].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[46].Descriptor() } func (HostifTableEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[60] + return &file_dataplane_proto_sai_common_proto_enumTypes[46] } func (x HostifTableEntryType) Number() protoreflect.EnumNumber { @@ -3798,7 +2797,7 @@ func (x HostifTableEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifTableEntryType.Descriptor instead. func (HostifTableEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{60} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{46} } type HostifTrapType int32 @@ -4047,11 +3046,11 @@ func (x HostifTrapType) String() string { } func (HostifTrapType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[61].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[47].Descriptor() } func (HostifTrapType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[61] + return &file_dataplane_proto_sai_common_proto_enumTypes[47] } func (x HostifTrapType) Number() protoreflect.EnumNumber { @@ -4060,7 +3059,7 @@ func (x HostifTrapType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifTrapType.Descriptor instead. func (HostifTrapType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{61} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{47} } type HostifTxType int32 @@ -4099,11 +3098,11 @@ func (x HostifTxType) String() string { } func (HostifTxType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[62].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[48].Descriptor() } func (HostifTxType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[62] + return &file_dataplane_proto_sai_common_proto_enumTypes[48] } func (x HostifTxType) Number() protoreflect.EnumNumber { @@ -4112,7 +3111,7 @@ func (x HostifTxType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifTxType.Descriptor instead. func (HostifTxType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{62} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{48} } type HostifType int32 @@ -4151,11 +3150,11 @@ func (x HostifType) String() string { } func (HostifType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[63].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[49].Descriptor() } func (HostifType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[63] + return &file_dataplane_proto_sai_common_proto_enumTypes[49] } func (x HostifType) Number() protoreflect.EnumNumber { @@ -4164,7 +3163,7 @@ func (x HostifType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifType.Descriptor instead. func (HostifType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{63} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{49} } type HostifUserDefinedTrapType int32 @@ -4224,11 +3223,11 @@ func (x HostifUserDefinedTrapType) String() string { } func (HostifUserDefinedTrapType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[64].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[50].Descriptor() } func (HostifUserDefinedTrapType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[64] + return &file_dataplane_proto_sai_common_proto_enumTypes[50] } func (x HostifUserDefinedTrapType) Number() protoreflect.EnumNumber { @@ -4237,7 +3236,7 @@ func (x HostifUserDefinedTrapType) Number() protoreflect.EnumNumber { // Deprecated: Use HostifUserDefinedTrapType.Descriptor instead. func (HostifUserDefinedTrapType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{64} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{50} } type HostifVlanTag int32 @@ -4276,11 +3275,11 @@ func (x HostifVlanTag) String() string { } func (HostifVlanTag) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[65].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[51].Descriptor() } func (HostifVlanTag) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[65] + return &file_dataplane_proto_sai_common_proto_enumTypes[51] } func (x HostifVlanTag) Number() protoreflect.EnumNumber { @@ -4289,7 +3288,7 @@ func (x HostifVlanTag) Number() protoreflect.EnumNumber { // Deprecated: Use HostifVlanTag.Descriptor instead. func (HostifVlanTag) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{65} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{51} } type IcmpEchoSessionStat int32 @@ -4325,11 +3324,11 @@ func (x IcmpEchoSessionStat) String() string { } func (IcmpEchoSessionStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[66].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[52].Descriptor() } func (IcmpEchoSessionStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[66] + return &file_dataplane_proto_sai_common_proto_enumTypes[52] } func (x IcmpEchoSessionStat) Number() protoreflect.EnumNumber { @@ -4338,7 +3337,7 @@ func (x IcmpEchoSessionStat) Number() protoreflect.EnumNumber { // Deprecated: Use IcmpEchoSessionStat.Descriptor instead. func (IcmpEchoSessionStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{66} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{52} } type IcmpEchoSessionState int32 @@ -4374,11 +3373,11 @@ func (x IcmpEchoSessionState) String() string { } func (IcmpEchoSessionState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[67].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[53].Descriptor() } func (IcmpEchoSessionState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[67] + return &file_dataplane_proto_sai_common_proto_enumTypes[53] } func (x IcmpEchoSessionState) Number() protoreflect.EnumNumber { @@ -4387,7 +3386,7 @@ func (x IcmpEchoSessionState) Number() protoreflect.EnumNumber { // Deprecated: Use IcmpEchoSessionState.Descriptor instead. func (IcmpEchoSessionState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{67} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{53} } type InDropReason int32 @@ -4594,11 +3593,11 @@ func (x InDropReason) String() string { } func (InDropReason) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[68].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[54].Descriptor() } func (InDropReason) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[68] + return &file_dataplane_proto_sai_common_proto_enumTypes[54] } func (x InDropReason) Number() protoreflect.EnumNumber { @@ -4607,7 +3606,7 @@ func (x InDropReason) Number() protoreflect.EnumNumber { // Deprecated: Use InDropReason.Descriptor instead. func (InDropReason) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{68} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{54} } type IngressPriorityGroupStat int32 @@ -4667,11 +3666,11 @@ func (x IngressPriorityGroupStat) String() string { } func (IngressPriorityGroupStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[69].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[55].Descriptor() } func (IngressPriorityGroupStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[69] + return &file_dataplane_proto_sai_common_proto_enumTypes[55] } func (x IngressPriorityGroupStat) Number() protoreflect.EnumNumber { @@ -4680,7 +3679,7 @@ func (x IngressPriorityGroupStat) Number() protoreflect.EnumNumber { // Deprecated: Use IngressPriorityGroupStat.Descriptor instead. func (IngressPriorityGroupStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{69} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{55} } type InsegEntryPopQosMode int32 @@ -4716,11 +3715,11 @@ func (x InsegEntryPopQosMode) String() string { } func (InsegEntryPopQosMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[70].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[56].Descriptor() } func (InsegEntryPopQosMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[70] + return &file_dataplane_proto_sai_common_proto_enumTypes[56] } func (x InsegEntryPopQosMode) Number() protoreflect.EnumNumber { @@ -4729,7 +3728,7 @@ func (x InsegEntryPopQosMode) Number() protoreflect.EnumNumber { // Deprecated: Use InsegEntryPopQosMode.Descriptor instead. func (InsegEntryPopQosMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{70} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{56} } type InsegEntryPopTtlMode int32 @@ -4765,11 +3764,11 @@ func (x InsegEntryPopTtlMode) String() string { } func (InsegEntryPopTtlMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[71].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[57].Descriptor() } func (InsegEntryPopTtlMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[71] + return &file_dataplane_proto_sai_common_proto_enumTypes[57] } func (x InsegEntryPopTtlMode) Number() protoreflect.EnumNumber { @@ -4778,7 +3777,7 @@ func (x InsegEntryPopTtlMode) Number() protoreflect.EnumNumber { // Deprecated: Use InsegEntryPopTtlMode.Descriptor instead. func (InsegEntryPopTtlMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{71} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{57} } type InsegEntryPscType int32 @@ -4814,11 +3813,11 @@ func (x InsegEntryPscType) String() string { } func (InsegEntryPscType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[72].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[58].Descriptor() } func (InsegEntryPscType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[72] + return &file_dataplane_proto_sai_common_proto_enumTypes[58] } func (x InsegEntryPscType) Number() protoreflect.EnumNumber { @@ -4827,7 +3826,7 @@ func (x InsegEntryPscType) Number() protoreflect.EnumNumber { // Deprecated: Use InsegEntryPscType.Descriptor instead. func (InsegEntryPscType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{72} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{58} } type IpAddrFamily int32 @@ -4863,11 +3862,11 @@ func (x IpAddrFamily) String() string { } func (IpAddrFamily) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[73].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[59].Descriptor() } func (IpAddrFamily) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[73] + return &file_dataplane_proto_sai_common_proto_enumTypes[59] } func (x IpAddrFamily) Number() protoreflect.EnumNumber { @@ -4876,7 +3875,7 @@ func (x IpAddrFamily) Number() protoreflect.EnumNumber { // Deprecated: Use IpAddrFamily.Descriptor instead. func (IpAddrFamily) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{73} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{59} } type IpmcEntryType int32 @@ -4912,11 +3911,11 @@ func (x IpmcEntryType) String() string { } func (IpmcEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[74].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[60].Descriptor() } func (IpmcEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[74] + return &file_dataplane_proto_sai_common_proto_enumTypes[60] } func (x IpmcEntryType) Number() protoreflect.EnumNumber { @@ -4925,7 +3924,7 @@ func (x IpmcEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use IpmcEntryType.Descriptor instead. func (IpmcEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{74} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{60} } type IpsecCipher int32 @@ -4967,11 +3966,11 @@ func (x IpsecCipher) String() string { } func (IpsecCipher) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[75].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[61].Descriptor() } func (IpsecCipher) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[75] + return &file_dataplane_proto_sai_common_proto_enumTypes[61] } func (x IpsecCipher) Number() protoreflect.EnumNumber { @@ -4980,7 +3979,7 @@ func (x IpsecCipher) Number() protoreflect.EnumNumber { // Deprecated: Use IpsecCipher.Descriptor instead. func (IpsecCipher) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{75} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{61} } type IpsecDirection int32 @@ -5016,11 +4015,11 @@ func (x IpsecDirection) String() string { } func (IpsecDirection) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[76].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[62].Descriptor() } func (IpsecDirection) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[76] + return &file_dataplane_proto_sai_common_proto_enumTypes[62] } func (x IpsecDirection) Number() protoreflect.EnumNumber { @@ -5029,7 +4028,7 @@ func (x IpsecDirection) Number() protoreflect.EnumNumber { // Deprecated: Use IpsecDirection.Descriptor instead. func (IpsecDirection) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{76} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{62} } type IpsecPortStat int32 @@ -5077,11 +4076,11 @@ func (x IpsecPortStat) String() string { } func (IpsecPortStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[77].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[63].Descriptor() } func (IpsecPortStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[77] + return &file_dataplane_proto_sai_common_proto_enumTypes[63] } func (x IpsecPortStat) Number() protoreflect.EnumNumber { @@ -5090,7 +4089,7 @@ func (x IpsecPortStat) Number() protoreflect.EnumNumber { // Deprecated: Use IpsecPortStat.Descriptor instead. func (IpsecPortStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{77} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{63} } type IpsecSaOctetCountStatus int32 @@ -5129,11 +4128,11 @@ func (x IpsecSaOctetCountStatus) String() string { } func (IpsecSaOctetCountStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[78].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[64].Descriptor() } func (IpsecSaOctetCountStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[78] + return &file_dataplane_proto_sai_common_proto_enumTypes[64] } func (x IpsecSaOctetCountStatus) Number() protoreflect.EnumNumber { @@ -5142,7 +4141,7 @@ func (x IpsecSaOctetCountStatus) Number() protoreflect.EnumNumber { // Deprecated: Use IpsecSaOctetCountStatus.Descriptor instead. func (IpsecSaOctetCountStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{78} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{64} } type IpsecSaStat int32 @@ -5202,11 +4201,11 @@ func (x IpsecSaStat) String() string { } func (IpsecSaStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[79].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[65].Descriptor() } func (IpsecSaStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[79] + return &file_dataplane_proto_sai_common_proto_enumTypes[65] } func (x IpsecSaStat) Number() protoreflect.EnumNumber { @@ -5215,7 +4214,7 @@ func (x IpsecSaStat) Number() protoreflect.EnumNumber { // Deprecated: Use IpsecSaStat.Descriptor instead. func (IpsecSaStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{79} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{65} } type IsolationGroupType int32 @@ -5251,11 +4250,11 @@ func (x IsolationGroupType) String() string { } func (IsolationGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[80].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[66].Descriptor() } func (IsolationGroupType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[80] + return &file_dataplane_proto_sai_common_proto_enumTypes[66] } func (x IsolationGroupType) Number() protoreflect.EnumNumber { @@ -5264,7 +4263,7 @@ func (x IsolationGroupType) Number() protoreflect.EnumNumber { // Deprecated: Use IsolationGroupType.Descriptor instead. func (IsolationGroupType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{80} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{66} } type L2McEntryType int32 @@ -5300,11 +4299,11 @@ func (x L2McEntryType) String() string { } func (L2McEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[81].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[67].Descriptor() } func (L2McEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[81] + return &file_dataplane_proto_sai_common_proto_enumTypes[67] } func (x L2McEntryType) Number() protoreflect.EnumNumber { @@ -5313,68 +4312,7 @@ func (x L2McEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use L2McEntryType.Descriptor instead. func (L2McEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{81} -} - -type LogLevel int32 - -const ( - LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0 - LogLevel_LOG_LEVEL_DEBUG LogLevel = 1 - LogLevel_LOG_LEVEL_INFO LogLevel = 2 - LogLevel_LOG_LEVEL_NOTICE LogLevel = 3 - LogLevel_LOG_LEVEL_WARN LogLevel = 4 - LogLevel_LOG_LEVEL_ERROR LogLevel = 5 - LogLevel_LOG_LEVEL_CRITICAL LogLevel = 6 -) - -// Enum value maps for LogLevel. -var ( - LogLevel_name = map[int32]string{ - 0: "LOG_LEVEL_UNSPECIFIED", - 1: "LOG_LEVEL_DEBUG", - 2: "LOG_LEVEL_INFO", - 3: "LOG_LEVEL_NOTICE", - 4: "LOG_LEVEL_WARN", - 5: "LOG_LEVEL_ERROR", - 6: "LOG_LEVEL_CRITICAL", - } - LogLevel_value = map[string]int32{ - "LOG_LEVEL_UNSPECIFIED": 0, - "LOG_LEVEL_DEBUG": 1, - "LOG_LEVEL_INFO": 2, - "LOG_LEVEL_NOTICE": 3, - "LOG_LEVEL_WARN": 4, - "LOG_LEVEL_ERROR": 5, - "LOG_LEVEL_CRITICAL": 6, - } -) - -func (x LogLevel) Enum() *LogLevel { - p := new(LogLevel) - *p = x - return p -} - -func (x LogLevel) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (LogLevel) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[82].Descriptor() -} - -func (LogLevel) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[82] -} - -func (x LogLevel) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use LogLevel.Descriptor instead. -func (LogLevel) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{82} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{67} } type MacsecCipherSuite int32 @@ -5416,11 +4354,11 @@ func (x MacsecCipherSuite) String() string { } func (MacsecCipherSuite) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[83].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[68].Descriptor() } func (MacsecCipherSuite) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[83] + return &file_dataplane_proto_sai_common_proto_enumTypes[68] } func (x MacsecCipherSuite) Number() protoreflect.EnumNumber { @@ -5429,7 +4367,7 @@ func (x MacsecCipherSuite) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecCipherSuite.Descriptor instead. func (MacsecCipherSuite) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{83} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{68} } type MacsecDirection int32 @@ -5465,11 +4403,11 @@ func (x MacsecDirection) String() string { } func (MacsecDirection) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[84].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[69].Descriptor() } func (MacsecDirection) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[84] + return &file_dataplane_proto_sai_common_proto_enumTypes[69] } func (x MacsecDirection) Number() protoreflect.EnumNumber { @@ -5478,7 +4416,7 @@ func (x MacsecDirection) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecDirection.Descriptor instead. func (MacsecDirection) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{84} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{69} } type MacsecFlowStat int32 @@ -5565,11 +4503,11 @@ func (x MacsecFlowStat) String() string { } func (MacsecFlowStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[85].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[70].Descriptor() } func (MacsecFlowStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[85] + return &file_dataplane_proto_sai_common_proto_enumTypes[70] } func (x MacsecFlowStat) Number() protoreflect.EnumNumber { @@ -5578,7 +4516,7 @@ func (x MacsecFlowStat) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecFlowStat.Descriptor instead. func (MacsecFlowStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{85} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{70} } type MacsecMaxSecureAssociationsPerSc int32 @@ -5614,11 +4552,11 @@ func (x MacsecMaxSecureAssociationsPerSc) String() string { } func (MacsecMaxSecureAssociationsPerSc) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[86].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[71].Descriptor() } func (MacsecMaxSecureAssociationsPerSc) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[86] + return &file_dataplane_proto_sai_common_proto_enumTypes[71] } func (x MacsecMaxSecureAssociationsPerSc) Number() protoreflect.EnumNumber { @@ -5627,7 +4565,7 @@ func (x MacsecMaxSecureAssociationsPerSc) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecMaxSecureAssociationsPerSc.Descriptor instead. func (MacsecMaxSecureAssociationsPerSc) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{86} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{71} } type MacsecPortStat int32 @@ -5666,11 +4604,11 @@ func (x MacsecPortStat) String() string { } func (MacsecPortStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[87].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[72].Descriptor() } func (MacsecPortStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[87] + return &file_dataplane_proto_sai_common_proto_enumTypes[72] } func (x MacsecPortStat) Number() protoreflect.EnumNumber { @@ -5679,7 +4617,7 @@ func (x MacsecPortStat) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecPortStat.Descriptor instead. func (MacsecPortStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{87} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{72} } type MacsecSaStat int32 @@ -5745,11 +4683,11 @@ func (x MacsecSaStat) String() string { } func (MacsecSaStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[88].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[73].Descriptor() } func (MacsecSaStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[88] + return &file_dataplane_proto_sai_common_proto_enumTypes[73] } func (x MacsecSaStat) Number() protoreflect.EnumNumber { @@ -5758,7 +4696,7 @@ func (x MacsecSaStat) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecSaStat.Descriptor instead. func (MacsecSaStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{88} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{73} } type MacsecScStat int32 @@ -5791,11 +4729,11 @@ func (x MacsecScStat) String() string { } func (MacsecScStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[89].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[74].Descriptor() } func (MacsecScStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[89] + return &file_dataplane_proto_sai_common_proto_enumTypes[74] } func (x MacsecScStat) Number() protoreflect.EnumNumber { @@ -5804,7 +4742,7 @@ func (x MacsecScStat) Number() protoreflect.EnumNumber { // Deprecated: Use MacsecScStat.Descriptor instead. func (MacsecScStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{89} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{74} } type MeterType int32 @@ -5843,11 +4781,11 @@ func (x MeterType) String() string { } func (MeterType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[90].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[75].Descriptor() } func (MeterType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[90] + return &file_dataplane_proto_sai_common_proto_enumTypes[75] } func (x MeterType) Number() protoreflect.EnumNumber { @@ -5856,7 +4794,7 @@ func (x MeterType) Number() protoreflect.EnumNumber { // Deprecated: Use MeterType.Descriptor instead. func (MeterType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{90} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{75} } type MirrorSessionCongestionMode int32 @@ -5892,11 +4830,11 @@ func (x MirrorSessionCongestionMode) String() string { } func (MirrorSessionCongestionMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[91].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[76].Descriptor() } func (MirrorSessionCongestionMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[91] + return &file_dataplane_proto_sai_common_proto_enumTypes[76] } func (x MirrorSessionCongestionMode) Number() protoreflect.EnumNumber { @@ -5905,7 +4843,7 @@ func (x MirrorSessionCongestionMode) Number() protoreflect.EnumNumber { // Deprecated: Use MirrorSessionCongestionMode.Descriptor instead. func (MirrorSessionCongestionMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{91} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{76} } type MirrorSessionType int32 @@ -5947,11 +4885,11 @@ func (x MirrorSessionType) String() string { } func (MirrorSessionType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[92].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[77].Descriptor() } func (MirrorSessionType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[92] + return &file_dataplane_proto_sai_common_proto_enumTypes[77] } func (x MirrorSessionType) Number() protoreflect.EnumNumber { @@ -5960,7 +4898,7 @@ func (x MirrorSessionType) Number() protoreflect.EnumNumber { // Deprecated: Use MirrorSessionType.Descriptor instead. func (MirrorSessionType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{92} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{77} } type MySidEntryEndpointBehaviorFlavor int32 @@ -6014,11 +4952,11 @@ func (x MySidEntryEndpointBehaviorFlavor) String() string { } func (MySidEntryEndpointBehaviorFlavor) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[93].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[78].Descriptor() } func (MySidEntryEndpointBehaviorFlavor) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[93] + return &file_dataplane_proto_sai_common_proto_enumTypes[78] } func (x MySidEntryEndpointBehaviorFlavor) Number() protoreflect.EnumNumber { @@ -6027,7 +4965,7 @@ func (x MySidEntryEndpointBehaviorFlavor) Number() protoreflect.EnumNumber { // Deprecated: Use MySidEntryEndpointBehaviorFlavor.Descriptor instead. func (MySidEntryEndpointBehaviorFlavor) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{93} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{78} } type MySidEntryEndpointBehavior int32 @@ -6105,11 +5043,11 @@ func (x MySidEntryEndpointBehavior) String() string { } func (MySidEntryEndpointBehavior) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[94].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[79].Descriptor() } func (MySidEntryEndpointBehavior) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[94] + return &file_dataplane_proto_sai_common_proto_enumTypes[79] } func (x MySidEntryEndpointBehavior) Number() protoreflect.EnumNumber { @@ -6118,7 +5056,7 @@ func (x MySidEntryEndpointBehavior) Number() protoreflect.EnumNumber { // Deprecated: Use MySidEntryEndpointBehavior.Descriptor instead. func (MySidEntryEndpointBehavior) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{94} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{79} } type NatEvent int32 @@ -6154,11 +5092,11 @@ func (x NatEvent) String() string { } func (NatEvent) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[95].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[80].Descriptor() } func (NatEvent) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[95] + return &file_dataplane_proto_sai_common_proto_enumTypes[80] } func (x NatEvent) Number() protoreflect.EnumNumber { @@ -6167,7 +5105,7 @@ func (x NatEvent) Number() protoreflect.EnumNumber { // Deprecated: Use NatEvent.Descriptor instead. func (NatEvent) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{95} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{80} } type NatType int32 @@ -6212,11 +5150,11 @@ func (x NatType) String() string { } func (NatType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[96].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[81].Descriptor() } func (NatType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[96] + return &file_dataplane_proto_sai_common_proto_enumTypes[81] } func (x NatType) Number() protoreflect.EnumNumber { @@ -6225,7 +5163,7 @@ func (x NatType) Number() protoreflect.EnumNumber { // Deprecated: Use NatType.Descriptor instead. func (NatType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{96} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{81} } type NativeHashField int32 @@ -6357,11 +5295,11 @@ func (x NativeHashField) String() string { } func (NativeHashField) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[97].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[82].Descriptor() } func (NativeHashField) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[97] + return &file_dataplane_proto_sai_common_proto_enumTypes[82] } func (x NativeHashField) Number() protoreflect.EnumNumber { @@ -6370,7 +5308,7 @@ func (x NativeHashField) Number() protoreflect.EnumNumber { // Deprecated: Use NativeHashField.Descriptor instead. func (NativeHashField) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{97} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{82} } type NextHopGroupMapType int32 @@ -6403,11 +5341,11 @@ func (x NextHopGroupMapType) String() string { } func (NextHopGroupMapType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[98].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[83].Descriptor() } func (NextHopGroupMapType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[98] + return &file_dataplane_proto_sai_common_proto_enumTypes[83] } func (x NextHopGroupMapType) Number() protoreflect.EnumNumber { @@ -6416,7 +5354,7 @@ func (x NextHopGroupMapType) Number() protoreflect.EnumNumber { // Deprecated: Use NextHopGroupMapType.Descriptor instead. func (NextHopGroupMapType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{98} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{83} } type NextHopGroupMemberConfiguredRole int32 @@ -6452,11 +5390,11 @@ func (x NextHopGroupMemberConfiguredRole) String() string { } func (NextHopGroupMemberConfiguredRole) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[99].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[84].Descriptor() } func (NextHopGroupMemberConfiguredRole) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[99] + return &file_dataplane_proto_sai_common_proto_enumTypes[84] } func (x NextHopGroupMemberConfiguredRole) Number() protoreflect.EnumNumber { @@ -6465,7 +5403,7 @@ func (x NextHopGroupMemberConfiguredRole) Number() protoreflect.EnumNumber { // Deprecated: Use NextHopGroupMemberConfiguredRole.Descriptor instead. func (NextHopGroupMemberConfiguredRole) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{99} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{84} } type NextHopGroupMemberObservedRole int32 @@ -6501,11 +5439,11 @@ func (x NextHopGroupMemberObservedRole) String() string { } func (NextHopGroupMemberObservedRole) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[100].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[85].Descriptor() } func (NextHopGroupMemberObservedRole) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[100] + return &file_dataplane_proto_sai_common_proto_enumTypes[85] } func (x NextHopGroupMemberObservedRole) Number() protoreflect.EnumNumber { @@ -6514,7 +5452,7 @@ func (x NextHopGroupMemberObservedRole) Number() protoreflect.EnumNumber { // Deprecated: Use NextHopGroupMemberObservedRole.Descriptor instead. func (NextHopGroupMemberObservedRole) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{100} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{85} } type NextHopGroupType int32 @@ -6568,11 +5506,11 @@ func (x NextHopGroupType) String() string { } func (NextHopGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[101].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[86].Descriptor() } func (NextHopGroupType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[101] + return &file_dataplane_proto_sai_common_proto_enumTypes[86] } func (x NextHopGroupType) Number() protoreflect.EnumNumber { @@ -6581,7 +5519,7 @@ func (x NextHopGroupType) Number() protoreflect.EnumNumber { // Deprecated: Use NextHopGroupType.Descriptor instead. func (NextHopGroupType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{101} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{86} } type NextHopType int32 @@ -6626,11 +5564,11 @@ func (x NextHopType) String() string { } func (NextHopType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[102].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[87].Descriptor() } func (NextHopType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[102] + return &file_dataplane_proto_sai_common_proto_enumTypes[87] } func (x NextHopType) Number() protoreflect.EnumNumber { @@ -6639,7 +5577,7 @@ func (x NextHopType) Number() protoreflect.EnumNumber { // Deprecated: Use NextHopType.Descriptor instead. func (NextHopType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{102} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{87} } type ObjectStage int32 @@ -6678,11 +5616,11 @@ func (x ObjectStage) String() string { } func (ObjectStage) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[103].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[88].Descriptor() } func (ObjectStage) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[103] + return &file_dataplane_proto_sai_common_proto_enumTypes[88] } func (x ObjectStage) Number() protoreflect.EnumNumber { @@ -6691,134 +5629,7 @@ func (x ObjectStage) Number() protoreflect.EnumNumber { // Deprecated: Use ObjectStage.Descriptor instead. func (ObjectStage) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{103} -} - -type ObjectTypeExtensions int32 - -const ( - ObjectTypeExtensions_OBJECT_TYPE_EXTENSIONS_UNSPECIFIED ObjectTypeExtensions = 0 - ObjectTypeExtensions_OBJECT_TYPE_EXTENSIONS_RANGE_START ObjectTypeExtensions = 536870913 - ObjectTypeExtensions_OBJECT_TYPE_TABLE_BITMAP_CLASSIFICATION_ENTRY ObjectTypeExtensions = 536870913 - ObjectTypeExtensions_OBJECT_TYPE_TABLE_BITMAP_ROUTER_ENTRY ObjectTypeExtensions = 536870914 - ObjectTypeExtensions_OBJECT_TYPE_TABLE_META_TUNNEL_ENTRY ObjectTypeExtensions = 536870915 - ObjectTypeExtensions_OBJECT_TYPE_DASH_ACL_GROUP ObjectTypeExtensions = 536870916 - ObjectTypeExtensions_OBJECT_TYPE_DASH_ACL_RULE ObjectTypeExtensions = 536870917 - ObjectTypeExtensions_OBJECT_TYPE_DIRECTION_LOOKUP_ENTRY ObjectTypeExtensions = 536870918 - ObjectTypeExtensions_OBJECT_TYPE_ENI_ETHER_ADDRESS_MAP_ENTRY ObjectTypeExtensions = 536870919 - ObjectTypeExtensions_OBJECT_TYPE_ENI ObjectTypeExtensions = 536870920 - ObjectTypeExtensions_OBJECT_TYPE_INBOUND_ROUTING_ENTRY ObjectTypeExtensions = 536870921 - ObjectTypeExtensions_OBJECT_TYPE_METER_BUCKET_ENTRY ObjectTypeExtensions = 536870922 - ObjectTypeExtensions_OBJECT_TYPE_METER_POLICY ObjectTypeExtensions = 536870923 - ObjectTypeExtensions_OBJECT_TYPE_METER_RULE ObjectTypeExtensions = 536870924 - ObjectTypeExtensions_OBJECT_TYPE_OUTBOUND_CA_TO_PA_ENTRY ObjectTypeExtensions = 536870925 - ObjectTypeExtensions_OBJECT_TYPE_OUTBOUND_ROUTING_ENTRY ObjectTypeExtensions = 536870926 - ObjectTypeExtensions_OBJECT_TYPE_VNET ObjectTypeExtensions = 536870927 - ObjectTypeExtensions_OBJECT_TYPE_PA_VALIDATION_ENTRY ObjectTypeExtensions = 536870928 - ObjectTypeExtensions_OBJECT_TYPE_VIP_ENTRY ObjectTypeExtensions = 536870929 - ObjectTypeExtensions_OBJECT_TYPE_HA_SET ObjectTypeExtensions = 536870930 - ObjectTypeExtensions_OBJECT_TYPE_HA_SCOPE ObjectTypeExtensions = 536870931 - ObjectTypeExtensions_OBJECT_TYPE_DASH_TUNNEL ObjectTypeExtensions = 536870932 - ObjectTypeExtensions_OBJECT_TYPE_OUTBOUND_ROUTING_GROUP ObjectTypeExtensions = 536870933 - ObjectTypeExtensions_OBJECT_TYPE_FLOW_TABLE ObjectTypeExtensions = 536870934 - ObjectTypeExtensions_OBJECT_TYPE_FLOW_ENTRY ObjectTypeExtensions = 536870935 - ObjectTypeExtensions_OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION_FILTER ObjectTypeExtensions = 536870936 - ObjectTypeExtensions_OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION ObjectTypeExtensions = 536870937 - ObjectTypeExtensions_OBJECT_TYPE_DASH_APPLIANCE ObjectTypeExtensions = 536870938 - ObjectTypeExtensions_OBJECT_TYPE_EXTENSIONS_RANGE_END ObjectTypeExtensions = 536870939 -) - -// Enum value maps for ObjectTypeExtensions. -var ( - ObjectTypeExtensions_name = map[int32]string{ - 0: "OBJECT_TYPE_EXTENSIONS_UNSPECIFIED", - 536870913: "OBJECT_TYPE_EXTENSIONS_RANGE_START", - // Duplicate value: 536870913: "OBJECT_TYPE_TABLE_BITMAP_CLASSIFICATION_ENTRY", - 536870914: "OBJECT_TYPE_TABLE_BITMAP_ROUTER_ENTRY", - 536870915: "OBJECT_TYPE_TABLE_META_TUNNEL_ENTRY", - 536870916: "OBJECT_TYPE_DASH_ACL_GROUP", - 536870917: "OBJECT_TYPE_DASH_ACL_RULE", - 536870918: "OBJECT_TYPE_DIRECTION_LOOKUP_ENTRY", - 536870919: "OBJECT_TYPE_ENI_ETHER_ADDRESS_MAP_ENTRY", - 536870920: "OBJECT_TYPE_ENI", - 536870921: "OBJECT_TYPE_INBOUND_ROUTING_ENTRY", - 536870922: "OBJECT_TYPE_METER_BUCKET_ENTRY", - 536870923: "OBJECT_TYPE_METER_POLICY", - 536870924: "OBJECT_TYPE_METER_RULE", - 536870925: "OBJECT_TYPE_OUTBOUND_CA_TO_PA_ENTRY", - 536870926: "OBJECT_TYPE_OUTBOUND_ROUTING_ENTRY", - 536870927: "OBJECT_TYPE_VNET", - 536870928: "OBJECT_TYPE_PA_VALIDATION_ENTRY", - 536870929: "OBJECT_TYPE_VIP_ENTRY", - 536870930: "OBJECT_TYPE_HA_SET", - 536870931: "OBJECT_TYPE_HA_SCOPE", - 536870932: "OBJECT_TYPE_DASH_TUNNEL", - 536870933: "OBJECT_TYPE_OUTBOUND_ROUTING_GROUP", - 536870934: "OBJECT_TYPE_FLOW_TABLE", - 536870935: "OBJECT_TYPE_FLOW_ENTRY", - 536870936: "OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION_FILTER", - 536870937: "OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION", - 536870938: "OBJECT_TYPE_DASH_APPLIANCE", - 536870939: "OBJECT_TYPE_EXTENSIONS_RANGE_END", - } - ObjectTypeExtensions_value = map[string]int32{ - "OBJECT_TYPE_EXTENSIONS_UNSPECIFIED": 0, - "OBJECT_TYPE_EXTENSIONS_RANGE_START": 536870913, - "OBJECT_TYPE_TABLE_BITMAP_CLASSIFICATION_ENTRY": 536870913, - "OBJECT_TYPE_TABLE_BITMAP_ROUTER_ENTRY": 536870914, - "OBJECT_TYPE_TABLE_META_TUNNEL_ENTRY": 536870915, - "OBJECT_TYPE_DASH_ACL_GROUP": 536870916, - "OBJECT_TYPE_DASH_ACL_RULE": 536870917, - "OBJECT_TYPE_DIRECTION_LOOKUP_ENTRY": 536870918, - "OBJECT_TYPE_ENI_ETHER_ADDRESS_MAP_ENTRY": 536870919, - "OBJECT_TYPE_ENI": 536870920, - "OBJECT_TYPE_INBOUND_ROUTING_ENTRY": 536870921, - "OBJECT_TYPE_METER_BUCKET_ENTRY": 536870922, - "OBJECT_TYPE_METER_POLICY": 536870923, - "OBJECT_TYPE_METER_RULE": 536870924, - "OBJECT_TYPE_OUTBOUND_CA_TO_PA_ENTRY": 536870925, - "OBJECT_TYPE_OUTBOUND_ROUTING_ENTRY": 536870926, - "OBJECT_TYPE_VNET": 536870927, - "OBJECT_TYPE_PA_VALIDATION_ENTRY": 536870928, - "OBJECT_TYPE_VIP_ENTRY": 536870929, - "OBJECT_TYPE_HA_SET": 536870930, - "OBJECT_TYPE_HA_SCOPE": 536870931, - "OBJECT_TYPE_DASH_TUNNEL": 536870932, - "OBJECT_TYPE_OUTBOUND_ROUTING_GROUP": 536870933, - "OBJECT_TYPE_FLOW_TABLE": 536870934, - "OBJECT_TYPE_FLOW_ENTRY": 536870935, - "OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION_FILTER": 536870936, - "OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION": 536870937, - "OBJECT_TYPE_DASH_APPLIANCE": 536870938, - "OBJECT_TYPE_EXTENSIONS_RANGE_END": 536870939, - } -) - -func (x ObjectTypeExtensions) Enum() *ObjectTypeExtensions { - p := new(ObjectTypeExtensions) - *p = x - return p -} - -func (x ObjectTypeExtensions) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ObjectTypeExtensions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[104].Descriptor() -} - -func (ObjectTypeExtensions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[104] -} - -func (x ObjectTypeExtensions) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ObjectTypeExtensions.Descriptor instead. -func (ObjectTypeExtensions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{104} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{88} } type ObjectType int32 @@ -7190,11 +6001,11 @@ func (x ObjectType) String() string { } func (ObjectType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[105].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[89].Descriptor() } func (ObjectType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[105] + return &file_dataplane_proto_sai_common_proto_enumTypes[89] } func (x ObjectType) Number() protoreflect.EnumNumber { @@ -7203,7 +6014,7 @@ func (x ObjectType) Number() protoreflect.EnumNumber { // Deprecated: Use ObjectType.Descriptor instead. func (ObjectType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{105} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{89} } type OutDropReason int32 @@ -7260,11 +6071,11 @@ func (x OutDropReason) String() string { } func (OutDropReason) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[106].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[90].Descriptor() } func (OutDropReason) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[106] + return &file_dataplane_proto_sai_common_proto_enumTypes[90] } func (x OutDropReason) Number() protoreflect.EnumNumber { @@ -7273,7 +6084,7 @@ func (x OutDropReason) Number() protoreflect.EnumNumber { // Deprecated: Use OutDropReason.Descriptor instead. func (OutDropReason) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{106} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{90} } type OutsegExpMode int32 @@ -7309,11 +6120,11 @@ func (x OutsegExpMode) String() string { } func (OutsegExpMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[107].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[91].Descriptor() } func (OutsegExpMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[107] + return &file_dataplane_proto_sai_common_proto_enumTypes[91] } func (x OutsegExpMode) Number() protoreflect.EnumNumber { @@ -7322,7 +6133,7 @@ func (x OutsegExpMode) Number() protoreflect.EnumNumber { // Deprecated: Use OutsegExpMode.Descriptor instead. func (OutsegExpMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{107} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{91} } type OutsegTtlMode int32 @@ -7358,11 +6169,11 @@ func (x OutsegTtlMode) String() string { } func (OutsegTtlMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[108].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[92].Descriptor() } func (OutsegTtlMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[108] + return &file_dataplane_proto_sai_common_proto_enumTypes[92] } func (x OutsegTtlMode) Number() protoreflect.EnumNumber { @@ -7371,7 +6182,7 @@ func (x OutsegTtlMode) Number() protoreflect.EnumNumber { // Deprecated: Use OutsegTtlMode.Descriptor instead. func (OutsegTtlMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{108} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{92} } type OutsegType int32 @@ -7407,11 +6218,11 @@ func (x OutsegType) String() string { } func (OutsegType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[109].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[93].Descriptor() } func (OutsegType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[109] + return &file_dataplane_proto_sai_common_proto_enumTypes[93] } func (x OutsegType) Number() protoreflect.EnumNumber { @@ -7420,7 +6231,7 @@ func (x OutsegType) Number() protoreflect.EnumNumber { // Deprecated: Use OutsegType.Descriptor instead. func (OutsegType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{109} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{93} } type PacketAction int32 @@ -7477,11 +6288,11 @@ func (x PacketAction) String() string { } func (PacketAction) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[110].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[94].Descriptor() } func (PacketAction) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[110] + return &file_dataplane_proto_sai_common_proto_enumTypes[94] } func (x PacketAction) Number() protoreflect.EnumNumber { @@ -7490,7 +6301,7 @@ func (x PacketAction) Number() protoreflect.EnumNumber { // Deprecated: Use PacketAction.Descriptor instead. func (PacketAction) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{110} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{94} } type PacketColor int32 @@ -7529,11 +6340,11 @@ func (x PacketColor) String() string { } func (PacketColor) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[111].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[95].Descriptor() } func (PacketColor) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[111] + return &file_dataplane_proto_sai_common_proto_enumTypes[95] } func (x PacketColor) Number() protoreflect.EnumNumber { @@ -7542,7 +6353,7 @@ func (x PacketColor) Number() protoreflect.EnumNumber { // Deprecated: Use PacketColor.Descriptor instead. func (PacketColor) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{111} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{95} } type PacketVlan int32 @@ -7581,11 +6392,11 @@ func (x PacketVlan) String() string { } func (PacketVlan) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[112].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[96].Descriptor() } func (PacketVlan) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[112] + return &file_dataplane_proto_sai_common_proto_enumTypes[96] } func (x PacketVlan) Number() protoreflect.EnumNumber { @@ -7594,7 +6405,7 @@ func (x PacketVlan) Number() protoreflect.EnumNumber { // Deprecated: Use PacketVlan.Descriptor instead. func (PacketVlan) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{112} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{96} } type PoePortActiveChannelType int32 @@ -7633,11 +6444,11 @@ func (x PoePortActiveChannelType) String() string { } func (PoePortActiveChannelType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[113].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[97].Descriptor() } func (PoePortActiveChannelType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[113] + return &file_dataplane_proto_sai_common_proto_enumTypes[97] } func (x PoePortActiveChannelType) Number() protoreflect.EnumNumber { @@ -7646,7 +6457,7 @@ func (x PoePortActiveChannelType) Number() protoreflect.EnumNumber { // Deprecated: Use PoePortActiveChannelType.Descriptor instead. func (PoePortActiveChannelType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{113} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{97} } type PoePortClassMethodType int32 @@ -7682,11 +6493,11 @@ func (x PoePortClassMethodType) String() string { } func (PoePortClassMethodType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[114].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[98].Descriptor() } func (PoePortClassMethodType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[114] + return &file_dataplane_proto_sai_common_proto_enumTypes[98] } func (x PoePortClassMethodType) Number() protoreflect.EnumNumber { @@ -7695,7 +6506,7 @@ func (x PoePortClassMethodType) Number() protoreflect.EnumNumber { // Deprecated: Use PoePortClassMethodType.Descriptor instead. func (PoePortClassMethodType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{114} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{98} } type PoePortSignatureType int32 @@ -7731,11 +6542,11 @@ func (x PoePortSignatureType) String() string { } func (PoePortSignatureType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[115].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[99].Descriptor() } func (PoePortSignatureType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[115] + return &file_dataplane_proto_sai_common_proto_enumTypes[99] } func (x PoePortSignatureType) Number() protoreflect.EnumNumber { @@ -7744,7 +6555,7 @@ func (x PoePortSignatureType) Number() protoreflect.EnumNumber { // Deprecated: Use PoePortSignatureType.Descriptor instead. func (PoePortSignatureType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{115} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{99} } type PolicerColorSource int32 @@ -7783,11 +6594,11 @@ func (x PolicerColorSource) String() string { } func (PolicerColorSource) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[116].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[100].Descriptor() } func (PolicerColorSource) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[116] + return &file_dataplane_proto_sai_common_proto_enumTypes[100] } func (x PolicerColorSource) Number() protoreflect.EnumNumber { @@ -7796,7 +6607,7 @@ func (x PolicerColorSource) Number() protoreflect.EnumNumber { // Deprecated: Use PolicerColorSource.Descriptor instead. func (PolicerColorSource) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{116} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{100} } type PolicerMode int32 @@ -7838,11 +6649,11 @@ func (x PolicerMode) String() string { } func (PolicerMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[117].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[101].Descriptor() } func (PolicerMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[117] + return &file_dataplane_proto_sai_common_proto_enumTypes[101] } func (x PolicerMode) Number() protoreflect.EnumNumber { @@ -7851,7 +6662,7 @@ func (x PolicerMode) Number() protoreflect.EnumNumber { // Deprecated: Use PolicerMode.Descriptor instead. func (PolicerMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{117} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{101} } type PolicerStat int32 @@ -7908,11 +6719,11 @@ func (x PolicerStat) String() string { } func (PolicerStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[118].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[102].Descriptor() } func (PolicerStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[118] + return &file_dataplane_proto_sai_common_proto_enumTypes[102] } func (x PolicerStat) Number() protoreflect.EnumNumber { @@ -7921,56 +6732,7 @@ func (x PolicerStat) Number() protoreflect.EnumNumber { // Deprecated: Use PolicerStat.Descriptor instead. func (PolicerStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{118} -} - -type PortAttrExtensions int32 - -const ( - PortAttrExtensions_PORT_ATTR_EXTENSIONS_UNSPECIFIED PortAttrExtensions = 0 - PortAttrExtensions_PORT_ATTR_EXTENSIONS_RANGE_START PortAttrExtensions = 536870913 - PortAttrExtensions_PORT_ATTR_EXTENSIONS_RANGE_END PortAttrExtensions = 536870914 -) - -// Enum value maps for PortAttrExtensions. -var ( - PortAttrExtensions_name = map[int32]string{ - 0: "PORT_ATTR_EXTENSIONS_UNSPECIFIED", - 536870913: "PORT_ATTR_EXTENSIONS_RANGE_START", - 536870914: "PORT_ATTR_EXTENSIONS_RANGE_END", - } - PortAttrExtensions_value = map[string]int32{ - "PORT_ATTR_EXTENSIONS_UNSPECIFIED": 0, - "PORT_ATTR_EXTENSIONS_RANGE_START": 536870913, - "PORT_ATTR_EXTENSIONS_RANGE_END": 536870914, - } -) - -func (x PortAttrExtensions) Enum() *PortAttrExtensions { - p := new(PortAttrExtensions) - *p = x - return p -} - -func (x PortAttrExtensions) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PortAttrExtensions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[119].Descriptor() -} - -func (PortAttrExtensions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[119] -} - -func (x PortAttrExtensions) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PortAttrExtensions.Descriptor instead. -func (PortAttrExtensions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{119} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{102} } type PortAutoNegConfigMode int32 @@ -8012,11 +6774,11 @@ func (x PortAutoNegConfigMode) String() string { } func (PortAutoNegConfigMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[120].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[103].Descriptor() } func (PortAutoNegConfigMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[120] + return &file_dataplane_proto_sai_common_proto_enumTypes[103] } func (x PortAutoNegConfigMode) Number() protoreflect.EnumNumber { @@ -8025,7 +6787,7 @@ func (x PortAutoNegConfigMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortAutoNegConfigMode.Descriptor instead. func (PortAutoNegConfigMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{120} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{103} } type PortBreakoutModeType int32 @@ -8070,11 +6832,11 @@ func (x PortBreakoutModeType) String() string { } func (PortBreakoutModeType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[121].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[104].Descriptor() } func (PortBreakoutModeType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[121] + return &file_dataplane_proto_sai_common_proto_enumTypes[104] } func (x PortBreakoutModeType) Number() protoreflect.EnumNumber { @@ -8083,7 +6845,7 @@ func (x PortBreakoutModeType) Number() protoreflect.EnumNumber { // Deprecated: Use PortBreakoutModeType.Descriptor instead. func (PortBreakoutModeType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{121} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{104} } type PortCablePairState int32 @@ -8128,11 +6890,11 @@ func (x PortCablePairState) String() string { } func (PortCablePairState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[122].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[105].Descriptor() } func (PortCablePairState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[122] + return &file_dataplane_proto_sai_common_proto_enumTypes[105] } func (x PortCablePairState) Number() protoreflect.EnumNumber { @@ -8141,7 +6903,7 @@ func (x PortCablePairState) Number() protoreflect.EnumNumber { // Deprecated: Use PortCablePairState.Descriptor instead. func (PortCablePairState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{122} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{105} } type PortCableType int32 @@ -8189,11 +6951,11 @@ func (x PortCableType) String() string { } func (PortCableType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[123].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[106].Descriptor() } func (PortCableType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[123] + return &file_dataplane_proto_sai_common_proto_enumTypes[106] } func (x PortCableType) Number() protoreflect.EnumNumber { @@ -8202,7 +6964,7 @@ func (x PortCableType) Number() protoreflect.EnumNumber { // Deprecated: Use PortCableType.Descriptor instead. func (PortCableType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{123} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{106} } type PortConnectorFailoverMode int32 @@ -8241,11 +7003,11 @@ func (x PortConnectorFailoverMode) String() string { } func (PortConnectorFailoverMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[124].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[107].Descriptor() } func (PortConnectorFailoverMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[124] + return &file_dataplane_proto_sai_common_proto_enumTypes[107] } func (x PortConnectorFailoverMode) Number() protoreflect.EnumNumber { @@ -8254,7 +7016,7 @@ func (x PortConnectorFailoverMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortConnectorFailoverMode.Descriptor instead. func (PortConnectorFailoverMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{124} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{107} } type PortDatapathEnable int32 @@ -8290,11 +7052,11 @@ func (x PortDatapathEnable) String() string { } func (PortDatapathEnable) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[125].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[108].Descriptor() } func (PortDatapathEnable) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[125] + return &file_dataplane_proto_sai_common_proto_enumTypes[108] } func (x PortDatapathEnable) Number() protoreflect.EnumNumber { @@ -8303,7 +7065,7 @@ func (x PortDatapathEnable) Number() protoreflect.EnumNumber { // Deprecated: Use PortDatapathEnable.Descriptor instead. func (PortDatapathEnable) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{125} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{108} } type PortDualMedia int32 @@ -8348,11 +7110,11 @@ func (x PortDualMedia) String() string { } func (PortDualMedia) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[126].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[109].Descriptor() } func (PortDualMedia) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[126] + return &file_dataplane_proto_sai_common_proto_enumTypes[109] } func (x PortDualMedia) Number() protoreflect.EnumNumber { @@ -8361,7 +7123,7 @@ func (x PortDualMedia) Number() protoreflect.EnumNumber { // Deprecated: Use PortDualMedia.Descriptor instead. func (PortDualMedia) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{126} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{109} } type PortErrStatus int32 @@ -8418,11 +7180,11 @@ func (x PortErrStatus) String() string { } func (PortErrStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[127].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[110].Descriptor() } func (PortErrStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[127] + return &file_dataplane_proto_sai_common_proto_enumTypes[110] } func (x PortErrStatus) Number() protoreflect.EnumNumber { @@ -8431,7 +7193,7 @@ func (x PortErrStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortErrStatus.Descriptor instead. func (PortErrStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{127} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{110} } type PortErrorStatus int32 @@ -8503,11 +7265,11 @@ func (x PortErrorStatus) String() string { } func (PortErrorStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[128].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[111].Descriptor() } func (PortErrorStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[128] + return &file_dataplane_proto_sai_common_proto_enumTypes[111] } func (x PortErrorStatus) Number() protoreflect.EnumNumber { @@ -8516,7 +7278,7 @@ func (x PortErrorStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortErrorStatus.Descriptor instead. func (PortErrorStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{128} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{111} } type PortFecModeExtended int32 @@ -8561,11 +7323,11 @@ func (x PortFecModeExtended) String() string { } func (PortFecModeExtended) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[129].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[112].Descriptor() } func (PortFecModeExtended) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[129] + return &file_dataplane_proto_sai_common_proto_enumTypes[112] } func (x PortFecModeExtended) Number() protoreflect.EnumNumber { @@ -8574,7 +7336,7 @@ func (x PortFecModeExtended) Number() protoreflect.EnumNumber { // Deprecated: Use PortFecModeExtended.Descriptor instead. func (PortFecModeExtended) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{129} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{112} } type PortFecMode int32 @@ -8613,11 +7375,11 @@ func (x PortFecMode) String() string { } func (PortFecMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[130].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[113].Descriptor() } func (PortFecMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[130] + return &file_dataplane_proto_sai_common_proto_enumTypes[113] } func (x PortFecMode) Number() protoreflect.EnumNumber { @@ -8626,7 +7388,7 @@ func (x PortFecMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortFecMode.Descriptor instead. func (PortFecMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{130} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{113} } type PortFlowControlMode int32 @@ -8668,11 +7430,11 @@ func (x PortFlowControlMode) String() string { } func (PortFlowControlMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[131].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[114].Descriptor() } func (PortFlowControlMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[131] + return &file_dataplane_proto_sai_common_proto_enumTypes[114] } func (x PortFlowControlMode) Number() protoreflect.EnumNumber { @@ -8681,7 +7443,7 @@ func (x PortFlowControlMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortFlowControlMode.Descriptor instead. func (PortFlowControlMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{131} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{114} } type PortHostTxReadyStatus int32 @@ -8717,11 +7479,11 @@ func (x PortHostTxReadyStatus) String() string { } func (PortHostTxReadyStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[132].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[115].Descriptor() } func (PortHostTxReadyStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[132] + return &file_dataplane_proto_sai_common_proto_enumTypes[115] } func (x PortHostTxReadyStatus) Number() protoreflect.EnumNumber { @@ -8730,7 +7492,7 @@ func (x PortHostTxReadyStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortHostTxReadyStatus.Descriptor instead. func (PortHostTxReadyStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{132} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{115} } type PortInterfaceType int32 @@ -8838,11 +7600,11 @@ func (x PortInterfaceType) String() string { } func (PortInterfaceType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[133].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[116].Descriptor() } func (PortInterfaceType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[133] + return &file_dataplane_proto_sai_common_proto_enumTypes[116] } func (x PortInterfaceType) Number() protoreflect.EnumNumber { @@ -8851,7 +7613,7 @@ func (x PortInterfaceType) Number() protoreflect.EnumNumber { // Deprecated: Use PortInterfaceType.Descriptor instead. func (PortInterfaceType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{133} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{116} } type PortInternalLoopbackMode int32 @@ -8890,11 +7652,11 @@ func (x PortInternalLoopbackMode) String() string { } func (PortInternalLoopbackMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[134].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[117].Descriptor() } func (PortInternalLoopbackMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[134] + return &file_dataplane_proto_sai_common_proto_enumTypes[117] } func (x PortInternalLoopbackMode) Number() protoreflect.EnumNumber { @@ -8903,7 +7665,7 @@ func (x PortInternalLoopbackMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortInternalLoopbackMode.Descriptor instead. func (PortInternalLoopbackMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{134} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{117} } type PortLinkTrainingFailureStatus int32 @@ -8945,11 +7707,11 @@ func (x PortLinkTrainingFailureStatus) String() string { } func (PortLinkTrainingFailureStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[135].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[118].Descriptor() } func (PortLinkTrainingFailureStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[135] + return &file_dataplane_proto_sai_common_proto_enumTypes[118] } func (x PortLinkTrainingFailureStatus) Number() protoreflect.EnumNumber { @@ -8958,7 +7720,7 @@ func (x PortLinkTrainingFailureStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortLinkTrainingFailureStatus.Descriptor instead. func (PortLinkTrainingFailureStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{135} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{118} } type PortLinkTrainingRxStatus int32 @@ -8994,11 +7756,11 @@ func (x PortLinkTrainingRxStatus) String() string { } func (PortLinkTrainingRxStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[136].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[119].Descriptor() } func (PortLinkTrainingRxStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[136] + return &file_dataplane_proto_sai_common_proto_enumTypes[119] } func (x PortLinkTrainingRxStatus) Number() protoreflect.EnumNumber { @@ -9007,7 +7769,7 @@ func (x PortLinkTrainingRxStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortLinkTrainingRxStatus.Descriptor instead. func (PortLinkTrainingRxStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{136} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{119} } type PortLoopbackMode int32 @@ -9052,11 +7814,11 @@ func (x PortLoopbackMode) String() string { } func (PortLoopbackMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[137].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[120].Descriptor() } func (PortLoopbackMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[137] + return &file_dataplane_proto_sai_common_proto_enumTypes[120] } func (x PortLoopbackMode) Number() protoreflect.EnumNumber { @@ -9065,7 +7827,7 @@ func (x PortLoopbackMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortLoopbackMode.Descriptor instead. func (PortLoopbackMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{137} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{120} } type PortMdixModeConfig int32 @@ -9104,11 +7866,11 @@ func (x PortMdixModeConfig) String() string { } func (PortMdixModeConfig) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[138].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[121].Descriptor() } func (PortMdixModeConfig) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[138] + return &file_dataplane_proto_sai_common_proto_enumTypes[121] } func (x PortMdixModeConfig) Number() protoreflect.EnumNumber { @@ -9117,7 +7879,7 @@ func (x PortMdixModeConfig) Number() protoreflect.EnumNumber { // Deprecated: Use PortMdixModeConfig.Descriptor instead. func (PortMdixModeConfig) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{138} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{121} } type PortMdixModeStatus int32 @@ -9153,11 +7915,11 @@ func (x PortMdixModeStatus) String() string { } func (PortMdixModeStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[139].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[122].Descriptor() } func (PortMdixModeStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[139] + return &file_dataplane_proto_sai_common_proto_enumTypes[122] } func (x PortMdixModeStatus) Number() protoreflect.EnumNumber { @@ -9166,7 +7928,7 @@ func (x PortMdixModeStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortMdixModeStatus.Descriptor instead. func (PortMdixModeStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{139} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{122} } type PortMediaType int32 @@ -9211,11 +7973,11 @@ func (x PortMediaType) String() string { } func (PortMediaType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[140].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[123].Descriptor() } func (PortMediaType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[140] + return &file_dataplane_proto_sai_common_proto_enumTypes[123] } func (x PortMediaType) Number() protoreflect.EnumNumber { @@ -9224,7 +7986,7 @@ func (x PortMediaType) Number() protoreflect.EnumNumber { // Deprecated: Use PortMediaType.Descriptor instead. func (PortMediaType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{140} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{123} } type PortModuleType int32 @@ -9263,11 +8025,11 @@ func (x PortModuleType) String() string { } func (PortModuleType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[141].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[124].Descriptor() } func (PortModuleType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[141] + return &file_dataplane_proto_sai_common_proto_enumTypes[124] } func (x PortModuleType) Number() protoreflect.EnumNumber { @@ -9276,7 +8038,7 @@ func (x PortModuleType) Number() protoreflect.EnumNumber { // Deprecated: Use PortModuleType.Descriptor instead. func (PortModuleType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{141} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{124} } type PortOperStatus int32 @@ -9321,11 +8083,11 @@ func (x PortOperStatus) String() string { } func (PortOperStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[142].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[125].Descriptor() } func (PortOperStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[142] + return &file_dataplane_proto_sai_common_proto_enumTypes[125] } func (x PortOperStatus) Number() protoreflect.EnumNumber { @@ -9334,7 +8096,7 @@ func (x PortOperStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortOperStatus.Descriptor instead. func (PortOperStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{142} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{125} } type PortPathTracingTimestampType int32 @@ -9376,11 +8138,11 @@ func (x PortPathTracingTimestampType) String() string { } func (PortPathTracingTimestampType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[143].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[126].Descriptor() } func (PortPathTracingTimestampType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[143] + return &file_dataplane_proto_sai_common_proto_enumTypes[126] } func (x PortPathTracingTimestampType) Number() protoreflect.EnumNumber { @@ -9389,7 +8151,7 @@ func (x PortPathTracingTimestampType) Number() protoreflect.EnumNumber { // Deprecated: Use PortPathTracingTimestampType.Descriptor instead. func (PortPathTracingTimestampType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{143} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{126} } type PortPoolStat int32 @@ -9485,11 +8247,11 @@ func (x PortPoolStat) String() string { } func (PortPoolStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[144].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[127].Descriptor() } func (PortPoolStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[144] + return &file_dataplane_proto_sai_common_proto_enumTypes[127] } func (x PortPoolStat) Number() protoreflect.EnumNumber { @@ -9498,7 +8260,7 @@ func (x PortPoolStat) Number() protoreflect.EnumNumber { // Deprecated: Use PortPoolStat.Descriptor instead. func (PortPoolStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{144} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{127} } type PortPrbsConfig int32 @@ -9540,11 +8302,11 @@ func (x PortPrbsConfig) String() string { } func (PortPrbsConfig) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[145].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[128].Descriptor() } func (PortPrbsConfig) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[145] + return &file_dataplane_proto_sai_common_proto_enumTypes[128] } func (x PortPrbsConfig) Number() protoreflect.EnumNumber { @@ -9553,7 +8315,7 @@ func (x PortPrbsConfig) Number() protoreflect.EnumNumber { // Deprecated: Use PortPrbsConfig.Descriptor instead. func (PortPrbsConfig) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{145} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{128} } type PortPrbsRxStatus int32 @@ -9595,11 +8357,11 @@ func (x PortPrbsRxStatus) String() string { } func (PortPrbsRxStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[146].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[129].Descriptor() } func (PortPrbsRxStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[146] + return &file_dataplane_proto_sai_common_proto_enumTypes[129] } func (x PortPrbsRxStatus) Number() protoreflect.EnumNumber { @@ -9608,7 +8370,7 @@ func (x PortPrbsRxStatus) Number() protoreflect.EnumNumber { // Deprecated: Use PortPrbsRxStatus.Descriptor instead. func (PortPrbsRxStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{146} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{129} } type PortPriorityFlowControlMode int32 @@ -9644,11 +8406,11 @@ func (x PortPriorityFlowControlMode) String() string { } func (PortPriorityFlowControlMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[147].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[130].Descriptor() } func (PortPriorityFlowControlMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[147] + return &file_dataplane_proto_sai_common_proto_enumTypes[130] } func (x PortPriorityFlowControlMode) Number() protoreflect.EnumNumber { @@ -9657,7 +8419,7 @@ func (x PortPriorityFlowControlMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortPriorityFlowControlMode.Descriptor instead. func (PortPriorityFlowControlMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{147} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{130} } type PortPtpMode int32 @@ -9696,11 +8458,11 @@ func (x PortPtpMode) String() string { } func (PortPtpMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[148].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[131].Descriptor() } func (PortPtpMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[148] + return &file_dataplane_proto_sai_common_proto_enumTypes[131] } func (x PortPtpMode) Number() protoreflect.EnumNumber { @@ -9709,7 +8471,7 @@ func (x PortPtpMode) Number() protoreflect.EnumNumber { // Deprecated: Use PortPtpMode.Descriptor instead. func (PortPtpMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{148} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{131} } type PortStatExtensions int32 @@ -9775,11 +8537,11 @@ func (x PortStatExtensions) String() string { } func (PortStatExtensions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[149].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[132].Descriptor() } func (PortStatExtensions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[149] + return &file_dataplane_proto_sai_common_proto_enumTypes[132] } func (x PortStatExtensions) Number() protoreflect.EnumNumber { @@ -9788,7 +8550,7 @@ func (x PortStatExtensions) Number() protoreflect.EnumNumber { // Deprecated: Use PortStatExtensions.Descriptor instead. func (PortStatExtensions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{149} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{132} } type PortStat int32 @@ -10496,11 +9258,11 @@ func (x PortStat) String() string { } func (PortStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[150].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[133].Descriptor() } func (PortStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[150] + return &file_dataplane_proto_sai_common_proto_enumTypes[133] } func (x PortStat) Number() protoreflect.EnumNumber { @@ -10509,7 +9271,7 @@ func (x PortStat) Number() protoreflect.EnumNumber { // Deprecated: Use PortStat.Descriptor instead. func (PortStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{150} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{133} } type PortType int32 @@ -10551,11 +9313,11 @@ func (x PortType) String() string { } func (PortType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[151].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[134].Descriptor() } func (PortType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[151] + return &file_dataplane_proto_sai_common_proto_enumTypes[134] } func (x PortType) Number() protoreflect.EnumNumber { @@ -10564,7 +9326,7 @@ func (x PortType) Number() protoreflect.EnumNumber { // Deprecated: Use PortType.Descriptor instead. func (PortType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{151} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{134} } type QosMapType int32 @@ -10642,11 +9404,11 @@ func (x QosMapType) String() string { } func (QosMapType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[152].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[135].Descriptor() } func (QosMapType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[152] + return &file_dataplane_proto_sai_common_proto_enumTypes[135] } func (x QosMapType) Number() protoreflect.EnumNumber { @@ -10655,7 +9417,7 @@ func (x QosMapType) Number() protoreflect.EnumNumber { // Deprecated: Use QosMapType.Descriptor instead. func (QosMapType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{152} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{135} } type QueuePfcContinuousDeadlockState int32 @@ -10694,11 +9456,11 @@ func (x QueuePfcContinuousDeadlockState) String() string { } func (QueuePfcContinuousDeadlockState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[153].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[136].Descriptor() } func (QueuePfcContinuousDeadlockState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[153] + return &file_dataplane_proto_sai_common_proto_enumTypes[136] } func (x QueuePfcContinuousDeadlockState) Number() protoreflect.EnumNumber { @@ -10707,7 +9469,7 @@ func (x QueuePfcContinuousDeadlockState) Number() protoreflect.EnumNumber { // Deprecated: Use QueuePfcContinuousDeadlockState.Descriptor instead. func (QueuePfcContinuousDeadlockState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{153} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{136} } type QueuePfcDeadlockEventType int32 @@ -10743,11 +9505,11 @@ func (x QueuePfcDeadlockEventType) String() string { } func (QueuePfcDeadlockEventType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[154].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[137].Descriptor() } func (QueuePfcDeadlockEventType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[154] + return &file_dataplane_proto_sai_common_proto_enumTypes[137] } func (x QueuePfcDeadlockEventType) Number() protoreflect.EnumNumber { @@ -10756,7 +9518,7 @@ func (x QueuePfcDeadlockEventType) Number() protoreflect.EnumNumber { // Deprecated: Use QueuePfcDeadlockEventType.Descriptor instead. func (QueuePfcDeadlockEventType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{154} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{137} } type QueueStat int32 @@ -10909,11 +9671,11 @@ func (x QueueStat) String() string { } func (QueueStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[155].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[138].Descriptor() } func (QueueStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[155] + return &file_dataplane_proto_sai_common_proto_enumTypes[138] } func (x QueueStat) Number() protoreflect.EnumNumber { @@ -10922,7 +9684,7 @@ func (x QueueStat) Number() protoreflect.EnumNumber { // Deprecated: Use QueueStat.Descriptor instead. func (QueueStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{155} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{138} } type QueueType int32 @@ -10973,11 +9735,11 @@ func (x QueueType) String() string { } func (QueueType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[156].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[139].Descriptor() } func (QueueType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[156] + return &file_dataplane_proto_sai_common_proto_enumTypes[139] } func (x QueueType) Number() protoreflect.EnumNumber { @@ -10986,7 +9748,7 @@ func (x QueueType) Number() protoreflect.EnumNumber { // Deprecated: Use QueueType.Descriptor instead. func (QueueType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{156} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{139} } type RouterInterfaceStat int32 @@ -11040,11 +9802,11 @@ func (x RouterInterfaceStat) String() string { } func (RouterInterfaceStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[157].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[140].Descriptor() } func (RouterInterfaceStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[157] + return &file_dataplane_proto_sai_common_proto_enumTypes[140] } func (x RouterInterfaceStat) Number() protoreflect.EnumNumber { @@ -11053,7 +9815,7 @@ func (x RouterInterfaceStat) Number() protoreflect.EnumNumber { // Deprecated: Use RouterInterfaceStat.Descriptor instead. func (RouterInterfaceStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{157} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{140} } type RouterInterfaceType int32 @@ -11104,11 +9866,11 @@ func (x RouterInterfaceType) String() string { } func (RouterInterfaceType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[158].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[141].Descriptor() } func (RouterInterfaceType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[158] + return &file_dataplane_proto_sai_common_proto_enumTypes[141] } func (x RouterInterfaceType) Number() protoreflect.EnumNumber { @@ -11117,7 +9879,7 @@ func (x RouterInterfaceType) Number() protoreflect.EnumNumber { // Deprecated: Use RouterInterfaceType.Descriptor instead. func (RouterInterfaceType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{158} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{141} } type SamplepacketMode int32 @@ -11153,11 +9915,11 @@ func (x SamplepacketMode) String() string { } func (SamplepacketMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[159].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[142].Descriptor() } func (SamplepacketMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[159] + return &file_dataplane_proto_sai_common_proto_enumTypes[142] } func (x SamplepacketMode) Number() protoreflect.EnumNumber { @@ -11166,7 +9928,7 @@ func (x SamplepacketMode) Number() protoreflect.EnumNumber { // Deprecated: Use SamplepacketMode.Descriptor instead. func (SamplepacketMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{159} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{142} } type SamplepacketType int32 @@ -11202,11 +9964,11 @@ func (x SamplepacketType) String() string { } func (SamplepacketType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[160].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[143].Descriptor() } func (SamplepacketType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[160] + return &file_dataplane_proto_sai_common_proto_enumTypes[143] } func (x SamplepacketType) Number() protoreflect.EnumNumber { @@ -11215,7 +9977,7 @@ func (x SamplepacketType) Number() protoreflect.EnumNumber { // Deprecated: Use SamplepacketType.Descriptor instead. func (SamplepacketType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{160} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{143} } type SchedulingType int32 @@ -11254,11 +10016,11 @@ func (x SchedulingType) String() string { } func (SchedulingType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[161].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[144].Descriptor() } func (SchedulingType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[161] + return &file_dataplane_proto_sai_common_proto_enumTypes[144] } func (x SchedulingType) Number() protoreflect.EnumNumber { @@ -11267,7 +10029,7 @@ func (x SchedulingType) Number() protoreflect.EnumNumber { // Deprecated: Use SchedulingType.Descriptor instead. func (SchedulingType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{161} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{144} } type SerCorrectionType int32 @@ -11315,11 +10077,11 @@ func (x SerCorrectionType) String() string { } func (SerCorrectionType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[162].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[145].Descriptor() } func (SerCorrectionType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[162] + return &file_dataplane_proto_sai_common_proto_enumTypes[145] } func (x SerCorrectionType) Number() protoreflect.EnumNumber { @@ -11328,7 +10090,7 @@ func (x SerCorrectionType) Number() protoreflect.EnumNumber { // Deprecated: Use SerCorrectionType.Descriptor instead. func (SerCorrectionType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{162} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{145} } type SerLogType int32 @@ -11376,11 +10138,11 @@ func (x SerLogType) String() string { } func (SerLogType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[163].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[146].Descriptor() } func (SerLogType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[163] + return &file_dataplane_proto_sai_common_proto_enumTypes[146] } func (x SerLogType) Number() protoreflect.EnumNumber { @@ -11389,7 +10151,7 @@ func (x SerLogType) Number() protoreflect.EnumNumber { // Deprecated: Use SerLogType.Descriptor instead. func (SerLogType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{163} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{146} } type SerType int32 @@ -11431,11 +10193,11 @@ func (x SerType) String() string { } func (SerType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[164].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[147].Descriptor() } func (SerType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[164] + return &file_dataplane_proto_sai_common_proto_enumTypes[147] } func (x SerType) Number() protoreflect.EnumNumber { @@ -11444,7 +10206,7 @@ func (x SerType) Number() protoreflect.EnumNumber { // Deprecated: Use SerType.Descriptor instead. func (SerType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{164} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{147} } type Srv6SidlistStat int32 @@ -11480,11 +10242,11 @@ func (x Srv6SidlistStat) String() string { } func (Srv6SidlistStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[165].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[148].Descriptor() } func (Srv6SidlistStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[165] + return &file_dataplane_proto_sai_common_proto_enumTypes[148] } func (x Srv6SidlistStat) Number() protoreflect.EnumNumber { @@ -11493,7 +10255,7 @@ func (x Srv6SidlistStat) Number() protoreflect.EnumNumber { // Deprecated: Use Srv6SidlistStat.Descriptor instead. func (Srv6SidlistStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{165} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{148} } type Srv6SidlistType int32 @@ -11538,11 +10300,11 @@ func (x Srv6SidlistType) String() string { } func (Srv6SidlistType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[166].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[149].Descriptor() } func (Srv6SidlistType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[166] + return &file_dataplane_proto_sai_common_proto_enumTypes[149] } func (x Srv6SidlistType) Number() protoreflect.EnumNumber { @@ -11551,7 +10313,7 @@ func (x Srv6SidlistType) Number() protoreflect.EnumNumber { // Deprecated: Use Srv6SidlistType.Descriptor instead. func (Srv6SidlistType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{166} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{149} } type StatsCountMode int32 @@ -11593,11 +10355,11 @@ func (x StatsCountMode) String() string { } func (StatsCountMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[167].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[150].Descriptor() } func (StatsCountMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[167] + return &file_dataplane_proto_sai_common_proto_enumTypes[150] } func (x StatsCountMode) Number() protoreflect.EnumNumber { @@ -11606,7 +10368,7 @@ func (x StatsCountMode) Number() protoreflect.EnumNumber { // Deprecated: Use StatsCountMode.Descriptor instead. func (StatsCountMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{167} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{150} } type StatsMode int32 @@ -11651,11 +10413,11 @@ func (x StatsMode) String() string { } func (StatsMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[168].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[151].Descriptor() } func (StatsMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[168] + return &file_dataplane_proto_sai_common_proto_enumTypes[151] } func (x StatsMode) Number() protoreflect.EnumNumber { @@ -11664,7 +10426,7 @@ func (x StatsMode) Number() protoreflect.EnumNumber { // Deprecated: Use StatsMode.Descriptor instead. func (StatsMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{168} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{151} } type StpPortState int32 @@ -11703,11 +10465,11 @@ func (x StpPortState) String() string { } func (StpPortState) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[169].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[152].Descriptor() } func (StpPortState) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[169] + return &file_dataplane_proto_sai_common_proto_enumTypes[152] } func (x StpPortState) Number() protoreflect.EnumNumber { @@ -11716,7 +10478,7 @@ func (x StpPortState) Number() protoreflect.EnumNumber { // Deprecated: Use StpPortState.Descriptor instead. func (StpPortState) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{169} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{152} } type SwitchAsicSdkHealthCategory int32 @@ -11758,11 +10520,11 @@ func (x SwitchAsicSdkHealthCategory) String() string { } func (SwitchAsicSdkHealthCategory) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[170].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[153].Descriptor() } func (SwitchAsicSdkHealthCategory) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[170] + return &file_dataplane_proto_sai_common_proto_enumTypes[153] } func (x SwitchAsicSdkHealthCategory) Number() protoreflect.EnumNumber { @@ -11771,7 +10533,7 @@ func (x SwitchAsicSdkHealthCategory) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchAsicSdkHealthCategory.Descriptor instead. func (SwitchAsicSdkHealthCategory) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{170} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{153} } type SwitchAsicSdkHealthSeverity int32 @@ -11810,11 +10572,11 @@ func (x SwitchAsicSdkHealthSeverity) String() string { } func (SwitchAsicSdkHealthSeverity) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[171].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[154].Descriptor() } func (SwitchAsicSdkHealthSeverity) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[171] + return &file_dataplane_proto_sai_common_proto_enumTypes[154] } func (x SwitchAsicSdkHealthSeverity) Number() protoreflect.EnumNumber { @@ -11823,71 +10585,7 @@ func (x SwitchAsicSdkHealthSeverity) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchAsicSdkHealthSeverity.Descriptor instead. func (SwitchAsicSdkHealthSeverity) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{171} -} - -type SwitchAttrExtensions int32 - -const ( - SwitchAttrExtensions_SWITCH_ATTR_EXTENSIONS_UNSPECIFIED SwitchAttrExtensions = 0 - SwitchAttrExtensions_SWITCH_ATTR_EXTENSIONS_RANGE_START SwitchAttrExtensions = 536870913 - SwitchAttrExtensions_SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI SwitchAttrExtensions = 536870913 - SwitchAttrExtensions_SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL SwitchAttrExtensions = 536870914 - SwitchAttrExtensions_SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED SwitchAttrExtensions = 536870915 - SwitchAttrExtensions_SWITCH_ATTR_HA_SET_EVENT_NOTIFY SwitchAttrExtensions = 536870916 - SwitchAttrExtensions_SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY SwitchAttrExtensions = 536870917 - SwitchAttrExtensions_SWITCH_ATTR_EXTENSIONS_RANGE_END SwitchAttrExtensions = 536870918 -) - -// Enum value maps for SwitchAttrExtensions. -var ( - SwitchAttrExtensions_name = map[int32]string{ - 0: "SWITCH_ATTR_EXTENSIONS_UNSPECIFIED", - 536870913: "SWITCH_ATTR_EXTENSIONS_RANGE_START", - // Duplicate value: 536870913: "SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI", - 536870914: "SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL", - 536870915: "SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED", - 536870916: "SWITCH_ATTR_HA_SET_EVENT_NOTIFY", - 536870917: "SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY", - 536870918: "SWITCH_ATTR_EXTENSIONS_RANGE_END", - } - SwitchAttrExtensions_value = map[string]int32{ - "SWITCH_ATTR_EXTENSIONS_UNSPECIFIED": 0, - "SWITCH_ATTR_EXTENSIONS_RANGE_START": 536870913, - "SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI": 536870913, - "SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL": 536870914, - "SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED": 536870915, - "SWITCH_ATTR_HA_SET_EVENT_NOTIFY": 536870916, - "SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY": 536870917, - "SWITCH_ATTR_EXTENSIONS_RANGE_END": 536870918, - } -) - -func (x SwitchAttrExtensions) Enum() *SwitchAttrExtensions { - p := new(SwitchAttrExtensions) - *p = x - return p -} - -func (x SwitchAttrExtensions) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SwitchAttrExtensions) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[172].Descriptor() -} - -func (SwitchAttrExtensions) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[172] -} - -func (x SwitchAttrExtensions) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SwitchAttrExtensions.Descriptor instead. -func (SwitchAttrExtensions) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{172} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{154} } type SwitchFailoverConfigMode int32 @@ -11923,11 +10621,11 @@ func (x SwitchFailoverConfigMode) String() string { } func (SwitchFailoverConfigMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[173].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[155].Descriptor() } func (SwitchFailoverConfigMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[173] + return &file_dataplane_proto_sai_common_proto_enumTypes[155] } func (x SwitchFailoverConfigMode) Number() protoreflect.EnumNumber { @@ -11936,7 +10634,7 @@ func (x SwitchFailoverConfigMode) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchFailoverConfigMode.Descriptor instead. func (SwitchFailoverConfigMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{173} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{155} } type SwitchFirmwareLoadMethod int32 @@ -11975,11 +10673,11 @@ func (x SwitchFirmwareLoadMethod) String() string { } func (SwitchFirmwareLoadMethod) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[174].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[156].Descriptor() } func (SwitchFirmwareLoadMethod) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[174] + return &file_dataplane_proto_sai_common_proto_enumTypes[156] } func (x SwitchFirmwareLoadMethod) Number() protoreflect.EnumNumber { @@ -11988,7 +10686,7 @@ func (x SwitchFirmwareLoadMethod) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchFirmwareLoadMethod.Descriptor instead. func (SwitchFirmwareLoadMethod) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{174} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{156} } type SwitchFirmwareLoadType int32 @@ -12027,11 +10725,11 @@ func (x SwitchFirmwareLoadType) String() string { } func (SwitchFirmwareLoadType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[175].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[157].Descriptor() } func (SwitchFirmwareLoadType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[175] + return &file_dataplane_proto_sai_common_proto_enumTypes[157] } func (x SwitchFirmwareLoadType) Number() protoreflect.EnumNumber { @@ -12040,7 +10738,7 @@ func (x SwitchFirmwareLoadType) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchFirmwareLoadType.Descriptor instead. func (SwitchFirmwareLoadType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{175} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{157} } type SwitchHardwareAccessBus int32 @@ -12079,11 +10777,11 @@ func (x SwitchHardwareAccessBus) String() string { } func (SwitchHardwareAccessBus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[176].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[158].Descriptor() } func (SwitchHardwareAccessBus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[176] + return &file_dataplane_proto_sai_common_proto_enumTypes[158] } func (x SwitchHardwareAccessBus) Number() protoreflect.EnumNumber { @@ -12092,7 +10790,7 @@ func (x SwitchHardwareAccessBus) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchHardwareAccessBus.Descriptor instead. func (SwitchHardwareAccessBus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{176} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{158} } type SwitchHostifOperStatusUpdateMode int32 @@ -12128,11 +10826,11 @@ func (x SwitchHostifOperStatusUpdateMode) String() string { } func (SwitchHostifOperStatusUpdateMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[177].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[159].Descriptor() } func (SwitchHostifOperStatusUpdateMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[177] + return &file_dataplane_proto_sai_common_proto_enumTypes[159] } func (x SwitchHostifOperStatusUpdateMode) Number() protoreflect.EnumNumber { @@ -12141,7 +10839,7 @@ func (x SwitchHostifOperStatusUpdateMode) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchHostifOperStatusUpdateMode.Descriptor instead. func (SwitchHostifOperStatusUpdateMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{177} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{159} } type SwitchMcastSnoopingCapability int32 @@ -12183,11 +10881,11 @@ func (x SwitchMcastSnoopingCapability) String() string { } func (SwitchMcastSnoopingCapability) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[178].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[160].Descriptor() } func (SwitchMcastSnoopingCapability) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[178] + return &file_dataplane_proto_sai_common_proto_enumTypes[160] } func (x SwitchMcastSnoopingCapability) Number() protoreflect.EnumNumber { @@ -12196,7 +10894,7 @@ func (x SwitchMcastSnoopingCapability) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchMcastSnoopingCapability.Descriptor instead. func (SwitchMcastSnoopingCapability) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{178} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{160} } type SwitchOperStatus int32 @@ -12238,11 +10936,11 @@ func (x SwitchOperStatus) String() string { } func (SwitchOperStatus) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[179].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[161].Descriptor() } func (SwitchOperStatus) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[179] + return &file_dataplane_proto_sai_common_proto_enumTypes[161] } func (x SwitchOperStatus) Number() protoreflect.EnumNumber { @@ -12251,7 +10949,7 @@ func (x SwitchOperStatus) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchOperStatus.Descriptor instead. func (SwitchOperStatus) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{179} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{161} } type SwitchRestartType int32 @@ -12290,11 +10988,11 @@ func (x SwitchRestartType) String() string { } func (SwitchRestartType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[180].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[162].Descriptor() } func (SwitchRestartType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[180] + return &file_dataplane_proto_sai_common_proto_enumTypes[162] } func (x SwitchRestartType) Number() protoreflect.EnumNumber { @@ -12303,7 +11001,7 @@ func (x SwitchRestartType) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchRestartType.Descriptor instead. func (SwitchRestartType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{180} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{162} } type SwitchStat int32 @@ -12414,11 +11112,11 @@ func (x SwitchStat) String() string { } func (SwitchStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[181].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[163].Descriptor() } func (SwitchStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[181] + return &file_dataplane_proto_sai_common_proto_enumTypes[163] } func (x SwitchStat) Number() protoreflect.EnumNumber { @@ -12427,7 +11125,7 @@ func (x SwitchStat) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchStat.Descriptor instead. func (SwitchStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{181} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{163} } type SwitchSwitchingMode int32 @@ -12463,11 +11161,11 @@ func (x SwitchSwitchingMode) String() string { } func (SwitchSwitchingMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[182].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[164].Descriptor() } func (SwitchSwitchingMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[182] + return &file_dataplane_proto_sai_common_proto_enumTypes[164] } func (x SwitchSwitchingMode) Number() protoreflect.EnumNumber { @@ -12476,7 +11174,7 @@ func (x SwitchSwitchingMode) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchSwitchingMode.Descriptor instead. func (SwitchSwitchingMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{182} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{164} } type SwitchType int32 @@ -12521,11 +11219,11 @@ func (x SwitchType) String() string { } func (SwitchType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[183].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[165].Descriptor() } func (SwitchType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[183] + return &file_dataplane_proto_sai_common_proto_enumTypes[165] } func (x SwitchType) Number() protoreflect.EnumNumber { @@ -12534,7 +11232,7 @@ func (x SwitchType) Number() protoreflect.EnumNumber { // Deprecated: Use SwitchType.Descriptor instead. func (SwitchType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{183} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{165} } type SystemPortType int32 @@ -12570,11 +11268,11 @@ func (x SystemPortType) String() string { } func (SystemPortType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[184].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[166].Descriptor() } func (SystemPortType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[184] + return &file_dataplane_proto_sai_common_proto_enumTypes[166] } func (x SystemPortType) Number() protoreflect.EnumNumber { @@ -12583,7 +11281,7 @@ func (x SystemPortType) Number() protoreflect.EnumNumber { // Deprecated: Use SystemPortType.Descriptor instead. func (SystemPortType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{184} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{166} } type TableBitmapClassificationEntryAction int32 @@ -12619,11 +11317,11 @@ func (x TableBitmapClassificationEntryAction) String() string { } func (TableBitmapClassificationEntryAction) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[185].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[167].Descriptor() } func (TableBitmapClassificationEntryAction) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[185] + return &file_dataplane_proto_sai_common_proto_enumTypes[167] } func (x TableBitmapClassificationEntryAction) Number() protoreflect.EnumNumber { @@ -12632,7 +11330,7 @@ func (x TableBitmapClassificationEntryAction) Number() protoreflect.EnumNumber { // Deprecated: Use TableBitmapClassificationEntryAction.Descriptor instead. func (TableBitmapClassificationEntryAction) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{185} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{167} } type TableBitmapClassificationEntryStat int32 @@ -12668,11 +11366,11 @@ func (x TableBitmapClassificationEntryStat) String() string { } func (TableBitmapClassificationEntryStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[186].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[168].Descriptor() } func (TableBitmapClassificationEntryStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[186] + return &file_dataplane_proto_sai_common_proto_enumTypes[168] } func (x TableBitmapClassificationEntryStat) Number() protoreflect.EnumNumber { @@ -12681,7 +11379,7 @@ func (x TableBitmapClassificationEntryStat) Number() protoreflect.EnumNumber { // Deprecated: Use TableBitmapClassificationEntryStat.Descriptor instead. func (TableBitmapClassificationEntryStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{186} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{168} } type TableBitmapRouterEntryAction int32 @@ -12726,11 +11424,11 @@ func (x TableBitmapRouterEntryAction) String() string { } func (TableBitmapRouterEntryAction) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[187].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[169].Descriptor() } func (TableBitmapRouterEntryAction) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[187] + return &file_dataplane_proto_sai_common_proto_enumTypes[169] } func (x TableBitmapRouterEntryAction) Number() protoreflect.EnumNumber { @@ -12739,7 +11437,7 @@ func (x TableBitmapRouterEntryAction) Number() protoreflect.EnumNumber { // Deprecated: Use TableBitmapRouterEntryAction.Descriptor instead. func (TableBitmapRouterEntryAction) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{187} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{169} } type TableBitmapRouterEntryStat int32 @@ -12775,11 +11473,11 @@ func (x TableBitmapRouterEntryStat) String() string { } func (TableBitmapRouterEntryStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[188].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[170].Descriptor() } func (TableBitmapRouterEntryStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[188] + return &file_dataplane_proto_sai_common_proto_enumTypes[170] } func (x TableBitmapRouterEntryStat) Number() protoreflect.EnumNumber { @@ -12788,7 +11486,7 @@ func (x TableBitmapRouterEntryStat) Number() protoreflect.EnumNumber { // Deprecated: Use TableBitmapRouterEntryStat.Descriptor instead. func (TableBitmapRouterEntryStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{188} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{170} } type TableMetaTunnelEntryAction int32 @@ -12824,11 +11522,11 @@ func (x TableMetaTunnelEntryAction) String() string { } func (TableMetaTunnelEntryAction) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[189].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[171].Descriptor() } func (TableMetaTunnelEntryAction) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[189] + return &file_dataplane_proto_sai_common_proto_enumTypes[171] } func (x TableMetaTunnelEntryAction) Number() protoreflect.EnumNumber { @@ -12837,7 +11535,7 @@ func (x TableMetaTunnelEntryAction) Number() protoreflect.EnumNumber { // Deprecated: Use TableMetaTunnelEntryAction.Descriptor instead. func (TableMetaTunnelEntryAction) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{189} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{171} } type TableMetaTunnelEntryStat int32 @@ -12873,11 +11571,11 @@ func (x TableMetaTunnelEntryStat) String() string { } func (TableMetaTunnelEntryStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[190].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[172].Descriptor() } func (TableMetaTunnelEntryStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[190] + return &file_dataplane_proto_sai_common_proto_enumTypes[172] } func (x TableMetaTunnelEntryStat) Number() protoreflect.EnumNumber { @@ -12886,7 +11584,7 @@ func (x TableMetaTunnelEntryStat) Number() protoreflect.EnumNumber { // Deprecated: Use TableMetaTunnelEntryStat.Descriptor instead. func (TableMetaTunnelEntryStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{190} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{172} } type TamBindPointType int32 @@ -12937,11 +11635,11 @@ func (x TamBindPointType) String() string { } func (TamBindPointType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[191].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[173].Descriptor() } func (TamBindPointType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[191] + return &file_dataplane_proto_sai_common_proto_enumTypes[173] } func (x TamBindPointType) Number() protoreflect.EnumNumber { @@ -12950,7 +11648,7 @@ func (x TamBindPointType) Number() protoreflect.EnumNumber { // Deprecated: Use TamBindPointType.Descriptor instead. func (TamBindPointType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{191} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{173} } type TamEventThresholdUnit int32 @@ -13001,11 +11699,11 @@ func (x TamEventThresholdUnit) String() string { } func (TamEventThresholdUnit) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[192].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[174].Descriptor() } func (TamEventThresholdUnit) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[192] + return &file_dataplane_proto_sai_common_proto_enumTypes[174] } func (x TamEventThresholdUnit) Number() protoreflect.EnumNumber { @@ -13014,7 +11712,7 @@ func (x TamEventThresholdUnit) Number() protoreflect.EnumNumber { // Deprecated: Use TamEventThresholdUnit.Descriptor instead. func (TamEventThresholdUnit) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{192} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{174} } type TamEventType int32 @@ -13074,11 +11772,11 @@ func (x TamEventType) String() string { } func (TamEventType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[193].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[175].Descriptor() } func (TamEventType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[193] + return &file_dataplane_proto_sai_common_proto_enumTypes[175] } func (x TamEventType) Number() protoreflect.EnumNumber { @@ -13087,7 +11785,7 @@ func (x TamEventType) Number() protoreflect.EnumNumber { // Deprecated: Use TamEventType.Descriptor instead. func (TamEventType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{193} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{175} } type TamIntPresenceType int32 @@ -13129,11 +11827,11 @@ func (x TamIntPresenceType) String() string { } func (TamIntPresenceType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[194].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[176].Descriptor() } func (TamIntPresenceType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[194] + return &file_dataplane_proto_sai_common_proto_enumTypes[176] } func (x TamIntPresenceType) Number() protoreflect.EnumNumber { @@ -13142,7 +11840,7 @@ func (x TamIntPresenceType) Number() protoreflect.EnumNumber { // Deprecated: Use TamIntPresenceType.Descriptor instead. func (TamIntPresenceType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{194} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{176} } type TamIntType int32 @@ -13196,11 +11894,11 @@ func (x TamIntType) String() string { } func (TamIntType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[195].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[177].Descriptor() } func (TamIntType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[195] + return &file_dataplane_proto_sai_common_proto_enumTypes[177] } func (x TamIntType) Number() protoreflect.EnumNumber { @@ -13209,7 +11907,7 @@ func (x TamIntType) Number() protoreflect.EnumNumber { // Deprecated: Use TamIntType.Descriptor instead. func (TamIntType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{195} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{177} } type TamReportIntervalUnit int32 @@ -13248,11 +11946,11 @@ func (x TamReportIntervalUnit) String() string { } func (TamReportIntervalUnit) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[196].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[178].Descriptor() } func (TamReportIntervalUnit) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[196] + return &file_dataplane_proto_sai_common_proto_enumTypes[178] } func (x TamReportIntervalUnit) Number() protoreflect.EnumNumber { @@ -13261,7 +11959,7 @@ func (x TamReportIntervalUnit) Number() protoreflect.EnumNumber { // Deprecated: Use TamReportIntervalUnit.Descriptor instead. func (TamReportIntervalUnit) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{196} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{178} } type TamReportMode int32 @@ -13297,11 +11995,11 @@ func (x TamReportMode) String() string { } func (TamReportMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[197].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[179].Descriptor() } func (TamReportMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[197] + return &file_dataplane_proto_sai_common_proto_enumTypes[179] } func (x TamReportMode) Number() protoreflect.EnumNumber { @@ -13310,7 +12008,7 @@ func (x TamReportMode) Number() protoreflect.EnumNumber { // Deprecated: Use TamReportMode.Descriptor instead. func (TamReportMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{197} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{179} } type TamReportType int32 @@ -13370,11 +12068,11 @@ func (x TamReportType) String() string { } func (TamReportType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[198].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[180].Descriptor() } func (TamReportType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[198] + return &file_dataplane_proto_sai_common_proto_enumTypes[180] } func (x TamReportType) Number() protoreflect.EnumNumber { @@ -13383,7 +12081,7 @@ func (x TamReportType) Number() protoreflect.EnumNumber { // Deprecated: Use TamReportType.Descriptor instead. func (TamReportType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{198} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{180} } type TamReportingUnit int32 @@ -13425,11 +12123,11 @@ func (x TamReportingUnit) String() string { } func (TamReportingUnit) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[199].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[181].Descriptor() } func (TamReportingUnit) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[199] + return &file_dataplane_proto_sai_common_proto_enumTypes[181] } func (x TamReportingUnit) Number() protoreflect.EnumNumber { @@ -13438,7 +12136,7 @@ func (x TamReportingUnit) Number() protoreflect.EnumNumber { // Deprecated: Use TamReportingUnit.Descriptor instead. func (TamReportingUnit) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{199} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{181} } type TamTelMathFuncType int32 @@ -13486,11 +12184,11 @@ func (x TamTelMathFuncType) String() string { } func (TamTelMathFuncType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[200].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[182].Descriptor() } func (TamTelMathFuncType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[200] + return &file_dataplane_proto_sai_common_proto_enumTypes[182] } func (x TamTelMathFuncType) Number() protoreflect.EnumNumber { @@ -13499,7 +12197,7 @@ func (x TamTelMathFuncType) Number() protoreflect.EnumNumber { // Deprecated: Use TamTelMathFuncType.Descriptor instead. func (TamTelMathFuncType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{200} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{182} } type TamTelemetryType int32 @@ -13547,11 +12245,11 @@ func (x TamTelemetryType) String() string { } func (TamTelemetryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[201].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[183].Descriptor() } func (TamTelemetryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[201] + return &file_dataplane_proto_sai_common_proto_enumTypes[183] } func (x TamTelemetryType) Number() protoreflect.EnumNumber { @@ -13560,7 +12258,7 @@ func (x TamTelemetryType) Number() protoreflect.EnumNumber { // Deprecated: Use TamTelemetryType.Descriptor instead. func (TamTelemetryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{201} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{183} } type TamTransportAuthType int32 @@ -13599,11 +12297,11 @@ func (x TamTransportAuthType) String() string { } func (TamTransportAuthType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[202].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[184].Descriptor() } func (TamTransportAuthType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[202] + return &file_dataplane_proto_sai_common_proto_enumTypes[184] } func (x TamTransportAuthType) Number() protoreflect.EnumNumber { @@ -13612,7 +12310,7 @@ func (x TamTransportAuthType) Number() protoreflect.EnumNumber { // Deprecated: Use TamTransportAuthType.Descriptor instead. func (TamTransportAuthType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{202} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{184} } type TamTransportType int32 @@ -13657,11 +12355,11 @@ func (x TamTransportType) String() string { } func (TamTransportType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[203].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[185].Descriptor() } func (TamTransportType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[203] + return &file_dataplane_proto_sai_common_proto_enumTypes[185] } func (x TamTransportType) Number() protoreflect.EnumNumber { @@ -13670,7 +12368,7 @@ func (x TamTransportType) Number() protoreflect.EnumNumber { // Deprecated: Use TamTransportType.Descriptor instead. func (TamTransportType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{203} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{185} } type TlvType int32 @@ -13712,11 +12410,11 @@ func (x TlvType) String() string { } func (TlvType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[204].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[186].Descriptor() } func (TlvType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[204] + return &file_dataplane_proto_sai_common_proto_enumTypes[186] } func (x TlvType) Number() protoreflect.EnumNumber { @@ -13725,7 +12423,7 @@ func (x TlvType) Number() protoreflect.EnumNumber { // Deprecated: Use TlvType.Descriptor instead. func (TlvType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{204} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{186} } type TunnelDecapEcnMode int32 @@ -13764,11 +12462,11 @@ func (x TunnelDecapEcnMode) String() string { } func (TunnelDecapEcnMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[205].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[187].Descriptor() } func (TunnelDecapEcnMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[205] + return &file_dataplane_proto_sai_common_proto_enumTypes[187] } func (x TunnelDecapEcnMode) Number() protoreflect.EnumNumber { @@ -13777,7 +12475,7 @@ func (x TunnelDecapEcnMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelDecapEcnMode.Descriptor instead. func (TunnelDecapEcnMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{205} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{187} } type TunnelDscpMode int32 @@ -13813,11 +12511,11 @@ func (x TunnelDscpMode) String() string { } func (TunnelDscpMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[206].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[188].Descriptor() } func (TunnelDscpMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[206] + return &file_dataplane_proto_sai_common_proto_enumTypes[188] } func (x TunnelDscpMode) Number() protoreflect.EnumNumber { @@ -13826,7 +12524,7 @@ func (x TunnelDscpMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelDscpMode.Descriptor instead. func (TunnelDscpMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{206} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{188} } type TunnelEncapEcnMode int32 @@ -13862,11 +12560,11 @@ func (x TunnelEncapEcnMode) String() string { } func (TunnelEncapEcnMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[207].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[189].Descriptor() } func (TunnelEncapEcnMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[207] + return &file_dataplane_proto_sai_common_proto_enumTypes[189] } func (x TunnelEncapEcnMode) Number() protoreflect.EnumNumber { @@ -13875,7 +12573,7 @@ func (x TunnelEncapEcnMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelEncapEcnMode.Descriptor instead. func (TunnelEncapEcnMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{207} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{189} } type TunnelMapType int32 @@ -13950,11 +12648,11 @@ func (x TunnelMapType) String() string { } func (TunnelMapType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[208].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[190].Descriptor() } func (TunnelMapType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[208] + return &file_dataplane_proto_sai_common_proto_enumTypes[190] } func (x TunnelMapType) Number() protoreflect.EnumNumber { @@ -13963,7 +12661,7 @@ func (x TunnelMapType) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelMapType.Descriptor instead. func (TunnelMapType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{208} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{190} } type TunnelPeerMode int32 @@ -13999,11 +12697,11 @@ func (x TunnelPeerMode) String() string { } func (TunnelPeerMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[209].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[191].Descriptor() } func (TunnelPeerMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[209] + return &file_dataplane_proto_sai_common_proto_enumTypes[191] } func (x TunnelPeerMode) Number() protoreflect.EnumNumber { @@ -14012,7 +12710,7 @@ func (x TunnelPeerMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelPeerMode.Descriptor instead. func (TunnelPeerMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{209} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{191} } type TunnelStat int32 @@ -14054,11 +12752,11 @@ func (x TunnelStat) String() string { } func (TunnelStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[210].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[192].Descriptor() } func (TunnelStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[210] + return &file_dataplane_proto_sai_common_proto_enumTypes[192] } func (x TunnelStat) Number() protoreflect.EnumNumber { @@ -14067,7 +12765,7 @@ func (x TunnelStat) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelStat.Descriptor instead. func (TunnelStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{210} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{192} } type TunnelTermTableEntryType int32 @@ -14109,11 +12807,11 @@ func (x TunnelTermTableEntryType) String() string { } func (TunnelTermTableEntryType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[211].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[193].Descriptor() } func (TunnelTermTableEntryType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[211] + return &file_dataplane_proto_sai_common_proto_enumTypes[193] } func (x TunnelTermTableEntryType) Number() protoreflect.EnumNumber { @@ -14122,7 +12820,7 @@ func (x TunnelTermTableEntryType) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelTermTableEntryType.Descriptor instead. func (TunnelTermTableEntryType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{211} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{193} } type TunnelTtlMode int32 @@ -14158,11 +12856,11 @@ func (x TunnelTtlMode) String() string { } func (TunnelTtlMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[212].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[194].Descriptor() } func (TunnelTtlMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[212] + return &file_dataplane_proto_sai_common_proto_enumTypes[194] } func (x TunnelTtlMode) Number() protoreflect.EnumNumber { @@ -14171,7 +12869,7 @@ func (x TunnelTtlMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelTtlMode.Descriptor instead. func (TunnelTtlMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{212} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{194} } type TunnelType int32 @@ -14228,11 +12926,11 @@ func (x TunnelType) String() string { } func (TunnelType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[213].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[195].Descriptor() } func (TunnelType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[213] + return &file_dataplane_proto_sai_common_proto_enumTypes[195] } func (x TunnelType) Number() protoreflect.EnumNumber { @@ -14241,7 +12939,7 @@ func (x TunnelType) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelType.Descriptor instead. func (TunnelType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{213} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{195} } type TunnelVxlanUdpSportMode int32 @@ -14277,11 +12975,11 @@ func (x TunnelVxlanUdpSportMode) String() string { } func (TunnelVxlanUdpSportMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[214].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[196].Descriptor() } func (TunnelVxlanUdpSportMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[214] + return &file_dataplane_proto_sai_common_proto_enumTypes[196] } func (x TunnelVxlanUdpSportMode) Number() protoreflect.EnumNumber { @@ -14290,7 +12988,7 @@ func (x TunnelVxlanUdpSportMode) Number() protoreflect.EnumNumber { // Deprecated: Use TunnelVxlanUdpSportMode.Descriptor instead. func (TunnelVxlanUdpSportMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{214} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{196} } type UdfBase int32 @@ -14329,11 +13027,11 @@ func (x UdfBase) String() string { } func (UdfBase) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[215].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[197].Descriptor() } func (UdfBase) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[215] + return &file_dataplane_proto_sai_common_proto_enumTypes[197] } func (x UdfBase) Number() protoreflect.EnumNumber { @@ -14342,7 +13040,7 @@ func (x UdfBase) Number() protoreflect.EnumNumber { // Deprecated: Use UdfBase.Descriptor instead. func (UdfBase) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{215} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{197} } type UdfGroupType int32 @@ -14384,11 +13082,11 @@ func (x UdfGroupType) String() string { } func (UdfGroupType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[216].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[198].Descriptor() } func (UdfGroupType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[216] + return &file_dataplane_proto_sai_common_proto_enumTypes[198] } func (x UdfGroupType) Number() protoreflect.EnumNumber { @@ -14397,7 +13095,7 @@ func (x UdfGroupType) Number() protoreflect.EnumNumber { // Deprecated: Use UdfGroupType.Descriptor instead. func (UdfGroupType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{216} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{198} } type VlanFloodControlType int32 @@ -14439,11 +13137,11 @@ func (x VlanFloodControlType) String() string { } func (VlanFloodControlType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[217].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[199].Descriptor() } func (VlanFloodControlType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[217] + return &file_dataplane_proto_sai_common_proto_enumTypes[199] } func (x VlanFloodControlType) Number() protoreflect.EnumNumber { @@ -14452,7 +13150,7 @@ func (x VlanFloodControlType) Number() protoreflect.EnumNumber { // Deprecated: Use VlanFloodControlType.Descriptor instead. func (VlanFloodControlType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{217} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{199} } type VlanMcastLookupKeyType int32 @@ -14494,11 +13192,11 @@ func (x VlanMcastLookupKeyType) String() string { } func (VlanMcastLookupKeyType) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[218].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[200].Descriptor() } func (VlanMcastLookupKeyType) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[218] + return &file_dataplane_proto_sai_common_proto_enumTypes[200] } func (x VlanMcastLookupKeyType) Number() protoreflect.EnumNumber { @@ -14507,7 +13205,7 @@ func (x VlanMcastLookupKeyType) Number() protoreflect.EnumNumber { // Deprecated: Use VlanMcastLookupKeyType.Descriptor instead. func (VlanMcastLookupKeyType) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{218} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{200} } type VlanStat int32 @@ -14579,11 +13277,11 @@ func (x VlanStat) String() string { } func (VlanStat) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[219].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[201].Descriptor() } func (VlanStat) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[219] + return &file_dataplane_proto_sai_common_proto_enumTypes[201] } func (x VlanStat) Number() protoreflect.EnumNumber { @@ -14592,7 +13290,7 @@ func (x VlanStat) Number() protoreflect.EnumNumber { // Deprecated: Use VlanStat.Descriptor instead. func (VlanStat) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{219} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{201} } type VlanTaggingMode int32 @@ -14631,11 +13329,11 @@ func (x VlanTaggingMode) String() string { } func (VlanTaggingMode) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_common_proto_enumTypes[220].Descriptor() + return file_dataplane_proto_sai_common_proto_enumTypes[202].Descriptor() } func (VlanTaggingMode) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_common_proto_enumTypes[220] + return &file_dataplane_proto_sai_common_proto_enumTypes[202] } func (x VlanTaggingMode) Number() protoreflect.EnumNumber { @@ -14644,7 +13342,7 @@ func (x VlanTaggingMode) Number() protoreflect.EnumNumber { // Deprecated: Use VlanTaggingMode.Descriptor instead. func (VlanTaggingMode) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{220} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{202} } type AclActionData struct { @@ -21619,74 +20317,6 @@ func (x *FdbFlushAttribute) GetEntryType() FdbFlushEntryType { return FdbFlushEntryType_FDB_FLUSH_ENTRY_TYPE_UNSPECIFIED } -type FineGrainedHashFieldAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - NativeHashField *NativeHashField `protobuf:"varint,1,opt,name=native_hash_field,json=nativeHashField,proto3,enum=lemming.dataplane.sai.NativeHashField,oneof" json:"native_hash_field,omitempty"` - Ipv4Mask []byte `protobuf:"bytes,2,opt,name=ipv4_mask,json=ipv4Mask,proto3,oneof" json:"ipv4_mask,omitempty"` - Ipv6Mask []byte `protobuf:"bytes,3,opt,name=ipv6_mask,json=ipv6Mask,proto3,oneof" json:"ipv6_mask,omitempty"` - SequenceId *uint32 `protobuf:"varint,4,opt,name=sequence_id,json=sequenceId,proto3,oneof" json:"sequence_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *FineGrainedHashFieldAttribute) Reset() { - *x = FineGrainedHashFieldAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *FineGrainedHashFieldAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FineGrainedHashFieldAttribute) ProtoMessage() {} - -func (x *FineGrainedHashFieldAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[60] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FineGrainedHashFieldAttribute.ProtoReflect.Descriptor instead. -func (*FineGrainedHashFieldAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{60} -} - -func (x *FineGrainedHashFieldAttribute) GetNativeHashField() NativeHashField { - if x != nil && x.NativeHashField != nil { - return *x.NativeHashField - } - return NativeHashField_NATIVE_HASH_FIELD_UNSPECIFIED -} - -func (x *FineGrainedHashFieldAttribute) GetIpv4Mask() []byte { - if x != nil { - return x.Ipv4Mask - } - return nil -} - -func (x *FineGrainedHashFieldAttribute) GetIpv6Mask() []byte { - if x != nil { - return x.Ipv6Mask - } - return nil -} - -func (x *FineGrainedHashFieldAttribute) GetSequenceId() uint32 { - if x != nil && x.SequenceId != nil { - return *x.SequenceId - } - return 0 -} - type GenericProgrammableAttribute struct { state protoimpl.MessageState `protogen:"open.v1"` ObjectName []int32 `protobuf:"varint,1,rep,packed,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` @@ -21698,7 +20328,7 @@ type GenericProgrammableAttribute struct { func (x *GenericProgrammableAttribute) Reset() { *x = GenericProgrammableAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[61] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21710,7 +20340,7 @@ func (x *GenericProgrammableAttribute) String() string { func (*GenericProgrammableAttribute) ProtoMessage() {} func (x *GenericProgrammableAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[61] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[60] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21723,7 +20353,7 @@ func (x *GenericProgrammableAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use GenericProgrammableAttribute.ProtoReflect.Descriptor instead. func (*GenericProgrammableAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{61} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{60} } func (x *GenericProgrammableAttribute) GetObjectName() []int32 { @@ -21758,7 +20388,7 @@ type HashAttribute struct { func (x *HashAttribute) Reset() { *x = HashAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[62] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21770,7 +20400,7 @@ func (x *HashAttribute) String() string { func (*HashAttribute) ProtoMessage() {} func (x *HashAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[62] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[61] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21783,7 +20413,7 @@ func (x *HashAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HashAttribute.ProtoReflect.Descriptor instead. func (*HashAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{62} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{61} } func (x *HashAttribute) GetNativeHashFieldList() []NativeHashField { @@ -21822,7 +20452,7 @@ type HostifAttribute struct { func (x *HostifAttribute) Reset() { *x = HostifAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[63] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21834,7 +20464,7 @@ func (x *HostifAttribute) String() string { func (*HostifAttribute) ProtoMessage() {} func (x *HostifAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[63] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[62] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21847,7 +20477,7 @@ func (x *HostifAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifAttribute.ProtoReflect.Descriptor instead. func (*HostifAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{63} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{62} } func (x *HostifAttribute) GetType() HostifType { @@ -21916,7 +20546,7 @@ type HostifPacketAttribute struct { func (x *HostifPacketAttribute) Reset() { *x = HostifPacketAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[64] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21928,7 +20558,7 @@ func (x *HostifPacketAttribute) String() string { func (*HostifPacketAttribute) ProtoMessage() {} func (x *HostifPacketAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[64] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[63] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21941,7 +20571,7 @@ func (x *HostifPacketAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifPacketAttribute.ProtoReflect.Descriptor instead. func (*HostifPacketAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{64} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{63} } func (x *HostifPacketAttribute) GetHostifTrapId() uint64 { @@ -22020,7 +20650,7 @@ type HostifTableEntryAttribute struct { func (x *HostifTableEntryAttribute) Reset() { *x = HostifTableEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[65] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22032,7 +20662,7 @@ func (x *HostifTableEntryAttribute) String() string { func (*HostifTableEntryAttribute) ProtoMessage() {} func (x *HostifTableEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[65] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[64] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22045,7 +20675,7 @@ func (x *HostifTableEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifTableEntryAttribute.ProtoReflect.Descriptor instead. func (*HostifTableEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{65} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{64} } func (x *HostifTableEntryAttribute) GetType() HostifTableEntryType { @@ -22098,7 +20728,7 @@ type HostifTrapAttribute struct { func (x *HostifTrapAttribute) Reset() { *x = HostifTrapAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[66] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22110,7 +20740,7 @@ func (x *HostifTrapAttribute) String() string { func (*HostifTrapAttribute) ProtoMessage() {} func (x *HostifTrapAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[66] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[65] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22123,7 +20753,7 @@ func (x *HostifTrapAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifTrapAttribute.ProtoReflect.Descriptor instead. func (*HostifTrapAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{66} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{65} } func (x *HostifTrapAttribute) GetTrapType() HostifTrapType { @@ -22187,7 +20817,7 @@ type HostifTrapGroupAttribute struct { func (x *HostifTrapGroupAttribute) Reset() { *x = HostifTrapGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[67] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22199,7 +20829,7 @@ func (x *HostifTrapGroupAttribute) String() string { func (*HostifTrapGroupAttribute) ProtoMessage() {} func (x *HostifTrapGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[67] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[66] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22212,7 +20842,7 @@ func (x *HostifTrapGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifTrapGroupAttribute.ProtoReflect.Descriptor instead. func (*HostifTrapGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{67} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{66} } func (x *HostifTrapGroupAttribute) GetAdminState() bool { @@ -22254,7 +20884,7 @@ type HostifUserDefinedTrapAttribute struct { func (x *HostifUserDefinedTrapAttribute) Reset() { *x = HostifUserDefinedTrapAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[68] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22266,7 +20896,7 @@ func (x *HostifUserDefinedTrapAttribute) String() string { func (*HostifUserDefinedTrapAttribute) ProtoMessage() {} func (x *HostifUserDefinedTrapAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[68] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[67] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22279,7 +20909,7 @@ func (x *HostifUserDefinedTrapAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use HostifUserDefinedTrapAttribute.ProtoReflect.Descriptor instead. func (*HostifUserDefinedTrapAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{68} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{67} } func (x *HostifUserDefinedTrapAttribute) GetType() HostifUserDefinedTrapType { @@ -22330,7 +20960,7 @@ type IcmpEchoSessionAttribute struct { func (x *IcmpEchoSessionAttribute) Reset() { *x = IcmpEchoSessionAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[69] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22342,7 +20972,7 @@ func (x *IcmpEchoSessionAttribute) String() string { func (*IcmpEchoSessionAttribute) ProtoMessage() {} func (x *IcmpEchoSessionAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[69] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[68] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22355,7 +20985,7 @@ func (x *IcmpEchoSessionAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IcmpEchoSessionAttribute.ProtoReflect.Descriptor instead. func (*IcmpEchoSessionAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{69} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{68} } func (x *IcmpEchoSessionAttribute) GetHwLookupValid() bool { @@ -22491,214 +21121,6 @@ func (x *IcmpEchoSessionAttribute) GetSelectiveCounterList() []uint64 { return nil } -type IngressPriorityGroupAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - BufferProfile *uint64 `protobuf:"varint,1,opt,name=buffer_profile,json=bufferProfile,proto3,oneof" json:"buffer_profile,omitempty"` - Port *uint64 `protobuf:"varint,2,opt,name=port,proto3,oneof" json:"port,omitempty"` - Tam []uint64 `protobuf:"varint,3,rep,packed,name=tam,proto3" json:"tam,omitempty"` - Index *uint32 `protobuf:"varint,4,opt,name=index,proto3,oneof" json:"index,omitempty"` - StatsCountMode *StatsCountMode `protobuf:"varint,5,opt,name=stats_count_mode,json=statsCountMode,proto3,enum=lemming.dataplane.sai.StatsCountMode,oneof" json:"stats_count_mode,omitempty"` - SelectiveCounterList []uint64 `protobuf:"varint,6,rep,packed,name=selective_counter_list,json=selectiveCounterList,proto3" json:"selective_counter_list,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IngressPriorityGroupAttribute) Reset() { - *x = IngressPriorityGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IngressPriorityGroupAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IngressPriorityGroupAttribute) ProtoMessage() {} - -func (x *IngressPriorityGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[70] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IngressPriorityGroupAttribute.ProtoReflect.Descriptor instead. -func (*IngressPriorityGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{70} -} - -func (x *IngressPriorityGroupAttribute) GetBufferProfile() uint64 { - if x != nil && x.BufferProfile != nil { - return *x.BufferProfile - } - return 0 -} - -func (x *IngressPriorityGroupAttribute) GetPort() uint64 { - if x != nil && x.Port != nil { - return *x.Port - } - return 0 -} - -func (x *IngressPriorityGroupAttribute) GetTam() []uint64 { - if x != nil { - return x.Tam - } - return nil -} - -func (x *IngressPriorityGroupAttribute) GetIndex() uint32 { - if x != nil && x.Index != nil { - return *x.Index - } - return 0 -} - -func (x *IngressPriorityGroupAttribute) GetStatsCountMode() StatsCountMode { - if x != nil && x.StatsCountMode != nil { - return *x.StatsCountMode - } - return StatsCountMode_STATS_COUNT_MODE_UNSPECIFIED -} - -func (x *IngressPriorityGroupAttribute) GetSelectiveCounterList() []uint64 { - if x != nil { - return x.SelectiveCounterList - } - return nil -} - -type InsegEntryAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - NumOfPop *uint32 `protobuf:"varint,1,opt,name=num_of_pop,json=numOfPop,proto3,oneof" json:"num_of_pop,omitempty"` - PacketAction *PacketAction `protobuf:"varint,2,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,3,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,4,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - PscType *InsegEntryPscType `protobuf:"varint,5,opt,name=psc_type,json=pscType,proto3,enum=lemming.dataplane.sai.InsegEntryPscType,oneof" json:"psc_type,omitempty"` - QosTc *uint32 `protobuf:"varint,6,opt,name=qos_tc,json=qosTc,proto3,oneof" json:"qos_tc,omitempty"` - MplsExpToTcMap *uint64 `protobuf:"varint,7,opt,name=mpls_exp_to_tc_map,json=mplsExpToTcMap,proto3,oneof" json:"mpls_exp_to_tc_map,omitempty"` - MplsExpToColorMap *uint64 `protobuf:"varint,8,opt,name=mpls_exp_to_color_map,json=mplsExpToColorMap,proto3,oneof" json:"mpls_exp_to_color_map,omitempty"` - PopTtlMode *InsegEntryPopTtlMode `protobuf:"varint,9,opt,name=pop_ttl_mode,json=popTtlMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopTtlMode,oneof" json:"pop_ttl_mode,omitempty"` - PopQosMode *InsegEntryPopQosMode `protobuf:"varint,10,opt,name=pop_qos_mode,json=popQosMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopQosMode,oneof" json:"pop_qos_mode,omitempty"` - CounterId *uint64 `protobuf:"varint,11,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *InsegEntryAttribute) Reset() { - *x = InsegEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *InsegEntryAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InsegEntryAttribute) ProtoMessage() {} - -func (x *InsegEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[71] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InsegEntryAttribute.ProtoReflect.Descriptor instead. -func (*InsegEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{71} -} - -func (x *InsegEntryAttribute) GetNumOfPop() uint32 { - if x != nil && x.NumOfPop != nil { - return *x.NumOfPop - } - return 0 -} - -func (x *InsegEntryAttribute) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *InsegEntryAttribute) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *InsegEntryAttribute) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *InsegEntryAttribute) GetPscType() InsegEntryPscType { - if x != nil && x.PscType != nil { - return *x.PscType - } - return InsegEntryPscType_INSEG_ENTRY_PSC_TYPE_UNSPECIFIED -} - -func (x *InsegEntryAttribute) GetQosTc() uint32 { - if x != nil && x.QosTc != nil { - return *x.QosTc - } - return 0 -} - -func (x *InsegEntryAttribute) GetMplsExpToTcMap() uint64 { - if x != nil && x.MplsExpToTcMap != nil { - return *x.MplsExpToTcMap - } - return 0 -} - -func (x *InsegEntryAttribute) GetMplsExpToColorMap() uint64 { - if x != nil && x.MplsExpToColorMap != nil { - return *x.MplsExpToColorMap - } - return 0 -} - -func (x *InsegEntryAttribute) GetPopTtlMode() InsegEntryPopTtlMode { - if x != nil && x.PopTtlMode != nil { - return *x.PopTtlMode - } - return InsegEntryPopTtlMode_INSEG_ENTRY_POP_TTL_MODE_UNSPECIFIED -} - -func (x *InsegEntryAttribute) GetPopQosMode() InsegEntryPopQosMode { - if x != nil && x.PopQosMode != nil { - return *x.PopQosMode - } - return InsegEntryPopQosMode_INSEG_ENTRY_POP_QOS_MODE_UNSPECIFIED -} - -func (x *InsegEntryAttribute) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - type IpmcEntryAttribute struct { state protoimpl.MessageState `protogen:"open.v1"` PacketAction *PacketAction `protobuf:"varint,1,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` @@ -22711,7 +21133,7 @@ type IpmcEntryAttribute struct { func (x *IpmcEntryAttribute) Reset() { *x = IpmcEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[72] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22723,7 +21145,7 @@ func (x *IpmcEntryAttribute) String() string { func (*IpmcEntryAttribute) ProtoMessage() {} func (x *IpmcEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[72] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[69] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22736,7 +21158,7 @@ func (x *IpmcEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpmcEntryAttribute.ProtoReflect.Descriptor instead. func (*IpmcEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{72} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{69} } func (x *IpmcEntryAttribute) GetPacketAction() PacketAction { @@ -22777,7 +21199,7 @@ type IpmcGroupAttribute struct { func (x *IpmcGroupAttribute) Reset() { *x = IpmcGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[73] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22789,7 +21211,7 @@ func (x *IpmcGroupAttribute) String() string { func (*IpmcGroupAttribute) ProtoMessage() {} func (x *IpmcGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[73] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[70] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22802,7 +21224,7 @@ func (x *IpmcGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpmcGroupAttribute.ProtoReflect.Descriptor instead. func (*IpmcGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{73} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{70} } func (x *IpmcGroupAttribute) GetIpmcOutputCount() uint32 { @@ -22829,7 +21251,7 @@ type IpmcGroupMemberAttribute struct { func (x *IpmcGroupMemberAttribute) Reset() { *x = IpmcGroupMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[74] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22841,7 +21263,7 @@ func (x *IpmcGroupMemberAttribute) String() string { func (*IpmcGroupMemberAttribute) ProtoMessage() {} func (x *IpmcGroupMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[74] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[71] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22854,7 +21276,7 @@ func (x *IpmcGroupMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpmcGroupMemberAttribute.ProtoReflect.Descriptor instead. func (*IpmcGroupMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{74} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{71} } func (x *IpmcGroupMemberAttribute) GetIpmcGroupId() uint64 { @@ -22899,7 +21321,7 @@ type IpsecAttribute struct { func (x *IpsecAttribute) Reset() { *x = IpsecAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[75] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22911,7 +21333,7 @@ func (x *IpsecAttribute) String() string { func (*IpsecAttribute) ProtoMessage() {} func (x *IpsecAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[75] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[72] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22924,7 +21346,7 @@ func (x *IpsecAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpsecAttribute.ProtoReflect.Descriptor instead. func (*IpsecAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{75} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{72} } func (x *IpsecAttribute) GetTermRemoteIpMatchSupported() bool { @@ -23083,7 +21505,7 @@ type IpsecPortAttribute struct { func (x *IpsecPortAttribute) Reset() { *x = IpsecPortAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[76] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23095,7 +21517,7 @@ func (x *IpsecPortAttribute) String() string { func (*IpsecPortAttribute) ProtoMessage() {} func (x *IpsecPortAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[76] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[73] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23108,7 +21530,7 @@ func (x *IpsecPortAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpsecPortAttribute.ProtoReflect.Descriptor instead. func (*IpsecPortAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{76} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{73} } func (x *IpsecPortAttribute) GetPortId() uint64 { @@ -23198,7 +21620,7 @@ type IpsecSaAttribute struct { func (x *IpsecSaAttribute) Reset() { *x = IpsecSaAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[77] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23210,7 +21632,7 @@ func (x *IpsecSaAttribute) String() string { func (*IpsecSaAttribute) ProtoMessage() {} func (x *IpsecSaAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[77] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[74] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23223,7 +21645,7 @@ func (x *IpsecSaAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IpsecSaAttribute.ProtoReflect.Descriptor instead. func (*IpsecSaAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{77} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{74} } func (x *IpsecSaAttribute) GetIpsecDirection() IpsecDirection { @@ -23397,7 +21819,7 @@ type IsolationGroupAttribute struct { func (x *IsolationGroupAttribute) Reset() { *x = IsolationGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[78] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23409,7 +21831,7 @@ func (x *IsolationGroupAttribute) String() string { func (*IsolationGroupAttribute) ProtoMessage() {} func (x *IsolationGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[78] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[75] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23422,7 +21844,7 @@ func (x *IsolationGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IsolationGroupAttribute.ProtoReflect.Descriptor instead. func (*IsolationGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{78} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{75} } func (x *IsolationGroupAttribute) GetType() IsolationGroupType { @@ -23449,7 +21871,7 @@ type IsolationGroupMemberAttribute struct { func (x *IsolationGroupMemberAttribute) Reset() { *x = IsolationGroupMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[79] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23461,7 +21883,7 @@ func (x *IsolationGroupMemberAttribute) String() string { func (*IsolationGroupMemberAttribute) ProtoMessage() {} func (x *IsolationGroupMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[79] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[76] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23474,7 +21896,7 @@ func (x *IsolationGroupMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use IsolationGroupMemberAttribute.ProtoReflect.Descriptor instead. func (*IsolationGroupMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{79} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{76} } func (x *IsolationGroupMemberAttribute) GetIsolationGroupId() uint64 { @@ -23501,7 +21923,7 @@ type L2McEntryAttribute struct { func (x *L2McEntryAttribute) Reset() { *x = L2McEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[80] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23513,7 +21935,7 @@ func (x *L2McEntryAttribute) String() string { func (*L2McEntryAttribute) ProtoMessage() {} func (x *L2McEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[80] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[77] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23526,7 +21948,7 @@ func (x *L2McEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use L2McEntryAttribute.ProtoReflect.Descriptor instead. func (*L2McEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{80} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{77} } func (x *L2McEntryAttribute) GetPacketAction() PacketAction { @@ -23553,7 +21975,7 @@ type L2McGroupAttribute struct { func (x *L2McGroupAttribute) Reset() { *x = L2McGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[81] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23565,7 +21987,7 @@ func (x *L2McGroupAttribute) String() string { func (*L2McGroupAttribute) ProtoMessage() {} func (x *L2McGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[81] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[78] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23578,7 +22000,7 @@ func (x *L2McGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use L2McGroupAttribute.ProtoReflect.Descriptor instead. func (*L2McGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{81} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{78} } func (x *L2McGroupAttribute) GetL2McOutputCount() uint32 { @@ -23606,7 +22028,7 @@ type L2McGroupMemberAttribute struct { func (x *L2McGroupMemberAttribute) Reset() { *x = L2McGroupMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[82] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23618,7 +22040,7 @@ func (x *L2McGroupMemberAttribute) String() string { func (*L2McGroupMemberAttribute) ProtoMessage() {} func (x *L2McGroupMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[82] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[79] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23631,7 +22053,7 @@ func (x *L2McGroupMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use L2McGroupMemberAttribute.ProtoReflect.Descriptor instead. func (*L2McGroupMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{82} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{79} } func (x *L2McGroupMemberAttribute) GetL2McGroupId() uint64 { @@ -23676,7 +22098,7 @@ type LagAttribute struct { func (x *LagAttribute) Reset() { *x = LagAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[83] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23688,7 +22110,7 @@ func (x *LagAttribute) String() string { func (*LagAttribute) ProtoMessage() {} func (x *LagAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[83] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[80] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23701,7 +22123,7 @@ func (x *LagAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use LagAttribute.ProtoReflect.Descriptor instead. func (*LagAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{83} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{80} } func (x *LagAttribute) GetPortList() []uint64 { @@ -23807,7 +22229,7 @@ type LagMemberAttribute struct { func (x *LagMemberAttribute) Reset() { *x = LagMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[84] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23819,7 +22241,7 @@ func (x *LagMemberAttribute) String() string { func (*LagMemberAttribute) ProtoMessage() {} func (x *LagMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[84] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[81] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23832,7 +22254,7 @@ func (x *LagMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use LagMemberAttribute.ProtoReflect.Descriptor instead. func (*LagMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{84} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{81} } func (x *LagMemberAttribute) GetLagId() uint64 { @@ -23897,7 +22319,7 @@ type MacsecAttribute struct { func (x *MacsecAttribute) Reset() { *x = MacsecAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[85] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -23909,7 +22331,7 @@ func (x *MacsecAttribute) String() string { func (*MacsecAttribute) ProtoMessage() {} func (x *MacsecAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[85] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[82] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23922,7 +22344,7 @@ func (x *MacsecAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MacsecAttribute.ProtoReflect.Descriptor instead. func (*MacsecAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{85} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{82} } func (x *MacsecAttribute) GetDirection() MacsecDirection { @@ -24120,7 +22542,7 @@ type MacsecFlowAttribute struct { func (x *MacsecFlowAttribute) Reset() { *x = MacsecFlowAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[86] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24132,7 +22554,7 @@ func (x *MacsecFlowAttribute) String() string { func (*MacsecFlowAttribute) ProtoMessage() {} func (x *MacsecFlowAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[86] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[83] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24145,7 +22567,7 @@ func (x *MacsecFlowAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MacsecFlowAttribute.ProtoReflect.Descriptor instead. func (*MacsecFlowAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{86} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{83} } func (x *MacsecFlowAttribute) GetMacsecDirection() MacsecDirection { @@ -24198,7 +22620,7 @@ type MacsecPortAttribute struct { func (x *MacsecPortAttribute) Reset() { *x = MacsecPortAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[87] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24210,7 +22632,7 @@ func (x *MacsecPortAttribute) String() string { func (*MacsecPortAttribute) ProtoMessage() {} func (x *MacsecPortAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[87] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[84] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24223,7 +22645,7 @@ func (x *MacsecPortAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MacsecPortAttribute.ProtoReflect.Descriptor instead. func (*MacsecPortAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{87} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{84} } func (x *MacsecPortAttribute) GetMacsecDirection() MacsecDirection { @@ -24293,7 +22715,7 @@ type MacsecSaAttribute struct { func (x *MacsecSaAttribute) Reset() { *x = MacsecSaAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[88] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24305,7 +22727,7 @@ func (x *MacsecSaAttribute) String() string { func (*MacsecSaAttribute) ProtoMessage() {} func (x *MacsecSaAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[88] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[85] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24318,7 +22740,7 @@ func (x *MacsecSaAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MacsecSaAttribute.ProtoReflect.Descriptor instead. func (*MacsecSaAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{88} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{85} } func (x *MacsecSaAttribute) GetMacsecDirection() MacsecDirection { @@ -24410,7 +22832,7 @@ type MacsecScAttribute struct { func (x *MacsecScAttribute) Reset() { *x = MacsecScAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[89] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24422,7 +22844,7 @@ func (x *MacsecScAttribute) String() string { func (*MacsecScAttribute) ProtoMessage() {} func (x *MacsecScAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[89] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[86] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24435,7 +22857,7 @@ func (x *MacsecScAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MacsecScAttribute.ProtoReflect.Descriptor instead. func (*MacsecScAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{89} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{86} } func (x *MacsecScAttribute) GetMacsecDirection() MacsecDirection { @@ -24526,7 +22948,7 @@ type McastFdbEntryAttribute struct { func (x *McastFdbEntryAttribute) Reset() { *x = McastFdbEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[90] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24538,7 +22960,7 @@ func (x *McastFdbEntryAttribute) String() string { func (*McastFdbEntryAttribute) ProtoMessage() {} func (x *McastFdbEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[90] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[87] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24551,7 +22973,7 @@ func (x *McastFdbEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use McastFdbEntryAttribute.ProtoReflect.Descriptor instead. func (*McastFdbEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{90} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{87} } func (x *McastFdbEntryAttribute) GetGroupId() uint64 { @@ -24609,7 +23031,7 @@ type MirrorSessionAttribute struct { func (x *MirrorSessionAttribute) Reset() { *x = MirrorSessionAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[91] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24621,7 +23043,7 @@ func (x *MirrorSessionAttribute) String() string { func (*MirrorSessionAttribute) ProtoMessage() {} func (x *MirrorSessionAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[91] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[88] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24634,7 +23056,7 @@ func (x *MirrorSessionAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MirrorSessionAttribute.ProtoReflect.Descriptor instead. func (*MirrorSessionAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{91} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{88} } func (x *MirrorSessionAttribute) GetType() MirrorSessionType { @@ -24832,7 +23254,7 @@ type MyMacAttribute struct { func (x *MyMacAttribute) Reset() { *x = MyMacAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[92] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -24844,7 +23266,7 @@ func (x *MyMacAttribute) String() string { func (*MyMacAttribute) ProtoMessage() {} func (x *MyMacAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[92] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[89] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24857,7 +23279,7 @@ func (x *MyMacAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use MyMacAttribute.ProtoReflect.Descriptor instead. func (*MyMacAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{92} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{89} } func (x *MyMacAttribute) GetPriority() uint32 { @@ -24895,106 +23317,6 @@ func (x *MyMacAttribute) GetMacAddressMask() []byte { return nil } -type MySidEntryAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - EndpointBehavior *MySidEntryEndpointBehavior `protobuf:"varint,1,opt,name=endpoint_behavior,json=endpointBehavior,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehavior,oneof" json:"endpoint_behavior,omitempty"` - EndpointBehaviorFlavor *MySidEntryEndpointBehaviorFlavor `protobuf:"varint,2,opt,name=endpoint_behavior_flavor,json=endpointBehaviorFlavor,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor,oneof" json:"endpoint_behavior_flavor,omitempty"` - PacketAction *PacketAction `protobuf:"varint,3,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,4,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,5,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - TunnelId *uint64 `protobuf:"varint,6,opt,name=tunnel_id,json=tunnelId,proto3,oneof" json:"tunnel_id,omitempty"` - Vrf *uint64 `protobuf:"varint,7,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"` - CounterId *uint64 `protobuf:"varint,8,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MySidEntryAttribute) Reset() { - *x = MySidEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[93] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MySidEntryAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MySidEntryAttribute) ProtoMessage() {} - -func (x *MySidEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[93] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MySidEntryAttribute.ProtoReflect.Descriptor instead. -func (*MySidEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{93} -} - -func (x *MySidEntryAttribute) GetEndpointBehavior() MySidEntryEndpointBehavior { - if x != nil && x.EndpointBehavior != nil { - return *x.EndpointBehavior - } - return MySidEntryEndpointBehavior_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_UNSPECIFIED -} - -func (x *MySidEntryAttribute) GetEndpointBehaviorFlavor() MySidEntryEndpointBehaviorFlavor { - if x != nil && x.EndpointBehaviorFlavor != nil { - return *x.EndpointBehaviorFlavor - } - return MySidEntryEndpointBehaviorFlavor_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_FLAVOR_UNSPECIFIED -} - -func (x *MySidEntryAttribute) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *MySidEntryAttribute) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *MySidEntryAttribute) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *MySidEntryAttribute) GetTunnelId() uint64 { - if x != nil && x.TunnelId != nil { - return *x.TunnelId - } - return 0 -} - -func (x *MySidEntryAttribute) GetVrf() uint64 { - if x != nil && x.Vrf != nil { - return *x.Vrf - } - return 0 -} - -func (x *MySidEntryAttribute) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - type NatEntryAttribute struct { state protoimpl.MessageState `protogen:"open.v1"` NatType *NatType `protobuf:"varint,1,opt,name=nat_type,json=natType,proto3,enum=lemming.dataplane.sai.NatType,oneof" json:"nat_type,omitempty"` @@ -25018,7 +23340,7 @@ type NatEntryAttribute struct { func (x *NatEntryAttribute) Reset() { *x = NatEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[94] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25030,7 +23352,7 @@ func (x *NatEntryAttribute) String() string { func (*NatEntryAttribute) ProtoMessage() {} func (x *NatEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[94] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[90] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25043,7 +23365,7 @@ func (x *NatEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NatEntryAttribute.ProtoReflect.Descriptor instead. func (*NatEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{94} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{90} } func (x *NatEntryAttribute) GetNatType() NatType { @@ -25167,7 +23489,7 @@ type NatZoneCounterAttribute struct { func (x *NatZoneCounterAttribute) Reset() { *x = NatZoneCounterAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[95] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25179,7 +23501,7 @@ func (x *NatZoneCounterAttribute) String() string { func (*NatZoneCounterAttribute) ProtoMessage() {} func (x *NatZoneCounterAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[95] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[91] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25192,7 +23514,7 @@ func (x *NatZoneCounterAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NatZoneCounterAttribute.ProtoReflect.Descriptor instead. func (*NatZoneCounterAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{95} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{91} } func (x *NatZoneCounterAttribute) GetNatType() NatType { @@ -25269,7 +23591,7 @@ type NeighborEntryAttribute struct { func (x *NeighborEntryAttribute) Reset() { *x = NeighborEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[96] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25281,7 +23603,7 @@ func (x *NeighborEntryAttribute) String() string { func (*NeighborEntryAttribute) ProtoMessage() {} func (x *NeighborEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[96] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[92] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25294,7 +23616,7 @@ func (x *NeighborEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NeighborEntryAttribute.ProtoReflect.Descriptor instead. func (*NeighborEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{96} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{92} } func (x *NeighborEntryAttribute) GetDstMacAddress() []byte { @@ -25394,7 +23716,7 @@ type NextHopAttribute struct { func (x *NextHopAttribute) Reset() { *x = NextHopAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[97] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25406,7 +23728,7 @@ func (x *NextHopAttribute) String() string { func (*NextHopAttribute) ProtoMessage() {} func (x *NextHopAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[97] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[93] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25419,7 +23741,7 @@ func (x *NextHopAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NextHopAttribute.ProtoReflect.Descriptor instead. func (*NextHopAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{97} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{93} } func (x *NextHopAttribute) GetType() NextHopType { @@ -25579,7 +23901,7 @@ type NextHopGroupAttribute struct { func (x *NextHopGroupAttribute) Reset() { *x = NextHopGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[98] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25591,7 +23913,7 @@ func (x *NextHopGroupAttribute) String() string { func (*NextHopGroupAttribute) ProtoMessage() {} func (x *NextHopGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[98] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[94] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25604,7 +23926,7 @@ func (x *NextHopGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NextHopGroupAttribute.ProtoReflect.Descriptor instead. func (*NextHopGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{98} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{94} } func (x *NextHopGroupAttribute) GetNextHopCount() uint32 { @@ -25729,7 +24051,7 @@ type NextHopGroupMapAttribute struct { func (x *NextHopGroupMapAttribute) Reset() { *x = NextHopGroupMapAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[99] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25741,7 +24063,7 @@ func (x *NextHopGroupMapAttribute) String() string { func (*NextHopGroupMapAttribute) ProtoMessage() {} func (x *NextHopGroupMapAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[99] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[95] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25754,7 +24076,7 @@ func (x *NextHopGroupMapAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NextHopGroupMapAttribute.ProtoReflect.Descriptor instead. func (*NextHopGroupMapAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{99} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{95} } func (x *NextHopGroupMapAttribute) GetType() NextHopGroupMapType { @@ -25789,7 +24111,7 @@ type NextHopGroupMemberAttribute struct { func (x *NextHopGroupMemberAttribute) Reset() { *x = NextHopGroupMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[100] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25801,7 +24123,7 @@ func (x *NextHopGroupMemberAttribute) String() string { func (*NextHopGroupMemberAttribute) ProtoMessage() {} func (x *NextHopGroupMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[100] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[96] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25814,7 +24136,7 @@ func (x *NextHopGroupMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use NextHopGroupMemberAttribute.ProtoReflect.Descriptor instead. func (*NextHopGroupMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{100} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{96} } func (x *NextHopGroupMemberAttribute) GetNextHopGroupId() uint64 { @@ -25909,7 +24231,7 @@ type PolicerAttribute struct { func (x *PolicerAttribute) Reset() { *x = PolicerAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[101] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -25921,7 +24243,7 @@ func (x *PolicerAttribute) String() string { func (*PolicerAttribute) ProtoMessage() {} func (x *PolicerAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[101] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[97] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25934,7 +24256,7 @@ func (x *PolicerAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use PolicerAttribute.ProtoReflect.Descriptor instead. func (*PolicerAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{101} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{97} } func (x *PolicerAttribute) GetMeterType() MeterType { @@ -26226,7 +24548,7 @@ type PortAttribute struct { func (x *PortAttribute) Reset() { *x = PortAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[102] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -26238,7 +24560,7 @@ func (x *PortAttribute) String() string { func (*PortAttribute) ProtoMessage() {} func (x *PortAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[102] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[98] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -26251,7 +24573,7 @@ func (x *PortAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use PortAttribute.ProtoReflect.Descriptor instead. func (*PortAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{102} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{98} } func (x *PortAttribute) GetType() PortType { @@ -27548,7 +25870,7 @@ type PortConnectorAttribute struct { func (x *PortConnectorAttribute) Reset() { *x = PortConnectorAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[103] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27560,7 +25882,7 @@ func (x *PortConnectorAttribute) String() string { func (*PortConnectorAttribute) ProtoMessage() {} func (x *PortConnectorAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[103] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[99] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27573,7 +25895,7 @@ func (x *PortConnectorAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use PortConnectorAttribute.ProtoReflect.Descriptor instead. func (*PortConnectorAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{103} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{99} } func (x *PortConnectorAttribute) GetSystemSidePortId() uint64 { @@ -27622,7 +25944,7 @@ type PortPoolAttribute struct { func (x *PortPoolAttribute) Reset() { *x = PortPoolAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[104] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27634,7 +25956,7 @@ func (x *PortPoolAttribute) String() string { func (*PortPoolAttribute) ProtoMessage() {} func (x *PortPoolAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[104] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[100] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27647,7 +25969,7 @@ func (x *PortPoolAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use PortPoolAttribute.ProtoReflect.Descriptor instead. func (*PortPoolAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{104} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{100} } func (x *PortPoolAttribute) GetPortId() uint64 { @@ -27699,7 +26021,7 @@ type PortSerdesAttribute struct { func (x *PortSerdesAttribute) Reset() { *x = PortSerdesAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[105] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27711,7 +26033,7 @@ func (x *PortSerdesAttribute) String() string { func (*PortSerdesAttribute) ProtoMessage() {} func (x *PortSerdesAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[105] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[101] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27724,7 +26046,7 @@ func (x *PortSerdesAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use PortSerdesAttribute.ProtoReflect.Descriptor instead. func (*PortSerdesAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{105} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{101} } func (x *PortSerdesAttribute) GetPortId() uint64 { @@ -27877,7 +26199,7 @@ type QosMapAttribute struct { func (x *QosMapAttribute) Reset() { *x = QosMapAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[106] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27889,7 +26211,7 @@ func (x *QosMapAttribute) String() string { func (*QosMapAttribute) ProtoMessage() {} func (x *QosMapAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[106] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[102] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27902,7 +26224,7 @@ func (x *QosMapAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use QosMapAttribute.ProtoReflect.Descriptor instead. func (*QosMapAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{106} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{102} } func (x *QosMapAttribute) GetType() QosMapType { @@ -27942,7 +26264,7 @@ type QueueAttribute struct { func (x *QueueAttribute) Reset() { *x = QueueAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[107] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -27954,7 +26276,7 @@ func (x *QueueAttribute) String() string { func (*QueueAttribute) ProtoMessage() {} func (x *QueueAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[107] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[103] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27967,7 +26289,7 @@ func (x *QueueAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use QueueAttribute.ProtoReflect.Descriptor instead. func (*QueueAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{107} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{103} } func (x *QueueAttribute) GetType() QueueType { @@ -28107,7 +26429,7 @@ type RouterInterfaceAttribute struct { func (x *RouterInterfaceAttribute) Reset() { *x = RouterInterfaceAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[108] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28119,7 +26441,7 @@ func (x *RouterInterfaceAttribute) String() string { func (*RouterInterfaceAttribute) ProtoMessage() {} func (x *RouterInterfaceAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[108] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[104] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28132,7 +26454,7 @@ func (x *RouterInterfaceAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use RouterInterfaceAttribute.ProtoReflect.Descriptor instead. func (*RouterInterfaceAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{108} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{104} } func (x *RouterInterfaceAttribute) GetVirtualRouterId() uint64 { @@ -28318,7 +26640,7 @@ type RouteEntryAttribute struct { func (x *RouteEntryAttribute) Reset() { *x = RouteEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[109] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28330,7 +26652,7 @@ func (x *RouteEntryAttribute) String() string { func (*RouteEntryAttribute) ProtoMessage() {} func (x *RouteEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[109] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[105] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28343,7 +26665,7 @@ func (x *RouteEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use RouteEntryAttribute.ProtoReflect.Descriptor instead. func (*RouteEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{109} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{105} } func (x *RouteEntryAttribute) GetPacketAction() PacketAction { @@ -28405,7 +26727,7 @@ type RpfGroupAttribute struct { func (x *RpfGroupAttribute) Reset() { *x = RpfGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[110] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28417,7 +26739,7 @@ func (x *RpfGroupAttribute) String() string { func (*RpfGroupAttribute) ProtoMessage() {} func (x *RpfGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[110] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[106] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28430,7 +26752,7 @@ func (x *RpfGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use RpfGroupAttribute.ProtoReflect.Descriptor instead. func (*RpfGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{110} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{106} } func (x *RpfGroupAttribute) GetRpfInterfaceCount() uint32 { @@ -28457,7 +26779,7 @@ type RpfGroupMemberAttribute struct { func (x *RpfGroupMemberAttribute) Reset() { *x = RpfGroupMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[111] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28469,7 +26791,7 @@ func (x *RpfGroupMemberAttribute) String() string { func (*RpfGroupMemberAttribute) ProtoMessage() {} func (x *RpfGroupMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[111] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[107] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28482,7 +26804,7 @@ func (x *RpfGroupMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use RpfGroupMemberAttribute.ProtoReflect.Descriptor instead. func (*RpfGroupMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{111} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{107} } func (x *RpfGroupMemberAttribute) GetRpfGroupId() uint64 { @@ -28512,7 +26834,7 @@ type SamplepacketAttribute struct { func (x *SamplepacketAttribute) Reset() { *x = SamplepacketAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[112] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28524,7 +26846,7 @@ func (x *SamplepacketAttribute) String() string { func (*SamplepacketAttribute) ProtoMessage() {} func (x *SamplepacketAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[112] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[108] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28537,7 +26859,7 @@ func (x *SamplepacketAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SamplepacketAttribute.ProtoReflect.Descriptor instead. func (*SamplepacketAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{112} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{108} } func (x *SamplepacketAttribute) GetSampleRate() uint32 { @@ -28590,7 +26912,7 @@ type SchedulerAttribute struct { func (x *SchedulerAttribute) Reset() { *x = SchedulerAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[113] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28602,7 +26924,7 @@ func (x *SchedulerAttribute) String() string { func (*SchedulerAttribute) ProtoMessage() {} func (x *SchedulerAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[113] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[109] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28615,7 +26937,7 @@ func (x *SchedulerAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SchedulerAttribute.ProtoReflect.Descriptor instead. func (*SchedulerAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{113} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{109} } func (x *SchedulerAttribute) GetSchedulingType() SchedulingType { @@ -28682,7 +27004,7 @@ type SchedulerGroupAttribute struct { func (x *SchedulerGroupAttribute) Reset() { *x = SchedulerGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[114] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28694,7 +27016,7 @@ func (x *SchedulerGroupAttribute) String() string { func (*SchedulerGroupAttribute) ProtoMessage() {} func (x *SchedulerGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[114] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[110] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28707,7 +27029,7 @@ func (x *SchedulerGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SchedulerGroupAttribute.ProtoReflect.Descriptor instead. func (*SchedulerGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{114} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{110} } func (x *SchedulerGroupAttribute) GetChildCount() uint32 { @@ -28773,7 +27095,7 @@ type Srv6SidlistAttribute struct { func (x *Srv6SidlistAttribute) Reset() { *x = Srv6SidlistAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[115] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[111] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28785,7 +27107,7 @@ func (x *Srv6SidlistAttribute) String() string { func (*Srv6SidlistAttribute) ProtoMessage() {} func (x *Srv6SidlistAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[115] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[111] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28798,7 +27120,7 @@ func (x *Srv6SidlistAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use Srv6SidlistAttribute.ProtoReflect.Descriptor instead. func (*Srv6SidlistAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{115} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{111} } func (x *Srv6SidlistAttribute) GetType() Srv6SidlistType { @@ -28854,7 +27176,7 @@ type StpAttribute struct { func (x *StpAttribute) Reset() { *x = StpAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[116] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[112] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28866,7 +27188,7 @@ func (x *StpAttribute) String() string { func (*StpAttribute) ProtoMessage() {} func (x *StpAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[116] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[112] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28879,7 +27201,7 @@ func (x *StpAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use StpAttribute.ProtoReflect.Descriptor instead. func (*StpAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{116} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{112} } func (x *StpAttribute) GetVlanList() []uint32 { @@ -28914,7 +27236,7 @@ type StpPortAttribute struct { func (x *StpPortAttribute) Reset() { *x = StpPortAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[117] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[113] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -28926,7 +27248,7 @@ func (x *StpPortAttribute) String() string { func (*StpPortAttribute) ProtoMessage() {} func (x *StpPortAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[117] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[113] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28939,7 +27261,7 @@ func (x *StpPortAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use StpPortAttribute.ProtoReflect.Descriptor instead. func (*StpPortAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{117} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{113} } func (x *StpPortAttribute) GetStp() uint64 { @@ -29186,18 +27508,21 @@ type SwitchAttribute struct { MaxIcmpEchoSession *uint32 `protobuf:"varint,219,opt,name=max_icmp_echo_session,json=maxIcmpEchoSession,proto3,oneof" json:"max_icmp_echo_session,omitempty"` StatsCountMode *StatsCountMode `protobuf:"varint,220,opt,name=stats_count_mode,json=statsCountMode,proto3,enum=lemming.dataplane.sai.StatsCountMode,oneof" json:"stats_count_mode,omitempty"` SelectiveCounterList []uint64 `protobuf:"varint,221,rep,packed,name=selective_counter_list,json=selectiveCounterList,proto3" json:"selective_counter_list,omitempty"` - SupportedDebugCounterTypeList []DebugCounterType `protobuf:"varint,222,rep,packed,name=supported_debug_counter_type_list,json=supportedDebugCounterTypeList,proto3,enum=lemming.dataplane.sai.DebugCounterType" json:"supported_debug_counter_type_list,omitempty"` - SupportedIngressDropReasonList []InDropReason `protobuf:"varint,223,rep,packed,name=supported_ingress_drop_reason_list,json=supportedIngressDropReasonList,proto3,enum=lemming.dataplane.sai.InDropReason" json:"supported_ingress_drop_reason_list,omitempty"` - AvailableSwitchIngressDropCounters *uint32 `protobuf:"varint,224,opt,name=available_switch_ingress_drop_counters,json=availableSwitchIngressDropCounters,proto3,oneof" json:"available_switch_ingress_drop_counters,omitempty"` - DisableIngressVlanChecks *bool `protobuf:"varint,225,opt,name=disable_ingress_vlan_checks,json=disableIngressVlanChecks,proto3,oneof" json:"disable_ingress_vlan_checks,omitempty"` - DisableEgressVlanChecks *bool `protobuf:"varint,226,opt,name=disable_egress_vlan_checks,json=disableEgressVlanChecks,proto3,oneof" json:"disable_egress_vlan_checks,omitempty"` + DisableIngressVlanChecks *bool `protobuf:"varint,222,opt,name=disable_ingress_vlan_checks,json=disableIngressVlanChecks,proto3,oneof" json:"disable_ingress_vlan_checks,omitempty"` + DisableEgressVlanChecks *bool `protobuf:"varint,223,opt,name=disable_egress_vlan_checks,json=disableEgressVlanChecks,proto3,oneof" json:"disable_egress_vlan_checks,omitempty"` + DashCapsMaxMeterBucketCountPerEni *uint32 `protobuf:"varint,224,opt,name=dash_caps_max_meter_bucket_count_per_eni,json=dashCapsMaxMeterBucketCountPerEni,proto3,oneof" json:"dash_caps_max_meter_bucket_count_per_eni,omitempty"` + DashCapsHaScopeLevel *DashCapsHaScopeLevel `protobuf:"varint,225,opt,name=dash_caps_ha_scope_level,json=dashCapsHaScopeLevel,proto3,enum=lemming.dataplane.sai.DashCapsHaScopeLevel,oneof" json:"dash_caps_ha_scope_level,omitempty"` + DashCapsHaOwnerNeeded *bool `protobuf:"varint,226,opt,name=dash_caps_ha_owner_needed,json=dashCapsHaOwnerNeeded,proto3,oneof" json:"dash_caps_ha_owner_needed,omitempty"` + SupportedDebugCounterTypeList []DebugCounterType `protobuf:"varint,227,rep,packed,name=supported_debug_counter_type_list,json=supportedDebugCounterTypeList,proto3,enum=lemming.dataplane.sai.DebugCounterType" json:"supported_debug_counter_type_list,omitempty"` + SupportedIngressDropReasonList []InDropReason `protobuf:"varint,228,rep,packed,name=supported_ingress_drop_reason_list,json=supportedIngressDropReasonList,proto3,enum=lemming.dataplane.sai.InDropReason" json:"supported_ingress_drop_reason_list,omitempty"` + AvailableSwitchIngressDropCounters *uint32 `protobuf:"varint,229,opt,name=available_switch_ingress_drop_counters,json=availableSwitchIngressDropCounters,proto3,oneof" json:"available_switch_ingress_drop_counters,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SwitchAttribute) Reset() { *x = SwitchAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[118] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[114] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -29209,7 +27534,7 @@ func (x *SwitchAttribute) String() string { func (*SwitchAttribute) ProtoMessage() {} func (x *SwitchAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[118] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[114] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -29222,7 +27547,7 @@ func (x *SwitchAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SwitchAttribute.ProtoReflect.Descriptor instead. func (*SwitchAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{118} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{114} } func (x *SwitchAttribute) GetNumberOfActivePorts() uint32 { @@ -30772,6 +29097,41 @@ func (x *SwitchAttribute) GetSelectiveCounterList() []uint64 { return nil } +func (x *SwitchAttribute) GetDisableIngressVlanChecks() bool { + if x != nil && x.DisableIngressVlanChecks != nil { + return *x.DisableIngressVlanChecks + } + return false +} + +func (x *SwitchAttribute) GetDisableEgressVlanChecks() bool { + if x != nil && x.DisableEgressVlanChecks != nil { + return *x.DisableEgressVlanChecks + } + return false +} + +func (x *SwitchAttribute) GetDashCapsMaxMeterBucketCountPerEni() uint32 { + if x != nil && x.DashCapsMaxMeterBucketCountPerEni != nil { + return *x.DashCapsMaxMeterBucketCountPerEni + } + return 0 +} + +func (x *SwitchAttribute) GetDashCapsHaScopeLevel() DashCapsHaScopeLevel { + if x != nil && x.DashCapsHaScopeLevel != nil { + return *x.DashCapsHaScopeLevel + } + return DashCapsHaScopeLevel_DASH_CAPS_HA_SCOPE_LEVEL_UNSPECIFIED +} + +func (x *SwitchAttribute) GetDashCapsHaOwnerNeeded() bool { + if x != nil && x.DashCapsHaOwnerNeeded != nil { + return *x.DashCapsHaOwnerNeeded + } + return false +} + func (x *SwitchAttribute) GetSupportedDebugCounterTypeList() []DebugCounterType { if x != nil { return x.SupportedDebugCounterTypeList @@ -30793,20 +29153,6 @@ func (x *SwitchAttribute) GetAvailableSwitchIngressDropCounters() uint32 { return 0 } -func (x *SwitchAttribute) GetDisableIngressVlanChecks() bool { - if x != nil && x.DisableIngressVlanChecks != nil { - return *x.DisableIngressVlanChecks - } - return false -} - -func (x *SwitchAttribute) GetDisableEgressVlanChecks() bool { - if x != nil && x.DisableEgressVlanChecks != nil { - return *x.DisableEgressVlanChecks - } - return false -} - type SwitchTunnelAttribute struct { state protoimpl.MessageState `protogen:"open.v1"` TunnelType *TunnelType `protobuf:"varint,1,opt,name=tunnel_type,json=tunnelType,proto3,enum=lemming.dataplane.sai.TunnelType,oneof" json:"tunnel_type,omitempty"` @@ -30828,7 +29174,7 @@ type SwitchTunnelAttribute struct { func (x *SwitchTunnelAttribute) Reset() { *x = SwitchTunnelAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[119] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[115] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30840,7 +29186,7 @@ func (x *SwitchTunnelAttribute) String() string { func (*SwitchTunnelAttribute) ProtoMessage() {} func (x *SwitchTunnelAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[119] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[115] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -30853,7 +29199,7 @@ func (x *SwitchTunnelAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SwitchTunnelAttribute.ProtoReflect.Descriptor instead. func (*SwitchTunnelAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{119} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{115} } func (x *SwitchTunnelAttribute) GetTunnelType() TunnelType { @@ -30962,7 +29308,7 @@ type SystemPortAttribute struct { func (x *SystemPortAttribute) Reset() { *x = SystemPortAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[120] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[116] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -30974,7 +29320,7 @@ func (x *SystemPortAttribute) String() string { func (*SystemPortAttribute) ProtoMessage() {} func (x *SystemPortAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[120] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[116] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -30987,7 +29333,7 @@ func (x *SystemPortAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use SystemPortAttribute.ProtoReflect.Descriptor instead. func (*SystemPortAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{120} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{116} } func (x *SystemPortAttribute) GetType() SystemPortType { @@ -31039,258 +29385,6 @@ func (x *SystemPortAttribute) GetQosTcToQueueMap() uint64 { return 0 } -type TableBitmapClassificationEntryAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - Action *TableBitmapClassificationEntryAction `protobuf:"varint,1,opt,name=action,proto3,enum=lemming.dataplane.sai.TableBitmapClassificationEntryAction,oneof" json:"action,omitempty"` - RouterInterfaceKey *uint64 `protobuf:"varint,2,opt,name=router_interface_key,json=routerInterfaceKey,proto3,oneof" json:"router_interface_key,omitempty"` - IsDefault *bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"` - InRifMetadata *uint32 `protobuf:"varint,4,opt,name=in_rif_metadata,json=inRifMetadata,proto3,oneof" json:"in_rif_metadata,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TableBitmapClassificationEntryAttribute) Reset() { - *x = TableBitmapClassificationEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[121] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TableBitmapClassificationEntryAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TableBitmapClassificationEntryAttribute) ProtoMessage() {} - -func (x *TableBitmapClassificationEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[121] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TableBitmapClassificationEntryAttribute.ProtoReflect.Descriptor instead. -func (*TableBitmapClassificationEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{121} -} - -func (x *TableBitmapClassificationEntryAttribute) GetAction() TableBitmapClassificationEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableBitmapClassificationEntryAction_TABLE_BITMAP_CLASSIFICATION_ENTRY_ACTION_UNSPECIFIED -} - -func (x *TableBitmapClassificationEntryAttribute) GetRouterInterfaceKey() uint64 { - if x != nil && x.RouterInterfaceKey != nil { - return *x.RouterInterfaceKey - } - return 0 -} - -func (x *TableBitmapClassificationEntryAttribute) GetIsDefault() bool { - if x != nil && x.IsDefault != nil { - return *x.IsDefault - } - return false -} - -func (x *TableBitmapClassificationEntryAttribute) GetInRifMetadata() uint32 { - if x != nil && x.InRifMetadata != nil { - return *x.InRifMetadata - } - return 0 -} - -type TableBitmapRouterEntryAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - Action *TableBitmapRouterEntryAction `protobuf:"varint,1,opt,name=action,proto3,enum=lemming.dataplane.sai.TableBitmapRouterEntryAction,oneof" json:"action,omitempty"` - Priority *uint32 `protobuf:"varint,2,opt,name=priority,proto3,oneof" json:"priority,omitempty"` - InRifMetadataKey *uint32 `protobuf:"varint,3,opt,name=in_rif_metadata_key,json=inRifMetadataKey,proto3,oneof" json:"in_rif_metadata_key,omitempty"` - InRifMetadataMask *uint32 `protobuf:"varint,4,opt,name=in_rif_metadata_mask,json=inRifMetadataMask,proto3,oneof" json:"in_rif_metadata_mask,omitempty"` - DstIpKey *IpPrefix `protobuf:"bytes,5,opt,name=dst_ip_key,json=dstIpKey,proto3,oneof" json:"dst_ip_key,omitempty"` - TunnelIndex *uint32 `protobuf:"varint,6,opt,name=tunnel_index,json=tunnelIndex,proto3,oneof" json:"tunnel_index,omitempty"` - NextHop *uint64 `protobuf:"varint,7,opt,name=next_hop,json=nextHop,proto3,oneof" json:"next_hop,omitempty"` - RouterInterface *uint64 `protobuf:"varint,8,opt,name=router_interface,json=routerInterface,proto3,oneof" json:"router_interface,omitempty"` - TrapId *uint64 `protobuf:"varint,9,opt,name=trap_id,json=trapId,proto3,oneof" json:"trap_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TableBitmapRouterEntryAttribute) Reset() { - *x = TableBitmapRouterEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[122] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TableBitmapRouterEntryAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TableBitmapRouterEntryAttribute) ProtoMessage() {} - -func (x *TableBitmapRouterEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[122] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TableBitmapRouterEntryAttribute.ProtoReflect.Descriptor instead. -func (*TableBitmapRouterEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{122} -} - -func (x *TableBitmapRouterEntryAttribute) GetAction() TableBitmapRouterEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableBitmapRouterEntryAction_TABLE_BITMAP_ROUTER_ENTRY_ACTION_UNSPECIFIED -} - -func (x *TableBitmapRouterEntryAttribute) GetPriority() uint32 { - if x != nil && x.Priority != nil { - return *x.Priority - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetInRifMetadataKey() uint32 { - if x != nil && x.InRifMetadataKey != nil { - return *x.InRifMetadataKey - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetInRifMetadataMask() uint32 { - if x != nil && x.InRifMetadataMask != nil { - return *x.InRifMetadataMask - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetDstIpKey() *IpPrefix { - if x != nil { - return x.DstIpKey - } - return nil -} - -func (x *TableBitmapRouterEntryAttribute) GetTunnelIndex() uint32 { - if x != nil && x.TunnelIndex != nil { - return *x.TunnelIndex - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetNextHop() uint64 { - if x != nil && x.NextHop != nil { - return *x.NextHop - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetRouterInterface() uint64 { - if x != nil && x.RouterInterface != nil { - return *x.RouterInterface - } - return 0 -} - -func (x *TableBitmapRouterEntryAttribute) GetTrapId() uint64 { - if x != nil && x.TrapId != nil { - return *x.TrapId - } - return 0 -} - -type TableMetaTunnelEntryAttribute struct { - state protoimpl.MessageState `protogen:"open.v1"` - Action *TableMetaTunnelEntryAction `protobuf:"varint,1,opt,name=action,proto3,enum=lemming.dataplane.sai.TableMetaTunnelEntryAction,oneof" json:"action,omitempty"` - MetadataKey *uint32 `protobuf:"varint,2,opt,name=metadata_key,json=metadataKey,proto3,oneof" json:"metadata_key,omitempty"` - IsDefault *bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"` - TunnelId *uint64 `protobuf:"varint,4,opt,name=tunnel_id,json=tunnelId,proto3,oneof" json:"tunnel_id,omitempty"` - UnderlayDip []byte `protobuf:"bytes,5,opt,name=underlay_dip,json=underlayDip,proto3,oneof" json:"underlay_dip,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *TableMetaTunnelEntryAttribute) Reset() { - *x = TableMetaTunnelEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[123] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *TableMetaTunnelEntryAttribute) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TableMetaTunnelEntryAttribute) ProtoMessage() {} - -func (x *TableMetaTunnelEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[123] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TableMetaTunnelEntryAttribute.ProtoReflect.Descriptor instead. -func (*TableMetaTunnelEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{123} -} - -func (x *TableMetaTunnelEntryAttribute) GetAction() TableMetaTunnelEntryAction { - if x != nil && x.Action != nil { - return *x.Action - } - return TableMetaTunnelEntryAction_TABLE_META_TUNNEL_ENTRY_ACTION_UNSPECIFIED -} - -func (x *TableMetaTunnelEntryAttribute) GetMetadataKey() uint32 { - if x != nil && x.MetadataKey != nil { - return *x.MetadataKey - } - return 0 -} - -func (x *TableMetaTunnelEntryAttribute) GetIsDefault() bool { - if x != nil && x.IsDefault != nil { - return *x.IsDefault - } - return false -} - -func (x *TableMetaTunnelEntryAttribute) GetTunnelId() uint64 { - if x != nil && x.TunnelId != nil { - return *x.TunnelId - } - return 0 -} - -func (x *TableMetaTunnelEntryAttribute) GetUnderlayDip() []byte { - if x != nil { - return x.UnderlayDip - } - return nil -} - type TamAttribute struct { state protoimpl.MessageState `protogen:"open.v1"` TelemetryObjectsList []uint64 `protobuf:"varint,1,rep,packed,name=telemetry_objects_list,json=telemetryObjectsList,proto3" json:"telemetry_objects_list,omitempty"` @@ -31303,7 +29397,7 @@ type TamAttribute struct { func (x *TamAttribute) Reset() { *x = TamAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[124] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[117] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31315,7 +29409,7 @@ func (x *TamAttribute) String() string { func (*TamAttribute) ProtoMessage() {} func (x *TamAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[124] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[117] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31328,7 +29422,7 @@ func (x *TamAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamAttribute.ProtoReflect.Descriptor instead. func (*TamAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{124} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{117} } func (x *TamAttribute) GetTelemetryObjectsList() []uint64 { @@ -31375,7 +29469,7 @@ type TamCollectorAttribute struct { func (x *TamCollectorAttribute) Reset() { *x = TamCollectorAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[125] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[118] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31387,7 +29481,7 @@ func (x *TamCollectorAttribute) String() string { func (*TamCollectorAttribute) ProtoMessage() {} func (x *TamCollectorAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[125] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[118] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31400,7 +29494,7 @@ func (x *TamCollectorAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamCollectorAttribute.ProtoReflect.Descriptor instead. func (*TamCollectorAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{125} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{118} } func (x *TamCollectorAttribute) GetSrcIp() []byte { @@ -31471,7 +29565,7 @@ type TamCounterSubscriptionAttribute struct { func (x *TamCounterSubscriptionAttribute) Reset() { *x = TamCounterSubscriptionAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[126] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[119] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31483,7 +29577,7 @@ func (x *TamCounterSubscriptionAttribute) String() string { func (*TamCounterSubscriptionAttribute) ProtoMessage() {} func (x *TamCounterSubscriptionAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[126] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[119] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31496,7 +29590,7 @@ func (x *TamCounterSubscriptionAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamCounterSubscriptionAttribute.ProtoReflect.Descriptor instead. func (*TamCounterSubscriptionAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{126} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{119} } func (x *TamCounterSubscriptionAttribute) GetTelType() uint64 { @@ -31540,7 +29634,7 @@ type TamEventAttribute struct { func (x *TamEventAttribute) Reset() { *x = TamEventAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[127] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[120] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31552,7 +29646,7 @@ func (x *TamEventAttribute) String() string { func (*TamEventAttribute) ProtoMessage() {} func (x *TamEventAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[127] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[120] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31565,7 +29659,7 @@ func (x *TamEventAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamEventAttribute.ProtoReflect.Descriptor instead. func (*TamEventAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{127} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{120} } func (x *TamEventAttribute) GetType() TamEventType { @@ -31613,7 +29707,7 @@ type TamEventActionAttribute struct { func (x *TamEventActionAttribute) Reset() { *x = TamEventActionAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[128] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[121] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31625,7 +29719,7 @@ func (x *TamEventActionAttribute) String() string { func (*TamEventActionAttribute) ProtoMessage() {} func (x *TamEventActionAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[128] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[121] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31638,7 +29732,7 @@ func (x *TamEventActionAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamEventActionAttribute.ProtoReflect.Descriptor instead. func (*TamEventActionAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{128} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{121} } func (x *TamEventActionAttribute) GetReportType() uint64 { @@ -31669,7 +29763,7 @@ type TamEventThresholdAttribute struct { func (x *TamEventThresholdAttribute) Reset() { *x = TamEventThresholdAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[129] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[122] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31681,7 +29775,7 @@ func (x *TamEventThresholdAttribute) String() string { func (*TamEventThresholdAttribute) ProtoMessage() {} func (x *TamEventThresholdAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[129] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[122] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31694,7 +29788,7 @@ func (x *TamEventThresholdAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamEventThresholdAttribute.ProtoReflect.Descriptor instead. func (*TamEventThresholdAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{129} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{122} } func (x *TamEventThresholdAttribute) GetHighWatermark() uint32 { @@ -31773,7 +29867,7 @@ type TamIntAttribute struct { func (x *TamIntAttribute) Reset() { *x = TamIntAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[130] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[123] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -31785,7 +29879,7 @@ func (x *TamIntAttribute) String() string { func (*TamIntAttribute) ProtoMessage() {} func (x *TamIntAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[130] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[123] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31798,7 +29892,7 @@ func (x *TamIntAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamIntAttribute.ProtoReflect.Descriptor instead. func (*TamIntAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{130} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{123} } func (x *TamIntAttribute) GetType() TamIntType { @@ -31992,7 +30086,7 @@ type TamMathFuncAttribute struct { func (x *TamMathFuncAttribute) Reset() { *x = TamMathFuncAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[131] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[124] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32004,7 +30098,7 @@ func (x *TamMathFuncAttribute) String() string { func (*TamMathFuncAttribute) ProtoMessage() {} func (x *TamMathFuncAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[131] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[124] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32017,7 +30111,7 @@ func (x *TamMathFuncAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamMathFuncAttribute.ProtoReflect.Descriptor instead. func (*TamMathFuncAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{131} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{124} } func (x *TamMathFuncAttribute) GetTamTelMathFuncType() TamTelMathFuncType { @@ -32044,7 +30138,7 @@ type TamReportAttribute struct { func (x *TamReportAttribute) Reset() { *x = TamReportAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[132] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[125] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32056,7 +30150,7 @@ func (x *TamReportAttribute) String() string { func (*TamReportAttribute) ProtoMessage() {} func (x *TamReportAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[132] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[125] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32069,7 +30163,7 @@ func (x *TamReportAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamReportAttribute.ProtoReflect.Descriptor instead. func (*TamReportAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{132} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{125} } func (x *TamReportAttribute) GetType() TamReportType { @@ -32147,7 +30241,7 @@ type TamTelemetryAttribute struct { func (x *TamTelemetryAttribute) Reset() { *x = TamTelemetryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[133] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[126] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32159,7 +30253,7 @@ func (x *TamTelemetryAttribute) String() string { func (*TamTelemetryAttribute) ProtoMessage() {} func (x *TamTelemetryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[133] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[126] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32172,7 +30266,7 @@ func (x *TamTelemetryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamTelemetryAttribute.ProtoReflect.Descriptor instead. func (*TamTelemetryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{133} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{126} } func (x *TamTelemetryAttribute) GetTamTypeList() []uint64 { @@ -32228,7 +30322,7 @@ type TamTelTypeAttribute struct { func (x *TamTelTypeAttribute) Reset() { *x = TamTelTypeAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[134] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[127] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32240,7 +30334,7 @@ func (x *TamTelTypeAttribute) String() string { func (*TamTelTypeAttribute) ProtoMessage() {} func (x *TamTelTypeAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[134] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[127] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32253,7 +30347,7 @@ func (x *TamTelTypeAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamTelTypeAttribute.ProtoReflect.Descriptor instead. func (*TamTelTypeAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{134} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{127} } func (x *TamTelTypeAttribute) GetTamTelemetryType() TamTelemetryType { @@ -32388,7 +30482,7 @@ type TamTransportAttribute struct { func (x *TamTransportAttribute) Reset() { *x = TamTransportAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[135] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[128] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32400,7 +30494,7 @@ func (x *TamTransportAttribute) String() string { func (*TamTransportAttribute) ProtoMessage() {} func (x *TamTransportAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[135] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[128] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32413,7 +30507,7 @@ func (x *TamTransportAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TamTransportAttribute.ProtoReflect.Descriptor instead. func (*TamTransportAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{135} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{128} } func (x *TamTransportAttribute) GetTransportType() TamTransportType { @@ -32491,7 +30585,7 @@ type TunnelAttribute struct { func (x *TunnelAttribute) Reset() { *x = TunnelAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[136] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[129] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32503,7 +30597,7 @@ func (x *TunnelAttribute) String() string { func (*TunnelAttribute) ProtoMessage() {} func (x *TunnelAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[136] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[129] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32516,7 +30610,7 @@ func (x *TunnelAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TunnelAttribute.ProtoReflect.Descriptor instead. func (*TunnelAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{136} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{129} } func (x *TunnelAttribute) GetType() TunnelType { @@ -32753,7 +30847,7 @@ type TunnelMapAttribute struct { func (x *TunnelMapAttribute) Reset() { *x = TunnelMapAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[137] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[130] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32765,7 +30859,7 @@ func (x *TunnelMapAttribute) String() string { func (*TunnelMapAttribute) ProtoMessage() {} func (x *TunnelMapAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[137] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[130] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32778,7 +30872,7 @@ func (x *TunnelMapAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TunnelMapAttribute.ProtoReflect.Descriptor instead. func (*TunnelMapAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{137} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{130} } func (x *TunnelMapAttribute) GetType() TunnelMapType { @@ -32821,7 +30915,7 @@ type TunnelMapEntryAttribute struct { func (x *TunnelMapEntryAttribute) Reset() { *x = TunnelMapEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[138] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[131] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -32833,7 +30927,7 @@ func (x *TunnelMapEntryAttribute) String() string { func (*TunnelMapEntryAttribute) ProtoMessage() {} func (x *TunnelMapEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[138] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[131] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32846,7 +30940,7 @@ func (x *TunnelMapEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TunnelMapEntryAttribute.ProtoReflect.Descriptor instead. func (*TunnelMapEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{138} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{131} } func (x *TunnelMapEntryAttribute) GetTunnelMapType() TunnelMapType { @@ -32994,7 +31088,7 @@ type TunnelTermTableEntryAttribute struct { func (x *TunnelTermTableEntryAttribute) Reset() { *x = TunnelTermTableEntryAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[139] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[132] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33006,7 +31100,7 @@ func (x *TunnelTermTableEntryAttribute) String() string { func (*TunnelTermTableEntryAttribute) ProtoMessage() {} func (x *TunnelTermTableEntryAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[139] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[132] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33019,7 +31113,7 @@ func (x *TunnelTermTableEntryAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use TunnelTermTableEntryAttribute.ProtoReflect.Descriptor instead. func (*TunnelTermTableEntryAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{139} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{132} } func (x *TunnelTermTableEntryAttribute) GetVrId() uint64 { @@ -33112,7 +31206,7 @@ type UdfAttribute struct { func (x *UdfAttribute) Reset() { *x = UdfAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[140] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[133] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33124,7 +31218,7 @@ func (x *UdfAttribute) String() string { func (*UdfAttribute) ProtoMessage() {} func (x *UdfAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[140] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[133] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33137,7 +31231,7 @@ func (x *UdfAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use UdfAttribute.ProtoReflect.Descriptor instead. func (*UdfAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{140} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{133} } func (x *UdfAttribute) GetMatchId() uint64 { @@ -33186,7 +31280,7 @@ type UdfGroupAttribute struct { func (x *UdfGroupAttribute) Reset() { *x = UdfGroupAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[141] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[134] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33198,7 +31292,7 @@ func (x *UdfGroupAttribute) String() string { func (*UdfGroupAttribute) ProtoMessage() {} func (x *UdfGroupAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[141] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[134] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33211,7 +31305,7 @@ func (x *UdfGroupAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use UdfGroupAttribute.ProtoReflect.Descriptor instead. func (*UdfGroupAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{141} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{134} } func (x *UdfGroupAttribute) GetUdfList() []uint64 { @@ -33248,7 +31342,7 @@ type UdfMatchAttribute struct { func (x *UdfMatchAttribute) Reset() { *x = UdfMatchAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[142] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[135] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33260,7 +31354,7 @@ func (x *UdfMatchAttribute) String() string { func (*UdfMatchAttribute) ProtoMessage() {} func (x *UdfMatchAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[142] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[135] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33273,7 +31367,7 @@ func (x *UdfMatchAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use UdfMatchAttribute.ProtoReflect.Descriptor instead. func (*UdfMatchAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{142} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{135} } func (x *UdfMatchAttribute) GetL2Type() *AclFieldData { @@ -33326,7 +31420,7 @@ type VirtualRouterAttribute struct { func (x *VirtualRouterAttribute) Reset() { *x = VirtualRouterAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[143] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[136] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33338,7 +31432,7 @@ func (x *VirtualRouterAttribute) String() string { func (*VirtualRouterAttribute) ProtoMessage() {} func (x *VirtualRouterAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[143] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[136] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33351,7 +31445,7 @@ func (x *VirtualRouterAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use VirtualRouterAttribute.ProtoReflect.Descriptor instead. func (*VirtualRouterAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{143} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{136} } func (x *VirtualRouterAttribute) GetAdminV4State() bool { @@ -33435,7 +31529,7 @@ type VlanAttribute struct { func (x *VlanAttribute) Reset() { *x = VlanAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[144] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[137] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33447,7 +31541,7 @@ func (x *VlanAttribute) String() string { func (*VlanAttribute) ProtoMessage() {} func (x *VlanAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[144] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[137] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33460,7 +31554,7 @@ func (x *VlanAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use VlanAttribute.ProtoReflect.Descriptor instead. func (*VlanAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{144} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{137} } func (x *VlanAttribute) GetVlanId() uint32 { @@ -33642,7 +31736,7 @@ type VlanMemberAttribute struct { func (x *VlanMemberAttribute) Reset() { *x = VlanMemberAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[145] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[138] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33654,7 +31748,7 @@ func (x *VlanMemberAttribute) String() string { func (*VlanMemberAttribute) ProtoMessage() {} func (x *VlanMemberAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[145] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[138] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33667,7 +31761,7 @@ func (x *VlanMemberAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use VlanMemberAttribute.ProtoReflect.Descriptor instead. func (*VlanMemberAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{145} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{138} } func (x *VlanMemberAttribute) GetVlanId() uint64 { @@ -33739,7 +31833,7 @@ type WredAttribute struct { func (x *WredAttribute) Reset() { *x = WredAttribute{} - mi := &file_dataplane_proto_sai_common_proto_msgTypes[146] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[139] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -33751,7 +31845,7 @@ func (x *WredAttribute) String() string { func (*WredAttribute) ProtoMessage() {} func (x *WredAttribute) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_common_proto_msgTypes[146] + mi := &file_dataplane_proto_sai_common_proto_msgTypes[139] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33764,7 +31858,7 @@ func (x *WredAttribute) ProtoReflect() protoreflect.Message { // Deprecated: Use WredAttribute.ProtoReflect.Descriptor instead. func (*WredAttribute) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{146} + return file_dataplane_proto_sai_common_proto_rawDescGZIP(), []int{139} } func (x *WredAttribute) GetGreenEnable() bool { @@ -35205,19 +33299,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "entry_type\x18\x03 \x01(\x0e2(.lemming.dataplane.sai.FdbFlushEntryTypeB\x06\xf0ܓ\xad\x0f\x03H\x02R\tentryType\x88\x01\x01B\x11\n" + "\x0f_bridge_port_idB\b\n" + "\x06_bv_idB\r\n" + - "\v_entry_type\"\xc4\x02\n" + - "\x1dFineGrainedHashFieldAttribute\x12_\n" + - "\x11native_hash_field\x18\x01 \x01(\x0e2&.lemming.dataplane.sai.NativeHashFieldB\x06\xf0ܓ\xad\x0f\x01H\x00R\x0fnativeHashField\x88\x01\x01\x12(\n" + - "\tipv4_mask\x18\x02 \x01(\fB\x06\xf0ܓ\xad\x0f\x02H\x01R\bipv4Mask\x88\x01\x01\x12(\n" + - "\tipv6_mask\x18\x03 \x01(\fB\x06\xf0ܓ\xad\x0f\x03H\x02R\bipv6Mask\x88\x01\x01\x12,\n" + - "\vsequence_id\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\n" + - "sequenceId\x88\x01\x01B\x14\n" + - "\x12_native_hash_fieldB\f\n" + - "\n" + - "_ipv4_maskB\f\n" + - "\n" + - "_ipv6_maskB\x0e\n" + - "\f_sequence_id\"\xaf\x01\n" + + "\v_entry_type\"\xaf\x01\n" + "\x1cGenericProgrammableAttribute\x12'\n" + "\vobject_name\x18\x01 \x03(\x05B\x06\xf0ܓ\xad\x0f\x01R\n" + "objectName\x12!\n" + @@ -35361,48 +33443,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\f_rx_intervalB \n" + "\x1e_set_next_hop_group_switchoverB\b\n" + "\x06_stateB\x13\n" + - "\x11_stats_count_mode\"\x88\x03\n" + - "\x1dIngressPriorityGroupAttribute\x122\n" + - "\x0ebuffer_profile\x18\x01 \x01(\x04B\x06\xf0ܓ\xad\x0f\x01H\x00R\rbufferProfile\x88\x01\x01\x12\x1f\n" + - "\x04port\x18\x02 \x01(\x04B\x06\xf0ܓ\xad\x0f\x02H\x01R\x04port\x88\x01\x01\x12\x18\n" + - "\x03tam\x18\x03 \x03(\x04B\x06\xf0ܓ\xad\x0f\x03R\x03tam\x12!\n" + - "\x05index\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x02R\x05index\x88\x01\x01\x12\\\n" + - "\x10stats_count_mode\x18\x05 \x01(\x0e2%.lemming.dataplane.sai.StatsCountModeB\x06\xf0ܓ\xad\x0f\x05H\x03R\x0estatsCountMode\x88\x01\x01\x12<\n" + - "\x16selective_counter_list\x18\x06 \x03(\x04B\x06\xf0ܓ\xad\x0f\x06R\x14selectiveCounterListB\x11\n" + - "\x0f_buffer_profileB\a\n" + - "\x05_portB\b\n" + - "\x06_indexB\x13\n" + - "\x11_stats_count_mode\"\x85\a\n" + - "\x13InsegEntryAttribute\x12)\n" + - "\n" + - "num_of_pop\x18\x01 \x01(\rB\x06\xf0ܓ\xad\x0f\x01H\x00R\bnumOfPop\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x02 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x02H\x01R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x03 \x01(\rB\x06\xf0ܓ\xad\x0f\x03H\x02R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x04 \x01(\x04B\x06\xf0ܓ\xad\x0f\x04H\x03R\tnextHopId\x88\x01\x01\x12P\n" + - "\bpsc_type\x18\x05 \x01(\x0e2(.lemming.dataplane.sai.InsegEntryPscTypeB\x06\xf0ܓ\xad\x0f\x05H\x04R\apscType\x88\x01\x01\x12\"\n" + - "\x06qos_tc\x18\x06 \x01(\rB\x06\xf0ܓ\xad\x0f\x06H\x05R\x05qosTc\x88\x01\x01\x127\n" + - "\x12mpls_exp_to_tc_map\x18\a \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x0emplsExpToTcMap\x88\x01\x01\x12=\n" + - "\x15mpls_exp_to_color_map\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\x11mplsExpToColorMap\x88\x01\x01\x12Z\n" + - "\fpop_ttl_mode\x18\t \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopTtlModeB\x06\xf0ܓ\xad\x0f\tH\bR\n" + - "popTtlMode\x88\x01\x01\x12Z\n" + - "\fpop_qos_mode\x18\n" + - " \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopQosModeB\x06\xf0ܓ\xad\x0f\n" + - "H\tR\n" + - "popQosMode\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\v \x01(\x04B\x06\xf0ܓ\xad\x0f\vH\n" + - "R\tcounterId\x88\x01\x01B\r\n" + - "\v_num_of_popB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\v\n" + - "\t_psc_typeB\t\n" + - "\a_qos_tcB\x15\n" + - "\x13_mpls_exp_to_tc_mapB\x18\n" + - "\x16_mpls_exp_to_color_mapB\x0f\n" + - "\r_pop_ttl_modeB\x0f\n" + - "\r_pop_qos_modeB\r\n" + - "\v_counter_id\"\xc1\x02\n" + + "\x11_stats_count_mode\"\xc1\x02\n" + "\x12IpmcEntryAttribute\x12U\n" + "\rpacket_action\x18\x01 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\fpacketAction\x88\x01\x01\x123\n" + "\x0foutput_group_id\x18\x02 \x01(\x04B\x06\xf0ܓ\xad\x0f\x02H\x01R\routputGroupId\x88\x01\x01\x12-\n" + @@ -35822,26 +33863,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\n" + "\b_vlan_idB\x0e\n" + "\f_mac_addressB\x13\n" + - "\x11_mac_address_mask\"\xb9\x05\n" + - "\x13MySidEntryAttribute\x12k\n" + - "\x11endpoint_behavior\x18\x01 \x01(\x0e21.lemming.dataplane.sai.MySidEntryEndpointBehaviorB\x06\xf0ܓ\xad\x0f\x01H\x00R\x10endpointBehavior\x88\x01\x01\x12~\n" + - "\x18endpoint_behavior_flavor\x18\x02 \x01(\x0e27.lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavorB\x06\xf0ܓ\xad\x0f\x02H\x01R\x16endpointBehaviorFlavor\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x03 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x03H\x02R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x05 \x01(\x04B\x06\xf0ܓ\xad\x0f\x05H\x04R\tnextHopId\x88\x01\x01\x12(\n" + - "\ttunnel_id\x18\x06 \x01(\x04B\x06\xf0ܓ\xad\x0f\x06H\x05R\btunnelId\x88\x01\x01\x12\x1d\n" + - "\x03vrf\x18\a \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x03vrf\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\tcounterId\x88\x01\x01B\x14\n" + - "\x12_endpoint_behaviorB\x1b\n" + - "\x19_endpoint_behavior_flavorB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\f\n" + - "\n" + - "_tunnel_idB\x06\n" + - "\x04_vrfB\r\n" + - "\v_counter_id\"\xb0\a\n" + + "\x11_mac_address_mask\"\xb0\a\n" + "\x11NatEntryAttribute\x12F\n" + "\bnat_type\x18\x01 \x01(\x0e2\x1e.lemming.dataplane.sai.NatTypeB\x06\xf0ܓ\xad\x0f\x01H\x00R\anatType\x88\x01\x01\x12\"\n" + "\x06src_ip\x18\x02 \x01(\fB\x06\xf0ܓ\xad\x0f\x02H\x01R\x05srcIp\x88\x01\x01\x12+\n" + @@ -36658,7 +34680,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x05state\x18\x03 \x01(\x0e2#.lemming.dataplane.sai.StpPortStateB\x06\xf0ܓ\xad\x0f\x03H\x02R\x05state\x88\x01\x01B\x06\n" + "\x04_stpB\x0e\n" + "\f_bridge_portB\b\n" + - "\x06_state\"\xbe\xad\x01\n" + + "\x06_state\"ʰ\x01\n" + "\x0fSwitchAttribute\x12@\n" + "\x16number_of_active_ports\x18\x01 \x01(\rB\x06\xf0ܓ\xad\x0f\x01H\x00R\x13numberOfActivePorts\x88\x01\x01\x12M\n" + "\x1dmax_number_of_supported_ports\x18\x02 \x01(\rB\x06\xf0ܓ\xad\x0f\x02H\x01R\x19maxNumberOfSupportedPorts\x88\x01\x01\x12#\n" + @@ -36893,12 +34915,15 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x1bavailable_icmp_echo_session\x18\xda\x01 \x01(\rB\a\xf0ܓ\xad\x0f\xea\x01H\xbd\x01R\x18availableIcmpEchoSession\x88\x01\x01\x12A\n" + "\x15max_icmp_echo_session\x18\xdb\x01 \x01(\rB\a\xf0ܓ\xad\x0f\xeb\x01H\xbe\x01R\x12maxIcmpEchoSession\x88\x01\x01\x12_\n" + "\x10stats_count_mode\x18\xdc\x01 \x01(\x0e2%.lemming.dataplane.sai.StatsCountModeB\a\xf0ܓ\xad\x0f\xec\x01H\xbf\x01R\x0estatsCountMode\x88\x01\x01\x12>\n" + - "\x16selective_counter_list\x18\xdd\x01 \x03(\x04B\a\xf0ܓ\xad\x0f\xed\x01R\x14selectiveCounterList\x12{\n" + - "!supported_debug_counter_type_list\x18\xde\x01 \x03(\x0e2'.lemming.dataplane.sai.DebugCounterTypeB\a\xf0ܓ\xad\x0f\xc0\x10R\x1dsupportedDebugCounterTypeList\x12y\n" + - "\"supported_ingress_drop_reason_list\x18\xdf\x01 \x03(\x0e2#.lemming.dataplane.sai.InDropReasonB\a\xf0ܓ\xad\x0f\xc1\x10R\x1esupportedIngressDropReasonList\x12b\n" + - "&available_switch_ingress_drop_counters\x18\xe0\x01 \x01(\rB\a\xf0ܓ\xad\x0f\xc6\x10H\xc0\x01R\"availableSwitchIngressDropCounters\x88\x01\x01\x12M\n" + - "\x1bdisable_ingress_vlan_checks\x18\xe1\x01 \x01(\bB\a\xf0ܓ\xad\x0f\xee\x01H\xc1\x01R\x18disableIngressVlanChecks\x88\x01\x01\x12K\n" + - "\x1adisable_egress_vlan_checks\x18\xe2\x01 \x01(\bB\a\xf0ܓ\xad\x0f\xef\x01H\xc2\x01R\x17disableEgressVlanChecks\x88\x01\x01B\x19\n" + + "\x16selective_counter_list\x18\xdd\x01 \x03(\x04B\a\xf0ܓ\xad\x0f\xed\x01R\x14selectiveCounterList\x12M\n" + + "\x1bdisable_ingress_vlan_checks\x18\xde\x01 \x01(\bB\a\xf0ܓ\xad\x0f\xee\x01H\xc0\x01R\x18disableIngressVlanChecks\x88\x01\x01\x12K\n" + + "\x1adisable_egress_vlan_checks\x18\xdf\x01 \x01(\bB\a\xf0ܓ\xad\x0f\xef\x01H\xc1\x01R\x17disableEgressVlanChecks\x88\x01\x01\x12c\n" + + "(dash_caps_max_meter_bucket_count_per_eni\x18\xe0\x01 \x01(\rB\a\xf0ܓ\xad\x0f\xf0\x01H\xc2\x01R!dashCapsMaxMeterBucketCountPerEni\x88\x01\x01\x12s\n" + + "\x18dash_caps_ha_scope_level\x18\xe1\x01 \x01(\x0e2+.lemming.dataplane.sai.DashCapsHaScopeLevelB\a\xf0ܓ\xad\x0f\xf1\x01H\xc3\x01R\x14dashCapsHaScopeLevel\x88\x01\x01\x12H\n" + + "\x19dash_caps_ha_owner_needed\x18\xe2\x01 \x01(\bB\a\xf0ܓ\xad\x0f\xf2\x01H\xc4\x01R\x15dashCapsHaOwnerNeeded\x88\x01\x01\x12{\n" + + "!supported_debug_counter_type_list\x18\xe3\x01 \x03(\x0e2'.lemming.dataplane.sai.DebugCounterTypeB\a\xf0ܓ\xad\x0f\xf5\x01R\x1dsupportedDebugCounterTypeList\x12y\n" + + "\"supported_ingress_drop_reason_list\x18\xe4\x01 \x03(\x0e2#.lemming.dataplane.sai.InDropReasonB\a\xf0ܓ\xad\x0f\xf6\x01R\x1esupportedIngressDropReasonList\x12b\n" + + "&available_switch_ingress_drop_counters\x18\xe5\x01 \x01(\rB\a\xf0ܓ\xad\x0f\xf7\x01H\xc5\x01R\"availableSwitchIngressDropCounters\x88\x01\x01B\x19\n" + "\x17_number_of_active_portsB \n" + "\x1e_max_number_of_supported_portsB\x0f\n" + "\r_port_max_mtuB\v\n" + @@ -37094,10 +35119,13 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x16_acl_stage_pre_ingressB\x1e\n" + "\x1c_available_icmp_echo_sessionB\x18\n" + "\x16_max_icmp_echo_sessionB\x13\n" + - "\x11_stats_count_modeB)\n" + - "'_available_switch_ingress_drop_countersB\x1e\n" + + "\x11_stats_count_modeB\x1e\n" + "\x1c_disable_ingress_vlan_checksB\x1d\n" + - "\x1b_disable_egress_vlan_checks\"\xda\n" + + "\x1b_disable_egress_vlan_checksB+\n" + + ")_dash_caps_max_meter_bucket_count_per_eniB\x1b\n" + + "\x19_dash_caps_ha_scope_levelB\x1c\n" + + "\x1a_dash_caps_ha_owner_neededB)\n" + + "'_available_switch_ingress_drop_counters\"\xda\n" + "\n" + "\x15SwitchTunnelAttribute\x12O\n" + "\vtunnel_type\x18\x01 \x01(\x0e2!.lemming.dataplane.sai.TunnelTypeB\x06\xf0ܓ\xad\x0f\x01H\x00R\n" + @@ -37144,51 +35172,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x05_portB\x0e\n" + "\f_admin_stateB\x0e\n" + "\f_config_infoB\x16\n" + - "\x14_qos_tc_to_queue_map\"\xf2\x02\n" + - "'TableBitmapClassificationEntryAttribute\x12`\n" + - "\x06action\x18\x01 \x01(\x0e2;.lemming.dataplane.sai.TableBitmapClassificationEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12=\n" + - "\x14router_interface_key\x18\x02 \x01(\x04B\x06\xf0ܓ\xad\x0f\x02H\x01R\x12routerInterfaceKey\x88\x01\x01\x12*\n" + - "\n" + - "is_default\x18\x03 \x01(\bB\x06\xf0ܓ\xad\x0f\x03H\x02R\tisDefault\x88\x01\x01\x123\n" + - "\x0fin_rif_metadata\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\rinRifMetadata\x88\x01\x01B\t\n" + - "\a_actionB\x17\n" + - "\x15_router_interface_keyB\r\n" + - "\v_is_defaultB\x12\n" + - "\x10_in_rif_metadata\"\xb7\x05\n" + - "\x1fTableBitmapRouterEntryAttribute\x12X\n" + - "\x06action\x18\x01 \x01(\x0e23.lemming.dataplane.sai.TableBitmapRouterEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12'\n" + - "\bpriority\x18\x02 \x01(\rB\x06\xf0ܓ\xad\x0f\x02H\x01R\bpriority\x88\x01\x01\x12:\n" + - "\x13in_rif_metadata_key\x18\x03 \x01(\rB\x06\xf0ܓ\xad\x0f\x03H\x02R\x10inRifMetadataKey\x88\x01\x01\x12<\n" + - "\x14in_rif_metadata_mask\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\x11inRifMetadataMask\x88\x01\x01\x12J\n" + - "\n" + - "dst_ip_key\x18\x05 \x01(\v2\x1f.lemming.dataplane.sai.IpPrefixB\x06\xf0ܓ\xad\x0f\x05H\x04R\bdstIpKey\x88\x01\x01\x12.\n" + - "\ftunnel_index\x18\x06 \x01(\rB\x06\xf0ܓ\xad\x0f\x06H\x05R\vtunnelIndex\x88\x01\x01\x12&\n" + - "\bnext_hop\x18\a \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\anextHop\x88\x01\x01\x126\n" + - "\x10router_interface\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\x0frouterInterface\x88\x01\x01\x12$\n" + - "\atrap_id\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\tH\bR\x06trapId\x88\x01\x01B\t\n" + - "\a_actionB\v\n" + - "\t_priorityB\x16\n" + - "\x14_in_rif_metadata_keyB\x17\n" + - "\x15_in_rif_metadata_maskB\r\n" + - "\v_dst_ip_keyB\x0f\n" + - "\r_tunnel_indexB\v\n" + - "\t_next_hopB\x13\n" + - "\x11_router_interfaceB\n" + - "\n" + - "\b_trap_id\"\xf7\x02\n" + - "\x1dTableMetaTunnelEntryAttribute\x12V\n" + - "\x06action\x18\x01 \x01(\x0e21.lemming.dataplane.sai.TableMetaTunnelEntryActionB\x06\xf0ܓ\xad\x0f\x01H\x00R\x06action\x88\x01\x01\x12.\n" + - "\fmetadata_key\x18\x02 \x01(\rB\x06\xf0ܓ\xad\x0f\x02H\x01R\vmetadataKey\x88\x01\x01\x12*\n" + - "\n" + - "is_default\x18\x03 \x01(\bB\x06\xf0ܓ\xad\x0f\x03H\x02R\tisDefault\x88\x01\x01\x12(\n" + - "\ttunnel_id\x18\x04 \x01(\x04B\x06\xf0ܓ\xad\x0f\x04H\x03R\btunnelId\x88\x01\x01\x12.\n" + - "\funderlay_dip\x18\x05 \x01(\fB\x06\xf0ܓ\xad\x0f\x05H\x04R\vunderlayDip\x88\x01\x01B\t\n" + - "\a_actionB\x0f\n" + - "\r_metadata_keyB\r\n" + - "\v_is_defaultB\f\n" + - "\n" + - "_tunnel_idB\x0f\n" + - "\r_underlay_dip\"\x9d\x02\n" + + "\x14_qos_tc_to_queue_map\"\x9d\x02\n" + "\fTamAttribute\x12<\n" + "\x16telemetry_objects_list\x18\x01 \x03(\x04B\x06\xf0ܓ\xad\x0f\x01R\x14telemetryObjectsList\x124\n" + "\x12event_objects_list\x18\x02 \x03(\x04B\x06\xf0ܓ\xad\x0f\x02R\x10eventObjectsList\x120\n" + @@ -37866,92 +35850,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x1aAclTableSupportedMatchType\x12.\n" + "*ACL_TABLE_SUPPORTED_MATCH_TYPE_UNSPECIFIED\x10\x00\x12*\n" + "&ACL_TABLE_SUPPORTED_MATCH_TYPE_TERNARY\x10\x01\x12(\n" + - "$ACL_TABLE_SUPPORTED_MATCH_TYPE_EXACT\x10\x02*\x8a\x04\n" + - "\rApiExtensions\x12\x1e\n" + - "\x1aAPI_EXTENSIONS_UNSPECIFIED\x10\x00\x12\"\n" + - "\x1aAPI_EXTENSIONS_RANGE_START\x10\x81\x80\x80\x80\x02\x12\x11\n" + - "\tAPI_BMTOR\x10\x81\x80\x80\x80\x02\x12\x14\n" + - "\fAPI_DASH_ACL\x10\x82\x80\x80\x80\x02\x12!\n" + - "\x19API_DASH_DIRECTION_LOOKUP\x10\x83\x80\x80\x80\x02\x12\x14\n" + - "\fAPI_DASH_ENI\x10\x84\x80\x80\x80\x02\x12 \n" + - "\x18API_DASH_INBOUND_ROUTING\x10\x85\x80\x80\x80\x02\x12\x16\n" + - "\x0eAPI_DASH_METER\x10\x86\x80\x80\x80\x02\x12\"\n" + - "\x1aAPI_DASH_OUTBOUND_CA_TO_PA\x10\x87\x80\x80\x80\x02\x12!\n" + - "\x19API_DASH_OUTBOUND_ROUTING\x10\x88\x80\x80\x80\x02\x12\x15\n" + - "\rAPI_DASH_VNET\x10\x89\x80\x80\x80\x02\x12\x1e\n" + - "\x16API_DASH_PA_VALIDATION\x10\x8a\x80\x80\x80\x02\x12\x14\n" + - "\fAPI_DASH_VIP\x10\x8b\x80\x80\x80\x02\x12\x13\n" + - "\vAPI_DASH_HA\x10\x8c\x80\x80\x80\x02\x12\x17\n" + - "\x0fAPI_DASH_TUNNEL\x10\x8d\x80\x80\x80\x02\x12\x15\n" + - "\rAPI_DASH_FLOW\x10\x8e\x80\x80\x80\x02\x12\x1a\n" + - "\x12API_DASH_APPLIANCE\x10\x8f\x80\x80\x80\x02\x12 \n" + - "\x18API_EXTENSIONS_RANGE_END\x10\x90\x80\x80\x80\x02\x1a\x02\x10\x01*\xdb\a\n" + - "\x03Api\x12\x13\n" + - "\x0fAPI_UNSPECIFIED\x10\x00\x12\x17\n" + - "\x13API_SAI_UNSPECIFIED\x10\x01\x12\x0e\n" + - "\n" + - "API_SWITCH\x10\x02\x12\f\n" + - "\bAPI_PORT\x10\x03\x12\v\n" + - "\aAPI_FDB\x10\x04\x12\f\n" + - "\bAPI_VLAN\x10\x05\x12\x16\n" + - "\x12API_VIRTUAL_ROUTER\x10\x06\x12\r\n" + - "\tAPI_ROUTE\x10\a\x12\x10\n" + - "\fAPI_NEXT_HOP\x10\b\x12\x16\n" + - "\x12API_NEXT_HOP_GROUP\x10\t\x12\x18\n" + - "\x14API_ROUTER_INTERFACE\x10\n" + - "\x12\x10\n" + - "\fAPI_NEIGHBOR\x10\v\x12\v\n" + - "\aAPI_ACL\x10\f\x12\x0e\n" + - "\n" + - "API_HOSTIF\x10\r\x12\x0e\n" + - "\n" + - "API_MIRROR\x10\x0e\x12\x14\n" + - "\x10API_SAMPLEPACKET\x10\x0f\x12\v\n" + - "\aAPI_STP\x10\x10\x12\v\n" + - "\aAPI_LAG\x10\x11\x12\x0f\n" + - "\vAPI_POLICER\x10\x12\x12\f\n" + - "\bAPI_WRED\x10\x13\x12\x0f\n" + - "\vAPI_QOS_MAP\x10\x14\x12\r\n" + - "\tAPI_QUEUE\x10\x15\x12\x11\n" + - "\rAPI_SCHEDULER\x10\x16\x12\x17\n" + - "\x13API_SCHEDULER_GROUP\x10\x17\x12\x0e\n" + - "\n" + - "API_BUFFER\x10\x18\x12\f\n" + - "\bAPI_HASH\x10\x19\x12\v\n" + - "\aAPI_UDF\x10\x1a\x12\x0e\n" + - "\n" + - "API_TUNNEL\x10\x1b\x12\f\n" + - "\bAPI_L2MC\x10\x1c\x12\f\n" + - "\bAPI_IPMC\x10\x1d\x12\x11\n" + - "\rAPI_RPF_GROUP\x10\x1e\x12\x12\n" + - "\x0eAPI_L2MC_GROUP\x10\x1f\x12\x12\n" + - "\x0eAPI_IPMC_GROUP\x10 \x12\x11\n" + - "\rAPI_MCAST_FDB\x10!\x12\x0e\n" + - "\n" + - "API_BRIDGE\x10\"\x12\v\n" + - "\aAPI_TAM\x10#\x12\f\n" + - "\bAPI_SRV6\x10$\x12\f\n" + - "\bAPI_MPLS\x10%\x12\f\n" + - "\bAPI_DTEL\x10&\x12\v\n" + - "\aAPI_BFD\x10'\x12\x17\n" + - "\x13API_ISOLATION_GROUP\x10(\x12\v\n" + - "\aAPI_NAT\x10)\x12\x0f\n" + - "\vAPI_COUNTER\x10*\x12\x15\n" + - "\x11API_DEBUG_COUNTER\x10+\x12\x0e\n" + - "\n" + - "API_MACSEC\x10,\x12\x13\n" + - "\x0fAPI_SYSTEM_PORT\x10-\x12\x0e\n" + - "\n" + - "API_MY_MAC\x10.\x12\r\n" + - "\tAPI_IPSEC\x10/\x12\x1c\n" + - "\x18API_GENERIC_PROGRAMMABLE\x100\x12\v\n" + - "\aAPI_ARS\x101\x12\x13\n" + - "\x0fAPI_ARS_PROFILE\x102\x12\r\n" + - "\tAPI_TWAMP\x103\x12\v\n" + - "\aAPI_POE\x104\x12\x11\n" + - "\rAPI_ICMP_ECHO\x105\x12\v\n" + - "\aAPI_MAX\x106\x12!\n" + - "\x19API_EXTENSIONS_RANGE_BASE\x10\x81\x80\x80\x80\x02*\xcf\x01\n" + + "$ACL_TABLE_SUPPORTED_MATCH_TYPE_EXACT\x10\x02*\xcf\x01\n" + "\x14BfdEncapsulationType\x12&\n" + "\"BFD_ENCAPSULATION_TYPE_UNSPECIFIED\x10\x00\x12#\n" + "\x1fBFD_ENCAPSULATION_TYPE_IP_IN_IP\x10\x01\x12(\n" + @@ -38088,94 +35987,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x14DashCapsHaScopeLevel\x12(\n" + "$DASH_CAPS_HA_SCOPE_LEVEL_UNSPECIFIED\x10\x00\x12!\n" + "\x1dDASH_CAPS_HA_SCOPE_LEVEL_CARD\x10\x01\x12 \n" + - "\x1cDASH_CAPS_HA_SCOPE_LEVEL_ENI\x10\x02*\x84\x01\n" + - "\rDashDirection\x12\x1e\n" + - "\x1aDASH_DIRECTION_UNSPECIFIED\x10\x00\x12\x1a\n" + - "\x16DASH_DIRECTION_INVALID\x10\x01\x12\x1b\n" + - "\x17DASH_DIRECTION_OUTBOUND\x10\x02\x12\x1a\n" + - "\x16DASH_DIRECTION_INBOUND\x10\x03*\x93\x01\n" + - "\x11DashEncapsulation\x12\"\n" + - "\x1eDASH_ENCAPSULATION_UNSPECIFIED\x10\x00\x12\x1e\n" + - "\x1aDASH_ENCAPSULATION_INVALID\x10\x01\x12\x1c\n" + - "\x18DASH_ENCAPSULATION_VXLAN\x10\x02\x12\x1c\n" + - "\x18DASH_ENCAPSULATION_NVGRE\x10\x03*\xb9\x01\n" + - "\x16DashEniMacOverrideType\x12*\n" + - "&DASH_ENI_MAC_OVERRIDE_TYPE_UNSPECIFIED\x10\x00\x12#\n" + - "\x1fDASH_ENI_MAC_OVERRIDE_TYPE_NONE\x10\x01\x12&\n" + - "\"DASH_ENI_MAC_OVERRIDE_TYPE_SRC_MAC\x10\x02\x12&\n" + - "\"DASH_ENI_MAC_OVERRIDE_TYPE_DST_MAC\x10\x03*M\n" + - "\x0eDashFlowAction\x12 \n" + - "\x1cDASH_FLOW_ACTION_UNSPECIFIED\x10\x00\x12\x19\n" + - "\x15DASH_FLOW_ACTION_NONE\x10\x01*\xad\x02\n" + - "\x12DashFlowEnabledKey\x12%\n" + - "!DASH_FLOW_ENABLED_KEY_UNSPECIFIED\x10\x00\x12!\n" + - "\x1dDASH_FLOW_ENABLED_KEY_ENI_MAC\x10\x02\x12\x1d\n" + - "\x19DASH_FLOW_ENABLED_KEY_VNI\x10\x03\x12\"\n" + - "\x1eDASH_FLOW_ENABLED_KEY_PROTOCOL\x10\x05\x12 \n" + - "\x1cDASH_FLOW_ENABLED_KEY_SRC_IP\x10\t\x12 \n" + - "\x1cDASH_FLOW_ENABLED_KEY_DST_IP\x10\x11\x12\"\n" + - "\x1eDASH_FLOW_ENABLED_KEY_SRC_PORT\x10!\x12\"\n" + - "\x1eDASH_FLOW_ENABLED_KEY_DST_PORT\x10A*\x83\x05\n" + - "$DashFlowEntryBulkGetSessionFilterKey\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_UNSPECIFIED\x10\x00\x127\n" + - "3DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_INVAILD\x10\x01\x12=\n" + - "9DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_FLOW_TABLE_ID\x10\x02\x128\n" + - "4DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_ENI_ADDR\x10\x03\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_IP_PROTOCOL\x10\x04\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_IP_ADDR\x10\x05\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_IP_ADDR\x10\x06\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_SRC_L4_PORT\x10\a\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_DST_L4_PORT\x10\b\x12;\n" + - "7DASH_FLOW_ENTRY_BULK_GET_SESSION_FILTER_KEY_KEY_VERSION\x10\t*\xd7\x03\n" + - "\x1fDashFlowEntryBulkGetSessionMode\x125\n" + - "1DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_UNSPECIFIED\x10\x00\x12X\n" + - "TDASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_GRPC\x10\x01\x12Z\n" + - "VDASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_VENDOR\x10\x02\x12Y\n" + - "UDASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT\x10\x03\x12l\n" + - "hDASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_SAI_DASH_FLOW_ENTRY_BULK_GET_SESSION_MODE_EVENT_WITHOUT_FLOW_STATE\x10\x04*\xfc\x03\n" + - " DashFlowEntryBulkGetSessionOpKey\x127\n" + - "3DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_UNSPECIFIED\x10\x00\x12=\n" + - "9DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_INVALID\x10\x01\x12>\n" + - ":DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_EQUAL_TO\x10\x02\x12B\n" + - ">DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN\x10\x03\x12N\n" + - "JDASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_GREATER_THAN_OR_EQUAL_TO\x10\x04\x12?\n" + - ";DASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN\x10\x05\x12K\n" + - "GDASH_FLOW_ENTRY_BULK_GET_SESSION_OP_KEY_FILTER_OP_LESS_THAN_OR_EQUAL_TO\x10\x06*\xb7\x01\n" + - "\n" + - "DashHaRole\x12\x1c\n" + - "\x18DASH_HA_ROLE_UNSPECIFIED\x10\x00\x12\x15\n" + - "\x11DASH_HA_ROLE_DEAD\x10\x01\x12\x17\n" + - "\x13DASH_HA_ROLE_ACTIVE\x10\x02\x12\x18\n" + - "\x14DASH_HA_ROLE_STANDBY\x10\x03\x12\x1b\n" + - "\x17DASH_HA_ROLE_STANDALONE\x10\x04\x12$\n" + - " DASH_HA_ROLE_SWITCHING_TO_ACTIVE\x10\x05*\xfc\x03\n" + - "\vDashHaState\x12\x1d\n" + - "\x19DASH_HA_STATE_UNSPECIFIED\x10\x00\x12\x16\n" + - "\x12DASH_HA_STATE_DEAD\x10\x01\x12\x1c\n" + - "\x18DASH_HA_STATE_CONNECTING\x10\x02\x12\x1b\n" + - "\x17DASH_HA_STATE_CONNECTED\x10\x03\x12(\n" + - "$DASH_HA_STATE_INITIALIZING_TO_ACTIVE\x10\x04\x12)\n" + - "%DASH_HA_STATE_INITIALIZING_TO_STANDBY\x10\x05\x12/\n" + - "+DASH_HA_STATE_PENDING_STANDALONE_ACTIVATION\x10\x06\x12+\n" + - "'DASH_HA_STATE_PENDING_ACTIVE_ACTIVATION\x10\a\x12,\n" + - "(DASH_HA_STATE_PENDING_STANDBY_ACTIVATION\x10\b\x12\x1c\n" + - "\x18DASH_HA_STATE_STANDALONE\x10\t\x12\x18\n" + - "\x14DASH_HA_STATE_ACTIVE\x10\n" + - "\x12\x19\n" + - "\x15DASH_HA_STATE_STANDBY\x10\v\x12\x1c\n" + - "\x18DASH_HA_STATE_DESTROYING\x10\f\x12)\n" + - "%DASH_HA_STATE_SWITCHING_TO_STANDALONE\x10\r*\xe2\x01\n" + - "\x12DashRoutingActions\x12$\n" + - " DASH_ROUTING_ACTIONS_UNSPECIFIED\x10\x00\x12%\n" + - "!DASH_ROUTING_ACTIONS_STATIC_ENCAP\x10\x02\x12\x1c\n" + - "\x18DASH_ROUTING_ACTIONS_NAT\x10\x03\x12\x1e\n" + - "\x1aDASH_ROUTING_ACTIONS_NAT46\x10\x05\x12\x1e\n" + - "\x1aDASH_ROUTING_ACTIONS_NAT64\x10\t\x12!\n" + - "\x1dDASH_ROUTING_ACTIONS_NAT_PORT\x10\x11*\x8b\x01\n" + - "\x12DashTunnelDscpMode\x12%\n" + - "!DASH_TUNNEL_DSCP_MODE_UNSPECIFIED\x10\x00\x12(\n" + - "$DASH_TUNNEL_DSCP_MODE_PRESERVE_MODEL\x10\x01\x12$\n" + - " DASH_TUNNEL_DSCP_MODE_PIPE_MODEL\x10\x02*l\n" + + "\x1cDASH_CAPS_HA_SCOPE_LEVEL_ENI\x10\x02*l\n" + "\x16DebugCounterBindMethod\x12)\n" + "%DEBUG_COUNTER_BIND_METHOD_UNSPECIFIED\x10\x00\x12'\n" + "#DEBUG_COUNTER_BIND_METHOD_AUTOMATIC\x10\x01*\xf0\x01\n" + @@ -38509,15 +36321,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\rL2mcEntryType\x12\x1f\n" + "\x1bL2MC_ENTRY_TYPE_UNSPECIFIED\x10\x00\x12\x16\n" + "\x12L2MC_ENTRY_TYPE_SG\x10\x01\x12\x16\n" + - "\x12L2MC_ENTRY_TYPE_XG\x10\x02*\xa5\x01\n" + - "\bLogLevel\x12\x19\n" + - "\x15LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x13\n" + - "\x0fLOG_LEVEL_DEBUG\x10\x01\x12\x12\n" + - "\x0eLOG_LEVEL_INFO\x10\x02\x12\x14\n" + - "\x10LOG_LEVEL_NOTICE\x10\x03\x12\x12\n" + - "\x0eLOG_LEVEL_WARN\x10\x04\x12\x13\n" + - "\x0fLOG_LEVEL_ERROR\x10\x05\x12\x16\n" + - "\x12LOG_LEVEL_CRITICAL\x10\x06*\xd4\x01\n" + + "\x12L2MC_ENTRY_TYPE_XG\x10\x02*\xd4\x01\n" + "\x11MacsecCipherSuite\x12#\n" + "\x1fMACSEC_CIPHER_SUITE_UNSPECIFIED\x10\x00\x12#\n" + "\x1fMACSEC_CIPHER_SUITE_GCM_AES_128\x10\x01\x12#\n" + @@ -38701,37 +36505,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x18OBJECT_STAGE_UNSPECIFIED\x10\x00\x12\x15\n" + "\x11OBJECT_STAGE_BOTH\x10\x01\x12\x18\n" + "\x14OBJECT_STAGE_INGRESS\x10\x02\x12\x17\n" + - "\x13OBJECT_STAGE_EGRESS\x10\x03*\x8c\t\n" + - "\x14ObjectTypeExtensions\x12&\n" + - "\"OBJECT_TYPE_EXTENSIONS_UNSPECIFIED\x10\x00\x12*\n" + - "\"OBJECT_TYPE_EXTENSIONS_RANGE_START\x10\x81\x80\x80\x80\x02\x125\n" + - "-OBJECT_TYPE_TABLE_BITMAP_CLASSIFICATION_ENTRY\x10\x81\x80\x80\x80\x02\x12-\n" + - "%OBJECT_TYPE_TABLE_BITMAP_ROUTER_ENTRY\x10\x82\x80\x80\x80\x02\x12+\n" + - "#OBJECT_TYPE_TABLE_META_TUNNEL_ENTRY\x10\x83\x80\x80\x80\x02\x12\"\n" + - "\x1aOBJECT_TYPE_DASH_ACL_GROUP\x10\x84\x80\x80\x80\x02\x12!\n" + - "\x19OBJECT_TYPE_DASH_ACL_RULE\x10\x85\x80\x80\x80\x02\x12*\n" + - "\"OBJECT_TYPE_DIRECTION_LOOKUP_ENTRY\x10\x86\x80\x80\x80\x02\x12/\n" + - "'OBJECT_TYPE_ENI_ETHER_ADDRESS_MAP_ENTRY\x10\x87\x80\x80\x80\x02\x12\x17\n" + - "\x0fOBJECT_TYPE_ENI\x10\x88\x80\x80\x80\x02\x12)\n" + - "!OBJECT_TYPE_INBOUND_ROUTING_ENTRY\x10\x89\x80\x80\x80\x02\x12&\n" + - "\x1eOBJECT_TYPE_METER_BUCKET_ENTRY\x10\x8a\x80\x80\x80\x02\x12 \n" + - "\x18OBJECT_TYPE_METER_POLICY\x10\x8b\x80\x80\x80\x02\x12\x1e\n" + - "\x16OBJECT_TYPE_METER_RULE\x10\x8c\x80\x80\x80\x02\x12+\n" + - "#OBJECT_TYPE_OUTBOUND_CA_TO_PA_ENTRY\x10\x8d\x80\x80\x80\x02\x12*\n" + - "\"OBJECT_TYPE_OUTBOUND_ROUTING_ENTRY\x10\x8e\x80\x80\x80\x02\x12\x18\n" + - "\x10OBJECT_TYPE_VNET\x10\x8f\x80\x80\x80\x02\x12'\n" + - "\x1fOBJECT_TYPE_PA_VALIDATION_ENTRY\x10\x90\x80\x80\x80\x02\x12\x1d\n" + - "\x15OBJECT_TYPE_VIP_ENTRY\x10\x91\x80\x80\x80\x02\x12\x1a\n" + - "\x12OBJECT_TYPE_HA_SET\x10\x92\x80\x80\x80\x02\x12\x1c\n" + - "\x14OBJECT_TYPE_HA_SCOPE\x10\x93\x80\x80\x80\x02\x12\x1f\n" + - "\x17OBJECT_TYPE_DASH_TUNNEL\x10\x94\x80\x80\x80\x02\x12*\n" + - "\"OBJECT_TYPE_OUTBOUND_ROUTING_GROUP\x10\x95\x80\x80\x80\x02\x12\x1e\n" + - "\x16OBJECT_TYPE_FLOW_TABLE\x10\x96\x80\x80\x80\x02\x12\x1e\n" + - "\x16OBJECT_TYPE_FLOW_ENTRY\x10\x97\x80\x80\x80\x02\x126\n" + - ".OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION_FILTER\x10\x98\x80\x80\x80\x02\x12/\n" + - "'OBJECT_TYPE_FLOW_ENTRY_BULK_GET_SESSION\x10\x99\x80\x80\x80\x02\x12\"\n" + - "\x1aOBJECT_TYPE_DASH_APPLIANCE\x10\x9a\x80\x80\x80\x02\x12(\n" + - " OBJECT_TYPE_EXTENSIONS_RANGE_END\x10\x9b\x80\x80\x80\x02\x1a\x02\x10\x01*\xd7\x1a\n" + + "\x13OBJECT_STAGE_EGRESS\x10\x03*\xd7\x1a\n" + "\n" + "ObjectType\x12\x1b\n" + "\x17OBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x14\n" + @@ -38930,11 +36704,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "\x19POLICER_STAT_YELLOW_BYTES\x10\x06\x12\x1c\n" + "\x18POLICER_STAT_RED_PACKETS\x10\a\x12\x1a\n" + "\x16POLICER_STAT_RED_BYTES\x10\b\x12&\n" + - "\x1ePOLICER_STAT_CUSTOM_RANGE_BASE\x10\x81\x80\x80\x80\x01*\x8c\x01\n" + - "\x12PortAttrExtensions\x12$\n" + - " PORT_ATTR_EXTENSIONS_UNSPECIFIED\x10\x00\x12(\n" + - " PORT_ATTR_EXTENSIONS_RANGE_START\x10\x81\x80\x80\x80\x02\x12&\n" + - "\x1ePORT_ATTR_EXTENSIONS_RANGE_END\x10\x82\x80\x80\x80\x02*\xd9\x01\n" + + "\x1ePOLICER_STAT_CUSTOM_RANGE_BASE\x10\x81\x80\x80\x80\x01*\xd9\x01\n" + "\x15PortAutoNegConfigMode\x12)\n" + "%PORT_AUTO_NEG_CONFIG_MODE_UNSPECIFIED\x10\x00\x12&\n" + "\"PORT_AUTO_NEG_CONFIG_MODE_DISABLED\x10\x01\x12\"\n" + @@ -39584,16 +37354,7 @@ const file_dataplane_proto_sai_common_proto_rawDesc = "" + "+SWITCH_ASIC_SDK_HEALTH_SEVERITY_UNSPECIFIED\x10\x00\x12)\n" + "%SWITCH_ASIC_SDK_HEALTH_SEVERITY_FATAL\x10\x01\x12+\n" + "'SWITCH_ASIC_SDK_HEALTH_SEVERITY_WARNING\x10\x02\x12*\n" + - "&SWITCH_ASIC_SDK_HEALTH_SEVERITY_NOTICE\x10\x03*\x87\x03\n" + - "\x14SwitchAttrExtensions\x12&\n" + - "\"SWITCH_ATTR_EXTENSIONS_UNSPECIFIED\x10\x00\x12*\n" + - "\"SWITCH_ATTR_EXTENSIONS_RANGE_START\x10\x81\x80\x80\x80\x02\x12<\n" + - "4SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI\x10\x81\x80\x80\x80\x02\x12,\n" + - "$SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL\x10\x82\x80\x80\x80\x02\x12-\n" + - "%SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED\x10\x83\x80\x80\x80\x02\x12'\n" + - "\x1fSWITCH_ATTR_HA_SET_EVENT_NOTIFY\x10\x84\x80\x80\x80\x02\x12)\n" + - "!SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY\x10\x85\x80\x80\x80\x02\x12(\n" + - " SWITCH_ATTR_EXTENSIONS_RANGE_END\x10\x86\x80\x80\x80\x02\x1a\x02\x10\x01*\x9c\x01\n" + + "&SWITCH_ASIC_SDK_HEALTH_SEVERITY_NOTICE\x10\x03*\x9c\x01\n" + "\x18SwitchFailoverConfigMode\x12+\n" + "'SWITCH_FAILOVER_CONFIG_MODE_UNSPECIFIED\x10\x00\x12*\n" + "&SWITCH_FAILOVER_CONFIG_MODE_NO_HITLESS\x10\x01\x12'\n" + @@ -39950,881 +37711,844 @@ func file_dataplane_proto_sai_common_proto_rawDescGZIP() []byte { return file_dataplane_proto_sai_common_proto_rawDescData } -var file_dataplane_proto_sai_common_proto_enumTypes = make([]protoimpl.EnumInfo, 221) -var file_dataplane_proto_sai_common_proto_msgTypes = make([]protoimpl.MessageInfo, 150) +var file_dataplane_proto_sai_common_proto_enumTypes = make([]protoimpl.EnumInfo, 203) +var file_dataplane_proto_sai_common_proto_msgTypes = make([]protoimpl.MessageInfo, 143) var file_dataplane_proto_sai_common_proto_goTypes = []any{ - (AclActionType)(0), // 0: lemming.dataplane.sai.AclActionType - (AclBindPointType)(0), // 1: lemming.dataplane.sai.AclBindPointType - (AclDtelFlowOp)(0), // 2: lemming.dataplane.sai.AclDtelFlowOp - (AclIpFrag)(0), // 3: lemming.dataplane.sai.AclIpFrag - (AclIpType)(0), // 4: lemming.dataplane.sai.AclIpType - (AclRangeType)(0), // 5: lemming.dataplane.sai.AclRangeType - (AclStage)(0), // 6: lemming.dataplane.sai.AclStage - (AclTableChainGroupStage)(0), // 7: lemming.dataplane.sai.AclTableChainGroupStage - (AclTableChainGroupType)(0), // 8: lemming.dataplane.sai.AclTableChainGroupType - (AclTableGroupType)(0), // 9: lemming.dataplane.sai.AclTableGroupType - (AclTableMatchType)(0), // 10: lemming.dataplane.sai.AclTableMatchType - (AclTableSupportedMatchType)(0), // 11: lemming.dataplane.sai.AclTableSupportedMatchType - (ApiExtensions)(0), // 12: lemming.dataplane.sai.ApiExtensions - (Api)(0), // 13: lemming.dataplane.sai.Api - (BfdEncapsulationType)(0), // 14: lemming.dataplane.sai.BfdEncapsulationType - (BfdSessionOffloadType)(0), // 15: lemming.dataplane.sai.BfdSessionOffloadType - (BfdSessionStat)(0), // 16: lemming.dataplane.sai.BfdSessionStat - (BfdSessionState)(0), // 17: lemming.dataplane.sai.BfdSessionState - (BfdSessionType)(0), // 18: lemming.dataplane.sai.BfdSessionType - (BridgeFloodControlType)(0), // 19: lemming.dataplane.sai.BridgeFloodControlType - (BridgePortFdbLearningMode)(0), // 20: lemming.dataplane.sai.BridgePortFdbLearningMode - (BridgePortStat)(0), // 21: lemming.dataplane.sai.BridgePortStat - (BridgePortTaggingMode)(0), // 22: lemming.dataplane.sai.BridgePortTaggingMode - (BridgePortType)(0), // 23: lemming.dataplane.sai.BridgePortType - (BridgeStat)(0), // 24: lemming.dataplane.sai.BridgeStat - (BridgeType)(0), // 25: lemming.dataplane.sai.BridgeType - (BufferPoolStat)(0), // 26: lemming.dataplane.sai.BufferPoolStat - (BufferPoolThresholdMode)(0), // 27: lemming.dataplane.sai.BufferPoolThresholdMode - (BufferPoolType)(0), // 28: lemming.dataplane.sai.BufferPoolType - (BufferProfileThresholdMode)(0), // 29: lemming.dataplane.sai.BufferProfileThresholdMode - (BulkOpErrorMode)(0), // 30: lemming.dataplane.sai.BulkOpErrorMode - (CommonApi)(0), // 31: lemming.dataplane.sai.CommonApi - (CounterStat)(0), // 32: lemming.dataplane.sai.CounterStat - (CounterType)(0), // 33: lemming.dataplane.sai.CounterType - (DashCapsHaScopeLevel)(0), // 34: lemming.dataplane.sai.DashCapsHaScopeLevel - (DashDirection)(0), // 35: lemming.dataplane.sai.DashDirection - (DashEncapsulation)(0), // 36: lemming.dataplane.sai.DashEncapsulation - (DashEniMacOverrideType)(0), // 37: lemming.dataplane.sai.DashEniMacOverrideType - (DashFlowAction)(0), // 38: lemming.dataplane.sai.DashFlowAction - (DashFlowEnabledKey)(0), // 39: lemming.dataplane.sai.DashFlowEnabledKey - (DashFlowEntryBulkGetSessionFilterKey)(0), // 40: lemming.dataplane.sai.DashFlowEntryBulkGetSessionFilterKey - (DashFlowEntryBulkGetSessionMode)(0), // 41: lemming.dataplane.sai.DashFlowEntryBulkGetSessionMode - (DashFlowEntryBulkGetSessionOpKey)(0), // 42: lemming.dataplane.sai.DashFlowEntryBulkGetSessionOpKey - (DashHaRole)(0), // 43: lemming.dataplane.sai.DashHaRole - (DashHaState)(0), // 44: lemming.dataplane.sai.DashHaState - (DashRoutingActions)(0), // 45: lemming.dataplane.sai.DashRoutingActions - (DashTunnelDscpMode)(0), // 46: lemming.dataplane.sai.DashTunnelDscpMode - (DebugCounterBindMethod)(0), // 47: lemming.dataplane.sai.DebugCounterBindMethod - (DebugCounterType)(0), // 48: lemming.dataplane.sai.DebugCounterType - (DtelEventType)(0), // 49: lemming.dataplane.sai.DtelEventType - (EcnMarkMode)(0), // 50: lemming.dataplane.sai.EcnMarkMode - (ErspanEncapsulationType)(0), // 51: lemming.dataplane.sai.ErspanEncapsulationType - (FdbEntryType)(0), // 52: lemming.dataplane.sai.FdbEntryType - (FdbEvent)(0), // 53: lemming.dataplane.sai.FdbEvent - (FdbFlushEntryType)(0), // 54: lemming.dataplane.sai.FdbFlushEntryType - (HaScopeEvent)(0), // 55: lemming.dataplane.sai.HaScopeEvent - (HaSetEvent)(0), // 56: lemming.dataplane.sai.HaSetEvent - (HashAlgorithm)(0), // 57: lemming.dataplane.sai.HashAlgorithm - (HealthDataType)(0), // 58: lemming.dataplane.sai.HealthDataType - (HostifTableEntryChannelType)(0), // 59: lemming.dataplane.sai.HostifTableEntryChannelType - (HostifTableEntryType)(0), // 60: lemming.dataplane.sai.HostifTableEntryType - (HostifTrapType)(0), // 61: lemming.dataplane.sai.HostifTrapType - (HostifTxType)(0), // 62: lemming.dataplane.sai.HostifTxType - (HostifType)(0), // 63: lemming.dataplane.sai.HostifType - (HostifUserDefinedTrapType)(0), // 64: lemming.dataplane.sai.HostifUserDefinedTrapType - (HostifVlanTag)(0), // 65: lemming.dataplane.sai.HostifVlanTag - (IcmpEchoSessionStat)(0), // 66: lemming.dataplane.sai.IcmpEchoSessionStat - (IcmpEchoSessionState)(0), // 67: lemming.dataplane.sai.IcmpEchoSessionState - (InDropReason)(0), // 68: lemming.dataplane.sai.InDropReason - (IngressPriorityGroupStat)(0), // 69: lemming.dataplane.sai.IngressPriorityGroupStat - (InsegEntryPopQosMode)(0), // 70: lemming.dataplane.sai.InsegEntryPopQosMode - (InsegEntryPopTtlMode)(0), // 71: lemming.dataplane.sai.InsegEntryPopTtlMode - (InsegEntryPscType)(0), // 72: lemming.dataplane.sai.InsegEntryPscType - (IpAddrFamily)(0), // 73: lemming.dataplane.sai.IpAddrFamily - (IpmcEntryType)(0), // 74: lemming.dataplane.sai.IpmcEntryType - (IpsecCipher)(0), // 75: lemming.dataplane.sai.IpsecCipher - (IpsecDirection)(0), // 76: lemming.dataplane.sai.IpsecDirection - (IpsecPortStat)(0), // 77: lemming.dataplane.sai.IpsecPortStat - (IpsecSaOctetCountStatus)(0), // 78: lemming.dataplane.sai.IpsecSaOctetCountStatus - (IpsecSaStat)(0), // 79: lemming.dataplane.sai.IpsecSaStat - (IsolationGroupType)(0), // 80: lemming.dataplane.sai.IsolationGroupType - (L2McEntryType)(0), // 81: lemming.dataplane.sai.L2mcEntryType - (LogLevel)(0), // 82: lemming.dataplane.sai.LogLevel - (MacsecCipherSuite)(0), // 83: lemming.dataplane.sai.MacsecCipherSuite - (MacsecDirection)(0), // 84: lemming.dataplane.sai.MacsecDirection - (MacsecFlowStat)(0), // 85: lemming.dataplane.sai.MacsecFlowStat - (MacsecMaxSecureAssociationsPerSc)(0), // 86: lemming.dataplane.sai.MacsecMaxSecureAssociationsPerSc - (MacsecPortStat)(0), // 87: lemming.dataplane.sai.MacsecPortStat - (MacsecSaStat)(0), // 88: lemming.dataplane.sai.MacsecSaStat - (MacsecScStat)(0), // 89: lemming.dataplane.sai.MacsecScStat - (MeterType)(0), // 90: lemming.dataplane.sai.MeterType - (MirrorSessionCongestionMode)(0), // 91: lemming.dataplane.sai.MirrorSessionCongestionMode - (MirrorSessionType)(0), // 92: lemming.dataplane.sai.MirrorSessionType - (MySidEntryEndpointBehaviorFlavor)(0), // 93: lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor - (MySidEntryEndpointBehavior)(0), // 94: lemming.dataplane.sai.MySidEntryEndpointBehavior - (NatEvent)(0), // 95: lemming.dataplane.sai.NatEvent - (NatType)(0), // 96: lemming.dataplane.sai.NatType - (NativeHashField)(0), // 97: lemming.dataplane.sai.NativeHashField - (NextHopGroupMapType)(0), // 98: lemming.dataplane.sai.NextHopGroupMapType - (NextHopGroupMemberConfiguredRole)(0), // 99: lemming.dataplane.sai.NextHopGroupMemberConfiguredRole - (NextHopGroupMemberObservedRole)(0), // 100: lemming.dataplane.sai.NextHopGroupMemberObservedRole - (NextHopGroupType)(0), // 101: lemming.dataplane.sai.NextHopGroupType - (NextHopType)(0), // 102: lemming.dataplane.sai.NextHopType - (ObjectStage)(0), // 103: lemming.dataplane.sai.ObjectStage - (ObjectTypeExtensions)(0), // 104: lemming.dataplane.sai.ObjectTypeExtensions - (ObjectType)(0), // 105: lemming.dataplane.sai.ObjectType - (OutDropReason)(0), // 106: lemming.dataplane.sai.OutDropReason - (OutsegExpMode)(0), // 107: lemming.dataplane.sai.OutsegExpMode - (OutsegTtlMode)(0), // 108: lemming.dataplane.sai.OutsegTtlMode - (OutsegType)(0), // 109: lemming.dataplane.sai.OutsegType - (PacketAction)(0), // 110: lemming.dataplane.sai.PacketAction - (PacketColor)(0), // 111: lemming.dataplane.sai.PacketColor - (PacketVlan)(0), // 112: lemming.dataplane.sai.PacketVlan - (PoePortActiveChannelType)(0), // 113: lemming.dataplane.sai.PoePortActiveChannelType - (PoePortClassMethodType)(0), // 114: lemming.dataplane.sai.PoePortClassMethodType - (PoePortSignatureType)(0), // 115: lemming.dataplane.sai.PoePortSignatureType - (PolicerColorSource)(0), // 116: lemming.dataplane.sai.PolicerColorSource - (PolicerMode)(0), // 117: lemming.dataplane.sai.PolicerMode - (PolicerStat)(0), // 118: lemming.dataplane.sai.PolicerStat - (PortAttrExtensions)(0), // 119: lemming.dataplane.sai.PortAttrExtensions - (PortAutoNegConfigMode)(0), // 120: lemming.dataplane.sai.PortAutoNegConfigMode - (PortBreakoutModeType)(0), // 121: lemming.dataplane.sai.PortBreakoutModeType - (PortCablePairState)(0), // 122: lemming.dataplane.sai.PortCablePairState - (PortCableType)(0), // 123: lemming.dataplane.sai.PortCableType - (PortConnectorFailoverMode)(0), // 124: lemming.dataplane.sai.PortConnectorFailoverMode - (PortDatapathEnable)(0), // 125: lemming.dataplane.sai.PortDatapathEnable - (PortDualMedia)(0), // 126: lemming.dataplane.sai.PortDualMedia - (PortErrStatus)(0), // 127: lemming.dataplane.sai.PortErrStatus - (PortErrorStatus)(0), // 128: lemming.dataplane.sai.PortErrorStatus - (PortFecModeExtended)(0), // 129: lemming.dataplane.sai.PortFecModeExtended - (PortFecMode)(0), // 130: lemming.dataplane.sai.PortFecMode - (PortFlowControlMode)(0), // 131: lemming.dataplane.sai.PortFlowControlMode - (PortHostTxReadyStatus)(0), // 132: lemming.dataplane.sai.PortHostTxReadyStatus - (PortInterfaceType)(0), // 133: lemming.dataplane.sai.PortInterfaceType - (PortInternalLoopbackMode)(0), // 134: lemming.dataplane.sai.PortInternalLoopbackMode - (PortLinkTrainingFailureStatus)(0), // 135: lemming.dataplane.sai.PortLinkTrainingFailureStatus - (PortLinkTrainingRxStatus)(0), // 136: lemming.dataplane.sai.PortLinkTrainingRxStatus - (PortLoopbackMode)(0), // 137: lemming.dataplane.sai.PortLoopbackMode - (PortMdixModeConfig)(0), // 138: lemming.dataplane.sai.PortMdixModeConfig - (PortMdixModeStatus)(0), // 139: lemming.dataplane.sai.PortMdixModeStatus - (PortMediaType)(0), // 140: lemming.dataplane.sai.PortMediaType - (PortModuleType)(0), // 141: lemming.dataplane.sai.PortModuleType - (PortOperStatus)(0), // 142: lemming.dataplane.sai.PortOperStatus - (PortPathTracingTimestampType)(0), // 143: lemming.dataplane.sai.PortPathTracingTimestampType - (PortPoolStat)(0), // 144: lemming.dataplane.sai.PortPoolStat - (PortPrbsConfig)(0), // 145: lemming.dataplane.sai.PortPrbsConfig - (PortPrbsRxStatus)(0), // 146: lemming.dataplane.sai.PortPrbsRxStatus - (PortPriorityFlowControlMode)(0), // 147: lemming.dataplane.sai.PortPriorityFlowControlMode - (PortPtpMode)(0), // 148: lemming.dataplane.sai.PortPtpMode - (PortStatExtensions)(0), // 149: lemming.dataplane.sai.PortStatExtensions - (PortStat)(0), // 150: lemming.dataplane.sai.PortStat - (PortType)(0), // 151: lemming.dataplane.sai.PortType - (QosMapType)(0), // 152: lemming.dataplane.sai.QosMapType - (QueuePfcContinuousDeadlockState)(0), // 153: lemming.dataplane.sai.QueuePfcContinuousDeadlockState - (QueuePfcDeadlockEventType)(0), // 154: lemming.dataplane.sai.QueuePfcDeadlockEventType - (QueueStat)(0), // 155: lemming.dataplane.sai.QueueStat - (QueueType)(0), // 156: lemming.dataplane.sai.QueueType - (RouterInterfaceStat)(0), // 157: lemming.dataplane.sai.RouterInterfaceStat - (RouterInterfaceType)(0), // 158: lemming.dataplane.sai.RouterInterfaceType - (SamplepacketMode)(0), // 159: lemming.dataplane.sai.SamplepacketMode - (SamplepacketType)(0), // 160: lemming.dataplane.sai.SamplepacketType - (SchedulingType)(0), // 161: lemming.dataplane.sai.SchedulingType - (SerCorrectionType)(0), // 162: lemming.dataplane.sai.SerCorrectionType - (SerLogType)(0), // 163: lemming.dataplane.sai.SerLogType - (SerType)(0), // 164: lemming.dataplane.sai.SerType - (Srv6SidlistStat)(0), // 165: lemming.dataplane.sai.Srv6SidlistStat - (Srv6SidlistType)(0), // 166: lemming.dataplane.sai.Srv6SidlistType - (StatsCountMode)(0), // 167: lemming.dataplane.sai.StatsCountMode - (StatsMode)(0), // 168: lemming.dataplane.sai.StatsMode - (StpPortState)(0), // 169: lemming.dataplane.sai.StpPortState - (SwitchAsicSdkHealthCategory)(0), // 170: lemming.dataplane.sai.SwitchAsicSdkHealthCategory - (SwitchAsicSdkHealthSeverity)(0), // 171: lemming.dataplane.sai.SwitchAsicSdkHealthSeverity - (SwitchAttrExtensions)(0), // 172: lemming.dataplane.sai.SwitchAttrExtensions - (SwitchFailoverConfigMode)(0), // 173: lemming.dataplane.sai.SwitchFailoverConfigMode - (SwitchFirmwareLoadMethod)(0), // 174: lemming.dataplane.sai.SwitchFirmwareLoadMethod - (SwitchFirmwareLoadType)(0), // 175: lemming.dataplane.sai.SwitchFirmwareLoadType - (SwitchHardwareAccessBus)(0), // 176: lemming.dataplane.sai.SwitchHardwareAccessBus - (SwitchHostifOperStatusUpdateMode)(0), // 177: lemming.dataplane.sai.SwitchHostifOperStatusUpdateMode - (SwitchMcastSnoopingCapability)(0), // 178: lemming.dataplane.sai.SwitchMcastSnoopingCapability - (SwitchOperStatus)(0), // 179: lemming.dataplane.sai.SwitchOperStatus - (SwitchRestartType)(0), // 180: lemming.dataplane.sai.SwitchRestartType - (SwitchStat)(0), // 181: lemming.dataplane.sai.SwitchStat - (SwitchSwitchingMode)(0), // 182: lemming.dataplane.sai.SwitchSwitchingMode - (SwitchType)(0), // 183: lemming.dataplane.sai.SwitchType - (SystemPortType)(0), // 184: lemming.dataplane.sai.SystemPortType - (TableBitmapClassificationEntryAction)(0), // 185: lemming.dataplane.sai.TableBitmapClassificationEntryAction - (TableBitmapClassificationEntryStat)(0), // 186: lemming.dataplane.sai.TableBitmapClassificationEntryStat - (TableBitmapRouterEntryAction)(0), // 187: lemming.dataplane.sai.TableBitmapRouterEntryAction - (TableBitmapRouterEntryStat)(0), // 188: lemming.dataplane.sai.TableBitmapRouterEntryStat - (TableMetaTunnelEntryAction)(0), // 189: lemming.dataplane.sai.TableMetaTunnelEntryAction - (TableMetaTunnelEntryStat)(0), // 190: lemming.dataplane.sai.TableMetaTunnelEntryStat - (TamBindPointType)(0), // 191: lemming.dataplane.sai.TamBindPointType - (TamEventThresholdUnit)(0), // 192: lemming.dataplane.sai.TamEventThresholdUnit - (TamEventType)(0), // 193: lemming.dataplane.sai.TamEventType - (TamIntPresenceType)(0), // 194: lemming.dataplane.sai.TamIntPresenceType - (TamIntType)(0), // 195: lemming.dataplane.sai.TamIntType - (TamReportIntervalUnit)(0), // 196: lemming.dataplane.sai.TamReportIntervalUnit - (TamReportMode)(0), // 197: lemming.dataplane.sai.TamReportMode - (TamReportType)(0), // 198: lemming.dataplane.sai.TamReportType - (TamReportingUnit)(0), // 199: lemming.dataplane.sai.TamReportingUnit - (TamTelMathFuncType)(0), // 200: lemming.dataplane.sai.TamTelMathFuncType - (TamTelemetryType)(0), // 201: lemming.dataplane.sai.TamTelemetryType - (TamTransportAuthType)(0), // 202: lemming.dataplane.sai.TamTransportAuthType - (TamTransportType)(0), // 203: lemming.dataplane.sai.TamTransportType - (TlvType)(0), // 204: lemming.dataplane.sai.TlvType - (TunnelDecapEcnMode)(0), // 205: lemming.dataplane.sai.TunnelDecapEcnMode - (TunnelDscpMode)(0), // 206: lemming.dataplane.sai.TunnelDscpMode - (TunnelEncapEcnMode)(0), // 207: lemming.dataplane.sai.TunnelEncapEcnMode - (TunnelMapType)(0), // 208: lemming.dataplane.sai.TunnelMapType - (TunnelPeerMode)(0), // 209: lemming.dataplane.sai.TunnelPeerMode - (TunnelStat)(0), // 210: lemming.dataplane.sai.TunnelStat - (TunnelTermTableEntryType)(0), // 211: lemming.dataplane.sai.TunnelTermTableEntryType - (TunnelTtlMode)(0), // 212: lemming.dataplane.sai.TunnelTtlMode - (TunnelType)(0), // 213: lemming.dataplane.sai.TunnelType - (TunnelVxlanUdpSportMode)(0), // 214: lemming.dataplane.sai.TunnelVxlanUdpSportMode - (UdfBase)(0), // 215: lemming.dataplane.sai.UdfBase - (UdfGroupType)(0), // 216: lemming.dataplane.sai.UdfGroupType - (VlanFloodControlType)(0), // 217: lemming.dataplane.sai.VlanFloodControlType - (VlanMcastLookupKeyType)(0), // 218: lemming.dataplane.sai.VlanMcastLookupKeyType - (VlanStat)(0), // 219: lemming.dataplane.sai.VlanStat - (VlanTaggingMode)(0), // 220: lemming.dataplane.sai.VlanTaggingMode - (*AclActionData)(nil), // 221: lemming.dataplane.sai.AclActionData - (*ACLCapability)(nil), // 222: lemming.dataplane.sai.ACLCapability - (*AclFieldData)(nil), // 223: lemming.dataplane.sai.AclFieldData - (*Uint64List)(nil), // 224: lemming.dataplane.sai.Uint64List - (*ACLResource)(nil), // 225: lemming.dataplane.sai.ACLResource - (*BfdSessionStateChangeNotificationData)(nil), // 226: lemming.dataplane.sai.BfdSessionStateChangeNotificationData - (*FabricPortReachability)(nil), // 227: lemming.dataplane.sai.FabricPortReachability - (*FdbEntry)(nil), // 228: lemming.dataplane.sai.FdbEntry - (*FdbEventNotificationData)(nil), // 229: lemming.dataplane.sai.FdbEventNotificationData - (*InsegEntry)(nil), // 230: lemming.dataplane.sai.InsegEntry - (*IpPrefix)(nil), // 231: lemming.dataplane.sai.IpPrefix - (*IpmcEntry)(nil), // 232: lemming.dataplane.sai.IpmcEntry - (*IpsecSaStatusNotificationData)(nil), // 233: lemming.dataplane.sai.IpsecSaStatusNotificationData - (*L2McEntry)(nil), // 234: lemming.dataplane.sai.L2mcEntry - (*LatchStatus)(nil), // 235: lemming.dataplane.sai.LatchStatus - (*UintMap)(nil), // 236: lemming.dataplane.sai.UintMap - (*McastFdbEntry)(nil), // 237: lemming.dataplane.sai.McastFdbEntry - (*MySidEntry)(nil), // 238: lemming.dataplane.sai.MySidEntry - (*NatEntryData)(nil), // 239: lemming.dataplane.sai.NatEntryData - (*NatEntry)(nil), // 240: lemming.dataplane.sai.NatEntry - (*NeighborEntry)(nil), // 241: lemming.dataplane.sai.NeighborEntry - (*PortEyeValues)(nil), // 242: lemming.dataplane.sai.PortEyeValues - (*PortLaneLatchStatus)(nil), // 243: lemming.dataplane.sai.PortLaneLatchStatus - (*PortOperStatusNotification)(nil), // 244: lemming.dataplane.sai.PortOperStatusNotification - (*PRBS_RXState)(nil), // 245: lemming.dataplane.sai.PRBS_RXState - (*QOSMapParams)(nil), // 246: lemming.dataplane.sai.QOSMapParams - (*QOSMap)(nil), // 247: lemming.dataplane.sai.QOSMap - (*QueueDeadlockNotificationData)(nil), // 248: lemming.dataplane.sai.QueueDeadlockNotificationData - (*RouteEntry)(nil), // 249: lemming.dataplane.sai.RouteEntry - (*SystemPortConfig)(nil), // 250: lemming.dataplane.sai.SystemPortConfig - (*HMAC)(nil), // 251: lemming.dataplane.sai.HMAC - (*TLVEntry)(nil), // 252: lemming.dataplane.sai.TLVEntry - (*Uint32Range)(nil), // 253: lemming.dataplane.sai.Uint32Range - (*ObjectTypeQueryRequest)(nil), // 254: lemming.dataplane.sai.ObjectTypeQueryRequest - (*ObjectTypeQueryResponse)(nil), // 255: lemming.dataplane.sai.ObjectTypeQueryResponse - (*InitializeRequest)(nil), // 256: lemming.dataplane.sai.InitializeRequest - (*InitializeResponse)(nil), // 257: lemming.dataplane.sai.InitializeResponse - (*UninitializeRequest)(nil), // 258: lemming.dataplane.sai.UninitializeRequest - (*UninitializeResponse)(nil), // 259: lemming.dataplane.sai.UninitializeResponse - (*AclCounterAttribute)(nil), // 260: lemming.dataplane.sai.AclCounterAttribute - (*AclEntryAttribute)(nil), // 261: lemming.dataplane.sai.AclEntryAttribute - (*AclRangeAttribute)(nil), // 262: lemming.dataplane.sai.AclRangeAttribute - (*AclTableAttribute)(nil), // 263: lemming.dataplane.sai.AclTableAttribute - (*AclTableChainGroupAttribute)(nil), // 264: lemming.dataplane.sai.AclTableChainGroupAttribute - (*AclTableGroupAttribute)(nil), // 265: lemming.dataplane.sai.AclTableGroupAttribute - (*AclTableGroupMemberAttribute)(nil), // 266: lemming.dataplane.sai.AclTableGroupMemberAttribute - (*BfdSessionAttribute)(nil), // 267: lemming.dataplane.sai.BfdSessionAttribute - (*BridgeAttribute)(nil), // 268: lemming.dataplane.sai.BridgeAttribute - (*BridgePortAttribute)(nil), // 269: lemming.dataplane.sai.BridgePortAttribute - (*BufferPoolAttribute)(nil), // 270: lemming.dataplane.sai.BufferPoolAttribute - (*BufferProfileAttribute)(nil), // 271: lemming.dataplane.sai.BufferProfileAttribute - (*CounterAttribute)(nil), // 272: lemming.dataplane.sai.CounterAttribute - (*DebugCounterAttribute)(nil), // 273: lemming.dataplane.sai.DebugCounterAttribute - (*DtelAttribute)(nil), // 274: lemming.dataplane.sai.DtelAttribute - (*DtelEventAttribute)(nil), // 275: lemming.dataplane.sai.DtelEventAttribute - (*DtelIntSessionAttribute)(nil), // 276: lemming.dataplane.sai.DtelIntSessionAttribute - (*DtelQueueReportAttribute)(nil), // 277: lemming.dataplane.sai.DtelQueueReportAttribute - (*DtelReportSessionAttribute)(nil), // 278: lemming.dataplane.sai.DtelReportSessionAttribute - (*FdbEntryAttribute)(nil), // 279: lemming.dataplane.sai.FdbEntryAttribute - (*FdbFlushAttribute)(nil), // 280: lemming.dataplane.sai.FdbFlushAttribute - (*FineGrainedHashFieldAttribute)(nil), // 281: lemming.dataplane.sai.FineGrainedHashFieldAttribute - (*GenericProgrammableAttribute)(nil), // 282: lemming.dataplane.sai.GenericProgrammableAttribute - (*HashAttribute)(nil), // 283: lemming.dataplane.sai.HashAttribute - (*HostifAttribute)(nil), // 284: lemming.dataplane.sai.HostifAttribute - (*HostifPacketAttribute)(nil), // 285: lemming.dataplane.sai.HostifPacketAttribute - (*HostifTableEntryAttribute)(nil), // 286: lemming.dataplane.sai.HostifTableEntryAttribute - (*HostifTrapAttribute)(nil), // 287: lemming.dataplane.sai.HostifTrapAttribute - (*HostifTrapGroupAttribute)(nil), // 288: lemming.dataplane.sai.HostifTrapGroupAttribute - (*HostifUserDefinedTrapAttribute)(nil), // 289: lemming.dataplane.sai.HostifUserDefinedTrapAttribute - (*IcmpEchoSessionAttribute)(nil), // 290: lemming.dataplane.sai.IcmpEchoSessionAttribute - (*IngressPriorityGroupAttribute)(nil), // 291: lemming.dataplane.sai.IngressPriorityGroupAttribute - (*InsegEntryAttribute)(nil), // 292: lemming.dataplane.sai.InsegEntryAttribute - (*IpmcEntryAttribute)(nil), // 293: lemming.dataplane.sai.IpmcEntryAttribute - (*IpmcGroupAttribute)(nil), // 294: lemming.dataplane.sai.IpmcGroupAttribute - (*IpmcGroupMemberAttribute)(nil), // 295: lemming.dataplane.sai.IpmcGroupMemberAttribute - (*IpsecAttribute)(nil), // 296: lemming.dataplane.sai.IpsecAttribute - (*IpsecPortAttribute)(nil), // 297: lemming.dataplane.sai.IpsecPortAttribute - (*IpsecSaAttribute)(nil), // 298: lemming.dataplane.sai.IpsecSaAttribute - (*IsolationGroupAttribute)(nil), // 299: lemming.dataplane.sai.IsolationGroupAttribute - (*IsolationGroupMemberAttribute)(nil), // 300: lemming.dataplane.sai.IsolationGroupMemberAttribute - (*L2McEntryAttribute)(nil), // 301: lemming.dataplane.sai.L2mcEntryAttribute - (*L2McGroupAttribute)(nil), // 302: lemming.dataplane.sai.L2mcGroupAttribute - (*L2McGroupMemberAttribute)(nil), // 303: lemming.dataplane.sai.L2mcGroupMemberAttribute - (*LagAttribute)(nil), // 304: lemming.dataplane.sai.LagAttribute - (*LagMemberAttribute)(nil), // 305: lemming.dataplane.sai.LagMemberAttribute - (*MacsecAttribute)(nil), // 306: lemming.dataplane.sai.MacsecAttribute - (*MacsecFlowAttribute)(nil), // 307: lemming.dataplane.sai.MacsecFlowAttribute - (*MacsecPortAttribute)(nil), // 308: lemming.dataplane.sai.MacsecPortAttribute - (*MacsecSaAttribute)(nil), // 309: lemming.dataplane.sai.MacsecSaAttribute - (*MacsecScAttribute)(nil), // 310: lemming.dataplane.sai.MacsecScAttribute - (*McastFdbEntryAttribute)(nil), // 311: lemming.dataplane.sai.McastFdbEntryAttribute - (*MirrorSessionAttribute)(nil), // 312: lemming.dataplane.sai.MirrorSessionAttribute - (*MyMacAttribute)(nil), // 313: lemming.dataplane.sai.MyMacAttribute - (*MySidEntryAttribute)(nil), // 314: lemming.dataplane.sai.MySidEntryAttribute - (*NatEntryAttribute)(nil), // 315: lemming.dataplane.sai.NatEntryAttribute - (*NatZoneCounterAttribute)(nil), // 316: lemming.dataplane.sai.NatZoneCounterAttribute - (*NeighborEntryAttribute)(nil), // 317: lemming.dataplane.sai.NeighborEntryAttribute - (*NextHopAttribute)(nil), // 318: lemming.dataplane.sai.NextHopAttribute - (*NextHopGroupAttribute)(nil), // 319: lemming.dataplane.sai.NextHopGroupAttribute - (*NextHopGroupMapAttribute)(nil), // 320: lemming.dataplane.sai.NextHopGroupMapAttribute - (*NextHopGroupMemberAttribute)(nil), // 321: lemming.dataplane.sai.NextHopGroupMemberAttribute - (*PolicerAttribute)(nil), // 322: lemming.dataplane.sai.PolicerAttribute - (*PortAttribute)(nil), // 323: lemming.dataplane.sai.PortAttribute - (*PortConnectorAttribute)(nil), // 324: lemming.dataplane.sai.PortConnectorAttribute - (*PortPoolAttribute)(nil), // 325: lemming.dataplane.sai.PortPoolAttribute - (*PortSerdesAttribute)(nil), // 326: lemming.dataplane.sai.PortSerdesAttribute - (*QosMapAttribute)(nil), // 327: lemming.dataplane.sai.QosMapAttribute - (*QueueAttribute)(nil), // 328: lemming.dataplane.sai.QueueAttribute - (*RouterInterfaceAttribute)(nil), // 329: lemming.dataplane.sai.RouterInterfaceAttribute - (*RouteEntryAttribute)(nil), // 330: lemming.dataplane.sai.RouteEntryAttribute - (*RpfGroupAttribute)(nil), // 331: lemming.dataplane.sai.RpfGroupAttribute - (*RpfGroupMemberAttribute)(nil), // 332: lemming.dataplane.sai.RpfGroupMemberAttribute - (*SamplepacketAttribute)(nil), // 333: lemming.dataplane.sai.SamplepacketAttribute - (*SchedulerAttribute)(nil), // 334: lemming.dataplane.sai.SchedulerAttribute - (*SchedulerGroupAttribute)(nil), // 335: lemming.dataplane.sai.SchedulerGroupAttribute - (*Srv6SidlistAttribute)(nil), // 336: lemming.dataplane.sai.Srv6SidlistAttribute - (*StpAttribute)(nil), // 337: lemming.dataplane.sai.StpAttribute - (*StpPortAttribute)(nil), // 338: lemming.dataplane.sai.StpPortAttribute - (*SwitchAttribute)(nil), // 339: lemming.dataplane.sai.SwitchAttribute - (*SwitchTunnelAttribute)(nil), // 340: lemming.dataplane.sai.SwitchTunnelAttribute - (*SystemPortAttribute)(nil), // 341: lemming.dataplane.sai.SystemPortAttribute - (*TableBitmapClassificationEntryAttribute)(nil), // 342: lemming.dataplane.sai.TableBitmapClassificationEntryAttribute - (*TableBitmapRouterEntryAttribute)(nil), // 343: lemming.dataplane.sai.TableBitmapRouterEntryAttribute - (*TableMetaTunnelEntryAttribute)(nil), // 344: lemming.dataplane.sai.TableMetaTunnelEntryAttribute - (*TamAttribute)(nil), // 345: lemming.dataplane.sai.TamAttribute - (*TamCollectorAttribute)(nil), // 346: lemming.dataplane.sai.TamCollectorAttribute - (*TamCounterSubscriptionAttribute)(nil), // 347: lemming.dataplane.sai.TamCounterSubscriptionAttribute - (*TamEventAttribute)(nil), // 348: lemming.dataplane.sai.TamEventAttribute - (*TamEventActionAttribute)(nil), // 349: lemming.dataplane.sai.TamEventActionAttribute - (*TamEventThresholdAttribute)(nil), // 350: lemming.dataplane.sai.TamEventThresholdAttribute - (*TamIntAttribute)(nil), // 351: lemming.dataplane.sai.TamIntAttribute - (*TamMathFuncAttribute)(nil), // 352: lemming.dataplane.sai.TamMathFuncAttribute - (*TamReportAttribute)(nil), // 353: lemming.dataplane.sai.TamReportAttribute - (*TamTelemetryAttribute)(nil), // 354: lemming.dataplane.sai.TamTelemetryAttribute - (*TamTelTypeAttribute)(nil), // 355: lemming.dataplane.sai.TamTelTypeAttribute - (*TamTransportAttribute)(nil), // 356: lemming.dataplane.sai.TamTransportAttribute - (*TunnelAttribute)(nil), // 357: lemming.dataplane.sai.TunnelAttribute - (*TunnelMapAttribute)(nil), // 358: lemming.dataplane.sai.TunnelMapAttribute - (*TunnelMapEntryAttribute)(nil), // 359: lemming.dataplane.sai.TunnelMapEntryAttribute - (*TunnelTermTableEntryAttribute)(nil), // 360: lemming.dataplane.sai.TunnelTermTableEntryAttribute - (*UdfAttribute)(nil), // 361: lemming.dataplane.sai.UdfAttribute - (*UdfGroupAttribute)(nil), // 362: lemming.dataplane.sai.UdfGroupAttribute - (*UdfMatchAttribute)(nil), // 363: lemming.dataplane.sai.UdfMatchAttribute - (*VirtualRouterAttribute)(nil), // 364: lemming.dataplane.sai.VirtualRouterAttribute - (*VlanAttribute)(nil), // 365: lemming.dataplane.sai.VlanAttribute - (*VlanMemberAttribute)(nil), // 366: lemming.dataplane.sai.VlanMemberAttribute - (*WredAttribute)(nil), // 367: lemming.dataplane.sai.WredAttribute - nil, // 368: lemming.dataplane.sai.UintMap.UintmapEntry - nil, // 369: lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry - nil, // 370: lemming.dataplane.sai.AclTableAttribute.UserDefinedFieldGroupMinEntry - (*timestamppb.Timestamp)(nil), // 371: google.protobuf.Timestamp - (*descriptorpb.FieldOptions)(nil), // 372: google.protobuf.FieldOptions - (*descriptorpb.MessageOptions)(nil), // 373: google.protobuf.MessageOptions + (AclActionType)(0), // 0: lemming.dataplane.sai.AclActionType + (AclBindPointType)(0), // 1: lemming.dataplane.sai.AclBindPointType + (AclDtelFlowOp)(0), // 2: lemming.dataplane.sai.AclDtelFlowOp + (AclIpFrag)(0), // 3: lemming.dataplane.sai.AclIpFrag + (AclIpType)(0), // 4: lemming.dataplane.sai.AclIpType + (AclRangeType)(0), // 5: lemming.dataplane.sai.AclRangeType + (AclStage)(0), // 6: lemming.dataplane.sai.AclStage + (AclTableChainGroupStage)(0), // 7: lemming.dataplane.sai.AclTableChainGroupStage + (AclTableChainGroupType)(0), // 8: lemming.dataplane.sai.AclTableChainGroupType + (AclTableGroupType)(0), // 9: lemming.dataplane.sai.AclTableGroupType + (AclTableMatchType)(0), // 10: lemming.dataplane.sai.AclTableMatchType + (AclTableSupportedMatchType)(0), // 11: lemming.dataplane.sai.AclTableSupportedMatchType + (BfdEncapsulationType)(0), // 12: lemming.dataplane.sai.BfdEncapsulationType + (BfdSessionOffloadType)(0), // 13: lemming.dataplane.sai.BfdSessionOffloadType + (BfdSessionStat)(0), // 14: lemming.dataplane.sai.BfdSessionStat + (BfdSessionState)(0), // 15: lemming.dataplane.sai.BfdSessionState + (BfdSessionType)(0), // 16: lemming.dataplane.sai.BfdSessionType + (BridgeFloodControlType)(0), // 17: lemming.dataplane.sai.BridgeFloodControlType + (BridgePortFdbLearningMode)(0), // 18: lemming.dataplane.sai.BridgePortFdbLearningMode + (BridgePortStat)(0), // 19: lemming.dataplane.sai.BridgePortStat + (BridgePortTaggingMode)(0), // 20: lemming.dataplane.sai.BridgePortTaggingMode + (BridgePortType)(0), // 21: lemming.dataplane.sai.BridgePortType + (BridgeStat)(0), // 22: lemming.dataplane.sai.BridgeStat + (BridgeType)(0), // 23: lemming.dataplane.sai.BridgeType + (BufferPoolStat)(0), // 24: lemming.dataplane.sai.BufferPoolStat + (BufferPoolThresholdMode)(0), // 25: lemming.dataplane.sai.BufferPoolThresholdMode + (BufferPoolType)(0), // 26: lemming.dataplane.sai.BufferPoolType + (BufferProfileThresholdMode)(0), // 27: lemming.dataplane.sai.BufferProfileThresholdMode + (BulkOpErrorMode)(0), // 28: lemming.dataplane.sai.BulkOpErrorMode + (CommonApi)(0), // 29: lemming.dataplane.sai.CommonApi + (CounterStat)(0), // 30: lemming.dataplane.sai.CounterStat + (CounterType)(0), // 31: lemming.dataplane.sai.CounterType + (DashCapsHaScopeLevel)(0), // 32: lemming.dataplane.sai.DashCapsHaScopeLevel + (DebugCounterBindMethod)(0), // 33: lemming.dataplane.sai.DebugCounterBindMethod + (DebugCounterType)(0), // 34: lemming.dataplane.sai.DebugCounterType + (DtelEventType)(0), // 35: lemming.dataplane.sai.DtelEventType + (EcnMarkMode)(0), // 36: lemming.dataplane.sai.EcnMarkMode + (ErspanEncapsulationType)(0), // 37: lemming.dataplane.sai.ErspanEncapsulationType + (FdbEntryType)(0), // 38: lemming.dataplane.sai.FdbEntryType + (FdbEvent)(0), // 39: lemming.dataplane.sai.FdbEvent + (FdbFlushEntryType)(0), // 40: lemming.dataplane.sai.FdbFlushEntryType + (HaScopeEvent)(0), // 41: lemming.dataplane.sai.HaScopeEvent + (HaSetEvent)(0), // 42: lemming.dataplane.sai.HaSetEvent + (HashAlgorithm)(0), // 43: lemming.dataplane.sai.HashAlgorithm + (HealthDataType)(0), // 44: lemming.dataplane.sai.HealthDataType + (HostifTableEntryChannelType)(0), // 45: lemming.dataplane.sai.HostifTableEntryChannelType + (HostifTableEntryType)(0), // 46: lemming.dataplane.sai.HostifTableEntryType + (HostifTrapType)(0), // 47: lemming.dataplane.sai.HostifTrapType + (HostifTxType)(0), // 48: lemming.dataplane.sai.HostifTxType + (HostifType)(0), // 49: lemming.dataplane.sai.HostifType + (HostifUserDefinedTrapType)(0), // 50: lemming.dataplane.sai.HostifUserDefinedTrapType + (HostifVlanTag)(0), // 51: lemming.dataplane.sai.HostifVlanTag + (IcmpEchoSessionStat)(0), // 52: lemming.dataplane.sai.IcmpEchoSessionStat + (IcmpEchoSessionState)(0), // 53: lemming.dataplane.sai.IcmpEchoSessionState + (InDropReason)(0), // 54: lemming.dataplane.sai.InDropReason + (IngressPriorityGroupStat)(0), // 55: lemming.dataplane.sai.IngressPriorityGroupStat + (InsegEntryPopQosMode)(0), // 56: lemming.dataplane.sai.InsegEntryPopQosMode + (InsegEntryPopTtlMode)(0), // 57: lemming.dataplane.sai.InsegEntryPopTtlMode + (InsegEntryPscType)(0), // 58: lemming.dataplane.sai.InsegEntryPscType + (IpAddrFamily)(0), // 59: lemming.dataplane.sai.IpAddrFamily + (IpmcEntryType)(0), // 60: lemming.dataplane.sai.IpmcEntryType + (IpsecCipher)(0), // 61: lemming.dataplane.sai.IpsecCipher + (IpsecDirection)(0), // 62: lemming.dataplane.sai.IpsecDirection + (IpsecPortStat)(0), // 63: lemming.dataplane.sai.IpsecPortStat + (IpsecSaOctetCountStatus)(0), // 64: lemming.dataplane.sai.IpsecSaOctetCountStatus + (IpsecSaStat)(0), // 65: lemming.dataplane.sai.IpsecSaStat + (IsolationGroupType)(0), // 66: lemming.dataplane.sai.IsolationGroupType + (L2McEntryType)(0), // 67: lemming.dataplane.sai.L2mcEntryType + (MacsecCipherSuite)(0), // 68: lemming.dataplane.sai.MacsecCipherSuite + (MacsecDirection)(0), // 69: lemming.dataplane.sai.MacsecDirection + (MacsecFlowStat)(0), // 70: lemming.dataplane.sai.MacsecFlowStat + (MacsecMaxSecureAssociationsPerSc)(0), // 71: lemming.dataplane.sai.MacsecMaxSecureAssociationsPerSc + (MacsecPortStat)(0), // 72: lemming.dataplane.sai.MacsecPortStat + (MacsecSaStat)(0), // 73: lemming.dataplane.sai.MacsecSaStat + (MacsecScStat)(0), // 74: lemming.dataplane.sai.MacsecScStat + (MeterType)(0), // 75: lemming.dataplane.sai.MeterType + (MirrorSessionCongestionMode)(0), // 76: lemming.dataplane.sai.MirrorSessionCongestionMode + (MirrorSessionType)(0), // 77: lemming.dataplane.sai.MirrorSessionType + (MySidEntryEndpointBehaviorFlavor)(0), // 78: lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor + (MySidEntryEndpointBehavior)(0), // 79: lemming.dataplane.sai.MySidEntryEndpointBehavior + (NatEvent)(0), // 80: lemming.dataplane.sai.NatEvent + (NatType)(0), // 81: lemming.dataplane.sai.NatType + (NativeHashField)(0), // 82: lemming.dataplane.sai.NativeHashField + (NextHopGroupMapType)(0), // 83: lemming.dataplane.sai.NextHopGroupMapType + (NextHopGroupMemberConfiguredRole)(0), // 84: lemming.dataplane.sai.NextHopGroupMemberConfiguredRole + (NextHopGroupMemberObservedRole)(0), // 85: lemming.dataplane.sai.NextHopGroupMemberObservedRole + (NextHopGroupType)(0), // 86: lemming.dataplane.sai.NextHopGroupType + (NextHopType)(0), // 87: lemming.dataplane.sai.NextHopType + (ObjectStage)(0), // 88: lemming.dataplane.sai.ObjectStage + (ObjectType)(0), // 89: lemming.dataplane.sai.ObjectType + (OutDropReason)(0), // 90: lemming.dataplane.sai.OutDropReason + (OutsegExpMode)(0), // 91: lemming.dataplane.sai.OutsegExpMode + (OutsegTtlMode)(0), // 92: lemming.dataplane.sai.OutsegTtlMode + (OutsegType)(0), // 93: lemming.dataplane.sai.OutsegType + (PacketAction)(0), // 94: lemming.dataplane.sai.PacketAction + (PacketColor)(0), // 95: lemming.dataplane.sai.PacketColor + (PacketVlan)(0), // 96: lemming.dataplane.sai.PacketVlan + (PoePortActiveChannelType)(0), // 97: lemming.dataplane.sai.PoePortActiveChannelType + (PoePortClassMethodType)(0), // 98: lemming.dataplane.sai.PoePortClassMethodType + (PoePortSignatureType)(0), // 99: lemming.dataplane.sai.PoePortSignatureType + (PolicerColorSource)(0), // 100: lemming.dataplane.sai.PolicerColorSource + (PolicerMode)(0), // 101: lemming.dataplane.sai.PolicerMode + (PolicerStat)(0), // 102: lemming.dataplane.sai.PolicerStat + (PortAutoNegConfigMode)(0), // 103: lemming.dataplane.sai.PortAutoNegConfigMode + (PortBreakoutModeType)(0), // 104: lemming.dataplane.sai.PortBreakoutModeType + (PortCablePairState)(0), // 105: lemming.dataplane.sai.PortCablePairState + (PortCableType)(0), // 106: lemming.dataplane.sai.PortCableType + (PortConnectorFailoverMode)(0), // 107: lemming.dataplane.sai.PortConnectorFailoverMode + (PortDatapathEnable)(0), // 108: lemming.dataplane.sai.PortDatapathEnable + (PortDualMedia)(0), // 109: lemming.dataplane.sai.PortDualMedia + (PortErrStatus)(0), // 110: lemming.dataplane.sai.PortErrStatus + (PortErrorStatus)(0), // 111: lemming.dataplane.sai.PortErrorStatus + (PortFecModeExtended)(0), // 112: lemming.dataplane.sai.PortFecModeExtended + (PortFecMode)(0), // 113: lemming.dataplane.sai.PortFecMode + (PortFlowControlMode)(0), // 114: lemming.dataplane.sai.PortFlowControlMode + (PortHostTxReadyStatus)(0), // 115: lemming.dataplane.sai.PortHostTxReadyStatus + (PortInterfaceType)(0), // 116: lemming.dataplane.sai.PortInterfaceType + (PortInternalLoopbackMode)(0), // 117: lemming.dataplane.sai.PortInternalLoopbackMode + (PortLinkTrainingFailureStatus)(0), // 118: lemming.dataplane.sai.PortLinkTrainingFailureStatus + (PortLinkTrainingRxStatus)(0), // 119: lemming.dataplane.sai.PortLinkTrainingRxStatus + (PortLoopbackMode)(0), // 120: lemming.dataplane.sai.PortLoopbackMode + (PortMdixModeConfig)(0), // 121: lemming.dataplane.sai.PortMdixModeConfig + (PortMdixModeStatus)(0), // 122: lemming.dataplane.sai.PortMdixModeStatus + (PortMediaType)(0), // 123: lemming.dataplane.sai.PortMediaType + (PortModuleType)(0), // 124: lemming.dataplane.sai.PortModuleType + (PortOperStatus)(0), // 125: lemming.dataplane.sai.PortOperStatus + (PortPathTracingTimestampType)(0), // 126: lemming.dataplane.sai.PortPathTracingTimestampType + (PortPoolStat)(0), // 127: lemming.dataplane.sai.PortPoolStat + (PortPrbsConfig)(0), // 128: lemming.dataplane.sai.PortPrbsConfig + (PortPrbsRxStatus)(0), // 129: lemming.dataplane.sai.PortPrbsRxStatus + (PortPriorityFlowControlMode)(0), // 130: lemming.dataplane.sai.PortPriorityFlowControlMode + (PortPtpMode)(0), // 131: lemming.dataplane.sai.PortPtpMode + (PortStatExtensions)(0), // 132: lemming.dataplane.sai.PortStatExtensions + (PortStat)(0), // 133: lemming.dataplane.sai.PortStat + (PortType)(0), // 134: lemming.dataplane.sai.PortType + (QosMapType)(0), // 135: lemming.dataplane.sai.QosMapType + (QueuePfcContinuousDeadlockState)(0), // 136: lemming.dataplane.sai.QueuePfcContinuousDeadlockState + (QueuePfcDeadlockEventType)(0), // 137: lemming.dataplane.sai.QueuePfcDeadlockEventType + (QueueStat)(0), // 138: lemming.dataplane.sai.QueueStat + (QueueType)(0), // 139: lemming.dataplane.sai.QueueType + (RouterInterfaceStat)(0), // 140: lemming.dataplane.sai.RouterInterfaceStat + (RouterInterfaceType)(0), // 141: lemming.dataplane.sai.RouterInterfaceType + (SamplepacketMode)(0), // 142: lemming.dataplane.sai.SamplepacketMode + (SamplepacketType)(0), // 143: lemming.dataplane.sai.SamplepacketType + (SchedulingType)(0), // 144: lemming.dataplane.sai.SchedulingType + (SerCorrectionType)(0), // 145: lemming.dataplane.sai.SerCorrectionType + (SerLogType)(0), // 146: lemming.dataplane.sai.SerLogType + (SerType)(0), // 147: lemming.dataplane.sai.SerType + (Srv6SidlistStat)(0), // 148: lemming.dataplane.sai.Srv6SidlistStat + (Srv6SidlistType)(0), // 149: lemming.dataplane.sai.Srv6SidlistType + (StatsCountMode)(0), // 150: lemming.dataplane.sai.StatsCountMode + (StatsMode)(0), // 151: lemming.dataplane.sai.StatsMode + (StpPortState)(0), // 152: lemming.dataplane.sai.StpPortState + (SwitchAsicSdkHealthCategory)(0), // 153: lemming.dataplane.sai.SwitchAsicSdkHealthCategory + (SwitchAsicSdkHealthSeverity)(0), // 154: lemming.dataplane.sai.SwitchAsicSdkHealthSeverity + (SwitchFailoverConfigMode)(0), // 155: lemming.dataplane.sai.SwitchFailoverConfigMode + (SwitchFirmwareLoadMethod)(0), // 156: lemming.dataplane.sai.SwitchFirmwareLoadMethod + (SwitchFirmwareLoadType)(0), // 157: lemming.dataplane.sai.SwitchFirmwareLoadType + (SwitchHardwareAccessBus)(0), // 158: lemming.dataplane.sai.SwitchHardwareAccessBus + (SwitchHostifOperStatusUpdateMode)(0), // 159: lemming.dataplane.sai.SwitchHostifOperStatusUpdateMode + (SwitchMcastSnoopingCapability)(0), // 160: lemming.dataplane.sai.SwitchMcastSnoopingCapability + (SwitchOperStatus)(0), // 161: lemming.dataplane.sai.SwitchOperStatus + (SwitchRestartType)(0), // 162: lemming.dataplane.sai.SwitchRestartType + (SwitchStat)(0), // 163: lemming.dataplane.sai.SwitchStat + (SwitchSwitchingMode)(0), // 164: lemming.dataplane.sai.SwitchSwitchingMode + (SwitchType)(0), // 165: lemming.dataplane.sai.SwitchType + (SystemPortType)(0), // 166: lemming.dataplane.sai.SystemPortType + (TableBitmapClassificationEntryAction)(0), // 167: lemming.dataplane.sai.TableBitmapClassificationEntryAction + (TableBitmapClassificationEntryStat)(0), // 168: lemming.dataplane.sai.TableBitmapClassificationEntryStat + (TableBitmapRouterEntryAction)(0), // 169: lemming.dataplane.sai.TableBitmapRouterEntryAction + (TableBitmapRouterEntryStat)(0), // 170: lemming.dataplane.sai.TableBitmapRouterEntryStat + (TableMetaTunnelEntryAction)(0), // 171: lemming.dataplane.sai.TableMetaTunnelEntryAction + (TableMetaTunnelEntryStat)(0), // 172: lemming.dataplane.sai.TableMetaTunnelEntryStat + (TamBindPointType)(0), // 173: lemming.dataplane.sai.TamBindPointType + (TamEventThresholdUnit)(0), // 174: lemming.dataplane.sai.TamEventThresholdUnit + (TamEventType)(0), // 175: lemming.dataplane.sai.TamEventType + (TamIntPresenceType)(0), // 176: lemming.dataplane.sai.TamIntPresenceType + (TamIntType)(0), // 177: lemming.dataplane.sai.TamIntType + (TamReportIntervalUnit)(0), // 178: lemming.dataplane.sai.TamReportIntervalUnit + (TamReportMode)(0), // 179: lemming.dataplane.sai.TamReportMode + (TamReportType)(0), // 180: lemming.dataplane.sai.TamReportType + (TamReportingUnit)(0), // 181: lemming.dataplane.sai.TamReportingUnit + (TamTelMathFuncType)(0), // 182: lemming.dataplane.sai.TamTelMathFuncType + (TamTelemetryType)(0), // 183: lemming.dataplane.sai.TamTelemetryType + (TamTransportAuthType)(0), // 184: lemming.dataplane.sai.TamTransportAuthType + (TamTransportType)(0), // 185: lemming.dataplane.sai.TamTransportType + (TlvType)(0), // 186: lemming.dataplane.sai.TlvType + (TunnelDecapEcnMode)(0), // 187: lemming.dataplane.sai.TunnelDecapEcnMode + (TunnelDscpMode)(0), // 188: lemming.dataplane.sai.TunnelDscpMode + (TunnelEncapEcnMode)(0), // 189: lemming.dataplane.sai.TunnelEncapEcnMode + (TunnelMapType)(0), // 190: lemming.dataplane.sai.TunnelMapType + (TunnelPeerMode)(0), // 191: lemming.dataplane.sai.TunnelPeerMode + (TunnelStat)(0), // 192: lemming.dataplane.sai.TunnelStat + (TunnelTermTableEntryType)(0), // 193: lemming.dataplane.sai.TunnelTermTableEntryType + (TunnelTtlMode)(0), // 194: lemming.dataplane.sai.TunnelTtlMode + (TunnelType)(0), // 195: lemming.dataplane.sai.TunnelType + (TunnelVxlanUdpSportMode)(0), // 196: lemming.dataplane.sai.TunnelVxlanUdpSportMode + (UdfBase)(0), // 197: lemming.dataplane.sai.UdfBase + (UdfGroupType)(0), // 198: lemming.dataplane.sai.UdfGroupType + (VlanFloodControlType)(0), // 199: lemming.dataplane.sai.VlanFloodControlType + (VlanMcastLookupKeyType)(0), // 200: lemming.dataplane.sai.VlanMcastLookupKeyType + (VlanStat)(0), // 201: lemming.dataplane.sai.VlanStat + (VlanTaggingMode)(0), // 202: lemming.dataplane.sai.VlanTaggingMode + (*AclActionData)(nil), // 203: lemming.dataplane.sai.AclActionData + (*ACLCapability)(nil), // 204: lemming.dataplane.sai.ACLCapability + (*AclFieldData)(nil), // 205: lemming.dataplane.sai.AclFieldData + (*Uint64List)(nil), // 206: lemming.dataplane.sai.Uint64List + (*ACLResource)(nil), // 207: lemming.dataplane.sai.ACLResource + (*BfdSessionStateChangeNotificationData)(nil), // 208: lemming.dataplane.sai.BfdSessionStateChangeNotificationData + (*FabricPortReachability)(nil), // 209: lemming.dataplane.sai.FabricPortReachability + (*FdbEntry)(nil), // 210: lemming.dataplane.sai.FdbEntry + (*FdbEventNotificationData)(nil), // 211: lemming.dataplane.sai.FdbEventNotificationData + (*InsegEntry)(nil), // 212: lemming.dataplane.sai.InsegEntry + (*IpPrefix)(nil), // 213: lemming.dataplane.sai.IpPrefix + (*IpmcEntry)(nil), // 214: lemming.dataplane.sai.IpmcEntry + (*IpsecSaStatusNotificationData)(nil), // 215: lemming.dataplane.sai.IpsecSaStatusNotificationData + (*L2McEntry)(nil), // 216: lemming.dataplane.sai.L2mcEntry + (*LatchStatus)(nil), // 217: lemming.dataplane.sai.LatchStatus + (*UintMap)(nil), // 218: lemming.dataplane.sai.UintMap + (*McastFdbEntry)(nil), // 219: lemming.dataplane.sai.McastFdbEntry + (*MySidEntry)(nil), // 220: lemming.dataplane.sai.MySidEntry + (*NatEntryData)(nil), // 221: lemming.dataplane.sai.NatEntryData + (*NatEntry)(nil), // 222: lemming.dataplane.sai.NatEntry + (*NeighborEntry)(nil), // 223: lemming.dataplane.sai.NeighborEntry + (*PortEyeValues)(nil), // 224: lemming.dataplane.sai.PortEyeValues + (*PortLaneLatchStatus)(nil), // 225: lemming.dataplane.sai.PortLaneLatchStatus + (*PortOperStatusNotification)(nil), // 226: lemming.dataplane.sai.PortOperStatusNotification + (*PRBS_RXState)(nil), // 227: lemming.dataplane.sai.PRBS_RXState + (*QOSMapParams)(nil), // 228: lemming.dataplane.sai.QOSMapParams + (*QOSMap)(nil), // 229: lemming.dataplane.sai.QOSMap + (*QueueDeadlockNotificationData)(nil), // 230: lemming.dataplane.sai.QueueDeadlockNotificationData + (*RouteEntry)(nil), // 231: lemming.dataplane.sai.RouteEntry + (*SystemPortConfig)(nil), // 232: lemming.dataplane.sai.SystemPortConfig + (*HMAC)(nil), // 233: lemming.dataplane.sai.HMAC + (*TLVEntry)(nil), // 234: lemming.dataplane.sai.TLVEntry + (*Uint32Range)(nil), // 235: lemming.dataplane.sai.Uint32Range + (*ObjectTypeQueryRequest)(nil), // 236: lemming.dataplane.sai.ObjectTypeQueryRequest + (*ObjectTypeQueryResponse)(nil), // 237: lemming.dataplane.sai.ObjectTypeQueryResponse + (*InitializeRequest)(nil), // 238: lemming.dataplane.sai.InitializeRequest + (*InitializeResponse)(nil), // 239: lemming.dataplane.sai.InitializeResponse + (*UninitializeRequest)(nil), // 240: lemming.dataplane.sai.UninitializeRequest + (*UninitializeResponse)(nil), // 241: lemming.dataplane.sai.UninitializeResponse + (*AclCounterAttribute)(nil), // 242: lemming.dataplane.sai.AclCounterAttribute + (*AclEntryAttribute)(nil), // 243: lemming.dataplane.sai.AclEntryAttribute + (*AclRangeAttribute)(nil), // 244: lemming.dataplane.sai.AclRangeAttribute + (*AclTableAttribute)(nil), // 245: lemming.dataplane.sai.AclTableAttribute + (*AclTableChainGroupAttribute)(nil), // 246: lemming.dataplane.sai.AclTableChainGroupAttribute + (*AclTableGroupAttribute)(nil), // 247: lemming.dataplane.sai.AclTableGroupAttribute + (*AclTableGroupMemberAttribute)(nil), // 248: lemming.dataplane.sai.AclTableGroupMemberAttribute + (*BfdSessionAttribute)(nil), // 249: lemming.dataplane.sai.BfdSessionAttribute + (*BridgeAttribute)(nil), // 250: lemming.dataplane.sai.BridgeAttribute + (*BridgePortAttribute)(nil), // 251: lemming.dataplane.sai.BridgePortAttribute + (*BufferPoolAttribute)(nil), // 252: lemming.dataplane.sai.BufferPoolAttribute + (*BufferProfileAttribute)(nil), // 253: lemming.dataplane.sai.BufferProfileAttribute + (*CounterAttribute)(nil), // 254: lemming.dataplane.sai.CounterAttribute + (*DebugCounterAttribute)(nil), // 255: lemming.dataplane.sai.DebugCounterAttribute + (*DtelAttribute)(nil), // 256: lemming.dataplane.sai.DtelAttribute + (*DtelEventAttribute)(nil), // 257: lemming.dataplane.sai.DtelEventAttribute + (*DtelIntSessionAttribute)(nil), // 258: lemming.dataplane.sai.DtelIntSessionAttribute + (*DtelQueueReportAttribute)(nil), // 259: lemming.dataplane.sai.DtelQueueReportAttribute + (*DtelReportSessionAttribute)(nil), // 260: lemming.dataplane.sai.DtelReportSessionAttribute + (*FdbEntryAttribute)(nil), // 261: lemming.dataplane.sai.FdbEntryAttribute + (*FdbFlushAttribute)(nil), // 262: lemming.dataplane.sai.FdbFlushAttribute + (*GenericProgrammableAttribute)(nil), // 263: lemming.dataplane.sai.GenericProgrammableAttribute + (*HashAttribute)(nil), // 264: lemming.dataplane.sai.HashAttribute + (*HostifAttribute)(nil), // 265: lemming.dataplane.sai.HostifAttribute + (*HostifPacketAttribute)(nil), // 266: lemming.dataplane.sai.HostifPacketAttribute + (*HostifTableEntryAttribute)(nil), // 267: lemming.dataplane.sai.HostifTableEntryAttribute + (*HostifTrapAttribute)(nil), // 268: lemming.dataplane.sai.HostifTrapAttribute + (*HostifTrapGroupAttribute)(nil), // 269: lemming.dataplane.sai.HostifTrapGroupAttribute + (*HostifUserDefinedTrapAttribute)(nil), // 270: lemming.dataplane.sai.HostifUserDefinedTrapAttribute + (*IcmpEchoSessionAttribute)(nil), // 271: lemming.dataplane.sai.IcmpEchoSessionAttribute + (*IpmcEntryAttribute)(nil), // 272: lemming.dataplane.sai.IpmcEntryAttribute + (*IpmcGroupAttribute)(nil), // 273: lemming.dataplane.sai.IpmcGroupAttribute + (*IpmcGroupMemberAttribute)(nil), // 274: lemming.dataplane.sai.IpmcGroupMemberAttribute + (*IpsecAttribute)(nil), // 275: lemming.dataplane.sai.IpsecAttribute + (*IpsecPortAttribute)(nil), // 276: lemming.dataplane.sai.IpsecPortAttribute + (*IpsecSaAttribute)(nil), // 277: lemming.dataplane.sai.IpsecSaAttribute + (*IsolationGroupAttribute)(nil), // 278: lemming.dataplane.sai.IsolationGroupAttribute + (*IsolationGroupMemberAttribute)(nil), // 279: lemming.dataplane.sai.IsolationGroupMemberAttribute + (*L2McEntryAttribute)(nil), // 280: lemming.dataplane.sai.L2mcEntryAttribute + (*L2McGroupAttribute)(nil), // 281: lemming.dataplane.sai.L2mcGroupAttribute + (*L2McGroupMemberAttribute)(nil), // 282: lemming.dataplane.sai.L2mcGroupMemberAttribute + (*LagAttribute)(nil), // 283: lemming.dataplane.sai.LagAttribute + (*LagMemberAttribute)(nil), // 284: lemming.dataplane.sai.LagMemberAttribute + (*MacsecAttribute)(nil), // 285: lemming.dataplane.sai.MacsecAttribute + (*MacsecFlowAttribute)(nil), // 286: lemming.dataplane.sai.MacsecFlowAttribute + (*MacsecPortAttribute)(nil), // 287: lemming.dataplane.sai.MacsecPortAttribute + (*MacsecSaAttribute)(nil), // 288: lemming.dataplane.sai.MacsecSaAttribute + (*MacsecScAttribute)(nil), // 289: lemming.dataplane.sai.MacsecScAttribute + (*McastFdbEntryAttribute)(nil), // 290: lemming.dataplane.sai.McastFdbEntryAttribute + (*MirrorSessionAttribute)(nil), // 291: lemming.dataplane.sai.MirrorSessionAttribute + (*MyMacAttribute)(nil), // 292: lemming.dataplane.sai.MyMacAttribute + (*NatEntryAttribute)(nil), // 293: lemming.dataplane.sai.NatEntryAttribute + (*NatZoneCounterAttribute)(nil), // 294: lemming.dataplane.sai.NatZoneCounterAttribute + (*NeighborEntryAttribute)(nil), // 295: lemming.dataplane.sai.NeighborEntryAttribute + (*NextHopAttribute)(nil), // 296: lemming.dataplane.sai.NextHopAttribute + (*NextHopGroupAttribute)(nil), // 297: lemming.dataplane.sai.NextHopGroupAttribute + (*NextHopGroupMapAttribute)(nil), // 298: lemming.dataplane.sai.NextHopGroupMapAttribute + (*NextHopGroupMemberAttribute)(nil), // 299: lemming.dataplane.sai.NextHopGroupMemberAttribute + (*PolicerAttribute)(nil), // 300: lemming.dataplane.sai.PolicerAttribute + (*PortAttribute)(nil), // 301: lemming.dataplane.sai.PortAttribute + (*PortConnectorAttribute)(nil), // 302: lemming.dataplane.sai.PortConnectorAttribute + (*PortPoolAttribute)(nil), // 303: lemming.dataplane.sai.PortPoolAttribute + (*PortSerdesAttribute)(nil), // 304: lemming.dataplane.sai.PortSerdesAttribute + (*QosMapAttribute)(nil), // 305: lemming.dataplane.sai.QosMapAttribute + (*QueueAttribute)(nil), // 306: lemming.dataplane.sai.QueueAttribute + (*RouterInterfaceAttribute)(nil), // 307: lemming.dataplane.sai.RouterInterfaceAttribute + (*RouteEntryAttribute)(nil), // 308: lemming.dataplane.sai.RouteEntryAttribute + (*RpfGroupAttribute)(nil), // 309: lemming.dataplane.sai.RpfGroupAttribute + (*RpfGroupMemberAttribute)(nil), // 310: lemming.dataplane.sai.RpfGroupMemberAttribute + (*SamplepacketAttribute)(nil), // 311: lemming.dataplane.sai.SamplepacketAttribute + (*SchedulerAttribute)(nil), // 312: lemming.dataplane.sai.SchedulerAttribute + (*SchedulerGroupAttribute)(nil), // 313: lemming.dataplane.sai.SchedulerGroupAttribute + (*Srv6SidlistAttribute)(nil), // 314: lemming.dataplane.sai.Srv6SidlistAttribute + (*StpAttribute)(nil), // 315: lemming.dataplane.sai.StpAttribute + (*StpPortAttribute)(nil), // 316: lemming.dataplane.sai.StpPortAttribute + (*SwitchAttribute)(nil), // 317: lemming.dataplane.sai.SwitchAttribute + (*SwitchTunnelAttribute)(nil), // 318: lemming.dataplane.sai.SwitchTunnelAttribute + (*SystemPortAttribute)(nil), // 319: lemming.dataplane.sai.SystemPortAttribute + (*TamAttribute)(nil), // 320: lemming.dataplane.sai.TamAttribute + (*TamCollectorAttribute)(nil), // 321: lemming.dataplane.sai.TamCollectorAttribute + (*TamCounterSubscriptionAttribute)(nil), // 322: lemming.dataplane.sai.TamCounterSubscriptionAttribute + (*TamEventAttribute)(nil), // 323: lemming.dataplane.sai.TamEventAttribute + (*TamEventActionAttribute)(nil), // 324: lemming.dataplane.sai.TamEventActionAttribute + (*TamEventThresholdAttribute)(nil), // 325: lemming.dataplane.sai.TamEventThresholdAttribute + (*TamIntAttribute)(nil), // 326: lemming.dataplane.sai.TamIntAttribute + (*TamMathFuncAttribute)(nil), // 327: lemming.dataplane.sai.TamMathFuncAttribute + (*TamReportAttribute)(nil), // 328: lemming.dataplane.sai.TamReportAttribute + (*TamTelemetryAttribute)(nil), // 329: lemming.dataplane.sai.TamTelemetryAttribute + (*TamTelTypeAttribute)(nil), // 330: lemming.dataplane.sai.TamTelTypeAttribute + (*TamTransportAttribute)(nil), // 331: lemming.dataplane.sai.TamTransportAttribute + (*TunnelAttribute)(nil), // 332: lemming.dataplane.sai.TunnelAttribute + (*TunnelMapAttribute)(nil), // 333: lemming.dataplane.sai.TunnelMapAttribute + (*TunnelMapEntryAttribute)(nil), // 334: lemming.dataplane.sai.TunnelMapEntryAttribute + (*TunnelTermTableEntryAttribute)(nil), // 335: lemming.dataplane.sai.TunnelTermTableEntryAttribute + (*UdfAttribute)(nil), // 336: lemming.dataplane.sai.UdfAttribute + (*UdfGroupAttribute)(nil), // 337: lemming.dataplane.sai.UdfGroupAttribute + (*UdfMatchAttribute)(nil), // 338: lemming.dataplane.sai.UdfMatchAttribute + (*VirtualRouterAttribute)(nil), // 339: lemming.dataplane.sai.VirtualRouterAttribute + (*VlanAttribute)(nil), // 340: lemming.dataplane.sai.VlanAttribute + (*VlanMemberAttribute)(nil), // 341: lemming.dataplane.sai.VlanMemberAttribute + (*WredAttribute)(nil), // 342: lemming.dataplane.sai.WredAttribute + nil, // 343: lemming.dataplane.sai.UintMap.UintmapEntry + nil, // 344: lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry + nil, // 345: lemming.dataplane.sai.AclTableAttribute.UserDefinedFieldGroupMinEntry + (*timestamppb.Timestamp)(nil), // 346: google.protobuf.Timestamp + (*descriptorpb.FieldOptions)(nil), // 347: google.protobuf.FieldOptions + (*descriptorpb.MessageOptions)(nil), // 348: google.protobuf.MessageOptions } var file_dataplane_proto_sai_common_proto_depIdxs = []int32{ - 224, // 0: lemming.dataplane.sai.AclActionData.objlist:type_name -> lemming.dataplane.sai.Uint64List - 110, // 1: lemming.dataplane.sai.AclActionData.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 206, // 0: lemming.dataplane.sai.AclActionData.objlist:type_name -> lemming.dataplane.sai.Uint64List + 94, // 1: lemming.dataplane.sai.AclActionData.packet_action:type_name -> lemming.dataplane.sai.PacketAction 0, // 2: lemming.dataplane.sai.ACLCapability.action_list:type_name -> lemming.dataplane.sai.AclActionType - 224, // 3: lemming.dataplane.sai.AclFieldData.mask_list:type_name -> lemming.dataplane.sai.Uint64List - 224, // 4: lemming.dataplane.sai.AclFieldData.data_list:type_name -> lemming.dataplane.sai.Uint64List + 206, // 3: lemming.dataplane.sai.AclFieldData.mask_list:type_name -> lemming.dataplane.sai.Uint64List + 206, // 4: lemming.dataplane.sai.AclFieldData.data_list:type_name -> lemming.dataplane.sai.Uint64List 4, // 5: lemming.dataplane.sai.AclFieldData.data_ip_type:type_name -> lemming.dataplane.sai.AclIpType 6, // 6: lemming.dataplane.sai.ACLResource.stage:type_name -> lemming.dataplane.sai.AclStage 1, // 7: lemming.dataplane.sai.ACLResource.bind_point:type_name -> lemming.dataplane.sai.AclBindPointType - 17, // 8: lemming.dataplane.sai.BfdSessionStateChangeNotificationData.session_state:type_name -> lemming.dataplane.sai.BfdSessionState - 53, // 9: lemming.dataplane.sai.FdbEventNotificationData.event_type:type_name -> lemming.dataplane.sai.FdbEvent - 228, // 10: lemming.dataplane.sai.FdbEventNotificationData.fdb_entry:type_name -> lemming.dataplane.sai.FdbEntry - 279, // 11: lemming.dataplane.sai.FdbEventNotificationData.attrs:type_name -> lemming.dataplane.sai.FdbEntryAttribute - 74, // 12: lemming.dataplane.sai.IpmcEntry.type:type_name -> lemming.dataplane.sai.IpmcEntryType - 78, // 13: lemming.dataplane.sai.IpsecSaStatusNotificationData.ipsec_sa_octet_count_status:type_name -> lemming.dataplane.sai.IpsecSaOctetCountStatus - 81, // 14: lemming.dataplane.sai.L2mcEntry.type:type_name -> lemming.dataplane.sai.L2mcEntryType - 368, // 15: lemming.dataplane.sai.UintMap.uintmap:type_name -> lemming.dataplane.sai.UintMap.UintmapEntry - 96, // 16: lemming.dataplane.sai.NatEntry.nat_type:type_name -> lemming.dataplane.sai.NatType - 239, // 17: lemming.dataplane.sai.NatEntry.data:type_name -> lemming.dataplane.sai.NatEntryData - 235, // 18: lemming.dataplane.sai.PortLaneLatchStatus.value:type_name -> lemming.dataplane.sai.LatchStatus - 142, // 19: lemming.dataplane.sai.PortOperStatusNotification.port_state:type_name -> lemming.dataplane.sai.PortOperStatus - 146, // 20: lemming.dataplane.sai.PRBS_RXState.rx_status:type_name -> lemming.dataplane.sai.PortPrbsRxStatus - 111, // 21: lemming.dataplane.sai.QOSMapParams.color:type_name -> lemming.dataplane.sai.PacketColor - 246, // 22: lemming.dataplane.sai.QOSMap.key:type_name -> lemming.dataplane.sai.QOSMapParams - 246, // 23: lemming.dataplane.sai.QOSMap.value:type_name -> lemming.dataplane.sai.QOSMapParams - 154, // 24: lemming.dataplane.sai.QueueDeadlockNotificationData.event:type_name -> lemming.dataplane.sai.QueuePfcDeadlockEventType - 231, // 25: lemming.dataplane.sai.RouteEntry.destination:type_name -> lemming.dataplane.sai.IpPrefix - 251, // 26: lemming.dataplane.sai.TLVEntry.hmac:type_name -> lemming.dataplane.sai.HMAC - 105, // 27: lemming.dataplane.sai.ObjectTypeQueryResponse.type:type_name -> lemming.dataplane.sai.ObjectType - 223, // 28: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 29: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word3:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 30: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word2:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 31: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word1:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 32: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word0:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 33: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 34: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word3:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 35: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word2:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 36: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word1:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 37: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word0:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 38: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 39: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 40: lemming.dataplane.sai.AclEntryAttribute.field_src_mac:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 41: lemming.dataplane.sai.AclEntryAttribute.field_dst_mac:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 42: lemming.dataplane.sai.AclEntryAttribute.field_src_ip:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 43: lemming.dataplane.sai.AclEntryAttribute.field_dst_ip:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 44: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_ip:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 45: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_ip:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 46: lemming.dataplane.sai.AclEntryAttribute.field_in_ports:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 47: lemming.dataplane.sai.AclEntryAttribute.field_out_ports:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 48: lemming.dataplane.sai.AclEntryAttribute.field_in_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 49: lemming.dataplane.sai.AclEntryAttribute.field_out_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 50: lemming.dataplane.sai.AclEntryAttribute.field_src_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 51: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_id:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 52: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_pri:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 53: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_cfi:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 54: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_id:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 55: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_pri:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 56: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_cfi:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 57: lemming.dataplane.sai.AclEntryAttribute.field_l4_src_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 58: lemming.dataplane.sai.AclEntryAttribute.field_l4_dst_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 59: lemming.dataplane.sai.AclEntryAttribute.field_inner_l4_src_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 60: lemming.dataplane.sai.AclEntryAttribute.field_inner_l4_dst_port:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 61: lemming.dataplane.sai.AclEntryAttribute.field_ether_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 62: lemming.dataplane.sai.AclEntryAttribute.field_inner_ether_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 63: lemming.dataplane.sai.AclEntryAttribute.field_ip_protocol:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 64: lemming.dataplane.sai.AclEntryAttribute.field_inner_ip_protocol:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 65: lemming.dataplane.sai.AclEntryAttribute.field_ip_identification:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 66: lemming.dataplane.sai.AclEntryAttribute.field_dscp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 67: lemming.dataplane.sai.AclEntryAttribute.field_ecn:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 68: lemming.dataplane.sai.AclEntryAttribute.field_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 69: lemming.dataplane.sai.AclEntryAttribute.field_tos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 70: lemming.dataplane.sai.AclEntryAttribute.field_ip_flags:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 71: lemming.dataplane.sai.AclEntryAttribute.field_tcp_flags:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 72: lemming.dataplane.sai.AclEntryAttribute.field_acl_ip_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 73: lemming.dataplane.sai.AclEntryAttribute.field_acl_ip_frag:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 74: lemming.dataplane.sai.AclEntryAttribute.field_ipv6_flow_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 75: lemming.dataplane.sai.AclEntryAttribute.field_tc:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 76: lemming.dataplane.sai.AclEntryAttribute.field_icmp_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 77: lemming.dataplane.sai.AclEntryAttribute.field_icmp_code:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 78: lemming.dataplane.sai.AclEntryAttribute.field_icmpv6_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 79: lemming.dataplane.sai.AclEntryAttribute.field_icmpv6_code:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 80: lemming.dataplane.sai.AclEntryAttribute.field_packet_vlan:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 81: lemming.dataplane.sai.AclEntryAttribute.field_tunnel_vni:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 82: lemming.dataplane.sai.AclEntryAttribute.field_has_vlan_tag:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 83: lemming.dataplane.sai.AclEntryAttribute.field_macsec_sci:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 84: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 85: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 86: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_exp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 87: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_bos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 88: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 89: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 90: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_exp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 91: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_bos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 92: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 93: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 94: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_exp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 95: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_bos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 96: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 97: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 98: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_exp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 99: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_bos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 100: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_label:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 101: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_ttl:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 102: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_exp:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 103: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_bos:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 104: lemming.dataplane.sai.AclEntryAttribute.field_fdb_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 105: lemming.dataplane.sai.AclEntryAttribute.field_route_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 106: lemming.dataplane.sai.AclEntryAttribute.field_neighbor_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 107: lemming.dataplane.sai.AclEntryAttribute.field_port_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 108: lemming.dataplane.sai.AclEntryAttribute.field_vlan_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 109: lemming.dataplane.sai.AclEntryAttribute.field_acl_user_meta:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 110: lemming.dataplane.sai.AclEntryAttribute.field_fdb_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 111: lemming.dataplane.sai.AclEntryAttribute.field_neighbor_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 112: lemming.dataplane.sai.AclEntryAttribute.field_route_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 113: lemming.dataplane.sai.AclEntryAttribute.field_bth_opcode:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 114: lemming.dataplane.sai.AclEntryAttribute.field_aeth_syndrome:type_name -> lemming.dataplane.sai.AclFieldData - 369, // 115: lemming.dataplane.sai.AclEntryAttribute.user_defined_field_group_min:type_name -> lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry - 223, // 116: lemming.dataplane.sai.AclEntryAttribute.field_acl_range_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 117: lemming.dataplane.sai.AclEntryAttribute.field_ipv6_next_header:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 118: lemming.dataplane.sai.AclEntryAttribute.field_gre_key:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 119: lemming.dataplane.sai.AclEntryAttribute.field_tam_int_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 120: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_mac:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 121: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_mac:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 122: lemming.dataplane.sai.AclEntryAttribute.field_vrf_id:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 123: lemming.dataplane.sai.AclEntryAttribute.field_ipmc_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 124: lemming.dataplane.sai.AclEntryAttribute.field_tunnel_terminated:type_name -> lemming.dataplane.sai.AclFieldData - 221, // 125: lemming.dataplane.sai.AclEntryAttribute.action_redirect:type_name -> lemming.dataplane.sai.AclActionData - 221, // 126: lemming.dataplane.sai.AclEntryAttribute.action_endpoint_ip:type_name -> lemming.dataplane.sai.AclActionData - 221, // 127: lemming.dataplane.sai.AclEntryAttribute.action_redirect_list:type_name -> lemming.dataplane.sai.AclActionData - 221, // 128: lemming.dataplane.sai.AclEntryAttribute.action_packet_action:type_name -> lemming.dataplane.sai.AclActionData - 221, // 129: lemming.dataplane.sai.AclEntryAttribute.action_flood:type_name -> lemming.dataplane.sai.AclActionData - 221, // 130: lemming.dataplane.sai.AclEntryAttribute.action_counter:type_name -> lemming.dataplane.sai.AclActionData - 221, // 131: lemming.dataplane.sai.AclEntryAttribute.action_mirror_ingress:type_name -> lemming.dataplane.sai.AclActionData - 221, // 132: lemming.dataplane.sai.AclEntryAttribute.action_mirror_egress:type_name -> lemming.dataplane.sai.AclActionData - 221, // 133: lemming.dataplane.sai.AclEntryAttribute.action_set_policer:type_name -> lemming.dataplane.sai.AclActionData - 221, // 134: lemming.dataplane.sai.AclEntryAttribute.action_decrement_ttl:type_name -> lemming.dataplane.sai.AclActionData - 221, // 135: lemming.dataplane.sai.AclEntryAttribute.action_set_tc:type_name -> lemming.dataplane.sai.AclActionData - 221, // 136: lemming.dataplane.sai.AclEntryAttribute.action_set_packet_color:type_name -> lemming.dataplane.sai.AclActionData - 221, // 137: lemming.dataplane.sai.AclEntryAttribute.action_set_inner_vlan_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 138: lemming.dataplane.sai.AclEntryAttribute.action_set_inner_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData - 221, // 139: lemming.dataplane.sai.AclEntryAttribute.action_set_outer_vlan_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 140: lemming.dataplane.sai.AclEntryAttribute.action_set_outer_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData - 221, // 141: lemming.dataplane.sai.AclEntryAttribute.action_add_vlan_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 142: lemming.dataplane.sai.AclEntryAttribute.action_add_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData - 221, // 143: lemming.dataplane.sai.AclEntryAttribute.action_set_src_mac:type_name -> lemming.dataplane.sai.AclActionData - 221, // 144: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_mac:type_name -> lemming.dataplane.sai.AclActionData - 221, // 145: lemming.dataplane.sai.AclEntryAttribute.action_set_src_ip:type_name -> lemming.dataplane.sai.AclActionData - 221, // 146: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_ip:type_name -> lemming.dataplane.sai.AclActionData - 221, // 147: lemming.dataplane.sai.AclEntryAttribute.action_set_src_ipv6:type_name -> lemming.dataplane.sai.AclActionData - 221, // 148: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_ipv6:type_name -> lemming.dataplane.sai.AclActionData - 221, // 149: lemming.dataplane.sai.AclEntryAttribute.action_set_dscp:type_name -> lemming.dataplane.sai.AclActionData - 221, // 150: lemming.dataplane.sai.AclEntryAttribute.action_set_ecn:type_name -> lemming.dataplane.sai.AclActionData - 221, // 151: lemming.dataplane.sai.AclEntryAttribute.action_set_l4_src_port:type_name -> lemming.dataplane.sai.AclActionData - 221, // 152: lemming.dataplane.sai.AclEntryAttribute.action_set_l4_dst_port:type_name -> lemming.dataplane.sai.AclActionData - 221, // 153: lemming.dataplane.sai.AclEntryAttribute.action_ingress_samplepacket_enable:type_name -> lemming.dataplane.sai.AclActionData - 221, // 154: lemming.dataplane.sai.AclEntryAttribute.action_egress_samplepacket_enable:type_name -> lemming.dataplane.sai.AclActionData - 221, // 155: lemming.dataplane.sai.AclEntryAttribute.action_set_acl_meta_data:type_name -> lemming.dataplane.sai.AclActionData - 221, // 156: lemming.dataplane.sai.AclEntryAttribute.action_egress_block_port_list:type_name -> lemming.dataplane.sai.AclActionData - 221, // 157: lemming.dataplane.sai.AclEntryAttribute.action_set_user_trap_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 158: lemming.dataplane.sai.AclEntryAttribute.action_set_do_not_learn:type_name -> lemming.dataplane.sai.AclActionData - 221, // 159: lemming.dataplane.sai.AclEntryAttribute.action_acl_dtel_flow_op:type_name -> lemming.dataplane.sai.AclActionData - 221, // 160: lemming.dataplane.sai.AclEntryAttribute.action_dtel_int_session:type_name -> lemming.dataplane.sai.AclActionData - 221, // 161: lemming.dataplane.sai.AclEntryAttribute.action_dtel_drop_report_enable:type_name -> lemming.dataplane.sai.AclActionData - 221, // 162: lemming.dataplane.sai.AclEntryAttribute.action_dtel_tail_drop_report_enable:type_name -> lemming.dataplane.sai.AclActionData - 221, // 163: lemming.dataplane.sai.AclEntryAttribute.action_dtel_flow_sample_percent:type_name -> lemming.dataplane.sai.AclActionData - 221, // 164: lemming.dataplane.sai.AclEntryAttribute.action_dtel_report_all_packets:type_name -> lemming.dataplane.sai.AclActionData - 221, // 165: lemming.dataplane.sai.AclEntryAttribute.action_no_nat:type_name -> lemming.dataplane.sai.AclActionData - 221, // 166: lemming.dataplane.sai.AclEntryAttribute.action_int_insert:type_name -> lemming.dataplane.sai.AclActionData - 221, // 167: lemming.dataplane.sai.AclEntryAttribute.action_int_delete:type_name -> lemming.dataplane.sai.AclActionData - 221, // 168: lemming.dataplane.sai.AclEntryAttribute.action_int_report_flow:type_name -> lemming.dataplane.sai.AclActionData - 221, // 169: lemming.dataplane.sai.AclEntryAttribute.action_int_report_drops:type_name -> lemming.dataplane.sai.AclActionData - 221, // 170: lemming.dataplane.sai.AclEntryAttribute.action_int_report_tail_drops:type_name -> lemming.dataplane.sai.AclActionData - 221, // 171: lemming.dataplane.sai.AclEntryAttribute.action_tam_int_object:type_name -> lemming.dataplane.sai.AclActionData - 221, // 172: lemming.dataplane.sai.AclEntryAttribute.action_set_isolation_group:type_name -> lemming.dataplane.sai.AclActionData - 221, // 173: lemming.dataplane.sai.AclEntryAttribute.action_macsec_flow:type_name -> lemming.dataplane.sai.AclActionData - 221, // 174: lemming.dataplane.sai.AclEntryAttribute.action_set_lag_hash_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 175: lemming.dataplane.sai.AclEntryAttribute.action_set_ecmp_hash_id:type_name -> lemming.dataplane.sai.AclActionData - 221, // 176: lemming.dataplane.sai.AclEntryAttribute.action_set_vrf:type_name -> lemming.dataplane.sai.AclActionData - 221, // 177: lemming.dataplane.sai.AclEntryAttribute.action_set_forwarding_class:type_name -> lemming.dataplane.sai.AclActionData - 221, // 178: lemming.dataplane.sai.AclEntryAttribute.action_set_ars_monitoring:type_name -> lemming.dataplane.sai.AclActionData - 221, // 179: lemming.dataplane.sai.AclEntryAttribute.action_set_ars_object:type_name -> lemming.dataplane.sai.AclActionData - 221, // 180: lemming.dataplane.sai.AclEntryAttribute.action_disable_ars_forwarding:type_name -> lemming.dataplane.sai.AclActionData - 221, // 181: lemming.dataplane.sai.AclEntryAttribute.action_chain_redirect:type_name -> lemming.dataplane.sai.AclActionData + 15, // 8: lemming.dataplane.sai.BfdSessionStateChangeNotificationData.session_state:type_name -> lemming.dataplane.sai.BfdSessionState + 39, // 9: lemming.dataplane.sai.FdbEventNotificationData.event_type:type_name -> lemming.dataplane.sai.FdbEvent + 210, // 10: lemming.dataplane.sai.FdbEventNotificationData.fdb_entry:type_name -> lemming.dataplane.sai.FdbEntry + 261, // 11: lemming.dataplane.sai.FdbEventNotificationData.attrs:type_name -> lemming.dataplane.sai.FdbEntryAttribute + 60, // 12: lemming.dataplane.sai.IpmcEntry.type:type_name -> lemming.dataplane.sai.IpmcEntryType + 64, // 13: lemming.dataplane.sai.IpsecSaStatusNotificationData.ipsec_sa_octet_count_status:type_name -> lemming.dataplane.sai.IpsecSaOctetCountStatus + 67, // 14: lemming.dataplane.sai.L2mcEntry.type:type_name -> lemming.dataplane.sai.L2mcEntryType + 343, // 15: lemming.dataplane.sai.UintMap.uintmap:type_name -> lemming.dataplane.sai.UintMap.UintmapEntry + 81, // 16: lemming.dataplane.sai.NatEntry.nat_type:type_name -> lemming.dataplane.sai.NatType + 221, // 17: lemming.dataplane.sai.NatEntry.data:type_name -> lemming.dataplane.sai.NatEntryData + 217, // 18: lemming.dataplane.sai.PortLaneLatchStatus.value:type_name -> lemming.dataplane.sai.LatchStatus + 125, // 19: lemming.dataplane.sai.PortOperStatusNotification.port_state:type_name -> lemming.dataplane.sai.PortOperStatus + 129, // 20: lemming.dataplane.sai.PRBS_RXState.rx_status:type_name -> lemming.dataplane.sai.PortPrbsRxStatus + 95, // 21: lemming.dataplane.sai.QOSMapParams.color:type_name -> lemming.dataplane.sai.PacketColor + 228, // 22: lemming.dataplane.sai.QOSMap.key:type_name -> lemming.dataplane.sai.QOSMapParams + 228, // 23: lemming.dataplane.sai.QOSMap.value:type_name -> lemming.dataplane.sai.QOSMapParams + 137, // 24: lemming.dataplane.sai.QueueDeadlockNotificationData.event:type_name -> lemming.dataplane.sai.QueuePfcDeadlockEventType + 213, // 25: lemming.dataplane.sai.RouteEntry.destination:type_name -> lemming.dataplane.sai.IpPrefix + 233, // 26: lemming.dataplane.sai.TLVEntry.hmac:type_name -> lemming.dataplane.sai.HMAC + 89, // 27: lemming.dataplane.sai.ObjectTypeQueryResponse.type:type_name -> lemming.dataplane.sai.ObjectType + 205, // 28: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 29: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word3:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 30: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word2:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 31: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word1:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 32: lemming.dataplane.sai.AclEntryAttribute.field_src_ipv6_word0:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 33: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 34: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word3:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 35: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word2:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 36: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word1:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 37: lemming.dataplane.sai.AclEntryAttribute.field_dst_ipv6_word0:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 38: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 39: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 40: lemming.dataplane.sai.AclEntryAttribute.field_src_mac:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 41: lemming.dataplane.sai.AclEntryAttribute.field_dst_mac:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 42: lemming.dataplane.sai.AclEntryAttribute.field_src_ip:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 43: lemming.dataplane.sai.AclEntryAttribute.field_dst_ip:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 44: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_ip:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 45: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_ip:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 46: lemming.dataplane.sai.AclEntryAttribute.field_in_ports:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 47: lemming.dataplane.sai.AclEntryAttribute.field_out_ports:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 48: lemming.dataplane.sai.AclEntryAttribute.field_in_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 49: lemming.dataplane.sai.AclEntryAttribute.field_out_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 50: lemming.dataplane.sai.AclEntryAttribute.field_src_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 51: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_id:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 52: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_pri:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 53: lemming.dataplane.sai.AclEntryAttribute.field_outer_vlan_cfi:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 54: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_id:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 55: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_pri:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 56: lemming.dataplane.sai.AclEntryAttribute.field_inner_vlan_cfi:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 57: lemming.dataplane.sai.AclEntryAttribute.field_l4_src_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 58: lemming.dataplane.sai.AclEntryAttribute.field_l4_dst_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 59: lemming.dataplane.sai.AclEntryAttribute.field_inner_l4_src_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 60: lemming.dataplane.sai.AclEntryAttribute.field_inner_l4_dst_port:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 61: lemming.dataplane.sai.AclEntryAttribute.field_ether_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 62: lemming.dataplane.sai.AclEntryAttribute.field_inner_ether_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 63: lemming.dataplane.sai.AclEntryAttribute.field_ip_protocol:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 64: lemming.dataplane.sai.AclEntryAttribute.field_inner_ip_protocol:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 65: lemming.dataplane.sai.AclEntryAttribute.field_ip_identification:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 66: lemming.dataplane.sai.AclEntryAttribute.field_dscp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 67: lemming.dataplane.sai.AclEntryAttribute.field_ecn:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 68: lemming.dataplane.sai.AclEntryAttribute.field_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 69: lemming.dataplane.sai.AclEntryAttribute.field_tos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 70: lemming.dataplane.sai.AclEntryAttribute.field_ip_flags:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 71: lemming.dataplane.sai.AclEntryAttribute.field_tcp_flags:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 72: lemming.dataplane.sai.AclEntryAttribute.field_acl_ip_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 73: lemming.dataplane.sai.AclEntryAttribute.field_acl_ip_frag:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 74: lemming.dataplane.sai.AclEntryAttribute.field_ipv6_flow_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 75: lemming.dataplane.sai.AclEntryAttribute.field_tc:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 76: lemming.dataplane.sai.AclEntryAttribute.field_icmp_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 77: lemming.dataplane.sai.AclEntryAttribute.field_icmp_code:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 78: lemming.dataplane.sai.AclEntryAttribute.field_icmpv6_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 79: lemming.dataplane.sai.AclEntryAttribute.field_icmpv6_code:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 80: lemming.dataplane.sai.AclEntryAttribute.field_packet_vlan:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 81: lemming.dataplane.sai.AclEntryAttribute.field_tunnel_vni:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 82: lemming.dataplane.sai.AclEntryAttribute.field_has_vlan_tag:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 83: lemming.dataplane.sai.AclEntryAttribute.field_macsec_sci:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 84: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 85: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 86: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_exp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 87: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label0_bos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 88: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 89: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 90: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_exp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 91: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label1_bos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 92: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 93: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 94: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_exp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 95: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label2_bos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 96: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 97: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 98: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_exp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 99: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label3_bos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 100: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_label:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 101: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_ttl:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 102: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_exp:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 103: lemming.dataplane.sai.AclEntryAttribute.field_mpls_label4_bos:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 104: lemming.dataplane.sai.AclEntryAttribute.field_fdb_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 105: lemming.dataplane.sai.AclEntryAttribute.field_route_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 106: lemming.dataplane.sai.AclEntryAttribute.field_neighbor_dst_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 107: lemming.dataplane.sai.AclEntryAttribute.field_port_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 108: lemming.dataplane.sai.AclEntryAttribute.field_vlan_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 109: lemming.dataplane.sai.AclEntryAttribute.field_acl_user_meta:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 110: lemming.dataplane.sai.AclEntryAttribute.field_fdb_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 111: lemming.dataplane.sai.AclEntryAttribute.field_neighbor_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 112: lemming.dataplane.sai.AclEntryAttribute.field_route_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 113: lemming.dataplane.sai.AclEntryAttribute.field_bth_opcode:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 114: lemming.dataplane.sai.AclEntryAttribute.field_aeth_syndrome:type_name -> lemming.dataplane.sai.AclFieldData + 344, // 115: lemming.dataplane.sai.AclEntryAttribute.user_defined_field_group_min:type_name -> lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry + 205, // 116: lemming.dataplane.sai.AclEntryAttribute.field_acl_range_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 117: lemming.dataplane.sai.AclEntryAttribute.field_ipv6_next_header:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 118: lemming.dataplane.sai.AclEntryAttribute.field_gre_key:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 119: lemming.dataplane.sai.AclEntryAttribute.field_tam_int_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 120: lemming.dataplane.sai.AclEntryAttribute.field_inner_src_mac:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 121: lemming.dataplane.sai.AclEntryAttribute.field_inner_dst_mac:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 122: lemming.dataplane.sai.AclEntryAttribute.field_vrf_id:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 123: lemming.dataplane.sai.AclEntryAttribute.field_ipmc_npu_meta_dst_hit:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 124: lemming.dataplane.sai.AclEntryAttribute.field_tunnel_terminated:type_name -> lemming.dataplane.sai.AclFieldData + 203, // 125: lemming.dataplane.sai.AclEntryAttribute.action_redirect:type_name -> lemming.dataplane.sai.AclActionData + 203, // 126: lemming.dataplane.sai.AclEntryAttribute.action_endpoint_ip:type_name -> lemming.dataplane.sai.AclActionData + 203, // 127: lemming.dataplane.sai.AclEntryAttribute.action_redirect_list:type_name -> lemming.dataplane.sai.AclActionData + 203, // 128: lemming.dataplane.sai.AclEntryAttribute.action_packet_action:type_name -> lemming.dataplane.sai.AclActionData + 203, // 129: lemming.dataplane.sai.AclEntryAttribute.action_flood:type_name -> lemming.dataplane.sai.AclActionData + 203, // 130: lemming.dataplane.sai.AclEntryAttribute.action_counter:type_name -> lemming.dataplane.sai.AclActionData + 203, // 131: lemming.dataplane.sai.AclEntryAttribute.action_mirror_ingress:type_name -> lemming.dataplane.sai.AclActionData + 203, // 132: lemming.dataplane.sai.AclEntryAttribute.action_mirror_egress:type_name -> lemming.dataplane.sai.AclActionData + 203, // 133: lemming.dataplane.sai.AclEntryAttribute.action_set_policer:type_name -> lemming.dataplane.sai.AclActionData + 203, // 134: lemming.dataplane.sai.AclEntryAttribute.action_decrement_ttl:type_name -> lemming.dataplane.sai.AclActionData + 203, // 135: lemming.dataplane.sai.AclEntryAttribute.action_set_tc:type_name -> lemming.dataplane.sai.AclActionData + 203, // 136: lemming.dataplane.sai.AclEntryAttribute.action_set_packet_color:type_name -> lemming.dataplane.sai.AclActionData + 203, // 137: lemming.dataplane.sai.AclEntryAttribute.action_set_inner_vlan_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 138: lemming.dataplane.sai.AclEntryAttribute.action_set_inner_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData + 203, // 139: lemming.dataplane.sai.AclEntryAttribute.action_set_outer_vlan_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 140: lemming.dataplane.sai.AclEntryAttribute.action_set_outer_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData + 203, // 141: lemming.dataplane.sai.AclEntryAttribute.action_add_vlan_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 142: lemming.dataplane.sai.AclEntryAttribute.action_add_vlan_pri:type_name -> lemming.dataplane.sai.AclActionData + 203, // 143: lemming.dataplane.sai.AclEntryAttribute.action_set_src_mac:type_name -> lemming.dataplane.sai.AclActionData + 203, // 144: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_mac:type_name -> lemming.dataplane.sai.AclActionData + 203, // 145: lemming.dataplane.sai.AclEntryAttribute.action_set_src_ip:type_name -> lemming.dataplane.sai.AclActionData + 203, // 146: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_ip:type_name -> lemming.dataplane.sai.AclActionData + 203, // 147: lemming.dataplane.sai.AclEntryAttribute.action_set_src_ipv6:type_name -> lemming.dataplane.sai.AclActionData + 203, // 148: lemming.dataplane.sai.AclEntryAttribute.action_set_dst_ipv6:type_name -> lemming.dataplane.sai.AclActionData + 203, // 149: lemming.dataplane.sai.AclEntryAttribute.action_set_dscp:type_name -> lemming.dataplane.sai.AclActionData + 203, // 150: lemming.dataplane.sai.AclEntryAttribute.action_set_ecn:type_name -> lemming.dataplane.sai.AclActionData + 203, // 151: lemming.dataplane.sai.AclEntryAttribute.action_set_l4_src_port:type_name -> lemming.dataplane.sai.AclActionData + 203, // 152: lemming.dataplane.sai.AclEntryAttribute.action_set_l4_dst_port:type_name -> lemming.dataplane.sai.AclActionData + 203, // 153: lemming.dataplane.sai.AclEntryAttribute.action_ingress_samplepacket_enable:type_name -> lemming.dataplane.sai.AclActionData + 203, // 154: lemming.dataplane.sai.AclEntryAttribute.action_egress_samplepacket_enable:type_name -> lemming.dataplane.sai.AclActionData + 203, // 155: lemming.dataplane.sai.AclEntryAttribute.action_set_acl_meta_data:type_name -> lemming.dataplane.sai.AclActionData + 203, // 156: lemming.dataplane.sai.AclEntryAttribute.action_egress_block_port_list:type_name -> lemming.dataplane.sai.AclActionData + 203, // 157: lemming.dataplane.sai.AclEntryAttribute.action_set_user_trap_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 158: lemming.dataplane.sai.AclEntryAttribute.action_set_do_not_learn:type_name -> lemming.dataplane.sai.AclActionData + 203, // 159: lemming.dataplane.sai.AclEntryAttribute.action_acl_dtel_flow_op:type_name -> lemming.dataplane.sai.AclActionData + 203, // 160: lemming.dataplane.sai.AclEntryAttribute.action_dtel_int_session:type_name -> lemming.dataplane.sai.AclActionData + 203, // 161: lemming.dataplane.sai.AclEntryAttribute.action_dtel_drop_report_enable:type_name -> lemming.dataplane.sai.AclActionData + 203, // 162: lemming.dataplane.sai.AclEntryAttribute.action_dtel_tail_drop_report_enable:type_name -> lemming.dataplane.sai.AclActionData + 203, // 163: lemming.dataplane.sai.AclEntryAttribute.action_dtel_flow_sample_percent:type_name -> lemming.dataplane.sai.AclActionData + 203, // 164: lemming.dataplane.sai.AclEntryAttribute.action_dtel_report_all_packets:type_name -> lemming.dataplane.sai.AclActionData + 203, // 165: lemming.dataplane.sai.AclEntryAttribute.action_no_nat:type_name -> lemming.dataplane.sai.AclActionData + 203, // 166: lemming.dataplane.sai.AclEntryAttribute.action_int_insert:type_name -> lemming.dataplane.sai.AclActionData + 203, // 167: lemming.dataplane.sai.AclEntryAttribute.action_int_delete:type_name -> lemming.dataplane.sai.AclActionData + 203, // 168: lemming.dataplane.sai.AclEntryAttribute.action_int_report_flow:type_name -> lemming.dataplane.sai.AclActionData + 203, // 169: lemming.dataplane.sai.AclEntryAttribute.action_int_report_drops:type_name -> lemming.dataplane.sai.AclActionData + 203, // 170: lemming.dataplane.sai.AclEntryAttribute.action_int_report_tail_drops:type_name -> lemming.dataplane.sai.AclActionData + 203, // 171: lemming.dataplane.sai.AclEntryAttribute.action_tam_int_object:type_name -> lemming.dataplane.sai.AclActionData + 203, // 172: lemming.dataplane.sai.AclEntryAttribute.action_set_isolation_group:type_name -> lemming.dataplane.sai.AclActionData + 203, // 173: lemming.dataplane.sai.AclEntryAttribute.action_macsec_flow:type_name -> lemming.dataplane.sai.AclActionData + 203, // 174: lemming.dataplane.sai.AclEntryAttribute.action_set_lag_hash_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 175: lemming.dataplane.sai.AclEntryAttribute.action_set_ecmp_hash_id:type_name -> lemming.dataplane.sai.AclActionData + 203, // 176: lemming.dataplane.sai.AclEntryAttribute.action_set_vrf:type_name -> lemming.dataplane.sai.AclActionData + 203, // 177: lemming.dataplane.sai.AclEntryAttribute.action_set_forwarding_class:type_name -> lemming.dataplane.sai.AclActionData + 203, // 178: lemming.dataplane.sai.AclEntryAttribute.action_set_ars_monitoring:type_name -> lemming.dataplane.sai.AclActionData + 203, // 179: lemming.dataplane.sai.AclEntryAttribute.action_set_ars_object:type_name -> lemming.dataplane.sai.AclActionData + 203, // 180: lemming.dataplane.sai.AclEntryAttribute.action_disable_ars_forwarding:type_name -> lemming.dataplane.sai.AclActionData + 203, // 181: lemming.dataplane.sai.AclEntryAttribute.action_chain_redirect:type_name -> lemming.dataplane.sai.AclActionData 5, // 182: lemming.dataplane.sai.AclRangeAttribute.type:type_name -> lemming.dataplane.sai.AclRangeType - 253, // 183: lemming.dataplane.sai.AclRangeAttribute.limit:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 183: lemming.dataplane.sai.AclRangeAttribute.limit:type_name -> lemming.dataplane.sai.Uint32Range 6, // 184: lemming.dataplane.sai.AclTableAttribute.acl_stage:type_name -> lemming.dataplane.sai.AclStage 1, // 185: lemming.dataplane.sai.AclTableAttribute.acl_bind_point_type_list:type_name -> lemming.dataplane.sai.AclBindPointType 0, // 186: lemming.dataplane.sai.AclTableAttribute.acl_action_type_list:type_name -> lemming.dataplane.sai.AclActionType - 370, // 187: lemming.dataplane.sai.AclTableAttribute.user_defined_field_group_min:type_name -> lemming.dataplane.sai.AclTableAttribute.UserDefinedFieldGroupMinEntry + 345, // 187: lemming.dataplane.sai.AclTableAttribute.user_defined_field_group_min:type_name -> lemming.dataplane.sai.AclTableAttribute.UserDefinedFieldGroupMinEntry 5, // 188: lemming.dataplane.sai.AclTableAttribute.field_acl_range_type:type_name -> lemming.dataplane.sai.AclRangeType 10, // 189: lemming.dataplane.sai.AclTableAttribute.acl_table_match_type:type_name -> lemming.dataplane.sai.AclTableMatchType - 223, // 190: lemming.dataplane.sai.AclTableAttribute.field_valid_bits_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 191: lemming.dataplane.sai.AclTableAttribute.field_valid_bits_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 190: lemming.dataplane.sai.AclTableAttribute.field_valid_bits_src_ipv6:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 191: lemming.dataplane.sai.AclTableAttribute.field_valid_bits_dst_ipv6:type_name -> lemming.dataplane.sai.AclFieldData 8, // 192: lemming.dataplane.sai.AclTableChainGroupAttribute.type:type_name -> lemming.dataplane.sai.AclTableChainGroupType 7, // 193: lemming.dataplane.sai.AclTableChainGroupAttribute.stage:type_name -> lemming.dataplane.sai.AclTableChainGroupStage 6, // 194: lemming.dataplane.sai.AclTableGroupAttribute.acl_stage:type_name -> lemming.dataplane.sai.AclStage 1, // 195: lemming.dataplane.sai.AclTableGroupAttribute.acl_bind_point_type_list:type_name -> lemming.dataplane.sai.AclBindPointType 9, // 196: lemming.dataplane.sai.AclTableGroupAttribute.type:type_name -> lemming.dataplane.sai.AclTableGroupType - 18, // 197: lemming.dataplane.sai.BfdSessionAttribute.type:type_name -> lemming.dataplane.sai.BfdSessionType - 14, // 198: lemming.dataplane.sai.BfdSessionAttribute.bfd_encapsulation_type:type_name -> lemming.dataplane.sai.BfdEncapsulationType - 17, // 199: lemming.dataplane.sai.BfdSessionAttribute.state:type_name -> lemming.dataplane.sai.BfdSessionState - 15, // 200: lemming.dataplane.sai.BfdSessionAttribute.offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType - 167, // 201: lemming.dataplane.sai.BfdSessionAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 25, // 202: lemming.dataplane.sai.BridgeAttribute.type:type_name -> lemming.dataplane.sai.BridgeType - 19, // 203: lemming.dataplane.sai.BridgeAttribute.unknown_unicast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType - 19, // 204: lemming.dataplane.sai.BridgeAttribute.unknown_multicast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType - 19, // 205: lemming.dataplane.sai.BridgeAttribute.broadcast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType - 167, // 206: lemming.dataplane.sai.BridgeAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 23, // 207: lemming.dataplane.sai.BridgePortAttribute.type:type_name -> lemming.dataplane.sai.BridgePortType - 22, // 208: lemming.dataplane.sai.BridgePortAttribute.tagging_mode:type_name -> lemming.dataplane.sai.BridgePortTaggingMode - 20, // 209: lemming.dataplane.sai.BridgePortAttribute.fdb_learning_mode:type_name -> lemming.dataplane.sai.BridgePortFdbLearningMode - 110, // 210: lemming.dataplane.sai.BridgePortAttribute.fdb_learning_limit_violation_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 167, // 211: lemming.dataplane.sai.BridgePortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 28, // 212: lemming.dataplane.sai.BufferPoolAttribute.type:type_name -> lemming.dataplane.sai.BufferPoolType - 27, // 213: lemming.dataplane.sai.BufferPoolAttribute.threshold_mode:type_name -> lemming.dataplane.sai.BufferPoolThresholdMode - 167, // 214: lemming.dataplane.sai.BufferPoolAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 29, // 215: lemming.dataplane.sai.BufferProfileAttribute.threshold_mode:type_name -> lemming.dataplane.sai.BufferProfileThresholdMode - 33, // 216: lemming.dataplane.sai.CounterAttribute.type:type_name -> lemming.dataplane.sai.CounterType - 105, // 217: lemming.dataplane.sai.CounterAttribute.object_type:type_name -> lemming.dataplane.sai.ObjectType - 48, // 218: lemming.dataplane.sai.DebugCounterAttribute.type:type_name -> lemming.dataplane.sai.DebugCounterType - 47, // 219: lemming.dataplane.sai.DebugCounterAttribute.bind_method:type_name -> lemming.dataplane.sai.DebugCounterBindMethod - 68, // 220: lemming.dataplane.sai.DebugCounterAttribute.in_drop_reason_list:type_name -> lemming.dataplane.sai.InDropReason - 106, // 221: lemming.dataplane.sai.DebugCounterAttribute.out_drop_reason_list:type_name -> lemming.dataplane.sai.OutDropReason - 223, // 222: lemming.dataplane.sai.DtelAttribute.int_l4_dscp:type_name -> lemming.dataplane.sai.AclFieldData - 49, // 223: lemming.dataplane.sai.DtelEventAttribute.type:type_name -> lemming.dataplane.sai.DtelEventType - 52, // 224: lemming.dataplane.sai.FdbEntryAttribute.type:type_name -> lemming.dataplane.sai.FdbEntryType - 110, // 225: lemming.dataplane.sai.FdbEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 54, // 226: lemming.dataplane.sai.FdbFlushAttribute.entry_type:type_name -> lemming.dataplane.sai.FdbFlushEntryType - 97, // 227: lemming.dataplane.sai.FineGrainedHashFieldAttribute.native_hash_field:type_name -> lemming.dataplane.sai.NativeHashField - 97, // 228: lemming.dataplane.sai.HashAttribute.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField - 63, // 229: lemming.dataplane.sai.HostifAttribute.type:type_name -> lemming.dataplane.sai.HostifType - 65, // 230: lemming.dataplane.sai.HostifAttribute.vlan_tag:type_name -> lemming.dataplane.sai.HostifVlanTag - 62, // 231: lemming.dataplane.sai.HostifPacketAttribute.hostif_tx_type:type_name -> lemming.dataplane.sai.HostifTxType - 371, // 232: lemming.dataplane.sai.HostifPacketAttribute.timestamp:type_name -> google.protobuf.Timestamp - 60, // 233: lemming.dataplane.sai.HostifTableEntryAttribute.type:type_name -> lemming.dataplane.sai.HostifTableEntryType - 59, // 234: lemming.dataplane.sai.HostifTableEntryAttribute.channel_type:type_name -> lemming.dataplane.sai.HostifTableEntryChannelType - 61, // 235: lemming.dataplane.sai.HostifTrapAttribute.trap_type:type_name -> lemming.dataplane.sai.HostifTrapType - 110, // 236: lemming.dataplane.sai.HostifTrapAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 103, // 237: lemming.dataplane.sai.HostifTrapGroupAttribute.object_stage:type_name -> lemming.dataplane.sai.ObjectStage - 64, // 238: lemming.dataplane.sai.HostifUserDefinedTrapAttribute.type:type_name -> lemming.dataplane.sai.HostifUserDefinedTrapType - 67, // 239: lemming.dataplane.sai.IcmpEchoSessionAttribute.state:type_name -> lemming.dataplane.sai.IcmpEchoSessionState - 167, // 240: lemming.dataplane.sai.IcmpEchoSessionAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 167, // 241: lemming.dataplane.sai.IngressPriorityGroupAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 110, // 242: lemming.dataplane.sai.InsegEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 72, // 243: lemming.dataplane.sai.InsegEntryAttribute.psc_type:type_name -> lemming.dataplane.sai.InsegEntryPscType - 71, // 244: lemming.dataplane.sai.InsegEntryAttribute.pop_ttl_mode:type_name -> lemming.dataplane.sai.InsegEntryPopTtlMode - 70, // 245: lemming.dataplane.sai.InsegEntryAttribute.pop_qos_mode:type_name -> lemming.dataplane.sai.InsegEntryPopQosMode - 110, // 246: lemming.dataplane.sai.IpmcEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 75, // 247: lemming.dataplane.sai.IpsecAttribute.supported_cipher_list:type_name -> lemming.dataplane.sai.IpsecCipher - 168, // 248: lemming.dataplane.sai.IpsecAttribute.stats_mode:type_name -> lemming.dataplane.sai.StatsMode - 182, // 249: lemming.dataplane.sai.IpsecPortAttribute.switch_switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode - 167, // 250: lemming.dataplane.sai.IpsecPortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 76, // 251: lemming.dataplane.sai.IpsecSaAttribute.ipsec_direction:type_name -> lemming.dataplane.sai.IpsecDirection - 78, // 252: lemming.dataplane.sai.IpsecSaAttribute.octet_count_status:type_name -> lemming.dataplane.sai.IpsecSaOctetCountStatus - 75, // 253: lemming.dataplane.sai.IpsecSaAttribute.ipsec_cipher:type_name -> lemming.dataplane.sai.IpsecCipher - 167, // 254: lemming.dataplane.sai.IpsecSaAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 80, // 255: lemming.dataplane.sai.IsolationGroupAttribute.type:type_name -> lemming.dataplane.sai.IsolationGroupType - 110, // 256: lemming.dataplane.sai.L2mcEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 84, // 257: lemming.dataplane.sai.MacsecAttribute.direction:type_name -> lemming.dataplane.sai.MacsecDirection - 83, // 258: lemming.dataplane.sai.MacsecAttribute.supported_cipher_suite_list:type_name -> lemming.dataplane.sai.MacsecCipherSuite - 168, // 259: lemming.dataplane.sai.MacsecAttribute.stats_mode:type_name -> lemming.dataplane.sai.StatsMode - 86, // 260: lemming.dataplane.sai.MacsecAttribute.max_secure_associations_per_sc:type_name -> lemming.dataplane.sai.MacsecMaxSecureAssociationsPerSc - 84, // 261: lemming.dataplane.sai.MacsecFlowAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection - 167, // 262: lemming.dataplane.sai.MacsecFlowAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 84, // 263: lemming.dataplane.sai.MacsecPortAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection - 182, // 264: lemming.dataplane.sai.MacsecPortAttribute.switch_switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode - 167, // 265: lemming.dataplane.sai.MacsecPortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 84, // 266: lemming.dataplane.sai.MacsecSaAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection - 84, // 267: lemming.dataplane.sai.MacsecScAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection - 83, // 268: lemming.dataplane.sai.MacsecScAttribute.macsec_cipher_suite:type_name -> lemming.dataplane.sai.MacsecCipherSuite - 110, // 269: lemming.dataplane.sai.McastFdbEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 92, // 270: lemming.dataplane.sai.MirrorSessionAttribute.type:type_name -> lemming.dataplane.sai.MirrorSessionType - 91, // 271: lemming.dataplane.sai.MirrorSessionAttribute.congestion_mode:type_name -> lemming.dataplane.sai.MirrorSessionCongestionMode - 51, // 272: lemming.dataplane.sai.MirrorSessionAttribute.erspan_encapsulation_type:type_name -> lemming.dataplane.sai.ErspanEncapsulationType - 94, // 273: lemming.dataplane.sai.MySidEntryAttribute.endpoint_behavior:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehavior - 93, // 274: lemming.dataplane.sai.MySidEntryAttribute.endpoint_behavior_flavor:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor - 110, // 275: lemming.dataplane.sai.MySidEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 96, // 276: lemming.dataplane.sai.NatEntryAttribute.nat_type:type_name -> lemming.dataplane.sai.NatType - 96, // 277: lemming.dataplane.sai.NatZoneCounterAttribute.nat_type:type_name -> lemming.dataplane.sai.NatType - 110, // 278: lemming.dataplane.sai.NeighborEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 73, // 279: lemming.dataplane.sai.NeighborEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily - 102, // 280: lemming.dataplane.sai.NextHopAttribute.type:type_name -> lemming.dataplane.sai.NextHopType - 109, // 281: lemming.dataplane.sai.NextHopAttribute.outseg_type:type_name -> lemming.dataplane.sai.OutsegType - 108, // 282: lemming.dataplane.sai.NextHopAttribute.outseg_ttl_mode:type_name -> lemming.dataplane.sai.OutsegTtlMode - 107, // 283: lemming.dataplane.sai.NextHopAttribute.outseg_exp_mode:type_name -> lemming.dataplane.sai.OutsegExpMode - 101, // 284: lemming.dataplane.sai.NextHopGroupAttribute.type:type_name -> lemming.dataplane.sai.NextHopGroupType - 98, // 285: lemming.dataplane.sai.NextHopGroupMapAttribute.type:type_name -> lemming.dataplane.sai.NextHopGroupMapType - 236, // 286: lemming.dataplane.sai.NextHopGroupMapAttribute.map_to_value_list:type_name -> lemming.dataplane.sai.UintMap - 99, // 287: lemming.dataplane.sai.NextHopGroupMemberAttribute.configured_role:type_name -> lemming.dataplane.sai.NextHopGroupMemberConfiguredRole - 100, // 288: lemming.dataplane.sai.NextHopGroupMemberAttribute.observed_role:type_name -> lemming.dataplane.sai.NextHopGroupMemberObservedRole - 90, // 289: lemming.dataplane.sai.PolicerAttribute.meter_type:type_name -> lemming.dataplane.sai.MeterType - 117, // 290: lemming.dataplane.sai.PolicerAttribute.mode:type_name -> lemming.dataplane.sai.PolicerMode - 116, // 291: lemming.dataplane.sai.PolicerAttribute.color_source:type_name -> lemming.dataplane.sai.PolicerColorSource - 110, // 292: lemming.dataplane.sai.PolicerAttribute.green_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 293: lemming.dataplane.sai.PolicerAttribute.yellow_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 294: lemming.dataplane.sai.PolicerAttribute.red_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 295: lemming.dataplane.sai.PolicerAttribute.enable_counter_packet_action_list:type_name -> lemming.dataplane.sai.PacketAction - 103, // 296: lemming.dataplane.sai.PolicerAttribute.object_stage:type_name -> lemming.dataplane.sai.ObjectStage - 167, // 297: lemming.dataplane.sai.PolicerAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 151, // 298: lemming.dataplane.sai.PortAttribute.type:type_name -> lemming.dataplane.sai.PortType - 142, // 299: lemming.dataplane.sai.PortAttribute.oper_status:type_name -> lemming.dataplane.sai.PortOperStatus - 121, // 300: lemming.dataplane.sai.PortAttribute.supported_breakout_mode_type:type_name -> lemming.dataplane.sai.PortBreakoutModeType - 121, // 301: lemming.dataplane.sai.PortAttribute.current_breakout_mode_type:type_name -> lemming.dataplane.sai.PortBreakoutModeType - 130, // 302: lemming.dataplane.sai.PortAttribute.supported_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode - 129, // 303: lemming.dataplane.sai.PortAttribute.supported_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended - 131, // 304: lemming.dataplane.sai.PortAttribute.supported_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode - 140, // 305: lemming.dataplane.sai.PortAttribute.supported_media_type:type_name -> lemming.dataplane.sai.PortMediaType - 130, // 306: lemming.dataplane.sai.PortAttribute.remote_advertised_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode - 129, // 307: lemming.dataplane.sai.PortAttribute.remote_advertised_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended - 131, // 308: lemming.dataplane.sai.PortAttribute.remote_advertised_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode - 140, // 309: lemming.dataplane.sai.PortAttribute.remote_advertised_media_type:type_name -> lemming.dataplane.sai.PortMediaType - 242, // 310: lemming.dataplane.sai.PortAttribute.eye_values:type_name -> lemming.dataplane.sai.PortEyeValues - 140, // 311: lemming.dataplane.sai.PortAttribute.media_type:type_name -> lemming.dataplane.sai.PortMediaType - 130, // 312: lemming.dataplane.sai.PortAttribute.advertised_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode - 129, // 313: lemming.dataplane.sai.PortAttribute.advertised_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended - 131, // 314: lemming.dataplane.sai.PortAttribute.advertised_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode - 140, // 315: lemming.dataplane.sai.PortAttribute.advertised_media_type:type_name -> lemming.dataplane.sai.PortMediaType - 134, // 316: lemming.dataplane.sai.PortAttribute.internal_loopback_mode:type_name -> lemming.dataplane.sai.PortInternalLoopbackMode - 130, // 317: lemming.dataplane.sai.PortAttribute.fec_mode:type_name -> lemming.dataplane.sai.PortFecMode - 129, // 318: lemming.dataplane.sai.PortAttribute.fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended - 131, // 319: lemming.dataplane.sai.PortAttribute.global_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode - 147, // 320: lemming.dataplane.sai.PortAttribute.priority_flow_control_mode:type_name -> lemming.dataplane.sai.PortPriorityFlowControlMode - 148, // 321: lemming.dataplane.sai.PortAttribute.ptp_mode:type_name -> lemming.dataplane.sai.PortPtpMode - 133, // 322: lemming.dataplane.sai.PortAttribute.interface_type:type_name -> lemming.dataplane.sai.PortInterfaceType - 133, // 323: lemming.dataplane.sai.PortAttribute.advertised_interface_type:type_name -> lemming.dataplane.sai.PortInterfaceType - 135, // 324: lemming.dataplane.sai.PortAttribute.link_training_failure_status:type_name -> lemming.dataplane.sai.PortLinkTrainingFailureStatus - 136, // 325: lemming.dataplane.sai.PortAttribute.link_training_rx_status:type_name -> lemming.dataplane.sai.PortLinkTrainingRxStatus - 145, // 326: lemming.dataplane.sai.PortAttribute.prbs_config:type_name -> lemming.dataplane.sai.PortPrbsConfig - 146, // 327: lemming.dataplane.sai.PortAttribute.prbs_rx_status:type_name -> lemming.dataplane.sai.PortPrbsRxStatus - 245, // 328: lemming.dataplane.sai.PortAttribute.prbs_rx_state:type_name -> lemming.dataplane.sai.PRBS_RXState - 127, // 329: lemming.dataplane.sai.PortAttribute.err_status_list:type_name -> lemming.dataplane.sai.PortErrStatus - 183, // 330: lemming.dataplane.sai.PortAttribute.fabric_attached_switch_type:type_name -> lemming.dataplane.sai.SwitchType - 227, // 331: lemming.dataplane.sai.PortAttribute.fabric_reachability:type_name -> lemming.dataplane.sai.FabricPortReachability - 137, // 332: lemming.dataplane.sai.PortAttribute.loopback_mode:type_name -> lemming.dataplane.sai.PortLoopbackMode - 139, // 333: lemming.dataplane.sai.PortAttribute.mdix_mode_status:type_name -> lemming.dataplane.sai.PortMdixModeStatus - 138, // 334: lemming.dataplane.sai.PortAttribute.mdix_mode_config:type_name -> lemming.dataplane.sai.PortMdixModeConfig - 120, // 335: lemming.dataplane.sai.PortAttribute.auto_neg_config_mode:type_name -> lemming.dataplane.sai.PortAutoNegConfigMode - 141, // 336: lemming.dataplane.sai.PortAttribute.module_type:type_name -> lemming.dataplane.sai.PortModuleType - 126, // 337: lemming.dataplane.sai.PortAttribute.dual_media:type_name -> lemming.dataplane.sai.PortDualMedia - 129, // 338: lemming.dataplane.sai.PortAttribute.auto_neg_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended - 253, // 339: lemming.dataplane.sai.PortAttribute.pfc_tc_dld_interval_range:type_name -> lemming.dataplane.sai.Uint32Range - 236, // 340: lemming.dataplane.sai.PortAttribute.pfc_tc_dld_interval:type_name -> lemming.dataplane.sai.UintMap - 253, // 341: lemming.dataplane.sai.PortAttribute.pfc_tc_dlr_interval_range:type_name -> lemming.dataplane.sai.Uint32Range - 236, // 342: lemming.dataplane.sai.PortAttribute.pfc_tc_dlr_interval:type_name -> lemming.dataplane.sai.UintMap - 243, // 343: lemming.dataplane.sai.PortAttribute.rx_signal_detect:type_name -> lemming.dataplane.sai.PortLaneLatchStatus - 243, // 344: lemming.dataplane.sai.PortAttribute.rx_lock_status:type_name -> lemming.dataplane.sai.PortLaneLatchStatus - 235, // 345: lemming.dataplane.sai.PortAttribute.pcs_rx_link_status:type_name -> lemming.dataplane.sai.LatchStatus - 243, // 346: lemming.dataplane.sai.PortAttribute.fec_alignment_lock:type_name -> lemming.dataplane.sai.PortLaneLatchStatus - 57, // 347: lemming.dataplane.sai.PortAttribute.ecmp_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm - 130, // 348: lemming.dataplane.sai.PortAttribute.oper_port_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode - 132, // 349: lemming.dataplane.sai.PortAttribute.host_tx_ready_status:type_name -> lemming.dataplane.sai.PortHostTxReadyStatus - 143, // 350: lemming.dataplane.sai.PortAttribute.path_tracing_timestamp_type:type_name -> lemming.dataplane.sai.PortPathTracingTimestampType - 125, // 351: lemming.dataplane.sai.PortAttribute.datapath_enable:type_name -> lemming.dataplane.sai.PortDatapathEnable - 122, // 352: lemming.dataplane.sai.PortAttribute.cable_pair_state:type_name -> lemming.dataplane.sai.PortCablePairState - 123, // 353: lemming.dataplane.sai.PortAttribute.cable_type:type_name -> lemming.dataplane.sai.PortCableType - 128, // 354: lemming.dataplane.sai.PortAttribute.error_status:type_name -> lemming.dataplane.sai.PortErrorStatus - 167, // 355: lemming.dataplane.sai.PortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 124, // 356: lemming.dataplane.sai.PortConnectorAttribute.failover_mode:type_name -> lemming.dataplane.sai.PortConnectorFailoverMode - 152, // 357: lemming.dataplane.sai.QosMapAttribute.type:type_name -> lemming.dataplane.sai.QosMapType - 247, // 358: lemming.dataplane.sai.QosMapAttribute.map_to_value_list:type_name -> lemming.dataplane.sai.QOSMap - 156, // 359: lemming.dataplane.sai.QueueAttribute.type:type_name -> lemming.dataplane.sai.QueueType - 110, // 360: lemming.dataplane.sai.QueueAttribute.pfc_dlr_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 153, // 361: lemming.dataplane.sai.QueueAttribute.pfc_continuous_deadlock_state:type_name -> lemming.dataplane.sai.QueuePfcContinuousDeadlockState - 167, // 362: lemming.dataplane.sai.QueueAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 158, // 363: lemming.dataplane.sai.RouterInterfaceAttribute.type:type_name -> lemming.dataplane.sai.RouterInterfaceType - 110, // 364: lemming.dataplane.sai.RouterInterfaceAttribute.neighbor_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 365: lemming.dataplane.sai.RouterInterfaceAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 167, // 366: lemming.dataplane.sai.RouterInterfaceAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 110, // 367: lemming.dataplane.sai.RouteEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 73, // 368: lemming.dataplane.sai.RouteEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily - 160, // 369: lemming.dataplane.sai.SamplepacketAttribute.type:type_name -> lemming.dataplane.sai.SamplepacketType - 159, // 370: lemming.dataplane.sai.SamplepacketAttribute.mode:type_name -> lemming.dataplane.sai.SamplepacketMode - 161, // 371: lemming.dataplane.sai.SchedulerAttribute.scheduling_type:type_name -> lemming.dataplane.sai.SchedulingType - 90, // 372: lemming.dataplane.sai.SchedulerAttribute.meter_type:type_name -> lemming.dataplane.sai.MeterType - 166, // 373: lemming.dataplane.sai.Srv6SidlistAttribute.type:type_name -> lemming.dataplane.sai.Srv6SidlistType - 252, // 374: lemming.dataplane.sai.Srv6SidlistAttribute.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry - 167, // 375: lemming.dataplane.sai.Srv6SidlistAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 169, // 376: lemming.dataplane.sai.StpPortAttribute.state:type_name -> lemming.dataplane.sai.StpPortState - 179, // 377: lemming.dataplane.sai.SwitchAttribute.oper_status:type_name -> lemming.dataplane.sai.SwitchOperStatus - 253, // 378: lemming.dataplane.sai.SwitchAttribute.fdb_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 379: lemming.dataplane.sai.SwitchAttribute.route_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 380: lemming.dataplane.sai.SwitchAttribute.neighbor_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 381: lemming.dataplane.sai.SwitchAttribute.port_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 382: lemming.dataplane.sai.SwitchAttribute.vlan_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 383: lemming.dataplane.sai.SwitchAttribute.acl_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range - 253, // 384: lemming.dataplane.sai.SwitchAttribute.acl_user_trap_id_range:type_name -> lemming.dataplane.sai.Uint32Range - 225, // 385: lemming.dataplane.sai.SwitchAttribute.available_acl_table:type_name -> lemming.dataplane.sai.ACLResource - 225, // 386: lemming.dataplane.sai.SwitchAttribute.available_acl_table_group:type_name -> lemming.dataplane.sai.ACLResource - 180, // 387: lemming.dataplane.sai.SwitchAttribute.restart_type:type_name -> lemming.dataplane.sai.SwitchRestartType - 222, // 388: lemming.dataplane.sai.SwitchAttribute.acl_capability:type_name -> lemming.dataplane.sai.ACLCapability - 178, // 389: lemming.dataplane.sai.SwitchAttribute.mcast_snooping_capability:type_name -> lemming.dataplane.sai.SwitchMcastSnoopingCapability - 182, // 390: lemming.dataplane.sai.SwitchAttribute.switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode - 110, // 391: lemming.dataplane.sai.SwitchAttribute.fdb_unicast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 392: lemming.dataplane.sai.SwitchAttribute.fdb_broadcast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 393: lemming.dataplane.sai.SwitchAttribute.fdb_multicast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 57, // 394: lemming.dataplane.sai.SwitchAttribute.ecmp_default_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm - 57, // 395: lemming.dataplane.sai.SwitchAttribute.lag_default_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm - 222, // 396: lemming.dataplane.sai.SwitchAttribute.acl_stage_ingress:type_name -> lemming.dataplane.sai.ACLCapability - 222, // 397: lemming.dataplane.sai.SwitchAttribute.acl_stage_egress:type_name -> lemming.dataplane.sai.ACLCapability - 204, // 398: lemming.dataplane.sai.SwitchAttribute.srv6_tlv_type:type_name -> lemming.dataplane.sai.TlvType - 110, // 399: lemming.dataplane.sai.SwitchAttribute.pfc_dlr_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 253, // 400: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dld_interval_range:type_name -> lemming.dataplane.sai.Uint32Range - 236, // 401: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dld_interval:type_name -> lemming.dataplane.sai.UintMap - 253, // 402: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dlr_interval_range:type_name -> lemming.dataplane.sai.Uint32Range - 236, // 403: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dlr_interval:type_name -> lemming.dataplane.sai.UintMap - 105, // 404: lemming.dataplane.sai.SwitchAttribute.supported_protected_object_type:type_name -> lemming.dataplane.sai.ObjectType - 15, // 405: lemming.dataplane.sai.SwitchAttribute.supported_ipv4_bfd_session_offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType - 15, // 406: lemming.dataplane.sai.SwitchAttribute.supported_ipv6_bfd_session_offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType - 168, // 407: lemming.dataplane.sai.SwitchAttribute.supported_extended_stats_mode:type_name -> lemming.dataplane.sai.StatsMode - 105, // 408: lemming.dataplane.sai.SwitchAttribute.supported_object_type_list:type_name -> lemming.dataplane.sai.ObjectType - 176, // 409: lemming.dataplane.sai.SwitchAttribute.hardware_access_bus:type_name -> lemming.dataplane.sai.SwitchHardwareAccessBus - 174, // 410: lemming.dataplane.sai.SwitchAttribute.firmware_load_method:type_name -> lemming.dataplane.sai.SwitchFirmwareLoadMethod - 175, // 411: lemming.dataplane.sai.SwitchAttribute.firmware_load_type:type_name -> lemming.dataplane.sai.SwitchFirmwareLoadType - 183, // 412: lemming.dataplane.sai.SwitchAttribute.type:type_name -> lemming.dataplane.sai.SwitchType - 250, // 413: lemming.dataplane.sai.SwitchAttribute.system_port_config_list:type_name -> lemming.dataplane.sai.SystemPortConfig - 173, // 414: lemming.dataplane.sai.SwitchAttribute.failover_config_mode:type_name -> lemming.dataplane.sai.SwitchFailoverConfigMode - 222, // 415: lemming.dataplane.sai.SwitchAttribute.acl_stage_post_ingress:type_name -> lemming.dataplane.sai.ACLCapability - 177, // 416: lemming.dataplane.sai.SwitchAttribute.hostif_oper_status_update_mode:type_name -> lemming.dataplane.sai.SwitchHostifOperStatusUpdateMode - 170, // 417: lemming.dataplane.sai.SwitchAttribute.reg_fatal_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory - 170, // 418: lemming.dataplane.sai.SwitchAttribute.reg_warning_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory - 170, // 419: lemming.dataplane.sai.SwitchAttribute.reg_notice_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory - 222, // 420: lemming.dataplane.sai.SwitchAttribute.acl_stage_pre_ingress:type_name -> lemming.dataplane.sai.ACLCapability - 167, // 421: lemming.dataplane.sai.SwitchAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 48, // 422: lemming.dataplane.sai.SwitchAttribute.supported_debug_counter_type_list:type_name -> lemming.dataplane.sai.DebugCounterType - 68, // 423: lemming.dataplane.sai.SwitchAttribute.supported_ingress_drop_reason_list:type_name -> lemming.dataplane.sai.InDropReason - 213, // 424: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_type:type_name -> lemming.dataplane.sai.TunnelType - 110, // 425: lemming.dataplane.sai.SwitchTunnelAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 207, // 426: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_encap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelEncapEcnMode - 205, // 427: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_decap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelDecapEcnMode - 214, // 428: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_vxlan_udp_sport_mode:type_name -> lemming.dataplane.sai.TunnelVxlanUdpSportMode - 184, // 429: lemming.dataplane.sai.SystemPortAttribute.type:type_name -> lemming.dataplane.sai.SystemPortType - 250, // 430: lemming.dataplane.sai.SystemPortAttribute.config_info:type_name -> lemming.dataplane.sai.SystemPortConfig - 185, // 431: lemming.dataplane.sai.TableBitmapClassificationEntryAttribute.action:type_name -> lemming.dataplane.sai.TableBitmapClassificationEntryAction - 187, // 432: lemming.dataplane.sai.TableBitmapRouterEntryAttribute.action:type_name -> lemming.dataplane.sai.TableBitmapRouterEntryAction - 231, // 433: lemming.dataplane.sai.TableBitmapRouterEntryAttribute.dst_ip_key:type_name -> lemming.dataplane.sai.IpPrefix - 189, // 434: lemming.dataplane.sai.TableMetaTunnelEntryAttribute.action:type_name -> lemming.dataplane.sai.TableMetaTunnelEntryAction - 191, // 435: lemming.dataplane.sai.TamAttribute.tam_bind_point_type_list:type_name -> lemming.dataplane.sai.TamBindPointType - 193, // 436: lemming.dataplane.sai.TamEventAttribute.type:type_name -> lemming.dataplane.sai.TamEventType - 192, // 437: lemming.dataplane.sai.TamEventThresholdAttribute.unit:type_name -> lemming.dataplane.sai.TamEventThresholdUnit - 195, // 438: lemming.dataplane.sai.TamIntAttribute.type:type_name -> lemming.dataplane.sai.TamIntType - 194, // 439: lemming.dataplane.sai.TamIntAttribute.int_presence_type:type_name -> lemming.dataplane.sai.TamIntPresenceType - 200, // 440: lemming.dataplane.sai.TamMathFuncAttribute.tam_tel_math_func_type:type_name -> lemming.dataplane.sai.TamTelMathFuncType - 198, // 441: lemming.dataplane.sai.TamReportAttribute.type:type_name -> lemming.dataplane.sai.TamReportType - 197, // 442: lemming.dataplane.sai.TamReportAttribute.report_mode:type_name -> lemming.dataplane.sai.TamReportMode - 196, // 443: lemming.dataplane.sai.TamReportAttribute.report_interval_unit:type_name -> lemming.dataplane.sai.TamReportIntervalUnit - 199, // 444: lemming.dataplane.sai.TamTelemetryAttribute.tam_reporting_unit:type_name -> lemming.dataplane.sai.TamReportingUnit - 201, // 445: lemming.dataplane.sai.TamTelTypeAttribute.tam_telemetry_type:type_name -> lemming.dataplane.sai.TamTelemetryType - 203, // 446: lemming.dataplane.sai.TamTransportAttribute.transport_type:type_name -> lemming.dataplane.sai.TamTransportType - 202, // 447: lemming.dataplane.sai.TamTransportAttribute.transport_auth_type:type_name -> lemming.dataplane.sai.TamTransportAuthType - 213, // 448: lemming.dataplane.sai.TunnelAttribute.type:type_name -> lemming.dataplane.sai.TunnelType - 209, // 449: lemming.dataplane.sai.TunnelAttribute.peer_mode:type_name -> lemming.dataplane.sai.TunnelPeerMode - 212, // 450: lemming.dataplane.sai.TunnelAttribute.encap_ttl_mode:type_name -> lemming.dataplane.sai.TunnelTtlMode - 206, // 451: lemming.dataplane.sai.TunnelAttribute.encap_dscp_mode:type_name -> lemming.dataplane.sai.TunnelDscpMode - 207, // 452: lemming.dataplane.sai.TunnelAttribute.encap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelEncapEcnMode - 205, // 453: lemming.dataplane.sai.TunnelAttribute.decap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelDecapEcnMode - 212, // 454: lemming.dataplane.sai.TunnelAttribute.decap_ttl_mode:type_name -> lemming.dataplane.sai.TunnelTtlMode - 206, // 455: lemming.dataplane.sai.TunnelAttribute.decap_dscp_mode:type_name -> lemming.dataplane.sai.TunnelDscpMode - 110, // 456: lemming.dataplane.sai.TunnelAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 214, // 457: lemming.dataplane.sai.TunnelAttribute.vxlan_udp_sport_mode:type_name -> lemming.dataplane.sai.TunnelVxlanUdpSportMode - 167, // 458: lemming.dataplane.sai.TunnelAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 208, // 459: lemming.dataplane.sai.TunnelMapAttribute.type:type_name -> lemming.dataplane.sai.TunnelMapType - 208, // 460: lemming.dataplane.sai.TunnelMapEntryAttribute.tunnel_map_type:type_name -> lemming.dataplane.sai.TunnelMapType - 211, // 461: lemming.dataplane.sai.TunnelTermTableEntryAttribute.type:type_name -> lemming.dataplane.sai.TunnelTermTableEntryType - 213, // 462: lemming.dataplane.sai.TunnelTermTableEntryAttribute.tunnel_type:type_name -> lemming.dataplane.sai.TunnelType - 73, // 463: lemming.dataplane.sai.TunnelTermTableEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily - 215, // 464: lemming.dataplane.sai.UdfAttribute.base:type_name -> lemming.dataplane.sai.UdfBase - 216, // 465: lemming.dataplane.sai.UdfGroupAttribute.type:type_name -> lemming.dataplane.sai.UdfGroupType - 223, // 466: lemming.dataplane.sai.UdfMatchAttribute.l2_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 467: lemming.dataplane.sai.UdfMatchAttribute.l3_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 468: lemming.dataplane.sai.UdfMatchAttribute.gre_type:type_name -> lemming.dataplane.sai.AclFieldData - 223, // 469: lemming.dataplane.sai.UdfMatchAttribute.l4_dst_port_type:type_name -> lemming.dataplane.sai.AclFieldData - 110, // 470: lemming.dataplane.sai.VirtualRouterAttribute.violation_ttl1_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 471: lemming.dataplane.sai.VirtualRouterAttribute.violation_ip_options_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 110, // 472: lemming.dataplane.sai.VirtualRouterAttribute.unknown_l3_multicast_packet_action:type_name -> lemming.dataplane.sai.PacketAction - 218, // 473: lemming.dataplane.sai.VlanAttribute.ipv4_mcast_lookup_key_type:type_name -> lemming.dataplane.sai.VlanMcastLookupKeyType - 218, // 474: lemming.dataplane.sai.VlanAttribute.ipv6_mcast_lookup_key_type:type_name -> lemming.dataplane.sai.VlanMcastLookupKeyType - 217, // 475: lemming.dataplane.sai.VlanAttribute.unknown_unicast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType - 217, // 476: lemming.dataplane.sai.VlanAttribute.unknown_multicast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType - 217, // 477: lemming.dataplane.sai.VlanAttribute.broadcast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType - 167, // 478: lemming.dataplane.sai.VlanAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 220, // 479: lemming.dataplane.sai.VlanMemberAttribute.vlan_tagging_mode:type_name -> lemming.dataplane.sai.VlanTaggingMode - 50, // 480: lemming.dataplane.sai.WredAttribute.ecn_mark_mode:type_name -> lemming.dataplane.sai.EcnMarkMode - 223, // 481: lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry.value:type_name -> lemming.dataplane.sai.AclFieldData - 372, // 482: lemming.dataplane.sai.attr_enum_value:extendee -> google.protobuf.FieldOptions - 373, // 483: lemming.dataplane.sai.sai_type:extendee -> google.protobuf.MessageOptions - 105, // 484: lemming.dataplane.sai.sai_type:type_name -> lemming.dataplane.sai.ObjectType - 254, // 485: lemming.dataplane.sai.Entrypoint.ObjectTypeQuery:input_type -> lemming.dataplane.sai.ObjectTypeQueryRequest - 256, // 486: lemming.dataplane.sai.Entrypoint.Initialize:input_type -> lemming.dataplane.sai.InitializeRequest - 258, // 487: lemming.dataplane.sai.Entrypoint.Uninitialize:input_type -> lemming.dataplane.sai.UninitializeRequest - 255, // 488: lemming.dataplane.sai.Entrypoint.ObjectTypeQuery:output_type -> lemming.dataplane.sai.ObjectTypeQueryResponse - 257, // 489: lemming.dataplane.sai.Entrypoint.Initialize:output_type -> lemming.dataplane.sai.InitializeResponse - 259, // 490: lemming.dataplane.sai.Entrypoint.Uninitialize:output_type -> lemming.dataplane.sai.UninitializeResponse - 488, // [488:491] is the sub-list for method output_type - 485, // [485:488] is the sub-list for method input_type - 484, // [484:485] is the sub-list for extension type_name - 482, // [482:484] is the sub-list for extension extendee - 0, // [0:482] is the sub-list for field type_name + 16, // 197: lemming.dataplane.sai.BfdSessionAttribute.type:type_name -> lemming.dataplane.sai.BfdSessionType + 12, // 198: lemming.dataplane.sai.BfdSessionAttribute.bfd_encapsulation_type:type_name -> lemming.dataplane.sai.BfdEncapsulationType + 15, // 199: lemming.dataplane.sai.BfdSessionAttribute.state:type_name -> lemming.dataplane.sai.BfdSessionState + 13, // 200: lemming.dataplane.sai.BfdSessionAttribute.offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType + 150, // 201: lemming.dataplane.sai.BfdSessionAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 23, // 202: lemming.dataplane.sai.BridgeAttribute.type:type_name -> lemming.dataplane.sai.BridgeType + 17, // 203: lemming.dataplane.sai.BridgeAttribute.unknown_unicast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType + 17, // 204: lemming.dataplane.sai.BridgeAttribute.unknown_multicast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType + 17, // 205: lemming.dataplane.sai.BridgeAttribute.broadcast_flood_control_type:type_name -> lemming.dataplane.sai.BridgeFloodControlType + 150, // 206: lemming.dataplane.sai.BridgeAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 21, // 207: lemming.dataplane.sai.BridgePortAttribute.type:type_name -> lemming.dataplane.sai.BridgePortType + 20, // 208: lemming.dataplane.sai.BridgePortAttribute.tagging_mode:type_name -> lemming.dataplane.sai.BridgePortTaggingMode + 18, // 209: lemming.dataplane.sai.BridgePortAttribute.fdb_learning_mode:type_name -> lemming.dataplane.sai.BridgePortFdbLearningMode + 94, // 210: lemming.dataplane.sai.BridgePortAttribute.fdb_learning_limit_violation_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 150, // 211: lemming.dataplane.sai.BridgePortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 26, // 212: lemming.dataplane.sai.BufferPoolAttribute.type:type_name -> lemming.dataplane.sai.BufferPoolType + 25, // 213: lemming.dataplane.sai.BufferPoolAttribute.threshold_mode:type_name -> lemming.dataplane.sai.BufferPoolThresholdMode + 150, // 214: lemming.dataplane.sai.BufferPoolAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 27, // 215: lemming.dataplane.sai.BufferProfileAttribute.threshold_mode:type_name -> lemming.dataplane.sai.BufferProfileThresholdMode + 31, // 216: lemming.dataplane.sai.CounterAttribute.type:type_name -> lemming.dataplane.sai.CounterType + 89, // 217: lemming.dataplane.sai.CounterAttribute.object_type:type_name -> lemming.dataplane.sai.ObjectType + 34, // 218: lemming.dataplane.sai.DebugCounterAttribute.type:type_name -> lemming.dataplane.sai.DebugCounterType + 33, // 219: lemming.dataplane.sai.DebugCounterAttribute.bind_method:type_name -> lemming.dataplane.sai.DebugCounterBindMethod + 54, // 220: lemming.dataplane.sai.DebugCounterAttribute.in_drop_reason_list:type_name -> lemming.dataplane.sai.InDropReason + 90, // 221: lemming.dataplane.sai.DebugCounterAttribute.out_drop_reason_list:type_name -> lemming.dataplane.sai.OutDropReason + 205, // 222: lemming.dataplane.sai.DtelAttribute.int_l4_dscp:type_name -> lemming.dataplane.sai.AclFieldData + 35, // 223: lemming.dataplane.sai.DtelEventAttribute.type:type_name -> lemming.dataplane.sai.DtelEventType + 38, // 224: lemming.dataplane.sai.FdbEntryAttribute.type:type_name -> lemming.dataplane.sai.FdbEntryType + 94, // 225: lemming.dataplane.sai.FdbEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 40, // 226: lemming.dataplane.sai.FdbFlushAttribute.entry_type:type_name -> lemming.dataplane.sai.FdbFlushEntryType + 82, // 227: lemming.dataplane.sai.HashAttribute.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField + 49, // 228: lemming.dataplane.sai.HostifAttribute.type:type_name -> lemming.dataplane.sai.HostifType + 51, // 229: lemming.dataplane.sai.HostifAttribute.vlan_tag:type_name -> lemming.dataplane.sai.HostifVlanTag + 48, // 230: lemming.dataplane.sai.HostifPacketAttribute.hostif_tx_type:type_name -> lemming.dataplane.sai.HostifTxType + 346, // 231: lemming.dataplane.sai.HostifPacketAttribute.timestamp:type_name -> google.protobuf.Timestamp + 46, // 232: lemming.dataplane.sai.HostifTableEntryAttribute.type:type_name -> lemming.dataplane.sai.HostifTableEntryType + 45, // 233: lemming.dataplane.sai.HostifTableEntryAttribute.channel_type:type_name -> lemming.dataplane.sai.HostifTableEntryChannelType + 47, // 234: lemming.dataplane.sai.HostifTrapAttribute.trap_type:type_name -> lemming.dataplane.sai.HostifTrapType + 94, // 235: lemming.dataplane.sai.HostifTrapAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 88, // 236: lemming.dataplane.sai.HostifTrapGroupAttribute.object_stage:type_name -> lemming.dataplane.sai.ObjectStage + 50, // 237: lemming.dataplane.sai.HostifUserDefinedTrapAttribute.type:type_name -> lemming.dataplane.sai.HostifUserDefinedTrapType + 53, // 238: lemming.dataplane.sai.IcmpEchoSessionAttribute.state:type_name -> lemming.dataplane.sai.IcmpEchoSessionState + 150, // 239: lemming.dataplane.sai.IcmpEchoSessionAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 94, // 240: lemming.dataplane.sai.IpmcEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 61, // 241: lemming.dataplane.sai.IpsecAttribute.supported_cipher_list:type_name -> lemming.dataplane.sai.IpsecCipher + 151, // 242: lemming.dataplane.sai.IpsecAttribute.stats_mode:type_name -> lemming.dataplane.sai.StatsMode + 164, // 243: lemming.dataplane.sai.IpsecPortAttribute.switch_switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode + 150, // 244: lemming.dataplane.sai.IpsecPortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 62, // 245: lemming.dataplane.sai.IpsecSaAttribute.ipsec_direction:type_name -> lemming.dataplane.sai.IpsecDirection + 64, // 246: lemming.dataplane.sai.IpsecSaAttribute.octet_count_status:type_name -> lemming.dataplane.sai.IpsecSaOctetCountStatus + 61, // 247: lemming.dataplane.sai.IpsecSaAttribute.ipsec_cipher:type_name -> lemming.dataplane.sai.IpsecCipher + 150, // 248: lemming.dataplane.sai.IpsecSaAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 66, // 249: lemming.dataplane.sai.IsolationGroupAttribute.type:type_name -> lemming.dataplane.sai.IsolationGroupType + 94, // 250: lemming.dataplane.sai.L2mcEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 69, // 251: lemming.dataplane.sai.MacsecAttribute.direction:type_name -> lemming.dataplane.sai.MacsecDirection + 68, // 252: lemming.dataplane.sai.MacsecAttribute.supported_cipher_suite_list:type_name -> lemming.dataplane.sai.MacsecCipherSuite + 151, // 253: lemming.dataplane.sai.MacsecAttribute.stats_mode:type_name -> lemming.dataplane.sai.StatsMode + 71, // 254: lemming.dataplane.sai.MacsecAttribute.max_secure_associations_per_sc:type_name -> lemming.dataplane.sai.MacsecMaxSecureAssociationsPerSc + 69, // 255: lemming.dataplane.sai.MacsecFlowAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection + 150, // 256: lemming.dataplane.sai.MacsecFlowAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 69, // 257: lemming.dataplane.sai.MacsecPortAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection + 164, // 258: lemming.dataplane.sai.MacsecPortAttribute.switch_switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode + 150, // 259: lemming.dataplane.sai.MacsecPortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 69, // 260: lemming.dataplane.sai.MacsecSaAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection + 69, // 261: lemming.dataplane.sai.MacsecScAttribute.macsec_direction:type_name -> lemming.dataplane.sai.MacsecDirection + 68, // 262: lemming.dataplane.sai.MacsecScAttribute.macsec_cipher_suite:type_name -> lemming.dataplane.sai.MacsecCipherSuite + 94, // 263: lemming.dataplane.sai.McastFdbEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 77, // 264: lemming.dataplane.sai.MirrorSessionAttribute.type:type_name -> lemming.dataplane.sai.MirrorSessionType + 76, // 265: lemming.dataplane.sai.MirrorSessionAttribute.congestion_mode:type_name -> lemming.dataplane.sai.MirrorSessionCongestionMode + 37, // 266: lemming.dataplane.sai.MirrorSessionAttribute.erspan_encapsulation_type:type_name -> lemming.dataplane.sai.ErspanEncapsulationType + 81, // 267: lemming.dataplane.sai.NatEntryAttribute.nat_type:type_name -> lemming.dataplane.sai.NatType + 81, // 268: lemming.dataplane.sai.NatZoneCounterAttribute.nat_type:type_name -> lemming.dataplane.sai.NatType + 94, // 269: lemming.dataplane.sai.NeighborEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 59, // 270: lemming.dataplane.sai.NeighborEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily + 87, // 271: lemming.dataplane.sai.NextHopAttribute.type:type_name -> lemming.dataplane.sai.NextHopType + 93, // 272: lemming.dataplane.sai.NextHopAttribute.outseg_type:type_name -> lemming.dataplane.sai.OutsegType + 92, // 273: lemming.dataplane.sai.NextHopAttribute.outseg_ttl_mode:type_name -> lemming.dataplane.sai.OutsegTtlMode + 91, // 274: lemming.dataplane.sai.NextHopAttribute.outseg_exp_mode:type_name -> lemming.dataplane.sai.OutsegExpMode + 86, // 275: lemming.dataplane.sai.NextHopGroupAttribute.type:type_name -> lemming.dataplane.sai.NextHopGroupType + 83, // 276: lemming.dataplane.sai.NextHopGroupMapAttribute.type:type_name -> lemming.dataplane.sai.NextHopGroupMapType + 218, // 277: lemming.dataplane.sai.NextHopGroupMapAttribute.map_to_value_list:type_name -> lemming.dataplane.sai.UintMap + 84, // 278: lemming.dataplane.sai.NextHopGroupMemberAttribute.configured_role:type_name -> lemming.dataplane.sai.NextHopGroupMemberConfiguredRole + 85, // 279: lemming.dataplane.sai.NextHopGroupMemberAttribute.observed_role:type_name -> lemming.dataplane.sai.NextHopGroupMemberObservedRole + 75, // 280: lemming.dataplane.sai.PolicerAttribute.meter_type:type_name -> lemming.dataplane.sai.MeterType + 101, // 281: lemming.dataplane.sai.PolicerAttribute.mode:type_name -> lemming.dataplane.sai.PolicerMode + 100, // 282: lemming.dataplane.sai.PolicerAttribute.color_source:type_name -> lemming.dataplane.sai.PolicerColorSource + 94, // 283: lemming.dataplane.sai.PolicerAttribute.green_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 284: lemming.dataplane.sai.PolicerAttribute.yellow_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 285: lemming.dataplane.sai.PolicerAttribute.red_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 286: lemming.dataplane.sai.PolicerAttribute.enable_counter_packet_action_list:type_name -> lemming.dataplane.sai.PacketAction + 88, // 287: lemming.dataplane.sai.PolicerAttribute.object_stage:type_name -> lemming.dataplane.sai.ObjectStage + 150, // 288: lemming.dataplane.sai.PolicerAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 134, // 289: lemming.dataplane.sai.PortAttribute.type:type_name -> lemming.dataplane.sai.PortType + 125, // 290: lemming.dataplane.sai.PortAttribute.oper_status:type_name -> lemming.dataplane.sai.PortOperStatus + 104, // 291: lemming.dataplane.sai.PortAttribute.supported_breakout_mode_type:type_name -> lemming.dataplane.sai.PortBreakoutModeType + 104, // 292: lemming.dataplane.sai.PortAttribute.current_breakout_mode_type:type_name -> lemming.dataplane.sai.PortBreakoutModeType + 113, // 293: lemming.dataplane.sai.PortAttribute.supported_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode + 112, // 294: lemming.dataplane.sai.PortAttribute.supported_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended + 114, // 295: lemming.dataplane.sai.PortAttribute.supported_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode + 123, // 296: lemming.dataplane.sai.PortAttribute.supported_media_type:type_name -> lemming.dataplane.sai.PortMediaType + 113, // 297: lemming.dataplane.sai.PortAttribute.remote_advertised_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode + 112, // 298: lemming.dataplane.sai.PortAttribute.remote_advertised_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended + 114, // 299: lemming.dataplane.sai.PortAttribute.remote_advertised_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode + 123, // 300: lemming.dataplane.sai.PortAttribute.remote_advertised_media_type:type_name -> lemming.dataplane.sai.PortMediaType + 224, // 301: lemming.dataplane.sai.PortAttribute.eye_values:type_name -> lemming.dataplane.sai.PortEyeValues + 123, // 302: lemming.dataplane.sai.PortAttribute.media_type:type_name -> lemming.dataplane.sai.PortMediaType + 113, // 303: lemming.dataplane.sai.PortAttribute.advertised_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode + 112, // 304: lemming.dataplane.sai.PortAttribute.advertised_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended + 114, // 305: lemming.dataplane.sai.PortAttribute.advertised_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode + 123, // 306: lemming.dataplane.sai.PortAttribute.advertised_media_type:type_name -> lemming.dataplane.sai.PortMediaType + 117, // 307: lemming.dataplane.sai.PortAttribute.internal_loopback_mode:type_name -> lemming.dataplane.sai.PortInternalLoopbackMode + 113, // 308: lemming.dataplane.sai.PortAttribute.fec_mode:type_name -> lemming.dataplane.sai.PortFecMode + 112, // 309: lemming.dataplane.sai.PortAttribute.fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended + 114, // 310: lemming.dataplane.sai.PortAttribute.global_flow_control_mode:type_name -> lemming.dataplane.sai.PortFlowControlMode + 130, // 311: lemming.dataplane.sai.PortAttribute.priority_flow_control_mode:type_name -> lemming.dataplane.sai.PortPriorityFlowControlMode + 131, // 312: lemming.dataplane.sai.PortAttribute.ptp_mode:type_name -> lemming.dataplane.sai.PortPtpMode + 116, // 313: lemming.dataplane.sai.PortAttribute.interface_type:type_name -> lemming.dataplane.sai.PortInterfaceType + 116, // 314: lemming.dataplane.sai.PortAttribute.advertised_interface_type:type_name -> lemming.dataplane.sai.PortInterfaceType + 118, // 315: lemming.dataplane.sai.PortAttribute.link_training_failure_status:type_name -> lemming.dataplane.sai.PortLinkTrainingFailureStatus + 119, // 316: lemming.dataplane.sai.PortAttribute.link_training_rx_status:type_name -> lemming.dataplane.sai.PortLinkTrainingRxStatus + 128, // 317: lemming.dataplane.sai.PortAttribute.prbs_config:type_name -> lemming.dataplane.sai.PortPrbsConfig + 129, // 318: lemming.dataplane.sai.PortAttribute.prbs_rx_status:type_name -> lemming.dataplane.sai.PortPrbsRxStatus + 227, // 319: lemming.dataplane.sai.PortAttribute.prbs_rx_state:type_name -> lemming.dataplane.sai.PRBS_RXState + 110, // 320: lemming.dataplane.sai.PortAttribute.err_status_list:type_name -> lemming.dataplane.sai.PortErrStatus + 165, // 321: lemming.dataplane.sai.PortAttribute.fabric_attached_switch_type:type_name -> lemming.dataplane.sai.SwitchType + 209, // 322: lemming.dataplane.sai.PortAttribute.fabric_reachability:type_name -> lemming.dataplane.sai.FabricPortReachability + 120, // 323: lemming.dataplane.sai.PortAttribute.loopback_mode:type_name -> lemming.dataplane.sai.PortLoopbackMode + 122, // 324: lemming.dataplane.sai.PortAttribute.mdix_mode_status:type_name -> lemming.dataplane.sai.PortMdixModeStatus + 121, // 325: lemming.dataplane.sai.PortAttribute.mdix_mode_config:type_name -> lemming.dataplane.sai.PortMdixModeConfig + 103, // 326: lemming.dataplane.sai.PortAttribute.auto_neg_config_mode:type_name -> lemming.dataplane.sai.PortAutoNegConfigMode + 124, // 327: lemming.dataplane.sai.PortAttribute.module_type:type_name -> lemming.dataplane.sai.PortModuleType + 109, // 328: lemming.dataplane.sai.PortAttribute.dual_media:type_name -> lemming.dataplane.sai.PortDualMedia + 112, // 329: lemming.dataplane.sai.PortAttribute.auto_neg_fec_mode_extended:type_name -> lemming.dataplane.sai.PortFecModeExtended + 235, // 330: lemming.dataplane.sai.PortAttribute.pfc_tc_dld_interval_range:type_name -> lemming.dataplane.sai.Uint32Range + 218, // 331: lemming.dataplane.sai.PortAttribute.pfc_tc_dld_interval:type_name -> lemming.dataplane.sai.UintMap + 235, // 332: lemming.dataplane.sai.PortAttribute.pfc_tc_dlr_interval_range:type_name -> lemming.dataplane.sai.Uint32Range + 218, // 333: lemming.dataplane.sai.PortAttribute.pfc_tc_dlr_interval:type_name -> lemming.dataplane.sai.UintMap + 225, // 334: lemming.dataplane.sai.PortAttribute.rx_signal_detect:type_name -> lemming.dataplane.sai.PortLaneLatchStatus + 225, // 335: lemming.dataplane.sai.PortAttribute.rx_lock_status:type_name -> lemming.dataplane.sai.PortLaneLatchStatus + 217, // 336: lemming.dataplane.sai.PortAttribute.pcs_rx_link_status:type_name -> lemming.dataplane.sai.LatchStatus + 225, // 337: lemming.dataplane.sai.PortAttribute.fec_alignment_lock:type_name -> lemming.dataplane.sai.PortLaneLatchStatus + 43, // 338: lemming.dataplane.sai.PortAttribute.ecmp_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm + 113, // 339: lemming.dataplane.sai.PortAttribute.oper_port_fec_mode:type_name -> lemming.dataplane.sai.PortFecMode + 115, // 340: lemming.dataplane.sai.PortAttribute.host_tx_ready_status:type_name -> lemming.dataplane.sai.PortHostTxReadyStatus + 126, // 341: lemming.dataplane.sai.PortAttribute.path_tracing_timestamp_type:type_name -> lemming.dataplane.sai.PortPathTracingTimestampType + 108, // 342: lemming.dataplane.sai.PortAttribute.datapath_enable:type_name -> lemming.dataplane.sai.PortDatapathEnable + 105, // 343: lemming.dataplane.sai.PortAttribute.cable_pair_state:type_name -> lemming.dataplane.sai.PortCablePairState + 106, // 344: lemming.dataplane.sai.PortAttribute.cable_type:type_name -> lemming.dataplane.sai.PortCableType + 111, // 345: lemming.dataplane.sai.PortAttribute.error_status:type_name -> lemming.dataplane.sai.PortErrorStatus + 150, // 346: lemming.dataplane.sai.PortAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 107, // 347: lemming.dataplane.sai.PortConnectorAttribute.failover_mode:type_name -> lemming.dataplane.sai.PortConnectorFailoverMode + 135, // 348: lemming.dataplane.sai.QosMapAttribute.type:type_name -> lemming.dataplane.sai.QosMapType + 229, // 349: lemming.dataplane.sai.QosMapAttribute.map_to_value_list:type_name -> lemming.dataplane.sai.QOSMap + 139, // 350: lemming.dataplane.sai.QueueAttribute.type:type_name -> lemming.dataplane.sai.QueueType + 94, // 351: lemming.dataplane.sai.QueueAttribute.pfc_dlr_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 136, // 352: lemming.dataplane.sai.QueueAttribute.pfc_continuous_deadlock_state:type_name -> lemming.dataplane.sai.QueuePfcContinuousDeadlockState + 150, // 353: lemming.dataplane.sai.QueueAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 141, // 354: lemming.dataplane.sai.RouterInterfaceAttribute.type:type_name -> lemming.dataplane.sai.RouterInterfaceType + 94, // 355: lemming.dataplane.sai.RouterInterfaceAttribute.neighbor_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 356: lemming.dataplane.sai.RouterInterfaceAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 150, // 357: lemming.dataplane.sai.RouterInterfaceAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 94, // 358: lemming.dataplane.sai.RouteEntryAttribute.packet_action:type_name -> lemming.dataplane.sai.PacketAction + 59, // 359: lemming.dataplane.sai.RouteEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily + 143, // 360: lemming.dataplane.sai.SamplepacketAttribute.type:type_name -> lemming.dataplane.sai.SamplepacketType + 142, // 361: lemming.dataplane.sai.SamplepacketAttribute.mode:type_name -> lemming.dataplane.sai.SamplepacketMode + 144, // 362: lemming.dataplane.sai.SchedulerAttribute.scheduling_type:type_name -> lemming.dataplane.sai.SchedulingType + 75, // 363: lemming.dataplane.sai.SchedulerAttribute.meter_type:type_name -> lemming.dataplane.sai.MeterType + 149, // 364: lemming.dataplane.sai.Srv6SidlistAttribute.type:type_name -> lemming.dataplane.sai.Srv6SidlistType + 234, // 365: lemming.dataplane.sai.Srv6SidlistAttribute.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry + 150, // 366: lemming.dataplane.sai.Srv6SidlistAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 152, // 367: lemming.dataplane.sai.StpPortAttribute.state:type_name -> lemming.dataplane.sai.StpPortState + 161, // 368: lemming.dataplane.sai.SwitchAttribute.oper_status:type_name -> lemming.dataplane.sai.SwitchOperStatus + 235, // 369: lemming.dataplane.sai.SwitchAttribute.fdb_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 370: lemming.dataplane.sai.SwitchAttribute.route_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 371: lemming.dataplane.sai.SwitchAttribute.neighbor_dst_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 372: lemming.dataplane.sai.SwitchAttribute.port_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 373: lemming.dataplane.sai.SwitchAttribute.vlan_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 374: lemming.dataplane.sai.SwitchAttribute.acl_user_meta_data_range:type_name -> lemming.dataplane.sai.Uint32Range + 235, // 375: lemming.dataplane.sai.SwitchAttribute.acl_user_trap_id_range:type_name -> lemming.dataplane.sai.Uint32Range + 207, // 376: lemming.dataplane.sai.SwitchAttribute.available_acl_table:type_name -> lemming.dataplane.sai.ACLResource + 207, // 377: lemming.dataplane.sai.SwitchAttribute.available_acl_table_group:type_name -> lemming.dataplane.sai.ACLResource + 162, // 378: lemming.dataplane.sai.SwitchAttribute.restart_type:type_name -> lemming.dataplane.sai.SwitchRestartType + 204, // 379: lemming.dataplane.sai.SwitchAttribute.acl_capability:type_name -> lemming.dataplane.sai.ACLCapability + 160, // 380: lemming.dataplane.sai.SwitchAttribute.mcast_snooping_capability:type_name -> lemming.dataplane.sai.SwitchMcastSnoopingCapability + 164, // 381: lemming.dataplane.sai.SwitchAttribute.switching_mode:type_name -> lemming.dataplane.sai.SwitchSwitchingMode + 94, // 382: lemming.dataplane.sai.SwitchAttribute.fdb_unicast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 383: lemming.dataplane.sai.SwitchAttribute.fdb_broadcast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 384: lemming.dataplane.sai.SwitchAttribute.fdb_multicast_miss_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 43, // 385: lemming.dataplane.sai.SwitchAttribute.ecmp_default_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm + 43, // 386: lemming.dataplane.sai.SwitchAttribute.lag_default_hash_algorithm:type_name -> lemming.dataplane.sai.HashAlgorithm + 204, // 387: lemming.dataplane.sai.SwitchAttribute.acl_stage_ingress:type_name -> lemming.dataplane.sai.ACLCapability + 204, // 388: lemming.dataplane.sai.SwitchAttribute.acl_stage_egress:type_name -> lemming.dataplane.sai.ACLCapability + 186, // 389: lemming.dataplane.sai.SwitchAttribute.srv6_tlv_type:type_name -> lemming.dataplane.sai.TlvType + 94, // 390: lemming.dataplane.sai.SwitchAttribute.pfc_dlr_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 235, // 391: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dld_interval_range:type_name -> lemming.dataplane.sai.Uint32Range + 218, // 392: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dld_interval:type_name -> lemming.dataplane.sai.UintMap + 235, // 393: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dlr_interval_range:type_name -> lemming.dataplane.sai.Uint32Range + 218, // 394: lemming.dataplane.sai.SwitchAttribute.pfc_tc_dlr_interval:type_name -> lemming.dataplane.sai.UintMap + 89, // 395: lemming.dataplane.sai.SwitchAttribute.supported_protected_object_type:type_name -> lemming.dataplane.sai.ObjectType + 13, // 396: lemming.dataplane.sai.SwitchAttribute.supported_ipv4_bfd_session_offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType + 13, // 397: lemming.dataplane.sai.SwitchAttribute.supported_ipv6_bfd_session_offload_type:type_name -> lemming.dataplane.sai.BfdSessionOffloadType + 151, // 398: lemming.dataplane.sai.SwitchAttribute.supported_extended_stats_mode:type_name -> lemming.dataplane.sai.StatsMode + 89, // 399: lemming.dataplane.sai.SwitchAttribute.supported_object_type_list:type_name -> lemming.dataplane.sai.ObjectType + 158, // 400: lemming.dataplane.sai.SwitchAttribute.hardware_access_bus:type_name -> lemming.dataplane.sai.SwitchHardwareAccessBus + 156, // 401: lemming.dataplane.sai.SwitchAttribute.firmware_load_method:type_name -> lemming.dataplane.sai.SwitchFirmwareLoadMethod + 157, // 402: lemming.dataplane.sai.SwitchAttribute.firmware_load_type:type_name -> lemming.dataplane.sai.SwitchFirmwareLoadType + 165, // 403: lemming.dataplane.sai.SwitchAttribute.type:type_name -> lemming.dataplane.sai.SwitchType + 232, // 404: lemming.dataplane.sai.SwitchAttribute.system_port_config_list:type_name -> lemming.dataplane.sai.SystemPortConfig + 155, // 405: lemming.dataplane.sai.SwitchAttribute.failover_config_mode:type_name -> lemming.dataplane.sai.SwitchFailoverConfigMode + 204, // 406: lemming.dataplane.sai.SwitchAttribute.acl_stage_post_ingress:type_name -> lemming.dataplane.sai.ACLCapability + 159, // 407: lemming.dataplane.sai.SwitchAttribute.hostif_oper_status_update_mode:type_name -> lemming.dataplane.sai.SwitchHostifOperStatusUpdateMode + 153, // 408: lemming.dataplane.sai.SwitchAttribute.reg_fatal_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory + 153, // 409: lemming.dataplane.sai.SwitchAttribute.reg_warning_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory + 153, // 410: lemming.dataplane.sai.SwitchAttribute.reg_notice_switch_asic_sdk_health_category:type_name -> lemming.dataplane.sai.SwitchAsicSdkHealthCategory + 204, // 411: lemming.dataplane.sai.SwitchAttribute.acl_stage_pre_ingress:type_name -> lemming.dataplane.sai.ACLCapability + 150, // 412: lemming.dataplane.sai.SwitchAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 32, // 413: lemming.dataplane.sai.SwitchAttribute.dash_caps_ha_scope_level:type_name -> lemming.dataplane.sai.DashCapsHaScopeLevel + 34, // 414: lemming.dataplane.sai.SwitchAttribute.supported_debug_counter_type_list:type_name -> lemming.dataplane.sai.DebugCounterType + 54, // 415: lemming.dataplane.sai.SwitchAttribute.supported_ingress_drop_reason_list:type_name -> lemming.dataplane.sai.InDropReason + 195, // 416: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_type:type_name -> lemming.dataplane.sai.TunnelType + 94, // 417: lemming.dataplane.sai.SwitchTunnelAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 189, // 418: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_encap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelEncapEcnMode + 187, // 419: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_decap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelDecapEcnMode + 196, // 420: lemming.dataplane.sai.SwitchTunnelAttribute.tunnel_vxlan_udp_sport_mode:type_name -> lemming.dataplane.sai.TunnelVxlanUdpSportMode + 166, // 421: lemming.dataplane.sai.SystemPortAttribute.type:type_name -> lemming.dataplane.sai.SystemPortType + 232, // 422: lemming.dataplane.sai.SystemPortAttribute.config_info:type_name -> lemming.dataplane.sai.SystemPortConfig + 173, // 423: lemming.dataplane.sai.TamAttribute.tam_bind_point_type_list:type_name -> lemming.dataplane.sai.TamBindPointType + 175, // 424: lemming.dataplane.sai.TamEventAttribute.type:type_name -> lemming.dataplane.sai.TamEventType + 174, // 425: lemming.dataplane.sai.TamEventThresholdAttribute.unit:type_name -> lemming.dataplane.sai.TamEventThresholdUnit + 177, // 426: lemming.dataplane.sai.TamIntAttribute.type:type_name -> lemming.dataplane.sai.TamIntType + 176, // 427: lemming.dataplane.sai.TamIntAttribute.int_presence_type:type_name -> lemming.dataplane.sai.TamIntPresenceType + 182, // 428: lemming.dataplane.sai.TamMathFuncAttribute.tam_tel_math_func_type:type_name -> lemming.dataplane.sai.TamTelMathFuncType + 180, // 429: lemming.dataplane.sai.TamReportAttribute.type:type_name -> lemming.dataplane.sai.TamReportType + 179, // 430: lemming.dataplane.sai.TamReportAttribute.report_mode:type_name -> lemming.dataplane.sai.TamReportMode + 178, // 431: lemming.dataplane.sai.TamReportAttribute.report_interval_unit:type_name -> lemming.dataplane.sai.TamReportIntervalUnit + 181, // 432: lemming.dataplane.sai.TamTelemetryAttribute.tam_reporting_unit:type_name -> lemming.dataplane.sai.TamReportingUnit + 183, // 433: lemming.dataplane.sai.TamTelTypeAttribute.tam_telemetry_type:type_name -> lemming.dataplane.sai.TamTelemetryType + 185, // 434: lemming.dataplane.sai.TamTransportAttribute.transport_type:type_name -> lemming.dataplane.sai.TamTransportType + 184, // 435: lemming.dataplane.sai.TamTransportAttribute.transport_auth_type:type_name -> lemming.dataplane.sai.TamTransportAuthType + 195, // 436: lemming.dataplane.sai.TunnelAttribute.type:type_name -> lemming.dataplane.sai.TunnelType + 191, // 437: lemming.dataplane.sai.TunnelAttribute.peer_mode:type_name -> lemming.dataplane.sai.TunnelPeerMode + 194, // 438: lemming.dataplane.sai.TunnelAttribute.encap_ttl_mode:type_name -> lemming.dataplane.sai.TunnelTtlMode + 188, // 439: lemming.dataplane.sai.TunnelAttribute.encap_dscp_mode:type_name -> lemming.dataplane.sai.TunnelDscpMode + 189, // 440: lemming.dataplane.sai.TunnelAttribute.encap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelEncapEcnMode + 187, // 441: lemming.dataplane.sai.TunnelAttribute.decap_ecn_mode:type_name -> lemming.dataplane.sai.TunnelDecapEcnMode + 194, // 442: lemming.dataplane.sai.TunnelAttribute.decap_ttl_mode:type_name -> lemming.dataplane.sai.TunnelTtlMode + 188, // 443: lemming.dataplane.sai.TunnelAttribute.decap_dscp_mode:type_name -> lemming.dataplane.sai.TunnelDscpMode + 94, // 444: lemming.dataplane.sai.TunnelAttribute.loopback_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 196, // 445: lemming.dataplane.sai.TunnelAttribute.vxlan_udp_sport_mode:type_name -> lemming.dataplane.sai.TunnelVxlanUdpSportMode + 150, // 446: lemming.dataplane.sai.TunnelAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 190, // 447: lemming.dataplane.sai.TunnelMapAttribute.type:type_name -> lemming.dataplane.sai.TunnelMapType + 190, // 448: lemming.dataplane.sai.TunnelMapEntryAttribute.tunnel_map_type:type_name -> lemming.dataplane.sai.TunnelMapType + 193, // 449: lemming.dataplane.sai.TunnelTermTableEntryAttribute.type:type_name -> lemming.dataplane.sai.TunnelTermTableEntryType + 195, // 450: lemming.dataplane.sai.TunnelTermTableEntryAttribute.tunnel_type:type_name -> lemming.dataplane.sai.TunnelType + 59, // 451: lemming.dataplane.sai.TunnelTermTableEntryAttribute.ip_addr_family:type_name -> lemming.dataplane.sai.IpAddrFamily + 197, // 452: lemming.dataplane.sai.UdfAttribute.base:type_name -> lemming.dataplane.sai.UdfBase + 198, // 453: lemming.dataplane.sai.UdfGroupAttribute.type:type_name -> lemming.dataplane.sai.UdfGroupType + 205, // 454: lemming.dataplane.sai.UdfMatchAttribute.l2_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 455: lemming.dataplane.sai.UdfMatchAttribute.l3_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 456: lemming.dataplane.sai.UdfMatchAttribute.gre_type:type_name -> lemming.dataplane.sai.AclFieldData + 205, // 457: lemming.dataplane.sai.UdfMatchAttribute.l4_dst_port_type:type_name -> lemming.dataplane.sai.AclFieldData + 94, // 458: lemming.dataplane.sai.VirtualRouterAttribute.violation_ttl1_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 459: lemming.dataplane.sai.VirtualRouterAttribute.violation_ip_options_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 94, // 460: lemming.dataplane.sai.VirtualRouterAttribute.unknown_l3_multicast_packet_action:type_name -> lemming.dataplane.sai.PacketAction + 200, // 461: lemming.dataplane.sai.VlanAttribute.ipv4_mcast_lookup_key_type:type_name -> lemming.dataplane.sai.VlanMcastLookupKeyType + 200, // 462: lemming.dataplane.sai.VlanAttribute.ipv6_mcast_lookup_key_type:type_name -> lemming.dataplane.sai.VlanMcastLookupKeyType + 199, // 463: lemming.dataplane.sai.VlanAttribute.unknown_unicast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType + 199, // 464: lemming.dataplane.sai.VlanAttribute.unknown_multicast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType + 199, // 465: lemming.dataplane.sai.VlanAttribute.broadcast_flood_control_type:type_name -> lemming.dataplane.sai.VlanFloodControlType + 150, // 466: lemming.dataplane.sai.VlanAttribute.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 202, // 467: lemming.dataplane.sai.VlanMemberAttribute.vlan_tagging_mode:type_name -> lemming.dataplane.sai.VlanTaggingMode + 36, // 468: lemming.dataplane.sai.WredAttribute.ecn_mark_mode:type_name -> lemming.dataplane.sai.EcnMarkMode + 205, // 469: lemming.dataplane.sai.AclEntryAttribute.UserDefinedFieldGroupMinEntry.value:type_name -> lemming.dataplane.sai.AclFieldData + 347, // 470: lemming.dataplane.sai.attr_enum_value:extendee -> google.protobuf.FieldOptions + 348, // 471: lemming.dataplane.sai.sai_type:extendee -> google.protobuf.MessageOptions + 89, // 472: lemming.dataplane.sai.sai_type:type_name -> lemming.dataplane.sai.ObjectType + 236, // 473: lemming.dataplane.sai.Entrypoint.ObjectTypeQuery:input_type -> lemming.dataplane.sai.ObjectTypeQueryRequest + 238, // 474: lemming.dataplane.sai.Entrypoint.Initialize:input_type -> lemming.dataplane.sai.InitializeRequest + 240, // 475: lemming.dataplane.sai.Entrypoint.Uninitialize:input_type -> lemming.dataplane.sai.UninitializeRequest + 237, // 476: lemming.dataplane.sai.Entrypoint.ObjectTypeQuery:output_type -> lemming.dataplane.sai.ObjectTypeQueryResponse + 239, // 477: lemming.dataplane.sai.Entrypoint.Initialize:output_type -> lemming.dataplane.sai.InitializeResponse + 241, // 478: lemming.dataplane.sai.Entrypoint.Uninitialize:output_type -> lemming.dataplane.sai.UninitializeResponse + 476, // [476:479] is the sub-list for method output_type + 473, // [473:476] is the sub-list for method input_type + 472, // [472:473] is the sub-list for extension type_name + 470, // [470:472] is the sub-list for extension extendee + 0, // [0:470] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_common_proto_init() } @@ -40899,7 +38623,7 @@ func file_dataplane_proto_sai_common_proto_init() { file_dataplane_proto_sai_common_proto_msgTypes[58].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[59].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[60].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[61].OneofWrappers = []any{} + file_dataplane_proto_sai_common_proto_msgTypes[62].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[63].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[64].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[65].OneofWrappers = []any{} @@ -40954,13 +38678,13 @@ func file_dataplane_proto_sai_common_proto_init() { file_dataplane_proto_sai_common_proto_msgTypes[114].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[115].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[116].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[117].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[118].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[119].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[120].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[121].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[122].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[123].OneofWrappers = []any{} + file_dataplane_proto_sai_common_proto_msgTypes[124].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[125].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[126].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[127].OneofWrappers = []any{} @@ -40976,20 +38700,13 @@ func file_dataplane_proto_sai_common_proto_init() { file_dataplane_proto_sai_common_proto_msgTypes[137].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[138].OneofWrappers = []any{} file_dataplane_proto_sai_common_proto_msgTypes[139].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[140].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[141].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[142].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[143].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[144].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[145].OneofWrappers = []any{} - file_dataplane_proto_sai_common_proto_msgTypes[146].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_common_proto_rawDesc), len(file_dataplane_proto_sai_common_proto_rawDesc)), - NumEnums: 221, - NumMessages: 150, + NumEnums: 203, + NumMessages: 143, NumExtensions: 2, NumServices: 1, }, diff --git a/dataplane/proto/sai/hash.pb.go b/dataplane/proto/sai/hash.pb.go index 8ec246df..69f46e82 100644 --- a/dataplane/proto/sai/hash.pb.go +++ b/dataplane/proto/sai/hash.pb.go @@ -73,61 +73,6 @@ func (HashAttr) EnumDescriptor() ([]byte, []int) { return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{0} } -type FineGrainedHashFieldAttr int32 - -const ( - FineGrainedHashFieldAttr_FINE_GRAINED_HASH_FIELD_ATTR_UNSPECIFIED FineGrainedHashFieldAttr = 0 - FineGrainedHashFieldAttr_FINE_GRAINED_HASH_FIELD_ATTR_NATIVE_HASH_FIELD FineGrainedHashFieldAttr = 1 - FineGrainedHashFieldAttr_FINE_GRAINED_HASH_FIELD_ATTR_IPV4_MASK FineGrainedHashFieldAttr = 2 - FineGrainedHashFieldAttr_FINE_GRAINED_HASH_FIELD_ATTR_IPV6_MASK FineGrainedHashFieldAttr = 3 - FineGrainedHashFieldAttr_FINE_GRAINED_HASH_FIELD_ATTR_SEQUENCE_ID FineGrainedHashFieldAttr = 4 -) - -// Enum value maps for FineGrainedHashFieldAttr. -var ( - FineGrainedHashFieldAttr_name = map[int32]string{ - 0: "FINE_GRAINED_HASH_FIELD_ATTR_UNSPECIFIED", - 1: "FINE_GRAINED_HASH_FIELD_ATTR_NATIVE_HASH_FIELD", - 2: "FINE_GRAINED_HASH_FIELD_ATTR_IPV4_MASK", - 3: "FINE_GRAINED_HASH_FIELD_ATTR_IPV6_MASK", - 4: "FINE_GRAINED_HASH_FIELD_ATTR_SEQUENCE_ID", - } - FineGrainedHashFieldAttr_value = map[string]int32{ - "FINE_GRAINED_HASH_FIELD_ATTR_UNSPECIFIED": 0, - "FINE_GRAINED_HASH_FIELD_ATTR_NATIVE_HASH_FIELD": 1, - "FINE_GRAINED_HASH_FIELD_ATTR_IPV4_MASK": 2, - "FINE_GRAINED_HASH_FIELD_ATTR_IPV6_MASK": 3, - "FINE_GRAINED_HASH_FIELD_ATTR_SEQUENCE_ID": 4, - } -) - -func (x FineGrainedHashFieldAttr) Enum() *FineGrainedHashFieldAttr { - p := new(FineGrainedHashFieldAttr) - *p = x - return p -} - -func (x FineGrainedHashFieldAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FineGrainedHashFieldAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_hash_proto_enumTypes[1].Descriptor() -} - -func (FineGrainedHashFieldAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_hash_proto_enumTypes[1] -} - -func (x FineGrainedHashFieldAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FineGrainedHashFieldAttr.Descriptor instead. -func (FineGrainedHashFieldAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{1} -} - type CreateHashRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` @@ -520,302 +465,6 @@ func (x *GetHashAttributeResponse) GetAttr() *HashAttribute { return nil } -type CreateFineGrainedHashFieldRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` - NativeHashField *NativeHashField `protobuf:"varint,2,opt,name=native_hash_field,json=nativeHashField,proto3,enum=lemming.dataplane.sai.NativeHashField,oneof" json:"native_hash_field,omitempty"` - Ipv4Mask []byte `protobuf:"bytes,3,opt,name=ipv4_mask,json=ipv4Mask,proto3,oneof" json:"ipv4_mask,omitempty"` - Ipv6Mask []byte `protobuf:"bytes,4,opt,name=ipv6_mask,json=ipv6Mask,proto3,oneof" json:"ipv6_mask,omitempty"` - SequenceId *uint32 `protobuf:"varint,5,opt,name=sequence_id,json=sequenceId,proto3,oneof" json:"sequence_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateFineGrainedHashFieldRequest) Reset() { - *x = CreateFineGrainedHashFieldRequest{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateFineGrainedHashFieldRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateFineGrainedHashFieldRequest) ProtoMessage() {} - -func (x *CreateFineGrainedHashFieldRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateFineGrainedHashFieldRequest.ProtoReflect.Descriptor instead. -func (*CreateFineGrainedHashFieldRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateFineGrainedHashFieldRequest) GetSwitch() uint64 { - if x != nil { - return x.Switch - } - return 0 -} - -func (x *CreateFineGrainedHashFieldRequest) GetNativeHashField() NativeHashField { - if x != nil && x.NativeHashField != nil { - return *x.NativeHashField - } - return NativeHashField_NATIVE_HASH_FIELD_UNSPECIFIED -} - -func (x *CreateFineGrainedHashFieldRequest) GetIpv4Mask() []byte { - if x != nil { - return x.Ipv4Mask - } - return nil -} - -func (x *CreateFineGrainedHashFieldRequest) GetIpv6Mask() []byte { - if x != nil { - return x.Ipv6Mask - } - return nil -} - -func (x *CreateFineGrainedHashFieldRequest) GetSequenceId() uint32 { - if x != nil && x.SequenceId != nil { - return *x.SequenceId - } - return 0 -} - -type CreateFineGrainedHashFieldResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateFineGrainedHashFieldResponse) Reset() { - *x = CreateFineGrainedHashFieldResponse{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateFineGrainedHashFieldResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateFineGrainedHashFieldResponse) ProtoMessage() {} - -func (x *CreateFineGrainedHashFieldResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateFineGrainedHashFieldResponse.ProtoReflect.Descriptor instead. -func (*CreateFineGrainedHashFieldResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{9} -} - -func (x *CreateFineGrainedHashFieldResponse) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveFineGrainedHashFieldRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveFineGrainedHashFieldRequest) Reset() { - *x = RemoveFineGrainedHashFieldRequest{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveFineGrainedHashFieldRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveFineGrainedHashFieldRequest) ProtoMessage() {} - -func (x *RemoveFineGrainedHashFieldRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveFineGrainedHashFieldRequest.ProtoReflect.Descriptor instead. -func (*RemoveFineGrainedHashFieldRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{10} -} - -func (x *RemoveFineGrainedHashFieldRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -type RemoveFineGrainedHashFieldResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveFineGrainedHashFieldResponse) Reset() { - *x = RemoveFineGrainedHashFieldResponse{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveFineGrainedHashFieldResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveFineGrainedHashFieldResponse) ProtoMessage() {} - -func (x *RemoveFineGrainedHashFieldResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveFineGrainedHashFieldResponse.ProtoReflect.Descriptor instead. -func (*RemoveFineGrainedHashFieldResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{11} -} - -type GetFineGrainedHashFieldAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Oid uint64 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"` - AttrType []FineGrainedHashFieldAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.FineGrainedHashFieldAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetFineGrainedHashFieldAttributeRequest) Reset() { - *x = GetFineGrainedHashFieldAttributeRequest{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetFineGrainedHashFieldAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFineGrainedHashFieldAttributeRequest) ProtoMessage() {} - -func (x *GetFineGrainedHashFieldAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFineGrainedHashFieldAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetFineGrainedHashFieldAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{12} -} - -func (x *GetFineGrainedHashFieldAttributeRequest) GetOid() uint64 { - if x != nil { - return x.Oid - } - return 0 -} - -func (x *GetFineGrainedHashFieldAttributeRequest) GetAttrType() []FineGrainedHashFieldAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetFineGrainedHashFieldAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *FineGrainedHashFieldAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetFineGrainedHashFieldAttributeResponse) Reset() { - *x = GetFineGrainedHashFieldAttributeResponse{} - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetFineGrainedHashFieldAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetFineGrainedHashFieldAttributeResponse) ProtoMessage() {} - -func (x *GetFineGrainedHashFieldAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_hash_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetFineGrainedHashFieldAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetFineGrainedHashFieldAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_hash_proto_rawDescGZIP(), []int{13} -} - -func (x *GetFineGrainedHashFieldAttributeResponse) GetAttr() *FineGrainedHashFieldAttribute { - if x != nil { - return x.Attr - } - return nil -} - var File_dataplane_proto_sai_hash_proto protoreflect.FileDescriptor const file_dataplane_proto_sai_hash_proto_rawDesc = "" + @@ -841,51 +490,19 @@ const file_dataplane_proto_sai_hash_proto_rawDesc = "" + "\x03oid\x18\x01 \x01(\x04R\x03oid\x12<\n" + "\tattr_type\x18\x02 \x03(\x0e2\x1f.lemming.dataplane.sai.HashAttrR\battrType\"T\n" + "\x18GetHashAttributeResponse\x128\n" + - "\x04attr\x18\x01 \x01(\v2$.lemming.dataplane.sai.HashAttributeR\x04attr\"\xe8\x02\n" + - "!CreateFineGrainedHashFieldRequest\x12\x16\n" + - "\x06switch\x18\x01 \x01(\x04R\x06switch\x12_\n" + - "\x11native_hash_field\x18\x02 \x01(\x0e2&.lemming.dataplane.sai.NativeHashFieldB\x06\xf0ܓ\xad\x0f\x01H\x00R\x0fnativeHashField\x88\x01\x01\x12(\n" + - "\tipv4_mask\x18\x03 \x01(\fB\x06\xf0ܓ\xad\x0f\x02H\x01R\bipv4Mask\x88\x01\x01\x12(\n" + - "\tipv6_mask\x18\x04 \x01(\fB\x06\xf0ܓ\xad\x0f\x03H\x02R\bipv6Mask\x88\x01\x01\x12,\n" + - "\vsequence_id\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\n" + - "sequenceId\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0f_B\x14\n" + - "\x12_native_hash_fieldB\f\n" + - "\n" + - "_ipv4_maskB\f\n" + - "\n" + - "_ipv6_maskB\x0e\n" + - "\f_sequence_id\"6\n" + - "\"CreateFineGrainedHashFieldResponse\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"5\n" + - "!RemoveFineGrainedHashFieldRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\"$\n" + - "\"RemoveFineGrainedHashFieldResponse\"\x89\x01\n" + - "'GetFineGrainedHashFieldAttributeRequest\x12\x10\n" + - "\x03oid\x18\x01 \x01(\x04R\x03oid\x12L\n" + - "\tattr_type\x18\x02 \x03(\x0e2/.lemming.dataplane.sai.FineGrainedHashFieldAttrR\battrType\"t\n" + - "(GetFineGrainedHashFieldAttributeResponse\x12H\n" + - "\x04attr\x18\x01 \x01(\v24.lemming.dataplane.sai.FineGrainedHashFieldAttributeR\x04attr*\x95\x01\n" + + "\x04attr\x18\x01 \x01(\v2$.lemming.dataplane.sai.HashAttributeR\x04attr*\x95\x01\n" + "\bHashAttr\x12\x19\n" + "\x15HASH_ATTR_UNSPECIFIED\x10\x00\x12$\n" + " HASH_ATTR_NATIVE_HASH_FIELD_LIST\x10\x01\x12\x1c\n" + "\x18HASH_ATTR_UDF_GROUP_LIST\x10\x02\x12*\n" + - "&HASH_ATTR_FINE_GRAINED_HASH_FIELD_LIST\x10\x03*\x82\x02\n" + - "\x18FineGrainedHashFieldAttr\x12,\n" + - "(FINE_GRAINED_HASH_FIELD_ATTR_UNSPECIFIED\x10\x00\x122\n" + - ".FINE_GRAINED_HASH_FIELD_ATTR_NATIVE_HASH_FIELD\x10\x01\x12*\n" + - "&FINE_GRAINED_HASH_FIELD_ATTR_IPV4_MASK\x10\x02\x12*\n" + - "&FINE_GRAINED_HASH_FIELD_ATTR_IPV6_MASK\x10\x03\x12,\n" + - "(FINE_GRAINED_HASH_FIELD_ATTR_SEQUENCE_ID\x10\x042\x92\a\n" + + "&HASH_ATTR_FINE_GRAINED_HASH_FIELD_LIST\x10\x032\xbe\x03\n" + "\x04Hash\x12c\n" + "\n" + "CreateHash\x12(.lemming.dataplane.sai.CreateHashRequest\x1a).lemming.dataplane.sai.CreateHashResponse\"\x00\x12c\n" + "\n" + "RemoveHash\x12(.lemming.dataplane.sai.RemoveHashRequest\x1a).lemming.dataplane.sai.RemoveHashResponse\"\x00\x12u\n" + "\x10SetHashAttribute\x12..lemming.dataplane.sai.SetHashAttributeRequest\x1a/.lemming.dataplane.sai.SetHashAttributeResponse\"\x00\x12u\n" + - "\x10GetHashAttribute\x12..lemming.dataplane.sai.GetHashAttributeRequest\x1a/.lemming.dataplane.sai.GetHashAttributeResponse\"\x00\x12\x93\x01\n" + - "\x1aCreateFineGrainedHashField\x128.lemming.dataplane.sai.CreateFineGrainedHashFieldRequest\x1a9.lemming.dataplane.sai.CreateFineGrainedHashFieldResponse\"\x00\x12\x93\x01\n" + - "\x1aRemoveFineGrainedHashField\x128.lemming.dataplane.sai.RemoveFineGrainedHashFieldRequest\x1a9.lemming.dataplane.sai.RemoveFineGrainedHashFieldResponse\"\x00\x12\xa5\x01\n" + - " GetFineGrainedHashFieldAttribute\x12>.lemming.dataplane.sai.GetFineGrainedHashFieldAttributeRequest\x1a?.lemming.dataplane.sai.GetFineGrainedHashFieldAttributeResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" + "\x10GetHashAttribute\x12..lemming.dataplane.sai.GetHashAttributeRequest\x1a/.lemming.dataplane.sai.GetHashAttributeResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" var ( file_dataplane_proto_sai_hash_proto_rawDescOnce sync.Once @@ -899,56 +516,39 @@ func file_dataplane_proto_sai_hash_proto_rawDescGZIP() []byte { return file_dataplane_proto_sai_hash_proto_rawDescData } -var file_dataplane_proto_sai_hash_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_dataplane_proto_sai_hash_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_dataplane_proto_sai_hash_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_dataplane_proto_sai_hash_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_dataplane_proto_sai_hash_proto_goTypes = []any{ - (HashAttr)(0), // 0: lemming.dataplane.sai.HashAttr - (FineGrainedHashFieldAttr)(0), // 1: lemming.dataplane.sai.FineGrainedHashFieldAttr - (*CreateHashRequest)(nil), // 2: lemming.dataplane.sai.CreateHashRequest - (*CreateHashResponse)(nil), // 3: lemming.dataplane.sai.CreateHashResponse - (*RemoveHashRequest)(nil), // 4: lemming.dataplane.sai.RemoveHashRequest - (*RemoveHashResponse)(nil), // 5: lemming.dataplane.sai.RemoveHashResponse - (*SetHashAttributeRequest)(nil), // 6: lemming.dataplane.sai.SetHashAttributeRequest - (*SetHashAttributeResponse)(nil), // 7: lemming.dataplane.sai.SetHashAttributeResponse - (*GetHashAttributeRequest)(nil), // 8: lemming.dataplane.sai.GetHashAttributeRequest - (*GetHashAttributeResponse)(nil), // 9: lemming.dataplane.sai.GetHashAttributeResponse - (*CreateFineGrainedHashFieldRequest)(nil), // 10: lemming.dataplane.sai.CreateFineGrainedHashFieldRequest - (*CreateFineGrainedHashFieldResponse)(nil), // 11: lemming.dataplane.sai.CreateFineGrainedHashFieldResponse - (*RemoveFineGrainedHashFieldRequest)(nil), // 12: lemming.dataplane.sai.RemoveFineGrainedHashFieldRequest - (*RemoveFineGrainedHashFieldResponse)(nil), // 13: lemming.dataplane.sai.RemoveFineGrainedHashFieldResponse - (*GetFineGrainedHashFieldAttributeRequest)(nil), // 14: lemming.dataplane.sai.GetFineGrainedHashFieldAttributeRequest - (*GetFineGrainedHashFieldAttributeResponse)(nil), // 15: lemming.dataplane.sai.GetFineGrainedHashFieldAttributeResponse - (NativeHashField)(0), // 16: lemming.dataplane.sai.NativeHashField - (*HashAttribute)(nil), // 17: lemming.dataplane.sai.HashAttribute - (*FineGrainedHashFieldAttribute)(nil), // 18: lemming.dataplane.sai.FineGrainedHashFieldAttribute + (HashAttr)(0), // 0: lemming.dataplane.sai.HashAttr + (*CreateHashRequest)(nil), // 1: lemming.dataplane.sai.CreateHashRequest + (*CreateHashResponse)(nil), // 2: lemming.dataplane.sai.CreateHashResponse + (*RemoveHashRequest)(nil), // 3: lemming.dataplane.sai.RemoveHashRequest + (*RemoveHashResponse)(nil), // 4: lemming.dataplane.sai.RemoveHashResponse + (*SetHashAttributeRequest)(nil), // 5: lemming.dataplane.sai.SetHashAttributeRequest + (*SetHashAttributeResponse)(nil), // 6: lemming.dataplane.sai.SetHashAttributeResponse + (*GetHashAttributeRequest)(nil), // 7: lemming.dataplane.sai.GetHashAttributeRequest + (*GetHashAttributeResponse)(nil), // 8: lemming.dataplane.sai.GetHashAttributeResponse + (NativeHashField)(0), // 9: lemming.dataplane.sai.NativeHashField + (*HashAttribute)(nil), // 10: lemming.dataplane.sai.HashAttribute } var file_dataplane_proto_sai_hash_proto_depIdxs = []int32{ - 16, // 0: lemming.dataplane.sai.CreateHashRequest.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField - 16, // 1: lemming.dataplane.sai.SetHashAttributeRequest.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField + 9, // 0: lemming.dataplane.sai.CreateHashRequest.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField + 9, // 1: lemming.dataplane.sai.SetHashAttributeRequest.native_hash_field_list:type_name -> lemming.dataplane.sai.NativeHashField 0, // 2: lemming.dataplane.sai.GetHashAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.HashAttr - 17, // 3: lemming.dataplane.sai.GetHashAttributeResponse.attr:type_name -> lemming.dataplane.sai.HashAttribute - 16, // 4: lemming.dataplane.sai.CreateFineGrainedHashFieldRequest.native_hash_field:type_name -> lemming.dataplane.sai.NativeHashField - 1, // 5: lemming.dataplane.sai.GetFineGrainedHashFieldAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.FineGrainedHashFieldAttr - 18, // 6: lemming.dataplane.sai.GetFineGrainedHashFieldAttributeResponse.attr:type_name -> lemming.dataplane.sai.FineGrainedHashFieldAttribute - 2, // 7: lemming.dataplane.sai.Hash.CreateHash:input_type -> lemming.dataplane.sai.CreateHashRequest - 4, // 8: lemming.dataplane.sai.Hash.RemoveHash:input_type -> lemming.dataplane.sai.RemoveHashRequest - 6, // 9: lemming.dataplane.sai.Hash.SetHashAttribute:input_type -> lemming.dataplane.sai.SetHashAttributeRequest - 8, // 10: lemming.dataplane.sai.Hash.GetHashAttribute:input_type -> lemming.dataplane.sai.GetHashAttributeRequest - 10, // 11: lemming.dataplane.sai.Hash.CreateFineGrainedHashField:input_type -> lemming.dataplane.sai.CreateFineGrainedHashFieldRequest - 12, // 12: lemming.dataplane.sai.Hash.RemoveFineGrainedHashField:input_type -> lemming.dataplane.sai.RemoveFineGrainedHashFieldRequest - 14, // 13: lemming.dataplane.sai.Hash.GetFineGrainedHashFieldAttribute:input_type -> lemming.dataplane.sai.GetFineGrainedHashFieldAttributeRequest - 3, // 14: lemming.dataplane.sai.Hash.CreateHash:output_type -> lemming.dataplane.sai.CreateHashResponse - 5, // 15: lemming.dataplane.sai.Hash.RemoveHash:output_type -> lemming.dataplane.sai.RemoveHashResponse - 7, // 16: lemming.dataplane.sai.Hash.SetHashAttribute:output_type -> lemming.dataplane.sai.SetHashAttributeResponse - 9, // 17: lemming.dataplane.sai.Hash.GetHashAttribute:output_type -> lemming.dataplane.sai.GetHashAttributeResponse - 11, // 18: lemming.dataplane.sai.Hash.CreateFineGrainedHashField:output_type -> lemming.dataplane.sai.CreateFineGrainedHashFieldResponse - 13, // 19: lemming.dataplane.sai.Hash.RemoveFineGrainedHashField:output_type -> lemming.dataplane.sai.RemoveFineGrainedHashFieldResponse - 15, // 20: lemming.dataplane.sai.Hash.GetFineGrainedHashFieldAttribute:output_type -> lemming.dataplane.sai.GetFineGrainedHashFieldAttributeResponse - 14, // [14:21] is the sub-list for method output_type - 7, // [7:14] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name + 10, // 3: lemming.dataplane.sai.GetHashAttributeResponse.attr:type_name -> lemming.dataplane.sai.HashAttribute + 1, // 4: lemming.dataplane.sai.Hash.CreateHash:input_type -> lemming.dataplane.sai.CreateHashRequest + 3, // 5: lemming.dataplane.sai.Hash.RemoveHash:input_type -> lemming.dataplane.sai.RemoveHashRequest + 5, // 6: lemming.dataplane.sai.Hash.SetHashAttribute:input_type -> lemming.dataplane.sai.SetHashAttributeRequest + 7, // 7: lemming.dataplane.sai.Hash.GetHashAttribute:input_type -> lemming.dataplane.sai.GetHashAttributeRequest + 2, // 8: lemming.dataplane.sai.Hash.CreateHash:output_type -> lemming.dataplane.sai.CreateHashResponse + 4, // 9: lemming.dataplane.sai.Hash.RemoveHash:output_type -> lemming.dataplane.sai.RemoveHashResponse + 6, // 10: lemming.dataplane.sai.Hash.SetHashAttribute:output_type -> lemming.dataplane.sai.SetHashAttributeResponse + 8, // 11: lemming.dataplane.sai.Hash.GetHashAttribute:output_type -> lemming.dataplane.sai.GetHashAttributeResponse + 8, // [8:12] is the sub-list for method output_type + 4, // [4:8] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_hash_proto_init() } @@ -957,14 +557,13 @@ func file_dataplane_proto_sai_hash_proto_init() { return } file_dataplane_proto_sai_common_proto_init() - file_dataplane_proto_sai_hash_proto_msgTypes[8].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_hash_proto_rawDesc), len(file_dataplane_proto_sai_hash_proto_rawDesc)), - NumEnums: 2, - NumMessages: 14, + NumEnums: 1, + NumMessages: 8, NumExtensions: 0, NumServices: 1, }, diff --git a/dataplane/proto/sai/hash_grpc.pb.go b/dataplane/proto/sai/hash_grpc.pb.go index a183324e..4e680926 100755 --- a/dataplane/proto/sai/hash_grpc.pb.go +++ b/dataplane/proto/sai/hash_grpc.pb.go @@ -19,13 +19,10 @@ import ( const _ = grpc.SupportPackageIsVersion9 const ( - Hash_CreateHash_FullMethodName = "/lemming.dataplane.sai.Hash/CreateHash" - Hash_RemoveHash_FullMethodName = "/lemming.dataplane.sai.Hash/RemoveHash" - Hash_SetHashAttribute_FullMethodName = "/lemming.dataplane.sai.Hash/SetHashAttribute" - Hash_GetHashAttribute_FullMethodName = "/lemming.dataplane.sai.Hash/GetHashAttribute" - Hash_CreateFineGrainedHashField_FullMethodName = "/lemming.dataplane.sai.Hash/CreateFineGrainedHashField" - Hash_RemoveFineGrainedHashField_FullMethodName = "/lemming.dataplane.sai.Hash/RemoveFineGrainedHashField" - Hash_GetFineGrainedHashFieldAttribute_FullMethodName = "/lemming.dataplane.sai.Hash/GetFineGrainedHashFieldAttribute" + Hash_CreateHash_FullMethodName = "/lemming.dataplane.sai.Hash/CreateHash" + Hash_RemoveHash_FullMethodName = "/lemming.dataplane.sai.Hash/RemoveHash" + Hash_SetHashAttribute_FullMethodName = "/lemming.dataplane.sai.Hash/SetHashAttribute" + Hash_GetHashAttribute_FullMethodName = "/lemming.dataplane.sai.Hash/GetHashAttribute" ) // HashClient is the client API for Hash service. @@ -36,9 +33,6 @@ type HashClient interface { RemoveHash(ctx context.Context, in *RemoveHashRequest, opts ...grpc.CallOption) (*RemoveHashResponse, error) SetHashAttribute(ctx context.Context, in *SetHashAttributeRequest, opts ...grpc.CallOption) (*SetHashAttributeResponse, error) GetHashAttribute(ctx context.Context, in *GetHashAttributeRequest, opts ...grpc.CallOption) (*GetHashAttributeResponse, error) - CreateFineGrainedHashField(ctx context.Context, in *CreateFineGrainedHashFieldRequest, opts ...grpc.CallOption) (*CreateFineGrainedHashFieldResponse, error) - RemoveFineGrainedHashField(ctx context.Context, in *RemoveFineGrainedHashFieldRequest, opts ...grpc.CallOption) (*RemoveFineGrainedHashFieldResponse, error) - GetFineGrainedHashFieldAttribute(ctx context.Context, in *GetFineGrainedHashFieldAttributeRequest, opts ...grpc.CallOption) (*GetFineGrainedHashFieldAttributeResponse, error) } type hashClient struct { @@ -89,36 +83,6 @@ func (c *hashClient) GetHashAttribute(ctx context.Context, in *GetHashAttributeR return out, nil } -func (c *hashClient) CreateFineGrainedHashField(ctx context.Context, in *CreateFineGrainedHashFieldRequest, opts ...grpc.CallOption) (*CreateFineGrainedHashFieldResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateFineGrainedHashFieldResponse) - err := c.cc.Invoke(ctx, Hash_CreateFineGrainedHashField_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *hashClient) RemoveFineGrainedHashField(ctx context.Context, in *RemoveFineGrainedHashFieldRequest, opts ...grpc.CallOption) (*RemoveFineGrainedHashFieldResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveFineGrainedHashFieldResponse) - err := c.cc.Invoke(ctx, Hash_RemoveFineGrainedHashField_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *hashClient) GetFineGrainedHashFieldAttribute(ctx context.Context, in *GetFineGrainedHashFieldAttributeRequest, opts ...grpc.CallOption) (*GetFineGrainedHashFieldAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetFineGrainedHashFieldAttributeResponse) - err := c.cc.Invoke(ctx, Hash_GetFineGrainedHashFieldAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - // HashServer is the server API for Hash service. // All implementations should embed UnimplementedHashServer // for forward compatibility. @@ -127,9 +91,6 @@ type HashServer interface { RemoveHash(context.Context, *RemoveHashRequest) (*RemoveHashResponse, error) SetHashAttribute(context.Context, *SetHashAttributeRequest) (*SetHashAttributeResponse, error) GetHashAttribute(context.Context, *GetHashAttributeRequest) (*GetHashAttributeResponse, error) - CreateFineGrainedHashField(context.Context, *CreateFineGrainedHashFieldRequest) (*CreateFineGrainedHashFieldResponse, error) - RemoveFineGrainedHashField(context.Context, *RemoveFineGrainedHashFieldRequest) (*RemoveFineGrainedHashFieldResponse, error) - GetFineGrainedHashFieldAttribute(context.Context, *GetFineGrainedHashFieldAttributeRequest) (*GetFineGrainedHashFieldAttributeResponse, error) } // UnimplementedHashServer should be embedded to have @@ -151,15 +112,6 @@ func (UnimplementedHashServer) SetHashAttribute(context.Context, *SetHashAttribu func (UnimplementedHashServer) GetHashAttribute(context.Context, *GetHashAttributeRequest) (*GetHashAttributeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetHashAttribute not implemented") } -func (UnimplementedHashServer) CreateFineGrainedHashField(context.Context, *CreateFineGrainedHashFieldRequest) (*CreateFineGrainedHashFieldResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFineGrainedHashField not implemented") -} -func (UnimplementedHashServer) RemoveFineGrainedHashField(context.Context, *RemoveFineGrainedHashFieldRequest) (*RemoveFineGrainedHashFieldResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveFineGrainedHashField not implemented") -} -func (UnimplementedHashServer) GetFineGrainedHashFieldAttribute(context.Context, *GetFineGrainedHashFieldAttributeRequest) (*GetFineGrainedHashFieldAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFineGrainedHashFieldAttribute not implemented") -} func (UnimplementedHashServer) testEmbeddedByValue() {} // UnsafeHashServer may be embedded to opt out of forward compatibility for this service. @@ -252,60 +204,6 @@ func _Hash_GetHashAttribute_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -func _Hash_CreateFineGrainedHashField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateFineGrainedHashFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HashServer).CreateFineGrainedHashField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Hash_CreateFineGrainedHashField_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HashServer).CreateFineGrainedHashField(ctx, req.(*CreateFineGrainedHashFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Hash_RemoveFineGrainedHashField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveFineGrainedHashFieldRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HashServer).RemoveFineGrainedHashField(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Hash_RemoveFineGrainedHashField_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HashServer).RemoveFineGrainedHashField(ctx, req.(*RemoveFineGrainedHashFieldRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Hash_GetFineGrainedHashFieldAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetFineGrainedHashFieldAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HashServer).GetFineGrainedHashFieldAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Hash_GetFineGrainedHashFieldAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HashServer).GetFineGrainedHashFieldAttribute(ctx, req.(*GetFineGrainedHashFieldAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - // Hash_ServiceDesc is the grpc.ServiceDesc for Hash service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -329,18 +227,6 @@ var Hash_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetHashAttribute", Handler: _Hash_GetHashAttribute_Handler, }, - { - MethodName: "CreateFineGrainedHashField", - Handler: _Hash_CreateFineGrainedHashField_Handler, - }, - { - MethodName: "RemoveFineGrainedHashField", - Handler: _Hash_RemoveFineGrainedHashField_Handler, - }, - { - MethodName: "GetFineGrainedHashFieldAttribute", - Handler: _Hash_GetFineGrainedHashFieldAttribute_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "dataplane/proto/sai/hash.proto", diff --git a/dataplane/proto/sai/mpls.pb.go b/dataplane/proto/sai/mpls.pb.go index 532db35d..3de9765f 100644 --- a/dataplane/proto/sai/mpls.pb.go +++ b/dataplane/proto/sai/mpls.pb.go @@ -10,7 +10,6 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" - sync "sync" unsafe "unsafe" ) @@ -21,948 +20,20 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type InsegEntryAttr int32 - -const ( - InsegEntryAttr_INSEG_ENTRY_ATTR_UNSPECIFIED InsegEntryAttr = 0 - InsegEntryAttr_INSEG_ENTRY_ATTR_NUM_OF_POP InsegEntryAttr = 1 - InsegEntryAttr_INSEG_ENTRY_ATTR_PACKET_ACTION InsegEntryAttr = 2 - InsegEntryAttr_INSEG_ENTRY_ATTR_TRAP_PRIORITY InsegEntryAttr = 3 - InsegEntryAttr_INSEG_ENTRY_ATTR_NEXT_HOP_ID InsegEntryAttr = 4 - InsegEntryAttr_INSEG_ENTRY_ATTR_PSC_TYPE InsegEntryAttr = 5 - InsegEntryAttr_INSEG_ENTRY_ATTR_QOS_TC InsegEntryAttr = 6 - InsegEntryAttr_INSEG_ENTRY_ATTR_MPLS_EXP_TO_TC_MAP InsegEntryAttr = 7 - InsegEntryAttr_INSEG_ENTRY_ATTR_MPLS_EXP_TO_COLOR_MAP InsegEntryAttr = 8 - InsegEntryAttr_INSEG_ENTRY_ATTR_POP_TTL_MODE InsegEntryAttr = 9 - InsegEntryAttr_INSEG_ENTRY_ATTR_POP_QOS_MODE InsegEntryAttr = 10 - InsegEntryAttr_INSEG_ENTRY_ATTR_COUNTER_ID InsegEntryAttr = 11 -) - -// Enum value maps for InsegEntryAttr. -var ( - InsegEntryAttr_name = map[int32]string{ - 0: "INSEG_ENTRY_ATTR_UNSPECIFIED", - 1: "INSEG_ENTRY_ATTR_NUM_OF_POP", - 2: "INSEG_ENTRY_ATTR_PACKET_ACTION", - 3: "INSEG_ENTRY_ATTR_TRAP_PRIORITY", - 4: "INSEG_ENTRY_ATTR_NEXT_HOP_ID", - 5: "INSEG_ENTRY_ATTR_PSC_TYPE", - 6: "INSEG_ENTRY_ATTR_QOS_TC", - 7: "INSEG_ENTRY_ATTR_MPLS_EXP_TO_TC_MAP", - 8: "INSEG_ENTRY_ATTR_MPLS_EXP_TO_COLOR_MAP", - 9: "INSEG_ENTRY_ATTR_POP_TTL_MODE", - 10: "INSEG_ENTRY_ATTR_POP_QOS_MODE", - 11: "INSEG_ENTRY_ATTR_COUNTER_ID", - } - InsegEntryAttr_value = map[string]int32{ - "INSEG_ENTRY_ATTR_UNSPECIFIED": 0, - "INSEG_ENTRY_ATTR_NUM_OF_POP": 1, - "INSEG_ENTRY_ATTR_PACKET_ACTION": 2, - "INSEG_ENTRY_ATTR_TRAP_PRIORITY": 3, - "INSEG_ENTRY_ATTR_NEXT_HOP_ID": 4, - "INSEG_ENTRY_ATTR_PSC_TYPE": 5, - "INSEG_ENTRY_ATTR_QOS_TC": 6, - "INSEG_ENTRY_ATTR_MPLS_EXP_TO_TC_MAP": 7, - "INSEG_ENTRY_ATTR_MPLS_EXP_TO_COLOR_MAP": 8, - "INSEG_ENTRY_ATTR_POP_TTL_MODE": 9, - "INSEG_ENTRY_ATTR_POP_QOS_MODE": 10, - "INSEG_ENTRY_ATTR_COUNTER_ID": 11, - } -) - -func (x InsegEntryAttr) Enum() *InsegEntryAttr { - p := new(InsegEntryAttr) - *p = x - return p -} - -func (x InsegEntryAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (InsegEntryAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_mpls_proto_enumTypes[0].Descriptor() -} - -func (InsegEntryAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_mpls_proto_enumTypes[0] -} - -func (x InsegEntryAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use InsegEntryAttr.Descriptor instead. -func (InsegEntryAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{0} -} - -type CreateInsegEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *InsegEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - NumOfPop *uint32 `protobuf:"varint,2,opt,name=num_of_pop,json=numOfPop,proto3,oneof" json:"num_of_pop,omitempty"` - PacketAction *PacketAction `protobuf:"varint,3,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,4,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,5,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - PscType *InsegEntryPscType `protobuf:"varint,6,opt,name=psc_type,json=pscType,proto3,enum=lemming.dataplane.sai.InsegEntryPscType,oneof" json:"psc_type,omitempty"` - QosTc *uint32 `protobuf:"varint,7,opt,name=qos_tc,json=qosTc,proto3,oneof" json:"qos_tc,omitempty"` - MplsExpToTcMap *uint64 `protobuf:"varint,8,opt,name=mpls_exp_to_tc_map,json=mplsExpToTcMap,proto3,oneof" json:"mpls_exp_to_tc_map,omitempty"` - MplsExpToColorMap *uint64 `protobuf:"varint,9,opt,name=mpls_exp_to_color_map,json=mplsExpToColorMap,proto3,oneof" json:"mpls_exp_to_color_map,omitempty"` - PopTtlMode *InsegEntryPopTtlMode `protobuf:"varint,10,opt,name=pop_ttl_mode,json=popTtlMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopTtlMode,oneof" json:"pop_ttl_mode,omitempty"` - PopQosMode *InsegEntryPopQosMode `protobuf:"varint,11,opt,name=pop_qos_mode,json=popQosMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopQosMode,oneof" json:"pop_qos_mode,omitempty"` - CounterId *uint64 `protobuf:"varint,12,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateInsegEntryRequest) Reset() { - *x = CreateInsegEntryRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateInsegEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateInsegEntryRequest) ProtoMessage() {} - -func (x *CreateInsegEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateInsegEntryRequest.ProtoReflect.Descriptor instead. -func (*CreateInsegEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateInsegEntryRequest) GetEntry() *InsegEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *CreateInsegEntryRequest) GetNumOfPop() uint32 { - if x != nil && x.NumOfPop != nil { - return *x.NumOfPop - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *CreateInsegEntryRequest) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetPscType() InsegEntryPscType { - if x != nil && x.PscType != nil { - return *x.PscType - } - return InsegEntryPscType_INSEG_ENTRY_PSC_TYPE_UNSPECIFIED -} - -func (x *CreateInsegEntryRequest) GetQosTc() uint32 { - if x != nil && x.QosTc != nil { - return *x.QosTc - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetMplsExpToTcMap() uint64 { - if x != nil && x.MplsExpToTcMap != nil { - return *x.MplsExpToTcMap - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetMplsExpToColorMap() uint64 { - if x != nil && x.MplsExpToColorMap != nil { - return *x.MplsExpToColorMap - } - return 0 -} - -func (x *CreateInsegEntryRequest) GetPopTtlMode() InsegEntryPopTtlMode { - if x != nil && x.PopTtlMode != nil { - return *x.PopTtlMode - } - return InsegEntryPopTtlMode_INSEG_ENTRY_POP_TTL_MODE_UNSPECIFIED -} - -func (x *CreateInsegEntryRequest) GetPopQosMode() InsegEntryPopQosMode { - if x != nil && x.PopQosMode != nil { - return *x.PopQosMode - } - return InsegEntryPopQosMode_INSEG_ENTRY_POP_QOS_MODE_UNSPECIFIED -} - -func (x *CreateInsegEntryRequest) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - -type CreateInsegEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateInsegEntryResponse) Reset() { - *x = CreateInsegEntryResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateInsegEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateInsegEntryResponse) ProtoMessage() {} - -func (x *CreateInsegEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateInsegEntryResponse.ProtoReflect.Descriptor instead. -func (*CreateInsegEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{1} -} - -type RemoveInsegEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *InsegEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveInsegEntryRequest) Reset() { - *x = RemoveInsegEntryRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveInsegEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveInsegEntryRequest) ProtoMessage() {} - -func (x *RemoveInsegEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveInsegEntryRequest.ProtoReflect.Descriptor instead. -func (*RemoveInsegEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{2} -} - -func (x *RemoveInsegEntryRequest) GetEntry() *InsegEntry { - if x != nil { - return x.Entry - } - return nil -} - -type RemoveInsegEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveInsegEntryResponse) Reset() { - *x = RemoveInsegEntryResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveInsegEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveInsegEntryResponse) ProtoMessage() {} - -func (x *RemoveInsegEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveInsegEntryResponse.ProtoReflect.Descriptor instead. -func (*RemoveInsegEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{3} -} - -type SetInsegEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *InsegEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - NumOfPop *uint32 `protobuf:"varint,2,opt,name=num_of_pop,json=numOfPop,proto3,oneof" json:"num_of_pop,omitempty"` - PacketAction *PacketAction `protobuf:"varint,3,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,4,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,5,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - PscType *InsegEntryPscType `protobuf:"varint,6,opt,name=psc_type,json=pscType,proto3,enum=lemming.dataplane.sai.InsegEntryPscType,oneof" json:"psc_type,omitempty"` - QosTc *uint32 `protobuf:"varint,7,opt,name=qos_tc,json=qosTc,proto3,oneof" json:"qos_tc,omitempty"` - MplsExpToTcMap *uint64 `protobuf:"varint,8,opt,name=mpls_exp_to_tc_map,json=mplsExpToTcMap,proto3,oneof" json:"mpls_exp_to_tc_map,omitempty"` - MplsExpToColorMap *uint64 `protobuf:"varint,9,opt,name=mpls_exp_to_color_map,json=mplsExpToColorMap,proto3,oneof" json:"mpls_exp_to_color_map,omitempty"` - PopTtlMode *InsegEntryPopTtlMode `protobuf:"varint,10,opt,name=pop_ttl_mode,json=popTtlMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopTtlMode,oneof" json:"pop_ttl_mode,omitempty"` - PopQosMode *InsegEntryPopQosMode `protobuf:"varint,11,opt,name=pop_qos_mode,json=popQosMode,proto3,enum=lemming.dataplane.sai.InsegEntryPopQosMode,oneof" json:"pop_qos_mode,omitempty"` - CounterId *uint64 `protobuf:"varint,12,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetInsegEntryAttributeRequest) Reset() { - *x = SetInsegEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetInsegEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetInsegEntryAttributeRequest) ProtoMessage() {} - -func (x *SetInsegEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetInsegEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*SetInsegEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{4} -} - -func (x *SetInsegEntryAttributeRequest) GetEntry() *InsegEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *SetInsegEntryAttributeRequest) GetNumOfPop() uint32 { - if x != nil && x.NumOfPop != nil { - return *x.NumOfPop - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *SetInsegEntryAttributeRequest) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetPscType() InsegEntryPscType { - if x != nil && x.PscType != nil { - return *x.PscType - } - return InsegEntryPscType_INSEG_ENTRY_PSC_TYPE_UNSPECIFIED -} - -func (x *SetInsegEntryAttributeRequest) GetQosTc() uint32 { - if x != nil && x.QosTc != nil { - return *x.QosTc - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetMplsExpToTcMap() uint64 { - if x != nil && x.MplsExpToTcMap != nil { - return *x.MplsExpToTcMap - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetMplsExpToColorMap() uint64 { - if x != nil && x.MplsExpToColorMap != nil { - return *x.MplsExpToColorMap - } - return 0 -} - -func (x *SetInsegEntryAttributeRequest) GetPopTtlMode() InsegEntryPopTtlMode { - if x != nil && x.PopTtlMode != nil { - return *x.PopTtlMode - } - return InsegEntryPopTtlMode_INSEG_ENTRY_POP_TTL_MODE_UNSPECIFIED -} - -func (x *SetInsegEntryAttributeRequest) GetPopQosMode() InsegEntryPopQosMode { - if x != nil && x.PopQosMode != nil { - return *x.PopQosMode - } - return InsegEntryPopQosMode_INSEG_ENTRY_POP_QOS_MODE_UNSPECIFIED -} - -func (x *SetInsegEntryAttributeRequest) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - -type SetInsegEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetInsegEntryAttributeResponse) Reset() { - *x = SetInsegEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetInsegEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetInsegEntryAttributeResponse) ProtoMessage() {} - -func (x *SetInsegEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetInsegEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*SetInsegEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{5} -} - -type GetInsegEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *InsegEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - AttrType []InsegEntryAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.InsegEntryAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetInsegEntryAttributeRequest) Reset() { - *x = GetInsegEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetInsegEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetInsegEntryAttributeRequest) ProtoMessage() {} - -func (x *GetInsegEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetInsegEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetInsegEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{6} -} - -func (x *GetInsegEntryAttributeRequest) GetEntry() *InsegEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *GetInsegEntryAttributeRequest) GetAttrType() []InsegEntryAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetInsegEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *InsegEntryAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetInsegEntryAttributeResponse) Reset() { - *x = GetInsegEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetInsegEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetInsegEntryAttributeResponse) ProtoMessage() {} - -func (x *GetInsegEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetInsegEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetInsegEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{7} -} - -func (x *GetInsegEntryAttributeResponse) GetAttr() *InsegEntryAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type CreateInsegEntriesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Reqs []*CreateInsegEntryRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateInsegEntriesRequest) Reset() { - *x = CreateInsegEntriesRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateInsegEntriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateInsegEntriesRequest) ProtoMessage() {} - -func (x *CreateInsegEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateInsegEntriesRequest.ProtoReflect.Descriptor instead. -func (*CreateInsegEntriesRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{8} -} - -func (x *CreateInsegEntriesRequest) GetReqs() []*CreateInsegEntryRequest { - if x != nil { - return x.Reqs - } - return nil -} - -type CreateInsegEntriesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resps []*CreateInsegEntryResponse `protobuf:"bytes,1,rep,name=resps,proto3" json:"resps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateInsegEntriesResponse) Reset() { - *x = CreateInsegEntriesResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateInsegEntriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateInsegEntriesResponse) ProtoMessage() {} - -func (x *CreateInsegEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateInsegEntriesResponse.ProtoReflect.Descriptor instead. -func (*CreateInsegEntriesResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{9} -} - -func (x *CreateInsegEntriesResponse) GetResps() []*CreateInsegEntryResponse { - if x != nil { - return x.Resps - } - return nil -} - -type RemoveInsegEntriesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Reqs []*RemoveInsegEntryRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveInsegEntriesRequest) Reset() { - *x = RemoveInsegEntriesRequest{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveInsegEntriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveInsegEntriesRequest) ProtoMessage() {} - -func (x *RemoveInsegEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveInsegEntriesRequest.ProtoReflect.Descriptor instead. -func (*RemoveInsegEntriesRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{10} -} - -func (x *RemoveInsegEntriesRequest) GetReqs() []*RemoveInsegEntryRequest { - if x != nil { - return x.Reqs - } - return nil -} - -type RemoveInsegEntriesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resps []*RemoveInsegEntryResponse `protobuf:"bytes,1,rep,name=resps,proto3" json:"resps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveInsegEntriesResponse) Reset() { - *x = RemoveInsegEntriesResponse{} - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveInsegEntriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveInsegEntriesResponse) ProtoMessage() {} - -func (x *RemoveInsegEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_mpls_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveInsegEntriesResponse.ProtoReflect.Descriptor instead. -func (*RemoveInsegEntriesResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_mpls_proto_rawDescGZIP(), []int{11} -} - -func (x *RemoveInsegEntriesResponse) GetResps() []*RemoveInsegEntryResponse { - if x != nil { - return x.Resps - } - return nil -} - var File_dataplane_proto_sai_mpls_proto protoreflect.FileDescriptor const file_dataplane_proto_sai_mpls_proto_rawDesc = "" + "\n" + - "\x1edataplane/proto/sai/mpls.proto\x12\x15lemming.dataplane.sai\x1a dataplane/proto/sai/common.proto\"\xca\a\n" + - "\x17CreateInsegEntryRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.InsegEntryR\x05entry\x12)\n" + - "\n" + - "num_of_pop\x18\x02 \x01(\rB\x06\xf0ܓ\xad\x0f\x01H\x00R\bnumOfPop\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x03 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x02H\x01R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x03H\x02R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x05 \x01(\x04B\x06\xf0ܓ\xad\x0f\x04H\x03R\tnextHopId\x88\x01\x01\x12P\n" + - "\bpsc_type\x18\x06 \x01(\x0e2(.lemming.dataplane.sai.InsegEntryPscTypeB\x06\xf0ܓ\xad\x0f\x05H\x04R\apscType\x88\x01\x01\x12\"\n" + - "\x06qos_tc\x18\a \x01(\rB\x06\xf0ܓ\xad\x0f\x06H\x05R\x05qosTc\x88\x01\x01\x127\n" + - "\x12mpls_exp_to_tc_map\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x0emplsExpToTcMap\x88\x01\x01\x12=\n" + - "\x15mpls_exp_to_color_map\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\x11mplsExpToColorMap\x88\x01\x01\x12Z\n" + - "\fpop_ttl_mode\x18\n" + - " \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopTtlModeB\x06\xf0ܓ\xad\x0f\tH\bR\n" + - "popTtlMode\x88\x01\x01\x12Z\n" + - "\fpop_qos_mode\x18\v \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopQosModeB\x06\xf0ܓ\xad\x0f\n" + - "H\tR\n" + - "popQosMode\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\f \x01(\x04B\x06\xf0ܓ\xad\x0f\vH\n" + - "R\tcounterId\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0f@B\r\n" + - "\v_num_of_popB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\v\n" + - "\t_psc_typeB\t\n" + - "\a_qos_tcB\x15\n" + - "\x13_mpls_exp_to_tc_mapB\x18\n" + - "\x16_mpls_exp_to_color_mapB\x0f\n" + - "\r_pop_ttl_modeB\x0f\n" + - "\r_pop_qos_modeB\r\n" + - "\v_counter_id\"\x1a\n" + - "\x18CreateInsegEntryResponse\"R\n" + - "\x17RemoveInsegEntryRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.InsegEntryR\x05entry\"\x1a\n" + - "\x18RemoveInsegEntryResponse\"\xc8\a\n" + - "\x1dSetInsegEntryAttributeRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.InsegEntryR\x05entry\x12)\n" + - "\n" + - "num_of_pop\x18\x02 \x01(\rB\x06\xf0ܓ\xad\x0f\x01H\x00R\bnumOfPop\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x03 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x02H\x01R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x04 \x01(\rB\x06\xf0ܓ\xad\x0f\x03H\x02R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x05 \x01(\x04B\x06\xf0ܓ\xad\x0f\x04H\x03R\tnextHopId\x88\x01\x01\x12P\n" + - "\bpsc_type\x18\x06 \x01(\x0e2(.lemming.dataplane.sai.InsegEntryPscTypeB\x06\xf0ܓ\xad\x0f\x05H\x04R\apscType\x88\x01\x01\x12\"\n" + - "\x06qos_tc\x18\a \x01(\rB\x06\xf0ܓ\xad\x0f\x06H\x05R\x05qosTc\x88\x01\x01\x127\n" + - "\x12mpls_exp_to_tc_map\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x0emplsExpToTcMap\x88\x01\x01\x12=\n" + - "\x15mpls_exp_to_color_map\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\x11mplsExpToColorMap\x88\x01\x01\x12Z\n" + - "\fpop_ttl_mode\x18\n" + - " \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopTtlModeB\x06\xf0ܓ\xad\x0f\tH\bR\n" + - "popTtlMode\x88\x01\x01\x12Z\n" + - "\fpop_qos_mode\x18\v \x01(\x0e2+.lemming.dataplane.sai.InsegEntryPopQosModeB\x06\xf0ܓ\xad\x0f\n" + - "H\tR\n" + - "popQosMode\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\f \x01(\x04B\x06\xf0ܓ\xad\x0f\vH\n" + - "R\tcounterId\x88\x01\x01B\r\n" + - "\v_num_of_popB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\v\n" + - "\t_psc_typeB\t\n" + - "\a_qos_tcB\x15\n" + - "\x13_mpls_exp_to_tc_mapB\x18\n" + - "\x16_mpls_exp_to_color_mapB\x0f\n" + - "\r_pop_ttl_modeB\x0f\n" + - "\r_pop_qos_modeB\r\n" + - "\v_counter_id\" \n" + - "\x1eSetInsegEntryAttributeResponse\"\x9c\x01\n" + - "\x1dGetInsegEntryAttributeRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.InsegEntryR\x05entry\x12B\n" + - "\tattr_type\x18\x02 \x03(\x0e2%.lemming.dataplane.sai.InsegEntryAttrR\battrType\"`\n" + - "\x1eGetInsegEntryAttributeResponse\x12>\n" + - "\x04attr\x18\x01 \x01(\v2*.lemming.dataplane.sai.InsegEntryAttributeR\x04attr\"_\n" + - "\x19CreateInsegEntriesRequest\x12B\n" + - "\x04reqs\x18\x01 \x03(\v2..lemming.dataplane.sai.CreateInsegEntryRequestR\x04reqs\"c\n" + - "\x1aCreateInsegEntriesResponse\x12E\n" + - "\x05resps\x18\x01 \x03(\v2/.lemming.dataplane.sai.CreateInsegEntryResponseR\x05resps\"_\n" + - "\x19RemoveInsegEntriesRequest\x12B\n" + - "\x04reqs\x18\x01 \x03(\v2..lemming.dataplane.sai.RemoveInsegEntryRequestR\x04reqs\"c\n" + - "\x1aRemoveInsegEntriesResponse\x12E\n" + - "\x05resps\x18\x01 \x03(\v2/.lemming.dataplane.sai.RemoveInsegEntryResponseR\x05resps*\xb5\x03\n" + - "\x0eInsegEntryAttr\x12 \n" + - "\x1cINSEG_ENTRY_ATTR_UNSPECIFIED\x10\x00\x12\x1f\n" + - "\x1bINSEG_ENTRY_ATTR_NUM_OF_POP\x10\x01\x12\"\n" + - "\x1eINSEG_ENTRY_ATTR_PACKET_ACTION\x10\x02\x12\"\n" + - "\x1eINSEG_ENTRY_ATTR_TRAP_PRIORITY\x10\x03\x12 \n" + - "\x1cINSEG_ENTRY_ATTR_NEXT_HOP_ID\x10\x04\x12\x1d\n" + - "\x19INSEG_ENTRY_ATTR_PSC_TYPE\x10\x05\x12\x1b\n" + - "\x17INSEG_ENTRY_ATTR_QOS_TC\x10\x06\x12'\n" + - "#INSEG_ENTRY_ATTR_MPLS_EXP_TO_TC_MAP\x10\a\x12*\n" + - "&INSEG_ENTRY_ATTR_MPLS_EXP_TO_COLOR_MAP\x10\b\x12!\n" + - "\x1dINSEG_ENTRY_ATTR_POP_TTL_MODE\x10\t\x12!\n" + - "\x1dINSEG_ENTRY_ATTR_POP_QOS_MODE\x10\n" + - "\x12\x1f\n" + - "\x1bINSEG_ENTRY_ATTR_COUNTER_ID\x10\v2\x82\x06\n" + - "\x04Mpls\x12u\n" + - "\x10CreateInsegEntry\x12..lemming.dataplane.sai.CreateInsegEntryRequest\x1a/.lemming.dataplane.sai.CreateInsegEntryResponse\"\x00\x12u\n" + - "\x10RemoveInsegEntry\x12..lemming.dataplane.sai.RemoveInsegEntryRequest\x1a/.lemming.dataplane.sai.RemoveInsegEntryResponse\"\x00\x12\x87\x01\n" + - "\x16SetInsegEntryAttribute\x124.lemming.dataplane.sai.SetInsegEntryAttributeRequest\x1a5.lemming.dataplane.sai.SetInsegEntryAttributeResponse\"\x00\x12\x87\x01\n" + - "\x16GetInsegEntryAttribute\x124.lemming.dataplane.sai.GetInsegEntryAttributeRequest\x1a5.lemming.dataplane.sai.GetInsegEntryAttributeResponse\"\x00\x12{\n" + - "\x12CreateInsegEntries\x120.lemming.dataplane.sai.CreateInsegEntriesRequest\x1a1.lemming.dataplane.sai.CreateInsegEntriesResponse\"\x00\x12{\n" + - "\x12RemoveInsegEntries\x120.lemming.dataplane.sai.RemoveInsegEntriesRequest\x1a1.lemming.dataplane.sai.RemoveInsegEntriesResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" - -var ( - file_dataplane_proto_sai_mpls_proto_rawDescOnce sync.Once - file_dataplane_proto_sai_mpls_proto_rawDescData []byte -) - -func file_dataplane_proto_sai_mpls_proto_rawDescGZIP() []byte { - file_dataplane_proto_sai_mpls_proto_rawDescOnce.Do(func() { - file_dataplane_proto_sai_mpls_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_mpls_proto_rawDesc), len(file_dataplane_proto_sai_mpls_proto_rawDesc))) - }) - return file_dataplane_proto_sai_mpls_proto_rawDescData -} + "\x1edataplane/proto/sai/mpls.proto\x12\x15lemming.dataplane.sai\x1a dataplane/proto/sai/common.proto2\x06\n" + + "\x04MplsB3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" -var file_dataplane_proto_sai_mpls_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_dataplane_proto_sai_mpls_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_dataplane_proto_sai_mpls_proto_goTypes = []any{ - (InsegEntryAttr)(0), // 0: lemming.dataplane.sai.InsegEntryAttr - (*CreateInsegEntryRequest)(nil), // 1: lemming.dataplane.sai.CreateInsegEntryRequest - (*CreateInsegEntryResponse)(nil), // 2: lemming.dataplane.sai.CreateInsegEntryResponse - (*RemoveInsegEntryRequest)(nil), // 3: lemming.dataplane.sai.RemoveInsegEntryRequest - (*RemoveInsegEntryResponse)(nil), // 4: lemming.dataplane.sai.RemoveInsegEntryResponse - (*SetInsegEntryAttributeRequest)(nil), // 5: lemming.dataplane.sai.SetInsegEntryAttributeRequest - (*SetInsegEntryAttributeResponse)(nil), // 6: lemming.dataplane.sai.SetInsegEntryAttributeResponse - (*GetInsegEntryAttributeRequest)(nil), // 7: lemming.dataplane.sai.GetInsegEntryAttributeRequest - (*GetInsegEntryAttributeResponse)(nil), // 8: lemming.dataplane.sai.GetInsegEntryAttributeResponse - (*CreateInsegEntriesRequest)(nil), // 9: lemming.dataplane.sai.CreateInsegEntriesRequest - (*CreateInsegEntriesResponse)(nil), // 10: lemming.dataplane.sai.CreateInsegEntriesResponse - (*RemoveInsegEntriesRequest)(nil), // 11: lemming.dataplane.sai.RemoveInsegEntriesRequest - (*RemoveInsegEntriesResponse)(nil), // 12: lemming.dataplane.sai.RemoveInsegEntriesResponse - (*InsegEntry)(nil), // 13: lemming.dataplane.sai.InsegEntry - (PacketAction)(0), // 14: lemming.dataplane.sai.PacketAction - (InsegEntryPscType)(0), // 15: lemming.dataplane.sai.InsegEntryPscType - (InsegEntryPopTtlMode)(0), // 16: lemming.dataplane.sai.InsegEntryPopTtlMode - (InsegEntryPopQosMode)(0), // 17: lemming.dataplane.sai.InsegEntryPopQosMode - (*InsegEntryAttribute)(nil), // 18: lemming.dataplane.sai.InsegEntryAttribute -} +var file_dataplane_proto_sai_mpls_proto_goTypes = []any{} var file_dataplane_proto_sai_mpls_proto_depIdxs = []int32{ - 13, // 0: lemming.dataplane.sai.CreateInsegEntryRequest.entry:type_name -> lemming.dataplane.sai.InsegEntry - 14, // 1: lemming.dataplane.sai.CreateInsegEntryRequest.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 15, // 2: lemming.dataplane.sai.CreateInsegEntryRequest.psc_type:type_name -> lemming.dataplane.sai.InsegEntryPscType - 16, // 3: lemming.dataplane.sai.CreateInsegEntryRequest.pop_ttl_mode:type_name -> lemming.dataplane.sai.InsegEntryPopTtlMode - 17, // 4: lemming.dataplane.sai.CreateInsegEntryRequest.pop_qos_mode:type_name -> lemming.dataplane.sai.InsegEntryPopQosMode - 13, // 5: lemming.dataplane.sai.RemoveInsegEntryRequest.entry:type_name -> lemming.dataplane.sai.InsegEntry - 13, // 6: lemming.dataplane.sai.SetInsegEntryAttributeRequest.entry:type_name -> lemming.dataplane.sai.InsegEntry - 14, // 7: lemming.dataplane.sai.SetInsegEntryAttributeRequest.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 15, // 8: lemming.dataplane.sai.SetInsegEntryAttributeRequest.psc_type:type_name -> lemming.dataplane.sai.InsegEntryPscType - 16, // 9: lemming.dataplane.sai.SetInsegEntryAttributeRequest.pop_ttl_mode:type_name -> lemming.dataplane.sai.InsegEntryPopTtlMode - 17, // 10: lemming.dataplane.sai.SetInsegEntryAttributeRequest.pop_qos_mode:type_name -> lemming.dataplane.sai.InsegEntryPopQosMode - 13, // 11: lemming.dataplane.sai.GetInsegEntryAttributeRequest.entry:type_name -> lemming.dataplane.sai.InsegEntry - 0, // 12: lemming.dataplane.sai.GetInsegEntryAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.InsegEntryAttr - 18, // 13: lemming.dataplane.sai.GetInsegEntryAttributeResponse.attr:type_name -> lemming.dataplane.sai.InsegEntryAttribute - 1, // 14: lemming.dataplane.sai.CreateInsegEntriesRequest.reqs:type_name -> lemming.dataplane.sai.CreateInsegEntryRequest - 2, // 15: lemming.dataplane.sai.CreateInsegEntriesResponse.resps:type_name -> lemming.dataplane.sai.CreateInsegEntryResponse - 3, // 16: lemming.dataplane.sai.RemoveInsegEntriesRequest.reqs:type_name -> lemming.dataplane.sai.RemoveInsegEntryRequest - 4, // 17: lemming.dataplane.sai.RemoveInsegEntriesResponse.resps:type_name -> lemming.dataplane.sai.RemoveInsegEntryResponse - 1, // 18: lemming.dataplane.sai.Mpls.CreateInsegEntry:input_type -> lemming.dataplane.sai.CreateInsegEntryRequest - 3, // 19: lemming.dataplane.sai.Mpls.RemoveInsegEntry:input_type -> lemming.dataplane.sai.RemoveInsegEntryRequest - 5, // 20: lemming.dataplane.sai.Mpls.SetInsegEntryAttribute:input_type -> lemming.dataplane.sai.SetInsegEntryAttributeRequest - 7, // 21: lemming.dataplane.sai.Mpls.GetInsegEntryAttribute:input_type -> lemming.dataplane.sai.GetInsegEntryAttributeRequest - 9, // 22: lemming.dataplane.sai.Mpls.CreateInsegEntries:input_type -> lemming.dataplane.sai.CreateInsegEntriesRequest - 11, // 23: lemming.dataplane.sai.Mpls.RemoveInsegEntries:input_type -> lemming.dataplane.sai.RemoveInsegEntriesRequest - 2, // 24: lemming.dataplane.sai.Mpls.CreateInsegEntry:output_type -> lemming.dataplane.sai.CreateInsegEntryResponse - 4, // 25: lemming.dataplane.sai.Mpls.RemoveInsegEntry:output_type -> lemming.dataplane.sai.RemoveInsegEntryResponse - 6, // 26: lemming.dataplane.sai.Mpls.SetInsegEntryAttribute:output_type -> lemming.dataplane.sai.SetInsegEntryAttributeResponse - 8, // 27: lemming.dataplane.sai.Mpls.GetInsegEntryAttribute:output_type -> lemming.dataplane.sai.GetInsegEntryAttributeResponse - 10, // 28: lemming.dataplane.sai.Mpls.CreateInsegEntries:output_type -> lemming.dataplane.sai.CreateInsegEntriesResponse - 12, // 29: lemming.dataplane.sai.Mpls.RemoveInsegEntries:output_type -> lemming.dataplane.sai.RemoveInsegEntriesResponse - 24, // [24:30] is the sub-list for method output_type - 18, // [18:24] is the sub-list for method input_type - 18, // [18:18] is the sub-list for extension type_name - 18, // [18:18] is the sub-list for extension extendee - 0, // [0:18] is the sub-list for field type_name + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_mpls_proto_init() } @@ -971,22 +42,18 @@ func file_dataplane_proto_sai_mpls_proto_init() { return } file_dataplane_proto_sai_common_proto_init() - file_dataplane_proto_sai_mpls_proto_msgTypes[0].OneofWrappers = []any{} - file_dataplane_proto_sai_mpls_proto_msgTypes[4].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_mpls_proto_rawDesc), len(file_dataplane_proto_sai_mpls_proto_rawDesc)), - NumEnums: 1, - NumMessages: 12, + NumEnums: 0, + NumMessages: 0, NumExtensions: 0, NumServices: 1, }, GoTypes: file_dataplane_proto_sai_mpls_proto_goTypes, DependencyIndexes: file_dataplane_proto_sai_mpls_proto_depIdxs, - EnumInfos: file_dataplane_proto_sai_mpls_proto_enumTypes, - MessageInfos: file_dataplane_proto_sai_mpls_proto_msgTypes, }.Build() File_dataplane_proto_sai_mpls_proto = out.File file_dataplane_proto_sai_mpls_proto_goTypes = nil diff --git a/dataplane/proto/sai/mpls_grpc.pb.go b/dataplane/proto/sai/mpls_grpc.pb.go index e1669899..b037e790 100755 --- a/dataplane/proto/sai/mpls_grpc.pb.go +++ b/dataplane/proto/sai/mpls_grpc.pb.go @@ -7,10 +7,7 @@ package sai import ( - context "context" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file @@ -18,25 +15,10 @@ import ( // Requires gRPC-Go v1.64.0 or later. const _ = grpc.SupportPackageIsVersion9 -const ( - Mpls_CreateInsegEntry_FullMethodName = "/lemming.dataplane.sai.Mpls/CreateInsegEntry" - Mpls_RemoveInsegEntry_FullMethodName = "/lemming.dataplane.sai.Mpls/RemoveInsegEntry" - Mpls_SetInsegEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Mpls/SetInsegEntryAttribute" - Mpls_GetInsegEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Mpls/GetInsegEntryAttribute" - Mpls_CreateInsegEntries_FullMethodName = "/lemming.dataplane.sai.Mpls/CreateInsegEntries" - Mpls_RemoveInsegEntries_FullMethodName = "/lemming.dataplane.sai.Mpls/RemoveInsegEntries" -) - // MplsClient is the client API for Mpls service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type MplsClient interface { - CreateInsegEntry(ctx context.Context, in *CreateInsegEntryRequest, opts ...grpc.CallOption) (*CreateInsegEntryResponse, error) - RemoveInsegEntry(ctx context.Context, in *RemoveInsegEntryRequest, opts ...grpc.CallOption) (*RemoveInsegEntryResponse, error) - SetInsegEntryAttribute(ctx context.Context, in *SetInsegEntryAttributeRequest, opts ...grpc.CallOption) (*SetInsegEntryAttributeResponse, error) - GetInsegEntryAttribute(ctx context.Context, in *GetInsegEntryAttributeRequest, opts ...grpc.CallOption) (*GetInsegEntryAttributeResponse, error) - CreateInsegEntries(ctx context.Context, in *CreateInsegEntriesRequest, opts ...grpc.CallOption) (*CreateInsegEntriesResponse, error) - RemoveInsegEntries(ctx context.Context, in *RemoveInsegEntriesRequest, opts ...grpc.CallOption) (*RemoveInsegEntriesResponse, error) } type mplsClient struct { @@ -47,76 +29,10 @@ func NewMplsClient(cc grpc.ClientConnInterface) MplsClient { return &mplsClient{cc} } -func (c *mplsClient) CreateInsegEntry(ctx context.Context, in *CreateInsegEntryRequest, opts ...grpc.CallOption) (*CreateInsegEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateInsegEntryResponse) - err := c.cc.Invoke(ctx, Mpls_CreateInsegEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mplsClient) RemoveInsegEntry(ctx context.Context, in *RemoveInsegEntryRequest, opts ...grpc.CallOption) (*RemoveInsegEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveInsegEntryResponse) - err := c.cc.Invoke(ctx, Mpls_RemoveInsegEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mplsClient) SetInsegEntryAttribute(ctx context.Context, in *SetInsegEntryAttributeRequest, opts ...grpc.CallOption) (*SetInsegEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetInsegEntryAttributeResponse) - err := c.cc.Invoke(ctx, Mpls_SetInsegEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mplsClient) GetInsegEntryAttribute(ctx context.Context, in *GetInsegEntryAttributeRequest, opts ...grpc.CallOption) (*GetInsegEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetInsegEntryAttributeResponse) - err := c.cc.Invoke(ctx, Mpls_GetInsegEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mplsClient) CreateInsegEntries(ctx context.Context, in *CreateInsegEntriesRequest, opts ...grpc.CallOption) (*CreateInsegEntriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateInsegEntriesResponse) - err := c.cc.Invoke(ctx, Mpls_CreateInsegEntries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *mplsClient) RemoveInsegEntries(ctx context.Context, in *RemoveInsegEntriesRequest, opts ...grpc.CallOption) (*RemoveInsegEntriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveInsegEntriesResponse) - err := c.cc.Invoke(ctx, Mpls_RemoveInsegEntries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - // MplsServer is the server API for Mpls service. // All implementations should embed UnimplementedMplsServer // for forward compatibility. type MplsServer interface { - CreateInsegEntry(context.Context, *CreateInsegEntryRequest) (*CreateInsegEntryResponse, error) - RemoveInsegEntry(context.Context, *RemoveInsegEntryRequest) (*RemoveInsegEntryResponse, error) - SetInsegEntryAttribute(context.Context, *SetInsegEntryAttributeRequest) (*SetInsegEntryAttributeResponse, error) - GetInsegEntryAttribute(context.Context, *GetInsegEntryAttributeRequest) (*GetInsegEntryAttributeResponse, error) - CreateInsegEntries(context.Context, *CreateInsegEntriesRequest) (*CreateInsegEntriesResponse, error) - RemoveInsegEntries(context.Context, *RemoveInsegEntriesRequest) (*RemoveInsegEntriesResponse, error) } // UnimplementedMplsServer should be embedded to have @@ -126,24 +42,6 @@ type MplsServer interface { // pointer dereference when methods are called. type UnimplementedMplsServer struct{} -func (UnimplementedMplsServer) CreateInsegEntry(context.Context, *CreateInsegEntryRequest) (*CreateInsegEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInsegEntry not implemented") -} -func (UnimplementedMplsServer) RemoveInsegEntry(context.Context, *RemoveInsegEntryRequest) (*RemoveInsegEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveInsegEntry not implemented") -} -func (UnimplementedMplsServer) SetInsegEntryAttribute(context.Context, *SetInsegEntryAttributeRequest) (*SetInsegEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetInsegEntryAttribute not implemented") -} -func (UnimplementedMplsServer) GetInsegEntryAttribute(context.Context, *GetInsegEntryAttributeRequest) (*GetInsegEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetInsegEntryAttribute not implemented") -} -func (UnimplementedMplsServer) CreateInsegEntries(context.Context, *CreateInsegEntriesRequest) (*CreateInsegEntriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateInsegEntries not implemented") -} -func (UnimplementedMplsServer) RemoveInsegEntries(context.Context, *RemoveInsegEntriesRequest) (*RemoveInsegEntriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveInsegEntries not implemented") -} func (UnimplementedMplsServer) testEmbeddedByValue() {} // UnsafeMplsServer may be embedded to opt out of forward compatibility for this service. @@ -164,146 +62,13 @@ func RegisterMplsServer(s grpc.ServiceRegistrar, srv MplsServer) { s.RegisterService(&Mpls_ServiceDesc, srv) } -func _Mpls_CreateInsegEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInsegEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).CreateInsegEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_CreateInsegEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).CreateInsegEntry(ctx, req.(*CreateInsegEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Mpls_RemoveInsegEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveInsegEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).RemoveInsegEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_RemoveInsegEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).RemoveInsegEntry(ctx, req.(*RemoveInsegEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Mpls_SetInsegEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetInsegEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).SetInsegEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_SetInsegEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).SetInsegEntryAttribute(ctx, req.(*SetInsegEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Mpls_GetInsegEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetInsegEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).GetInsegEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_GetInsegEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).GetInsegEntryAttribute(ctx, req.(*GetInsegEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Mpls_CreateInsegEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateInsegEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).CreateInsegEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_CreateInsegEntries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).CreateInsegEntries(ctx, req.(*CreateInsegEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Mpls_RemoveInsegEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveInsegEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MplsServer).RemoveInsegEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Mpls_RemoveInsegEntries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MplsServer).RemoveInsegEntries(ctx, req.(*RemoveInsegEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - // Mpls_ServiceDesc is the grpc.ServiceDesc for Mpls service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Mpls_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lemming.dataplane.sai.Mpls", HandlerType: (*MplsServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateInsegEntry", - Handler: _Mpls_CreateInsegEntry_Handler, - }, - { - MethodName: "RemoveInsegEntry", - Handler: _Mpls_RemoveInsegEntry_Handler, - }, - { - MethodName: "SetInsegEntryAttribute", - Handler: _Mpls_SetInsegEntryAttribute_Handler, - }, - { - MethodName: "GetInsegEntryAttribute", - Handler: _Mpls_GetInsegEntryAttribute_Handler, - }, - { - MethodName: "CreateInsegEntries", - Handler: _Mpls_CreateInsegEntries_Handler, - }, - { - MethodName: "RemoveInsegEntries", - Handler: _Mpls_RemoveInsegEntries_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "dataplane/proto/sai/mpls.proto", + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "dataplane/proto/sai/mpls.proto", } diff --git a/dataplane/proto/sai/srv6.pb.go b/dataplane/proto/sai/srv6.pb.go index 6c0d8e22..2cd08baa 100644 --- a/dataplane/proto/sai/srv6.pb.go +++ b/dataplane/proto/sai/srv6.pb.go @@ -82,73 +82,6 @@ func (Srv6SidlistAttr) EnumDescriptor() ([]byte, []int) { return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{0} } -type MySidEntryAttr int32 - -const ( - MySidEntryAttr_MY_SID_ENTRY_ATTR_UNSPECIFIED MySidEntryAttr = 0 - MySidEntryAttr_MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR MySidEntryAttr = 1 - MySidEntryAttr_MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR MySidEntryAttr = 2 - MySidEntryAttr_MY_SID_ENTRY_ATTR_PACKET_ACTION MySidEntryAttr = 3 - MySidEntryAttr_MY_SID_ENTRY_ATTR_TRAP_PRIORITY MySidEntryAttr = 4 - MySidEntryAttr_MY_SID_ENTRY_ATTR_NEXT_HOP_ID MySidEntryAttr = 5 - MySidEntryAttr_MY_SID_ENTRY_ATTR_TUNNEL_ID MySidEntryAttr = 6 - MySidEntryAttr_MY_SID_ENTRY_ATTR_VRF MySidEntryAttr = 7 - MySidEntryAttr_MY_SID_ENTRY_ATTR_COUNTER_ID MySidEntryAttr = 8 -) - -// Enum value maps for MySidEntryAttr. -var ( - MySidEntryAttr_name = map[int32]string{ - 0: "MY_SID_ENTRY_ATTR_UNSPECIFIED", - 1: "MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR", - 2: "MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR", - 3: "MY_SID_ENTRY_ATTR_PACKET_ACTION", - 4: "MY_SID_ENTRY_ATTR_TRAP_PRIORITY", - 5: "MY_SID_ENTRY_ATTR_NEXT_HOP_ID", - 6: "MY_SID_ENTRY_ATTR_TUNNEL_ID", - 7: "MY_SID_ENTRY_ATTR_VRF", - 8: "MY_SID_ENTRY_ATTR_COUNTER_ID", - } - MySidEntryAttr_value = map[string]int32{ - "MY_SID_ENTRY_ATTR_UNSPECIFIED": 0, - "MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR": 1, - "MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR": 2, - "MY_SID_ENTRY_ATTR_PACKET_ACTION": 3, - "MY_SID_ENTRY_ATTR_TRAP_PRIORITY": 4, - "MY_SID_ENTRY_ATTR_NEXT_HOP_ID": 5, - "MY_SID_ENTRY_ATTR_TUNNEL_ID": 6, - "MY_SID_ENTRY_ATTR_VRF": 7, - "MY_SID_ENTRY_ATTR_COUNTER_ID": 8, - } -) - -func (x MySidEntryAttr) Enum() *MySidEntryAttr { - p := new(MySidEntryAttr) - *p = x - return p -} - -func (x MySidEntryAttr) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (MySidEntryAttr) Descriptor() protoreflect.EnumDescriptor { - return file_dataplane_proto_sai_srv6_proto_enumTypes[1].Descriptor() -} - -func (MySidEntryAttr) Type() protoreflect.EnumType { - return &file_dataplane_proto_sai_srv6_proto_enumTypes[1] -} - -func (x MySidEntryAttr) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use MySidEntryAttr.Descriptor instead. -func (MySidEntryAttr) EnumDescriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{1} -} - type CreateSrv6SidlistRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Switch uint64 `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` @@ -853,646 +786,6 @@ func (x *GetSrv6SidlistStatsResponse) GetValues() []uint64 { return nil } -type CreateMySidEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *MySidEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - EndpointBehavior *MySidEntryEndpointBehavior `protobuf:"varint,2,opt,name=endpoint_behavior,json=endpointBehavior,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehavior,oneof" json:"endpoint_behavior,omitempty"` - EndpointBehaviorFlavor *MySidEntryEndpointBehaviorFlavor `protobuf:"varint,3,opt,name=endpoint_behavior_flavor,json=endpointBehaviorFlavor,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor,oneof" json:"endpoint_behavior_flavor,omitempty"` - PacketAction *PacketAction `protobuf:"varint,4,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,5,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,6,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - TunnelId *uint64 `protobuf:"varint,7,opt,name=tunnel_id,json=tunnelId,proto3,oneof" json:"tunnel_id,omitempty"` - Vrf *uint64 `protobuf:"varint,8,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"` - CounterId *uint64 `protobuf:"varint,9,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMySidEntryRequest) Reset() { - *x = CreateMySidEntryRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMySidEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMySidEntryRequest) ProtoMessage() {} - -func (x *CreateMySidEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateMySidEntryRequest.ProtoReflect.Descriptor instead. -func (*CreateMySidEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{14} -} - -func (x *CreateMySidEntryRequest) GetEntry() *MySidEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *CreateMySidEntryRequest) GetEndpointBehavior() MySidEntryEndpointBehavior { - if x != nil && x.EndpointBehavior != nil { - return *x.EndpointBehavior - } - return MySidEntryEndpointBehavior_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_UNSPECIFIED -} - -func (x *CreateMySidEntryRequest) GetEndpointBehaviorFlavor() MySidEntryEndpointBehaviorFlavor { - if x != nil && x.EndpointBehaviorFlavor != nil { - return *x.EndpointBehaviorFlavor - } - return MySidEntryEndpointBehaviorFlavor_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_FLAVOR_UNSPECIFIED -} - -func (x *CreateMySidEntryRequest) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *CreateMySidEntryRequest) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *CreateMySidEntryRequest) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *CreateMySidEntryRequest) GetTunnelId() uint64 { - if x != nil && x.TunnelId != nil { - return *x.TunnelId - } - return 0 -} - -func (x *CreateMySidEntryRequest) GetVrf() uint64 { - if x != nil && x.Vrf != nil { - return *x.Vrf - } - return 0 -} - -func (x *CreateMySidEntryRequest) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - -type CreateMySidEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMySidEntryResponse) Reset() { - *x = CreateMySidEntryResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMySidEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMySidEntryResponse) ProtoMessage() {} - -func (x *CreateMySidEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateMySidEntryResponse.ProtoReflect.Descriptor instead. -func (*CreateMySidEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{15} -} - -type RemoveMySidEntryRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *MySidEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveMySidEntryRequest) Reset() { - *x = RemoveMySidEntryRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveMySidEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveMySidEntryRequest) ProtoMessage() {} - -func (x *RemoveMySidEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveMySidEntryRequest.ProtoReflect.Descriptor instead. -func (*RemoveMySidEntryRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{16} -} - -func (x *RemoveMySidEntryRequest) GetEntry() *MySidEntry { - if x != nil { - return x.Entry - } - return nil -} - -type RemoveMySidEntryResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveMySidEntryResponse) Reset() { - *x = RemoveMySidEntryResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveMySidEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveMySidEntryResponse) ProtoMessage() {} - -func (x *RemoveMySidEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveMySidEntryResponse.ProtoReflect.Descriptor instead. -func (*RemoveMySidEntryResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{17} -} - -type SetMySidEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *MySidEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - EndpointBehavior *MySidEntryEndpointBehavior `protobuf:"varint,2,opt,name=endpoint_behavior,json=endpointBehavior,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehavior,oneof" json:"endpoint_behavior,omitempty"` - EndpointBehaviorFlavor *MySidEntryEndpointBehaviorFlavor `protobuf:"varint,3,opt,name=endpoint_behavior_flavor,json=endpointBehaviorFlavor,proto3,enum=lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor,oneof" json:"endpoint_behavior_flavor,omitempty"` - PacketAction *PacketAction `protobuf:"varint,4,opt,name=packet_action,json=packetAction,proto3,enum=lemming.dataplane.sai.PacketAction,oneof" json:"packet_action,omitempty"` - TrapPriority *uint32 `protobuf:"varint,5,opt,name=trap_priority,json=trapPriority,proto3,oneof" json:"trap_priority,omitempty"` - NextHopId *uint64 `protobuf:"varint,6,opt,name=next_hop_id,json=nextHopId,proto3,oneof" json:"next_hop_id,omitempty"` - TunnelId *uint64 `protobuf:"varint,7,opt,name=tunnel_id,json=tunnelId,proto3,oneof" json:"tunnel_id,omitempty"` - Vrf *uint64 `protobuf:"varint,8,opt,name=vrf,proto3,oneof" json:"vrf,omitempty"` - CounterId *uint64 `protobuf:"varint,9,opt,name=counter_id,json=counterId,proto3,oneof" json:"counter_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetMySidEntryAttributeRequest) Reset() { - *x = SetMySidEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetMySidEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetMySidEntryAttributeRequest) ProtoMessage() {} - -func (x *SetMySidEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetMySidEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*SetMySidEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{18} -} - -func (x *SetMySidEntryAttributeRequest) GetEntry() *MySidEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *SetMySidEntryAttributeRequest) GetEndpointBehavior() MySidEntryEndpointBehavior { - if x != nil && x.EndpointBehavior != nil { - return *x.EndpointBehavior - } - return MySidEntryEndpointBehavior_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_UNSPECIFIED -} - -func (x *SetMySidEntryAttributeRequest) GetEndpointBehaviorFlavor() MySidEntryEndpointBehaviorFlavor { - if x != nil && x.EndpointBehaviorFlavor != nil { - return *x.EndpointBehaviorFlavor - } - return MySidEntryEndpointBehaviorFlavor_MY_SID_ENTRY_ENDPOINT_BEHAVIOR_FLAVOR_UNSPECIFIED -} - -func (x *SetMySidEntryAttributeRequest) GetPacketAction() PacketAction { - if x != nil && x.PacketAction != nil { - return *x.PacketAction - } - return PacketAction_PACKET_ACTION_UNSPECIFIED -} - -func (x *SetMySidEntryAttributeRequest) GetTrapPriority() uint32 { - if x != nil && x.TrapPriority != nil { - return *x.TrapPriority - } - return 0 -} - -func (x *SetMySidEntryAttributeRequest) GetNextHopId() uint64 { - if x != nil && x.NextHopId != nil { - return *x.NextHopId - } - return 0 -} - -func (x *SetMySidEntryAttributeRequest) GetTunnelId() uint64 { - if x != nil && x.TunnelId != nil { - return *x.TunnelId - } - return 0 -} - -func (x *SetMySidEntryAttributeRequest) GetVrf() uint64 { - if x != nil && x.Vrf != nil { - return *x.Vrf - } - return 0 -} - -func (x *SetMySidEntryAttributeRequest) GetCounterId() uint64 { - if x != nil && x.CounterId != nil { - return *x.CounterId - } - return 0 -} - -type SetMySidEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SetMySidEntryAttributeResponse) Reset() { - *x = SetMySidEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SetMySidEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetMySidEntryAttributeResponse) ProtoMessage() {} - -func (x *SetMySidEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetMySidEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*SetMySidEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{19} -} - -type GetMySidEntryAttributeRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Entry *MySidEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` - AttrType []MySidEntryAttr `protobuf:"varint,2,rep,packed,name=attr_type,json=attrType,proto3,enum=lemming.dataplane.sai.MySidEntryAttr" json:"attr_type,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetMySidEntryAttributeRequest) Reset() { - *x = GetMySidEntryAttributeRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetMySidEntryAttributeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMySidEntryAttributeRequest) ProtoMessage() {} - -func (x *GetMySidEntryAttributeRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetMySidEntryAttributeRequest.ProtoReflect.Descriptor instead. -func (*GetMySidEntryAttributeRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{20} -} - -func (x *GetMySidEntryAttributeRequest) GetEntry() *MySidEntry { - if x != nil { - return x.Entry - } - return nil -} - -func (x *GetMySidEntryAttributeRequest) GetAttrType() []MySidEntryAttr { - if x != nil { - return x.AttrType - } - return nil -} - -type GetMySidEntryAttributeResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Attr *MySidEntryAttribute `protobuf:"bytes,1,opt,name=attr,proto3" json:"attr,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetMySidEntryAttributeResponse) Reset() { - *x = GetMySidEntryAttributeResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetMySidEntryAttributeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetMySidEntryAttributeResponse) ProtoMessage() {} - -func (x *GetMySidEntryAttributeResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetMySidEntryAttributeResponse.ProtoReflect.Descriptor instead. -func (*GetMySidEntryAttributeResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{21} -} - -func (x *GetMySidEntryAttributeResponse) GetAttr() *MySidEntryAttribute { - if x != nil { - return x.Attr - } - return nil -} - -type CreateMySidEntriesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Reqs []*CreateMySidEntryRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMySidEntriesRequest) Reset() { - *x = CreateMySidEntriesRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMySidEntriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMySidEntriesRequest) ProtoMessage() {} - -func (x *CreateMySidEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateMySidEntriesRequest.ProtoReflect.Descriptor instead. -func (*CreateMySidEntriesRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{22} -} - -func (x *CreateMySidEntriesRequest) GetReqs() []*CreateMySidEntryRequest { - if x != nil { - return x.Reqs - } - return nil -} - -type CreateMySidEntriesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resps []*CreateMySidEntryResponse `protobuf:"bytes,1,rep,name=resps,proto3" json:"resps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *CreateMySidEntriesResponse) Reset() { - *x = CreateMySidEntriesResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CreateMySidEntriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateMySidEntriesResponse) ProtoMessage() {} - -func (x *CreateMySidEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateMySidEntriesResponse.ProtoReflect.Descriptor instead. -func (*CreateMySidEntriesResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{23} -} - -func (x *CreateMySidEntriesResponse) GetResps() []*CreateMySidEntryResponse { - if x != nil { - return x.Resps - } - return nil -} - -type RemoveMySidEntriesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Reqs []*RemoveMySidEntryRequest `protobuf:"bytes,1,rep,name=reqs,proto3" json:"reqs,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveMySidEntriesRequest) Reset() { - *x = RemoveMySidEntriesRequest{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveMySidEntriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveMySidEntriesRequest) ProtoMessage() {} - -func (x *RemoveMySidEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveMySidEntriesRequest.ProtoReflect.Descriptor instead. -func (*RemoveMySidEntriesRequest) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{24} -} - -func (x *RemoveMySidEntriesRequest) GetReqs() []*RemoveMySidEntryRequest { - if x != nil { - return x.Reqs - } - return nil -} - -type RemoveMySidEntriesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - Resps []*RemoveMySidEntryResponse `protobuf:"bytes,1,rep,name=resps,proto3" json:"resps,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *RemoveMySidEntriesResponse) Reset() { - *x = RemoveMySidEntriesResponse{} - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *RemoveMySidEntriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveMySidEntriesResponse) ProtoMessage() {} - -func (x *RemoveMySidEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_dataplane_proto_sai_srv6_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveMySidEntriesResponse.ProtoReflect.Descriptor instead. -func (*RemoveMySidEntriesResponse) Descriptor() ([]byte, []int) { - return file_dataplane_proto_sai_srv6_proto_rawDescGZIP(), []int{25} -} - -func (x *RemoveMySidEntriesResponse) GetResps() []*RemoveMySidEntryResponse { - if x != nil { - return x.Resps - } - return nil -} - var File_dataplane_proto_sai_srv6_proto protoreflect.FileDescriptor const file_dataplane_proto_sai_srv6_proto_rawDesc = "" + @@ -1542,65 +835,7 @@ const file_dataplane_proto_sai_srv6_proto_rawDesc = "" + "\vcounter_ids\x18\x02 \x03(\x0e2&.lemming.dataplane.sai.Srv6SidlistStatR\n" + "counterIds\"5\n" + "\x1bGetSrv6SidlistStatsResponse\x12\x16\n" + - "\x06values\x18\x01 \x03(\x04R\x06values\"\xfe\x05\n" + - "\x17CreateMySidEntryRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.MySidEntryR\x05entry\x12k\n" + - "\x11endpoint_behavior\x18\x02 \x01(\x0e21.lemming.dataplane.sai.MySidEntryEndpointBehaviorB\x06\xf0ܓ\xad\x0f\x01H\x00R\x10endpointBehavior\x88\x01\x01\x12~\n" + - "\x18endpoint_behavior_flavor\x18\x03 \x01(\x0e27.lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavorB\x06\xf0ܓ\xad\x0f\x02H\x01R\x16endpointBehaviorFlavor\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x04 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x03H\x02R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x06 \x01(\x04B\x06\xf0ܓ\xad\x0f\x05H\x04R\tnextHopId\x88\x01\x01\x12(\n" + - "\ttunnel_id\x18\a \x01(\x04B\x06\xf0ܓ\xad\x0f\x06H\x05R\btunnelId\x88\x01\x01\x12\x1d\n" + - "\x03vrf\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x03vrf\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\tcounterId\x88\x01\x01:\x06\xa0\xa9\x90\xad\x0faB\x14\n" + - "\x12_endpoint_behaviorB\x1b\n" + - "\x19_endpoint_behavior_flavorB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\f\n" + - "\n" + - "_tunnel_idB\x06\n" + - "\x04_vrfB\r\n" + - "\v_counter_id\"\x1a\n" + - "\x18CreateMySidEntryResponse\"R\n" + - "\x17RemoveMySidEntryRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.MySidEntryR\x05entry\"\x1a\n" + - "\x18RemoveMySidEntryResponse\"\xfc\x05\n" + - "\x1dSetMySidEntryAttributeRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.MySidEntryR\x05entry\x12k\n" + - "\x11endpoint_behavior\x18\x02 \x01(\x0e21.lemming.dataplane.sai.MySidEntryEndpointBehaviorB\x06\xf0ܓ\xad\x0f\x01H\x00R\x10endpointBehavior\x88\x01\x01\x12~\n" + - "\x18endpoint_behavior_flavor\x18\x03 \x01(\x0e27.lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavorB\x06\xf0ܓ\xad\x0f\x02H\x01R\x16endpointBehaviorFlavor\x88\x01\x01\x12U\n" + - "\rpacket_action\x18\x04 \x01(\x0e2#.lemming.dataplane.sai.PacketActionB\x06\xf0ܓ\xad\x0f\x03H\x02R\fpacketAction\x88\x01\x01\x120\n" + - "\rtrap_priority\x18\x05 \x01(\rB\x06\xf0ܓ\xad\x0f\x04H\x03R\ftrapPriority\x88\x01\x01\x12+\n" + - "\vnext_hop_id\x18\x06 \x01(\x04B\x06\xf0ܓ\xad\x0f\x05H\x04R\tnextHopId\x88\x01\x01\x12(\n" + - "\ttunnel_id\x18\a \x01(\x04B\x06\xf0ܓ\xad\x0f\x06H\x05R\btunnelId\x88\x01\x01\x12\x1d\n" + - "\x03vrf\x18\b \x01(\x04B\x06\xf0ܓ\xad\x0f\aH\x06R\x03vrf\x88\x01\x01\x12*\n" + - "\n" + - "counter_id\x18\t \x01(\x04B\x06\xf0ܓ\xad\x0f\bH\aR\tcounterId\x88\x01\x01B\x14\n" + - "\x12_endpoint_behaviorB\x1b\n" + - "\x19_endpoint_behavior_flavorB\x10\n" + - "\x0e_packet_actionB\x10\n" + - "\x0e_trap_priorityB\x0e\n" + - "\f_next_hop_idB\f\n" + - "\n" + - "_tunnel_idB\x06\n" + - "\x04_vrfB\r\n" + - "\v_counter_id\" \n" + - "\x1eSetMySidEntryAttributeResponse\"\x9c\x01\n" + - "\x1dGetMySidEntryAttributeRequest\x127\n" + - "\x05entry\x18\x01 \x01(\v2!.lemming.dataplane.sai.MySidEntryR\x05entry\x12B\n" + - "\tattr_type\x18\x02 \x03(\x0e2%.lemming.dataplane.sai.MySidEntryAttrR\battrType\"`\n" + - "\x1eGetMySidEntryAttributeResponse\x12>\n" + - "\x04attr\x18\x01 \x01(\v2*.lemming.dataplane.sai.MySidEntryAttributeR\x04attr\"_\n" + - "\x19CreateMySidEntriesRequest\x12B\n" + - "\x04reqs\x18\x01 \x03(\v2..lemming.dataplane.sai.CreateMySidEntryRequestR\x04reqs\"c\n" + - "\x1aCreateMySidEntriesResponse\x12E\n" + - "\x05resps\x18\x01 \x03(\v2/.lemming.dataplane.sai.CreateMySidEntryResponseR\x05resps\"_\n" + - "\x19RemoveMySidEntriesRequest\x12B\n" + - "\x04reqs\x18\x01 \x03(\v2..lemming.dataplane.sai.RemoveMySidEntryRequestR\x04reqs\"c\n" + - "\x1aRemoveMySidEntriesResponse\x12E\n" + - "\x05resps\x18\x01 \x03(\v2/.lemming.dataplane.sai.RemoveMySidEntryResponseR\x05resps*\x8d\x02\n" + + "\x06values\x18\x01 \x03(\x04R\x06values*\x8d\x02\n" + "\x0fSrv6SidlistAttr\x12!\n" + "\x1dSRV6_SIDLIST_ATTR_UNSPECIFIED\x10\x00\x12\x1a\n" + "\x16SRV6_SIDLIST_ATTR_TYPE\x10\x01\x12\x1e\n" + @@ -1608,17 +843,7 @@ const file_dataplane_proto_sai_srv6_proto_rawDesc = "" + "\x1eSRV6_SIDLIST_ATTR_SEGMENT_LIST\x10\x03\x12!\n" + "\x1dSRV6_SIDLIST_ATTR_NEXT_HOP_ID\x10\x04\x12&\n" + "\"SRV6_SIDLIST_ATTR_STATS_COUNT_MODE\x10\x05\x12,\n" + - "(SRV6_SIDLIST_ATTR_SELECTIVE_COUNTER_LIST\x10\x06*\xd7\x02\n" + - "\x0eMySidEntryAttr\x12!\n" + - "\x1dMY_SID_ENTRY_ATTR_UNSPECIFIED\x10\x00\x12'\n" + - "#MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR\x10\x01\x12.\n" + - "*MY_SID_ENTRY_ATTR_ENDPOINT_BEHAVIOR_FLAVOR\x10\x02\x12#\n" + - "\x1fMY_SID_ENTRY_ATTR_PACKET_ACTION\x10\x03\x12#\n" + - "\x1fMY_SID_ENTRY_ATTR_TRAP_PRIORITY\x10\x04\x12!\n" + - "\x1dMY_SID_ENTRY_ATTR_NEXT_HOP_ID\x10\x05\x12\x1f\n" + - "\x1bMY_SID_ENTRY_ATTR_TUNNEL_ID\x10\x06\x12\x19\n" + - "\x15MY_SID_ENTRY_ATTR_VRF\x10\a\x12 \n" + - "\x1cMY_SID_ENTRY_ATTR_COUNTER_ID\x10\b2\x8a\r\n" + + "(SRV6_SIDLIST_ATTR_SELECTIVE_COUNTER_LIST\x10\x062\x8e\a\n" + "\x04Srv6\x12x\n" + "\x11CreateSrv6Sidlist\x12/.lemming.dataplane.sai.CreateSrv6SidlistRequest\x1a0.lemming.dataplane.sai.CreateSrv6SidlistResponse\"\x00\x12x\n" + "\x11RemoveSrv6Sidlist\x12/.lemming.dataplane.sai.RemoveSrv6SidlistRequest\x1a0.lemming.dataplane.sai.RemoveSrv6SidlistResponse\"\x00\x12\x8a\x01\n" + @@ -1626,13 +851,7 @@ const file_dataplane_proto_sai_srv6_proto_rawDesc = "" + "\x17GetSrv6SidlistAttribute\x125.lemming.dataplane.sai.GetSrv6SidlistAttributeRequest\x1a6.lemming.dataplane.sai.GetSrv6SidlistAttributeResponse\"\x00\x12{\n" + "\x12CreateSrv6Sidlists\x120.lemming.dataplane.sai.CreateSrv6SidlistsRequest\x1a1.lemming.dataplane.sai.CreateSrv6SidlistsResponse\"\x00\x12{\n" + "\x12RemoveSrv6Sidlists\x120.lemming.dataplane.sai.RemoveSrv6SidlistsRequest\x1a1.lemming.dataplane.sai.RemoveSrv6SidlistsResponse\"\x00\x12~\n" + - "\x13GetSrv6SidlistStats\x121.lemming.dataplane.sai.GetSrv6SidlistStatsRequest\x1a2.lemming.dataplane.sai.GetSrv6SidlistStatsResponse\"\x00\x12u\n" + - "\x10CreateMySidEntry\x12..lemming.dataplane.sai.CreateMySidEntryRequest\x1a/.lemming.dataplane.sai.CreateMySidEntryResponse\"\x00\x12u\n" + - "\x10RemoveMySidEntry\x12..lemming.dataplane.sai.RemoveMySidEntryRequest\x1a/.lemming.dataplane.sai.RemoveMySidEntryResponse\"\x00\x12\x87\x01\n" + - "\x16SetMySidEntryAttribute\x124.lemming.dataplane.sai.SetMySidEntryAttributeRequest\x1a5.lemming.dataplane.sai.SetMySidEntryAttributeResponse\"\x00\x12\x87\x01\n" + - "\x16GetMySidEntryAttribute\x124.lemming.dataplane.sai.GetMySidEntryAttributeRequest\x1a5.lemming.dataplane.sai.GetMySidEntryAttributeResponse\"\x00\x12{\n" + - "\x12CreateMySidEntries\x120.lemming.dataplane.sai.CreateMySidEntriesRequest\x1a1.lemming.dataplane.sai.CreateMySidEntriesResponse\"\x00\x12{\n" + - "\x12RemoveMySidEntries\x120.lemming.dataplane.sai.RemoveMySidEntriesRequest\x1a1.lemming.dataplane.sai.RemoveMySidEntriesResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" + "\x13GetSrv6SidlistStats\x121.lemming.dataplane.sai.GetSrv6SidlistStatsRequest\x1a2.lemming.dataplane.sai.GetSrv6SidlistStatsResponse\"\x00B3Z1github.com/openconfig/lemming/dataplane/proto/saib\x06proto3" var ( file_dataplane_proto_sai_srv6_proto_rawDescOnce sync.Once @@ -1646,108 +865,62 @@ func file_dataplane_proto_sai_srv6_proto_rawDescGZIP() []byte { return file_dataplane_proto_sai_srv6_proto_rawDescData } -var file_dataplane_proto_sai_srv6_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_dataplane_proto_sai_srv6_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_dataplane_proto_sai_srv6_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_dataplane_proto_sai_srv6_proto_msgTypes = make([]protoimpl.MessageInfo, 14) var file_dataplane_proto_sai_srv6_proto_goTypes = []any{ (Srv6SidlistAttr)(0), // 0: lemming.dataplane.sai.Srv6SidlistAttr - (MySidEntryAttr)(0), // 1: lemming.dataplane.sai.MySidEntryAttr - (*CreateSrv6SidlistRequest)(nil), // 2: lemming.dataplane.sai.CreateSrv6SidlistRequest - (*CreateSrv6SidlistResponse)(nil), // 3: lemming.dataplane.sai.CreateSrv6SidlistResponse - (*RemoveSrv6SidlistRequest)(nil), // 4: lemming.dataplane.sai.RemoveSrv6SidlistRequest - (*RemoveSrv6SidlistResponse)(nil), // 5: lemming.dataplane.sai.RemoveSrv6SidlistResponse - (*SetSrv6SidlistAttributeRequest)(nil), // 6: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest - (*SetSrv6SidlistAttributeResponse)(nil), // 7: lemming.dataplane.sai.SetSrv6SidlistAttributeResponse - (*GetSrv6SidlistAttributeRequest)(nil), // 8: lemming.dataplane.sai.GetSrv6SidlistAttributeRequest - (*GetSrv6SidlistAttributeResponse)(nil), // 9: lemming.dataplane.sai.GetSrv6SidlistAttributeResponse - (*CreateSrv6SidlistsRequest)(nil), // 10: lemming.dataplane.sai.CreateSrv6SidlistsRequest - (*CreateSrv6SidlistsResponse)(nil), // 11: lemming.dataplane.sai.CreateSrv6SidlistsResponse - (*RemoveSrv6SidlistsRequest)(nil), // 12: lemming.dataplane.sai.RemoveSrv6SidlistsRequest - (*RemoveSrv6SidlistsResponse)(nil), // 13: lemming.dataplane.sai.RemoveSrv6SidlistsResponse - (*GetSrv6SidlistStatsRequest)(nil), // 14: lemming.dataplane.sai.GetSrv6SidlistStatsRequest - (*GetSrv6SidlistStatsResponse)(nil), // 15: lemming.dataplane.sai.GetSrv6SidlistStatsResponse - (*CreateMySidEntryRequest)(nil), // 16: lemming.dataplane.sai.CreateMySidEntryRequest - (*CreateMySidEntryResponse)(nil), // 17: lemming.dataplane.sai.CreateMySidEntryResponse - (*RemoveMySidEntryRequest)(nil), // 18: lemming.dataplane.sai.RemoveMySidEntryRequest - (*RemoveMySidEntryResponse)(nil), // 19: lemming.dataplane.sai.RemoveMySidEntryResponse - (*SetMySidEntryAttributeRequest)(nil), // 20: lemming.dataplane.sai.SetMySidEntryAttributeRequest - (*SetMySidEntryAttributeResponse)(nil), // 21: lemming.dataplane.sai.SetMySidEntryAttributeResponse - (*GetMySidEntryAttributeRequest)(nil), // 22: lemming.dataplane.sai.GetMySidEntryAttributeRequest - (*GetMySidEntryAttributeResponse)(nil), // 23: lemming.dataplane.sai.GetMySidEntryAttributeResponse - (*CreateMySidEntriesRequest)(nil), // 24: lemming.dataplane.sai.CreateMySidEntriesRequest - (*CreateMySidEntriesResponse)(nil), // 25: lemming.dataplane.sai.CreateMySidEntriesResponse - (*RemoveMySidEntriesRequest)(nil), // 26: lemming.dataplane.sai.RemoveMySidEntriesRequest - (*RemoveMySidEntriesResponse)(nil), // 27: lemming.dataplane.sai.RemoveMySidEntriesResponse - (Srv6SidlistType)(0), // 28: lemming.dataplane.sai.Srv6SidlistType - (*TLVEntry)(nil), // 29: lemming.dataplane.sai.TLVEntry - (StatsCountMode)(0), // 30: lemming.dataplane.sai.StatsCountMode - (*Srv6SidlistAttribute)(nil), // 31: lemming.dataplane.sai.Srv6SidlistAttribute - (Srv6SidlistStat)(0), // 32: lemming.dataplane.sai.Srv6SidlistStat - (*MySidEntry)(nil), // 33: lemming.dataplane.sai.MySidEntry - (MySidEntryEndpointBehavior)(0), // 34: lemming.dataplane.sai.MySidEntryEndpointBehavior - (MySidEntryEndpointBehaviorFlavor)(0), // 35: lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor - (PacketAction)(0), // 36: lemming.dataplane.sai.PacketAction - (*MySidEntryAttribute)(nil), // 37: lemming.dataplane.sai.MySidEntryAttribute + (*CreateSrv6SidlistRequest)(nil), // 1: lemming.dataplane.sai.CreateSrv6SidlistRequest + (*CreateSrv6SidlistResponse)(nil), // 2: lemming.dataplane.sai.CreateSrv6SidlistResponse + (*RemoveSrv6SidlistRequest)(nil), // 3: lemming.dataplane.sai.RemoveSrv6SidlistRequest + (*RemoveSrv6SidlistResponse)(nil), // 4: lemming.dataplane.sai.RemoveSrv6SidlistResponse + (*SetSrv6SidlistAttributeRequest)(nil), // 5: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest + (*SetSrv6SidlistAttributeResponse)(nil), // 6: lemming.dataplane.sai.SetSrv6SidlistAttributeResponse + (*GetSrv6SidlistAttributeRequest)(nil), // 7: lemming.dataplane.sai.GetSrv6SidlistAttributeRequest + (*GetSrv6SidlistAttributeResponse)(nil), // 8: lemming.dataplane.sai.GetSrv6SidlistAttributeResponse + (*CreateSrv6SidlistsRequest)(nil), // 9: lemming.dataplane.sai.CreateSrv6SidlistsRequest + (*CreateSrv6SidlistsResponse)(nil), // 10: lemming.dataplane.sai.CreateSrv6SidlistsResponse + (*RemoveSrv6SidlistsRequest)(nil), // 11: lemming.dataplane.sai.RemoveSrv6SidlistsRequest + (*RemoveSrv6SidlistsResponse)(nil), // 12: lemming.dataplane.sai.RemoveSrv6SidlistsResponse + (*GetSrv6SidlistStatsRequest)(nil), // 13: lemming.dataplane.sai.GetSrv6SidlistStatsRequest + (*GetSrv6SidlistStatsResponse)(nil), // 14: lemming.dataplane.sai.GetSrv6SidlistStatsResponse + (Srv6SidlistType)(0), // 15: lemming.dataplane.sai.Srv6SidlistType + (*TLVEntry)(nil), // 16: lemming.dataplane.sai.TLVEntry + (StatsCountMode)(0), // 17: lemming.dataplane.sai.StatsCountMode + (*Srv6SidlistAttribute)(nil), // 18: lemming.dataplane.sai.Srv6SidlistAttribute + (Srv6SidlistStat)(0), // 19: lemming.dataplane.sai.Srv6SidlistStat } var file_dataplane_proto_sai_srv6_proto_depIdxs = []int32{ - 28, // 0: lemming.dataplane.sai.CreateSrv6SidlistRequest.type:type_name -> lemming.dataplane.sai.Srv6SidlistType - 29, // 1: lemming.dataplane.sai.CreateSrv6SidlistRequest.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry - 30, // 2: lemming.dataplane.sai.CreateSrv6SidlistRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode - 29, // 3: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry - 30, // 4: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 15, // 0: lemming.dataplane.sai.CreateSrv6SidlistRequest.type:type_name -> lemming.dataplane.sai.Srv6SidlistType + 16, // 1: lemming.dataplane.sai.CreateSrv6SidlistRequest.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry + 17, // 2: lemming.dataplane.sai.CreateSrv6SidlistRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode + 16, // 3: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest.tlv_list:type_name -> lemming.dataplane.sai.TLVEntry + 17, // 4: lemming.dataplane.sai.SetSrv6SidlistAttributeRequest.stats_count_mode:type_name -> lemming.dataplane.sai.StatsCountMode 0, // 5: lemming.dataplane.sai.GetSrv6SidlistAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.Srv6SidlistAttr - 31, // 6: lemming.dataplane.sai.GetSrv6SidlistAttributeResponse.attr:type_name -> lemming.dataplane.sai.Srv6SidlistAttribute - 2, // 7: lemming.dataplane.sai.CreateSrv6SidlistsRequest.reqs:type_name -> lemming.dataplane.sai.CreateSrv6SidlistRequest - 3, // 8: lemming.dataplane.sai.CreateSrv6SidlistsResponse.resps:type_name -> lemming.dataplane.sai.CreateSrv6SidlistResponse - 4, // 9: lemming.dataplane.sai.RemoveSrv6SidlistsRequest.reqs:type_name -> lemming.dataplane.sai.RemoveSrv6SidlistRequest - 5, // 10: lemming.dataplane.sai.RemoveSrv6SidlistsResponse.resps:type_name -> lemming.dataplane.sai.RemoveSrv6SidlistResponse - 32, // 11: lemming.dataplane.sai.GetSrv6SidlistStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.Srv6SidlistStat - 33, // 12: lemming.dataplane.sai.CreateMySidEntryRequest.entry:type_name -> lemming.dataplane.sai.MySidEntry - 34, // 13: lemming.dataplane.sai.CreateMySidEntryRequest.endpoint_behavior:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehavior - 35, // 14: lemming.dataplane.sai.CreateMySidEntryRequest.endpoint_behavior_flavor:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor - 36, // 15: lemming.dataplane.sai.CreateMySidEntryRequest.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 33, // 16: lemming.dataplane.sai.RemoveMySidEntryRequest.entry:type_name -> lemming.dataplane.sai.MySidEntry - 33, // 17: lemming.dataplane.sai.SetMySidEntryAttributeRequest.entry:type_name -> lemming.dataplane.sai.MySidEntry - 34, // 18: lemming.dataplane.sai.SetMySidEntryAttributeRequest.endpoint_behavior:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehavior - 35, // 19: lemming.dataplane.sai.SetMySidEntryAttributeRequest.endpoint_behavior_flavor:type_name -> lemming.dataplane.sai.MySidEntryEndpointBehaviorFlavor - 36, // 20: lemming.dataplane.sai.SetMySidEntryAttributeRequest.packet_action:type_name -> lemming.dataplane.sai.PacketAction - 33, // 21: lemming.dataplane.sai.GetMySidEntryAttributeRequest.entry:type_name -> lemming.dataplane.sai.MySidEntry - 1, // 22: lemming.dataplane.sai.GetMySidEntryAttributeRequest.attr_type:type_name -> lemming.dataplane.sai.MySidEntryAttr - 37, // 23: lemming.dataplane.sai.GetMySidEntryAttributeResponse.attr:type_name -> lemming.dataplane.sai.MySidEntryAttribute - 16, // 24: lemming.dataplane.sai.CreateMySidEntriesRequest.reqs:type_name -> lemming.dataplane.sai.CreateMySidEntryRequest - 17, // 25: lemming.dataplane.sai.CreateMySidEntriesResponse.resps:type_name -> lemming.dataplane.sai.CreateMySidEntryResponse - 18, // 26: lemming.dataplane.sai.RemoveMySidEntriesRequest.reqs:type_name -> lemming.dataplane.sai.RemoveMySidEntryRequest - 19, // 27: lemming.dataplane.sai.RemoveMySidEntriesResponse.resps:type_name -> lemming.dataplane.sai.RemoveMySidEntryResponse - 2, // 28: lemming.dataplane.sai.Srv6.CreateSrv6Sidlist:input_type -> lemming.dataplane.sai.CreateSrv6SidlistRequest - 4, // 29: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlist:input_type -> lemming.dataplane.sai.RemoveSrv6SidlistRequest - 6, // 30: lemming.dataplane.sai.Srv6.SetSrv6SidlistAttribute:input_type -> lemming.dataplane.sai.SetSrv6SidlistAttributeRequest - 8, // 31: lemming.dataplane.sai.Srv6.GetSrv6SidlistAttribute:input_type -> lemming.dataplane.sai.GetSrv6SidlistAttributeRequest - 10, // 32: lemming.dataplane.sai.Srv6.CreateSrv6Sidlists:input_type -> lemming.dataplane.sai.CreateSrv6SidlistsRequest - 12, // 33: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlists:input_type -> lemming.dataplane.sai.RemoveSrv6SidlistsRequest - 14, // 34: lemming.dataplane.sai.Srv6.GetSrv6SidlistStats:input_type -> lemming.dataplane.sai.GetSrv6SidlistStatsRequest - 16, // 35: lemming.dataplane.sai.Srv6.CreateMySidEntry:input_type -> lemming.dataplane.sai.CreateMySidEntryRequest - 18, // 36: lemming.dataplane.sai.Srv6.RemoveMySidEntry:input_type -> lemming.dataplane.sai.RemoveMySidEntryRequest - 20, // 37: lemming.dataplane.sai.Srv6.SetMySidEntryAttribute:input_type -> lemming.dataplane.sai.SetMySidEntryAttributeRequest - 22, // 38: lemming.dataplane.sai.Srv6.GetMySidEntryAttribute:input_type -> lemming.dataplane.sai.GetMySidEntryAttributeRequest - 24, // 39: lemming.dataplane.sai.Srv6.CreateMySidEntries:input_type -> lemming.dataplane.sai.CreateMySidEntriesRequest - 26, // 40: lemming.dataplane.sai.Srv6.RemoveMySidEntries:input_type -> lemming.dataplane.sai.RemoveMySidEntriesRequest - 3, // 41: lemming.dataplane.sai.Srv6.CreateSrv6Sidlist:output_type -> lemming.dataplane.sai.CreateSrv6SidlistResponse - 5, // 42: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlist:output_type -> lemming.dataplane.sai.RemoveSrv6SidlistResponse - 7, // 43: lemming.dataplane.sai.Srv6.SetSrv6SidlistAttribute:output_type -> lemming.dataplane.sai.SetSrv6SidlistAttributeResponse - 9, // 44: lemming.dataplane.sai.Srv6.GetSrv6SidlistAttribute:output_type -> lemming.dataplane.sai.GetSrv6SidlistAttributeResponse - 11, // 45: lemming.dataplane.sai.Srv6.CreateSrv6Sidlists:output_type -> lemming.dataplane.sai.CreateSrv6SidlistsResponse - 13, // 46: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlists:output_type -> lemming.dataplane.sai.RemoveSrv6SidlistsResponse - 15, // 47: lemming.dataplane.sai.Srv6.GetSrv6SidlistStats:output_type -> lemming.dataplane.sai.GetSrv6SidlistStatsResponse - 17, // 48: lemming.dataplane.sai.Srv6.CreateMySidEntry:output_type -> lemming.dataplane.sai.CreateMySidEntryResponse - 19, // 49: lemming.dataplane.sai.Srv6.RemoveMySidEntry:output_type -> lemming.dataplane.sai.RemoveMySidEntryResponse - 21, // 50: lemming.dataplane.sai.Srv6.SetMySidEntryAttribute:output_type -> lemming.dataplane.sai.SetMySidEntryAttributeResponse - 23, // 51: lemming.dataplane.sai.Srv6.GetMySidEntryAttribute:output_type -> lemming.dataplane.sai.GetMySidEntryAttributeResponse - 25, // 52: lemming.dataplane.sai.Srv6.CreateMySidEntries:output_type -> lemming.dataplane.sai.CreateMySidEntriesResponse - 27, // 53: lemming.dataplane.sai.Srv6.RemoveMySidEntries:output_type -> lemming.dataplane.sai.RemoveMySidEntriesResponse - 41, // [41:54] is the sub-list for method output_type - 28, // [28:41] is the sub-list for method input_type - 28, // [28:28] is the sub-list for extension type_name - 28, // [28:28] is the sub-list for extension extendee - 0, // [0:28] is the sub-list for field type_name + 18, // 6: lemming.dataplane.sai.GetSrv6SidlistAttributeResponse.attr:type_name -> lemming.dataplane.sai.Srv6SidlistAttribute + 1, // 7: lemming.dataplane.sai.CreateSrv6SidlistsRequest.reqs:type_name -> lemming.dataplane.sai.CreateSrv6SidlistRequest + 2, // 8: lemming.dataplane.sai.CreateSrv6SidlistsResponse.resps:type_name -> lemming.dataplane.sai.CreateSrv6SidlistResponse + 3, // 9: lemming.dataplane.sai.RemoveSrv6SidlistsRequest.reqs:type_name -> lemming.dataplane.sai.RemoveSrv6SidlistRequest + 4, // 10: lemming.dataplane.sai.RemoveSrv6SidlistsResponse.resps:type_name -> lemming.dataplane.sai.RemoveSrv6SidlistResponse + 19, // 11: lemming.dataplane.sai.GetSrv6SidlistStatsRequest.counter_ids:type_name -> lemming.dataplane.sai.Srv6SidlistStat + 1, // 12: lemming.dataplane.sai.Srv6.CreateSrv6Sidlist:input_type -> lemming.dataplane.sai.CreateSrv6SidlistRequest + 3, // 13: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlist:input_type -> lemming.dataplane.sai.RemoveSrv6SidlistRequest + 5, // 14: lemming.dataplane.sai.Srv6.SetSrv6SidlistAttribute:input_type -> lemming.dataplane.sai.SetSrv6SidlistAttributeRequest + 7, // 15: lemming.dataplane.sai.Srv6.GetSrv6SidlistAttribute:input_type -> lemming.dataplane.sai.GetSrv6SidlistAttributeRequest + 9, // 16: lemming.dataplane.sai.Srv6.CreateSrv6Sidlists:input_type -> lemming.dataplane.sai.CreateSrv6SidlistsRequest + 11, // 17: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlists:input_type -> lemming.dataplane.sai.RemoveSrv6SidlistsRequest + 13, // 18: lemming.dataplane.sai.Srv6.GetSrv6SidlistStats:input_type -> lemming.dataplane.sai.GetSrv6SidlistStatsRequest + 2, // 19: lemming.dataplane.sai.Srv6.CreateSrv6Sidlist:output_type -> lemming.dataplane.sai.CreateSrv6SidlistResponse + 4, // 20: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlist:output_type -> lemming.dataplane.sai.RemoveSrv6SidlistResponse + 6, // 21: lemming.dataplane.sai.Srv6.SetSrv6SidlistAttribute:output_type -> lemming.dataplane.sai.SetSrv6SidlistAttributeResponse + 8, // 22: lemming.dataplane.sai.Srv6.GetSrv6SidlistAttribute:output_type -> lemming.dataplane.sai.GetSrv6SidlistAttributeResponse + 10, // 23: lemming.dataplane.sai.Srv6.CreateSrv6Sidlists:output_type -> lemming.dataplane.sai.CreateSrv6SidlistsResponse + 12, // 24: lemming.dataplane.sai.Srv6.RemoveSrv6Sidlists:output_type -> lemming.dataplane.sai.RemoveSrv6SidlistsResponse + 14, // 25: lemming.dataplane.sai.Srv6.GetSrv6SidlistStats:output_type -> lemming.dataplane.sai.GetSrv6SidlistStatsResponse + 19, // [19:26] is the sub-list for method output_type + 12, // [12:19] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name } func init() { file_dataplane_proto_sai_srv6_proto_init() } @@ -1758,15 +931,13 @@ func file_dataplane_proto_sai_srv6_proto_init() { file_dataplane_proto_sai_common_proto_init() file_dataplane_proto_sai_srv6_proto_msgTypes[0].OneofWrappers = []any{} file_dataplane_proto_sai_srv6_proto_msgTypes[4].OneofWrappers = []any{} - file_dataplane_proto_sai_srv6_proto_msgTypes[14].OneofWrappers = []any{} - file_dataplane_proto_sai_srv6_proto_msgTypes[18].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_dataplane_proto_sai_srv6_proto_rawDesc), len(file_dataplane_proto_sai_srv6_proto_rawDesc)), - NumEnums: 2, - NumMessages: 26, + NumEnums: 1, + NumMessages: 14, NumExtensions: 0, NumServices: 1, }, diff --git a/dataplane/proto/sai/srv6_grpc.pb.go b/dataplane/proto/sai/srv6_grpc.pb.go index 43ee5327..8ca6f49a 100755 --- a/dataplane/proto/sai/srv6_grpc.pb.go +++ b/dataplane/proto/sai/srv6_grpc.pb.go @@ -26,12 +26,6 @@ const ( Srv6_CreateSrv6Sidlists_FullMethodName = "/lemming.dataplane.sai.Srv6/CreateSrv6Sidlists" Srv6_RemoveSrv6Sidlists_FullMethodName = "/lemming.dataplane.sai.Srv6/RemoveSrv6Sidlists" Srv6_GetSrv6SidlistStats_FullMethodName = "/lemming.dataplane.sai.Srv6/GetSrv6SidlistStats" - Srv6_CreateMySidEntry_FullMethodName = "/lemming.dataplane.sai.Srv6/CreateMySidEntry" - Srv6_RemoveMySidEntry_FullMethodName = "/lemming.dataplane.sai.Srv6/RemoveMySidEntry" - Srv6_SetMySidEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Srv6/SetMySidEntryAttribute" - Srv6_GetMySidEntryAttribute_FullMethodName = "/lemming.dataplane.sai.Srv6/GetMySidEntryAttribute" - Srv6_CreateMySidEntries_FullMethodName = "/lemming.dataplane.sai.Srv6/CreateMySidEntries" - Srv6_RemoveMySidEntries_FullMethodName = "/lemming.dataplane.sai.Srv6/RemoveMySidEntries" ) // Srv6Client is the client API for Srv6 service. @@ -45,12 +39,6 @@ type Srv6Client interface { CreateSrv6Sidlists(ctx context.Context, in *CreateSrv6SidlistsRequest, opts ...grpc.CallOption) (*CreateSrv6SidlistsResponse, error) RemoveSrv6Sidlists(ctx context.Context, in *RemoveSrv6SidlistsRequest, opts ...grpc.CallOption) (*RemoveSrv6SidlistsResponse, error) GetSrv6SidlistStats(ctx context.Context, in *GetSrv6SidlistStatsRequest, opts ...grpc.CallOption) (*GetSrv6SidlistStatsResponse, error) - CreateMySidEntry(ctx context.Context, in *CreateMySidEntryRequest, opts ...grpc.CallOption) (*CreateMySidEntryResponse, error) - RemoveMySidEntry(ctx context.Context, in *RemoveMySidEntryRequest, opts ...grpc.CallOption) (*RemoveMySidEntryResponse, error) - SetMySidEntryAttribute(ctx context.Context, in *SetMySidEntryAttributeRequest, opts ...grpc.CallOption) (*SetMySidEntryAttributeResponse, error) - GetMySidEntryAttribute(ctx context.Context, in *GetMySidEntryAttributeRequest, opts ...grpc.CallOption) (*GetMySidEntryAttributeResponse, error) - CreateMySidEntries(ctx context.Context, in *CreateMySidEntriesRequest, opts ...grpc.CallOption) (*CreateMySidEntriesResponse, error) - RemoveMySidEntries(ctx context.Context, in *RemoveMySidEntriesRequest, opts ...grpc.CallOption) (*RemoveMySidEntriesResponse, error) } type srv6Client struct { @@ -131,66 +119,6 @@ func (c *srv6Client) GetSrv6SidlistStats(ctx context.Context, in *GetSrv6Sidlist return out, nil } -func (c *srv6Client) CreateMySidEntry(ctx context.Context, in *CreateMySidEntryRequest, opts ...grpc.CallOption) (*CreateMySidEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateMySidEntryResponse) - err := c.cc.Invoke(ctx, Srv6_CreateMySidEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *srv6Client) RemoveMySidEntry(ctx context.Context, in *RemoveMySidEntryRequest, opts ...grpc.CallOption) (*RemoveMySidEntryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveMySidEntryResponse) - err := c.cc.Invoke(ctx, Srv6_RemoveMySidEntry_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *srv6Client) SetMySidEntryAttribute(ctx context.Context, in *SetMySidEntryAttributeRequest, opts ...grpc.CallOption) (*SetMySidEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SetMySidEntryAttributeResponse) - err := c.cc.Invoke(ctx, Srv6_SetMySidEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *srv6Client) GetMySidEntryAttribute(ctx context.Context, in *GetMySidEntryAttributeRequest, opts ...grpc.CallOption) (*GetMySidEntryAttributeResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetMySidEntryAttributeResponse) - err := c.cc.Invoke(ctx, Srv6_GetMySidEntryAttribute_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *srv6Client) CreateMySidEntries(ctx context.Context, in *CreateMySidEntriesRequest, opts ...grpc.CallOption) (*CreateMySidEntriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(CreateMySidEntriesResponse) - err := c.cc.Invoke(ctx, Srv6_CreateMySidEntries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *srv6Client) RemoveMySidEntries(ctx context.Context, in *RemoveMySidEntriesRequest, opts ...grpc.CallOption) (*RemoveMySidEntriesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(RemoveMySidEntriesResponse) - err := c.cc.Invoke(ctx, Srv6_RemoveMySidEntries_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - // Srv6Server is the server API for Srv6 service. // All implementations should embed UnimplementedSrv6Server // for forward compatibility. @@ -202,12 +130,6 @@ type Srv6Server interface { CreateSrv6Sidlists(context.Context, *CreateSrv6SidlistsRequest) (*CreateSrv6SidlistsResponse, error) RemoveSrv6Sidlists(context.Context, *RemoveSrv6SidlistsRequest) (*RemoveSrv6SidlistsResponse, error) GetSrv6SidlistStats(context.Context, *GetSrv6SidlistStatsRequest) (*GetSrv6SidlistStatsResponse, error) - CreateMySidEntry(context.Context, *CreateMySidEntryRequest) (*CreateMySidEntryResponse, error) - RemoveMySidEntry(context.Context, *RemoveMySidEntryRequest) (*RemoveMySidEntryResponse, error) - SetMySidEntryAttribute(context.Context, *SetMySidEntryAttributeRequest) (*SetMySidEntryAttributeResponse, error) - GetMySidEntryAttribute(context.Context, *GetMySidEntryAttributeRequest) (*GetMySidEntryAttributeResponse, error) - CreateMySidEntries(context.Context, *CreateMySidEntriesRequest) (*CreateMySidEntriesResponse, error) - RemoveMySidEntries(context.Context, *RemoveMySidEntriesRequest) (*RemoveMySidEntriesResponse, error) } // UnimplementedSrv6Server should be embedded to have @@ -238,24 +160,6 @@ func (UnimplementedSrv6Server) RemoveSrv6Sidlists(context.Context, *RemoveSrv6Si func (UnimplementedSrv6Server) GetSrv6SidlistStats(context.Context, *GetSrv6SidlistStatsRequest) (*GetSrv6SidlistStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSrv6SidlistStats not implemented") } -func (UnimplementedSrv6Server) CreateMySidEntry(context.Context, *CreateMySidEntryRequest) (*CreateMySidEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateMySidEntry not implemented") -} -func (UnimplementedSrv6Server) RemoveMySidEntry(context.Context, *RemoveMySidEntryRequest) (*RemoveMySidEntryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveMySidEntry not implemented") -} -func (UnimplementedSrv6Server) SetMySidEntryAttribute(context.Context, *SetMySidEntryAttributeRequest) (*SetMySidEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetMySidEntryAttribute not implemented") -} -func (UnimplementedSrv6Server) GetMySidEntryAttribute(context.Context, *GetMySidEntryAttributeRequest) (*GetMySidEntryAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetMySidEntryAttribute not implemented") -} -func (UnimplementedSrv6Server) CreateMySidEntries(context.Context, *CreateMySidEntriesRequest) (*CreateMySidEntriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateMySidEntries not implemented") -} -func (UnimplementedSrv6Server) RemoveMySidEntries(context.Context, *RemoveMySidEntriesRequest) (*RemoveMySidEntriesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveMySidEntries not implemented") -} func (UnimplementedSrv6Server) testEmbeddedByValue() {} // UnsafeSrv6Server may be embedded to opt out of forward compatibility for this service. @@ -402,114 +306,6 @@ func _Srv6_GetSrv6SidlistStats_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _Srv6_CreateMySidEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateMySidEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).CreateMySidEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_CreateMySidEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).CreateMySidEntry(ctx, req.(*CreateMySidEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Srv6_RemoveMySidEntry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveMySidEntryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).RemoveMySidEntry(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_RemoveMySidEntry_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).RemoveMySidEntry(ctx, req.(*RemoveMySidEntryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Srv6_SetMySidEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetMySidEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).SetMySidEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_SetMySidEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).SetMySidEntryAttribute(ctx, req.(*SetMySidEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Srv6_GetMySidEntryAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetMySidEntryAttributeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).GetMySidEntryAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_GetMySidEntryAttribute_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).GetMySidEntryAttribute(ctx, req.(*GetMySidEntryAttributeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Srv6_CreateMySidEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateMySidEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).CreateMySidEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_CreateMySidEntries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).CreateMySidEntries(ctx, req.(*CreateMySidEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _Srv6_RemoveMySidEntries_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveMySidEntriesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(Srv6Server).RemoveMySidEntries(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: Srv6_RemoveMySidEntries_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(Srv6Server).RemoveMySidEntries(ctx, req.(*RemoveMySidEntriesRequest)) - } - return interceptor(ctx, in, info, handler) -} - // Srv6_ServiceDesc is the grpc.ServiceDesc for Srv6 service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -545,30 +341,6 @@ var Srv6_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetSrv6SidlistStats", Handler: _Srv6_GetSrv6SidlistStats_Handler, }, - { - MethodName: "CreateMySidEntry", - Handler: _Srv6_CreateMySidEntry_Handler, - }, - { - MethodName: "RemoveMySidEntry", - Handler: _Srv6_RemoveMySidEntry_Handler, - }, - { - MethodName: "SetMySidEntryAttribute", - Handler: _Srv6_SetMySidEntryAttribute_Handler, - }, - { - MethodName: "GetMySidEntryAttribute", - Handler: _Srv6_GetMySidEntryAttribute_Handler, - }, - { - MethodName: "CreateMySidEntries", - Handler: _Srv6_CreateMySidEntries_Handler, - }, - { - MethodName: "RemoveMySidEntries", - Handler: _Srv6_RemoveMySidEntries_Handler, - }, }, Streams: []grpc.StreamDesc{}, Metadata: "dataplane/proto/sai/srv6.proto", diff --git a/dataplane/proto/sai/switch.pb.go b/dataplane/proto/sai/switch.pb.go index 7f423726..293963dc 100644 --- a/dataplane/proto/sai/switch.pb.go +++ b/dataplane/proto/sai/switch.pb.go @@ -264,6 +264,14 @@ const ( SwitchAttr_SWITCH_ATTR_SELECTIVE_COUNTER_LIST SwitchAttr = 237 SwitchAttr_SWITCH_ATTR_DISABLE_INGRESS_VLAN_CHECKS SwitchAttr = 238 SwitchAttr_SWITCH_ATTR_DISABLE_EGRESS_VLAN_CHECKS SwitchAttr = 239 + SwitchAttr_SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI SwitchAttr = 240 + SwitchAttr_SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL SwitchAttr = 241 + SwitchAttr_SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED SwitchAttr = 242 + SwitchAttr_SWITCH_ATTR_HA_SET_EVENT_NOTIFY SwitchAttr = 243 + SwitchAttr_SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY SwitchAttr = 244 + SwitchAttr_SWITCH_ATTR_SUPPORTED_DEBUG_COUNTER_TYPE_LIST SwitchAttr = 245 + SwitchAttr_SWITCH_ATTR_SUPPORTED_INGRESS_DROP_REASON_LIST SwitchAttr = 246 + SwitchAttr_SWITCH_ATTR_AVAILABLE_SWITCH_INGRESS_DROP_COUNTERS SwitchAttr = 247 ) // Enum value maps for SwitchAttr. @@ -509,6 +517,14 @@ var ( 237: "SWITCH_ATTR_SELECTIVE_COUNTER_LIST", 238: "SWITCH_ATTR_DISABLE_INGRESS_VLAN_CHECKS", 239: "SWITCH_ATTR_DISABLE_EGRESS_VLAN_CHECKS", + 240: "SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI", + 241: "SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL", + 242: "SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED", + 243: "SWITCH_ATTR_HA_SET_EVENT_NOTIFY", + 244: "SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY", + 245: "SWITCH_ATTR_SUPPORTED_DEBUG_COUNTER_TYPE_LIST", + 246: "SWITCH_ATTR_SUPPORTED_INGRESS_DROP_REASON_LIST", + 247: "SWITCH_ATTR_AVAILABLE_SWITCH_INGRESS_DROP_COUNTERS", } SwitchAttr_value = map[string]int32{ "SWITCH_ATTR_UNSPECIFIED": 0, @@ -751,6 +767,14 @@ var ( "SWITCH_ATTR_SELECTIVE_COUNTER_LIST": 237, "SWITCH_ATTR_DISABLE_INGRESS_VLAN_CHECKS": 238, "SWITCH_ATTR_DISABLE_EGRESS_VLAN_CHECKS": 239, + "SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI": 240, + "SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL": 241, + "SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED": 242, + "SWITCH_ATTR_HA_SET_EVENT_NOTIFY": 243, + "SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY": 244, + "SWITCH_ATTR_SUPPORTED_DEBUG_COUNTER_TYPE_LIST": 245, + "SWITCH_ATTR_SUPPORTED_INGRESS_DROP_REASON_LIST": 246, + "SWITCH_ATTR_AVAILABLE_SWITCH_INGRESS_DROP_COUNTERS": 247, } ) @@ -4459,7 +4483,7 @@ const file_dataplane_proto_sai_switch_proto_rawDesc = "" + "\x03oid\x18\x01 \x01(\x04R\x03oid\x12D\n" + "\tattr_type\x18\x02 \x03(\x0e2'.lemming.dataplane.sai.SwitchTunnelAttrR\battrType\"d\n" + " GetSwitchTunnelAttributeResponse\x12@\n" + - "\x04attr\x18\x01 \x01(\v2,.lemming.dataplane.sai.SwitchTunnelAttributeR\x04attr*\xf8K\n" + + "\x04attr\x18\x01 \x01(\v2,.lemming.dataplane.sai.SwitchTunnelAttributeR\x04attr*\xfaN\n" + "\n" + "SwitchAttr\x12\x1b\n" + "\x17SWITCH_ATTR_UNSPECIFIED\x10\x00\x12&\n" + @@ -4702,7 +4726,15 @@ const file_dataplane_proto_sai_switch_proto_rawDesc = "" + "\x1cSWITCH_ATTR_STATS_COUNT_MODE\x10\xec\x01\x12'\n" + "\"SWITCH_ATTR_SELECTIVE_COUNTER_LIST\x10\xed\x01\x12,\n" + "'SWITCH_ATTR_DISABLE_INGRESS_VLAN_CHECKS\x10\xee\x01\x12+\n" + - "&SWITCH_ATTR_DISABLE_EGRESS_VLAN_CHECKS\x10\xef\x01*\x93\x05\n" + + "&SWITCH_ATTR_DISABLE_EGRESS_VLAN_CHECKS\x10\xef\x01\x129\n" + + "4SWITCH_ATTR_DASH_CAPS_MAX_METER_BUCKET_COUNT_PER_ENI\x10\xf0\x01\x12)\n" + + "$SWITCH_ATTR_DASH_CAPS_HA_SCOPE_LEVEL\x10\xf1\x01\x12*\n" + + "%SWITCH_ATTR_DASH_CAPS_HA_OWNER_NEEDED\x10\xf2\x01\x12$\n" + + "\x1fSWITCH_ATTR_HA_SET_EVENT_NOTIFY\x10\xf3\x01\x12&\n" + + "!SWITCH_ATTR_HA_SCOPE_EVENT_NOTIFY\x10\xf4\x01\x122\n" + + "-SWITCH_ATTR_SUPPORTED_DEBUG_COUNTER_TYPE_LIST\x10\xf5\x01\x123\n" + + ".SWITCH_ATTR_SUPPORTED_INGRESS_DROP_REASON_LIST\x10\xf6\x01\x127\n" + + "2SWITCH_ATTR_AVAILABLE_SWITCH_INGRESS_DROP_COUNTERS\x10\xf7\x01*\x93\x05\n" + "\x10SwitchTunnelAttr\x12\"\n" + "\x1eSWITCH_TUNNEL_ATTR_UNSPECIFIED\x10\x00\x12\"\n" + "\x1eSWITCH_TUNNEL_ATTR_TUNNEL_TYPE\x10\x01\x12-\n" + diff --git a/dataplane/standalone/BUILD b/dataplane/standalone/BUILD index 272b5534..92fb8a61 100644 --- a/dataplane/standalone/BUILD +++ b/dataplane/standalone/BUILD @@ -18,8 +18,15 @@ cc_library( cc_binary( name = "sai", + additional_linker_inputs = [ + ":libsai.map", + ], + linkopts = [ + "-Wl,--version-script,$(location :libsai.map)", + ], linkshared = True, linkstatic = True, + visibility = ["//visibility:public"], deps = [ ":entrypoint", ], @@ -27,10 +34,11 @@ cc_binary( cc_binary( name = "sai-dynamic", + additional_linker_inputs = [ + ":libsai.map", + ], linkopts = [ - "-lprotobuf", - "-lgrpc++", - "-lglog", + "-Wl,--version-script,$(location :libsai.map)", ], linkshared = True, linkstatic = True, @@ -72,19 +80,3 @@ cc_binary( ":entrypoint", ], ) - -cc_binary( - name = "server", - srcs = ["server.cc"], - linkopts = [ - "-lprotobuf", - "-lgrpc++", - "-lglog", - "-lsai", - ], - tags = ["manual"], - deps = [ - "//dataplane/standalone/saiserver", - "@com_github_grpc_grpc//:grpc++", - ], -) diff --git a/dataplane/standalone/entrypoint.cc b/dataplane/standalone/entrypoint.cc index 19f536ac..71c4b0c8 100644 --- a/dataplane/standalone/entrypoint.cc +++ b/dataplane/standalone/entrypoint.cc @@ -71,54 +71,54 @@ #include "dataplane/proto/sai/virtual_router.grpc.pb.h" #include "dataplane/proto/sai/vlan.grpc.pb.h" #include "dataplane/proto/sai/wred.grpc.pb.h" -#include "dataplane/standalone/sai/acl.h" -#include "dataplane/standalone/sai/bfd.h" -#include "dataplane/standalone/sai/bmtor.h" -#include "dataplane/standalone/sai/bridge.h" -#include "dataplane/standalone/sai/buffer.h" -#include "dataplane/standalone/sai/counter.h" -#include "dataplane/standalone/sai/debug_counter.h" -#include "dataplane/standalone/sai/dtel.h" -#include "dataplane/standalone/sai/fdb.h" -#include "dataplane/standalone/sai/generic_programmable.h" -#include "dataplane/standalone/sai/hash.h" -#include "dataplane/standalone/sai/hostif.h" -#include "dataplane/standalone/sai/ipmc.h" -#include "dataplane/standalone/sai/ipmc_group.h" -#include "dataplane/standalone/sai/ipsec.h" -#include "dataplane/standalone/sai/isolation_group.h" -#include "dataplane/standalone/sai/l2mc.h" -#include "dataplane/standalone/sai/l2mc_group.h" -#include "dataplane/standalone/sai/lag.h" -#include "dataplane/standalone/sai/macsec.h" -#include "dataplane/standalone/sai/mcast_fdb.h" -#include "dataplane/standalone/sai/mirror.h" -#include "dataplane/standalone/sai/mpls.h" -#include "dataplane/standalone/sai/my_mac.h" -#include "dataplane/standalone/sai/nat.h" -#include "dataplane/standalone/sai/neighbor.h" -#include "dataplane/standalone/sai/next_hop.h" -#include "dataplane/standalone/sai/next_hop_group.h" -#include "dataplane/standalone/sai/policer.h" -#include "dataplane/standalone/sai/port.h" -#include "dataplane/standalone/sai/qos_map.h" -#include "dataplane/standalone/sai/queue.h" -#include "dataplane/standalone/sai/route.h" -#include "dataplane/standalone/sai/router_interface.h" -#include "dataplane/standalone/sai/rpf_group.h" -#include "dataplane/standalone/sai/samplepacket.h" -#include "dataplane/standalone/sai/scheduler.h" -#include "dataplane/standalone/sai/scheduler_group.h" -#include "dataplane/standalone/sai/srv6.h" -#include "dataplane/standalone/sai/stp.h" -#include "dataplane/standalone/sai/switch.h" -#include "dataplane/standalone/sai/system_port.h" -#include "dataplane/standalone/sai/tam.h" -#include "dataplane/standalone/sai/tunnel.h" -#include "dataplane/standalone/sai/udf.h" -#include "dataplane/standalone/sai/virtual_router.h" -#include "dataplane/standalone/sai/vlan.h" -#include "dataplane/standalone/sai/wred.h" +#include "dataplane/proto/sai/acl.h" +#include "dataplane/proto/sai/bfd.h" +#include "dataplane/proto/sai/bmtor.h" +#include "dataplane/proto/sai/bridge.h" +#include "dataplane/proto/sai/buffer.h" +#include "dataplane/proto/sai/counter.h" +#include "dataplane/proto/sai/debug_counter.h" +#include "dataplane/proto/sai/dtel.h" +#include "dataplane/proto/sai/fdb.h" +#include "dataplane/proto/sai/generic_programmable.h" +#include "dataplane/proto/sai/hash.h" +#include "dataplane/proto/sai/hostif.h" +#include "dataplane/proto/sai/ipmc.h" +#include "dataplane/proto/sai/ipmc_group.h" +#include "dataplane/proto/sai/ipsec.h" +#include "dataplane/proto/sai/isolation_group.h" +#include "dataplane/proto/sai/l2mc.h" +#include "dataplane/proto/sai/l2mc_group.h" +#include "dataplane/proto/sai/lag.h" +#include "dataplane/proto/sai/macsec.h" +#include "dataplane/proto/sai/mcast_fdb.h" +#include "dataplane/proto/sai/mirror.h" +#include "dataplane/proto/sai/mpls.h" +#include "dataplane/proto/sai/my_mac.h" +#include "dataplane/proto/sai/nat.h" +#include "dataplane/proto/sai/neighbor.h" +#include "dataplane/proto/sai/next_hop.h" +#include "dataplane/proto/sai/next_hop_group.h" +#include "dataplane/proto/sai/policer.h" +#include "dataplane/proto/sai/port.h" +#include "dataplane/proto/sai/qos_map.h" +#include "dataplane/proto/sai/queue.h" +#include "dataplane/proto/sai/route.h" +#include "dataplane/proto/sai/router_interface.h" +#include "dataplane/proto/sai/rpf_group.h" +#include "dataplane/proto/sai/samplepacket.h" +#include "dataplane/proto/sai/scheduler.h" +#include "dataplane/proto/sai/scheduler_group.h" +#include "dataplane/proto/sai/srv6.h" +#include "dataplane/proto/sai/stp.h" +#include "dataplane/proto/sai/switch.h" +#include "dataplane/proto/sai/system_port.h" +#include "dataplane/proto/sai/tam.h" +#include "dataplane/proto/sai/tunnel.h" +#include "dataplane/proto/sai/udf.h" +#include "dataplane/proto/sai/virtual_router.h" +#include "dataplane/proto/sai/vlan.h" +#include "dataplane/proto/sai/wred.h" extern "C" { #include "experimental/saiextensions.h" @@ -531,10 +531,44 @@ sai_status_t sai_object_type_get_availability( _In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list, _Out_ uint64_t *count) { - *count = 1024; + if (count) { + *count = 1024; + } else { + LOG(WARNING) << "sai_object_type_get_availability called with NULL count " + "for object_type: " << object_type; + } return SAI_STATUS_NOT_IMPLEMENTED; } +sai_object_id_t sai_switch_id_query( + _In_ sai_object_id_t object_id) { + return SAI_NULL_OBJECT_ID; +} + +sai_status_t sai_query_api_version( + _Out_ sai_api_version_t *version) { + if (version) + *version = SAI_API_VERSION; + + return SAI_STATUS_SUCCESS; +} + +extern "C" sai_status_t sai_query_stats_st_capability( + _In_ sai_object_id_t switch_id, + _In_ sai_object_type_t object_type, + _Inout_ sai_stat_st_capability_list_t *stats_capability) { + return SAI_STATUS_NOT_IMPLEMENTED; +} + +sai_status_t sai_tam_telemetry_get_data( + _In_ sai_object_id_t switch_id, + _In_ sai_object_list_t obj_list, + _In_ bool clear_on_read, + _Inout_ sai_size_t *buffer_size, + _Out_ void *buffer) { + return SAI_STATUS_NOT_IMPLEMENTED; +} + sai_status_t sai_query_stats_capability( _In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _Inout_ sai_stat_capability_list_t *stats_capability) { diff --git a/dataplane/standalone/libsai.map b/dataplane/standalone/libsai.map new file mode 100644 index 00000000..c8581042 --- /dev/null +++ b/dataplane/standalone/libsai.map @@ -0,0 +1,6 @@ +{ + global: + sai_*; + local: + *; +}; diff --git a/dataplane/standalone/sai/BUILD b/dataplane/standalone/sai/BUILD index e2d2198c..2f7446ea 100644 --- a/dataplane/standalone/sai/BUILD +++ b/dataplane/standalone/sai/BUILD @@ -1,10 +1,12 @@ cc_library( name = "sai", - srcs = glob(["*.cc"]), - hdrs = glob( - ["*.h"], - exclude = ["entry.h"], - ), + srcs = [ + "common.cc", + ] + ["//dataplane/proto/sai:sai_client_sources"], + hdrs = [ + "common.h", + ] + ["//dataplane/proto/sai:sai_client_headers"], + includes = ["."], visibility = ["//visibility:public"], deps = [ "//dataplane/proto/sai:sai_cc_grpc", diff --git a/dataplane/standalone/sai/common.cc b/dataplane/standalone/sai/common.cc index 798b977a..4b5a4a68 100644 --- a/dataplane/standalone/sai/common.cc +++ b/dataplane/standalone/sai/common.cc @@ -19,7 +19,7 @@ #include #include "dataplane/proto/sai/common.pb.h" -#include "dataplane/standalone/sai/enum.h" +#include "dataplane/proto/sai/enum.h" std::string convert_from_ip_addr(sai_ip_addr_family_t addr_family, const sai_ip_addr_t& addr) { diff --git a/dataplane/standalone/saiserver/BUILD b/dataplane/standalone/saiserver/BUILD deleted file mode 100644 index c701358d..00000000 --- a/dataplane/standalone/saiserver/BUILD +++ /dev/null @@ -1,14 +0,0 @@ -cc_library( - name = "saiserver", - srcs = glob(["*.cc"]), - hdrs = glob( - ["*.h"], - ), - visibility = ["//visibility:public"], - deps = [ - "//dataplane/proto/sai:sai_cc_grpc", - "//dataplane/proto/sai:sai_cc_proto", - "@com_github_google_glog//:glog", - "@com_github_opencomputeproject_sai//:sai", - ], -) diff --git a/doxygen.bzl b/doxygen.bzl new file mode 100644 index 00000000..d152cbcf --- /dev/null +++ b/doxygen.bzl @@ -0,0 +1,67 @@ +"""Provides a rule to run Doxygen hermetically and output XML files.""" + +def _doxygen_xml_impl(ctx): + # Declare the output directory for XML files. + xml_dir = ctx.actions.declare_directory(ctx.attr.name) + + # Declare the temporary overrides file. + overrides = ctx.actions.declare_file(ctx.attr.name + "_overrides") + + # Extract unique parent directories of input headers for Doxygen INPUT. + input_dirs = [] + for f in ctx.files.headers: + if f.dirname not in input_dirs: + input_dirs.append(f.dirname) + + # Write the Doxygen overrides file using Bazel's native action. + overrides_content = "\n".join([ + "GENERATE_XML = YES", + "XML_OUTPUT = " + xml_dir.path, + "GENERATE_HTML = NO", + "GENERATE_LATEX = NO", + "INPUT = " + " ".join(input_dirs), + "QUIET = YES", + ]) + ctx.actions.write(overrides, overrides_content) + + doxygen_bin = ctx.executable._doxygen + + # Combine the template Doxyfile and overrides, then execute doxygen. + cmd = "cat {template} {overrides} > temp_doxyfile && {doxygen} temp_doxyfile".format( + template = ctx.file.doxyfile_template.path, + overrides = overrides.path, + doxygen = doxygen_bin.path, + ) + + ctx.actions.run_shell( + inputs = ctx.files.headers + [ctx.file.doxyfile_template, overrides], + outputs = [xml_dir], + tools = [doxygen_bin], + command = cmd, + progress_message = "Running doxygen to generate XML for %s" % ctx.label, + ) + return [DefaultInfo(files = depset([xml_dir]))] + +doxygen_xml = rule( + doc = "Runs Doxygen using a template and overrides to produce XML metadata.", + implementation = _doxygen_xml_impl, + attrs = { + "headers": attr.label_list( + doc = "The list of header files to parse.", + mandatory = True, + allow_files = True, + ), + "doxyfile_template": attr.label( + doc = "The base Doxyfile containing project configurations and aliases.", + mandatory = True, + allow_single_file = True, + ), + "_doxygen": attr.label( + doc = "The hermetic Doxygen binary tool.", + default = "@doxygen_release//:bin/doxygen", + allow_single_file = True, + executable = True, + cfg = "exec", + ), + }, +) diff --git a/supported_apis.bzl b/supported_apis.bzl new file mode 100644 index 00000000..454ce3b5 --- /dev/null +++ b/supported_apis.bzl @@ -0,0 +1,51 @@ +SUPPORTED_APIS = [ + "acl", + "bfd", + "bmtor", + "bridge", + "buffer", + "counter", + "debug_counter", + "dtel", + "fdb", + "generic_programmable", + "hash", + "hostif", + "icmp_echo", + "ipmc", + "ipmc_group", + "ipsec", + "isolation_group", + "l2mc", + "l2mc_group", + "lag", + "macsec", + "mcast_fdb", + "mirror", + "mpls", + "my_mac", + "nat", + "neighbor", + "next_hop", + "next_hop_group", + "policer", + "port", + "qos_map", + "queue", + "route", + "router_interface", + "rpf_group", + "samplepacket", + "scheduler", + "scheduler_group", + "srv6", + "stp", + "switch", + "system_port", + "tam", + "tunnel", + "udf", + "virtual_router", + "vlan", + "wred", +]