go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/annotations.proto (about) 1 syntax = "proto3"; 2 3 package ligato; 4 5 option go_package = "go.ligato.io/vpp-agent/v3/proto/ligato"; 6 7 import "google/protobuf/descriptor.proto"; 8 9 extend google.protobuf.FieldOptions { 10 // NOTE: used option field index(2000) is in extension index range of descriptor.proto, but is not registered 11 // in protobuf global extension registry (https://github.com/protocolbuffers/protobuf/blob/master/docs/options.md) 12 LigatoOptions ligato_options = 2000; 13 } 14 15 message LigatoOptions { 16 enum Type { 17 UNSPECIFIED = 0; 18 IP = 1; 19 IPV4 = 2; 20 IPV6 = 3; 21 IP_WITH_MASK = 4; 22 IPV4_WITH_MASK = 5; 23 IPV6_WITH_MASK = 6; 24 IP_OPTIONAL_MASK = 7; 25 IPV4_OPTIONAL_MASK = 8; 26 IPV6_OPTIONAL_MASK = 9; 27 } 28 Type type = 1; 29 30 message IntRange { 31 int64 minimum = 1; 32 uint64 maximum = 2; 33 } 34 IntRange int_range = 2; 35 }