diff --git a/api/v1/traffic_manage/routing.proto b/api/v1/traffic_manage/routing.proto index 0754f13..062870a 100644 --- a/api/v1/traffic_manage/routing.proto +++ b/api/v1/traffic_manage/routing.proto @@ -93,6 +93,8 @@ enum RoutingPolicy { RulePolicy = 0; // Route by destination metadata ==> MetadataRoutingConfig MetadataPolicy = 1; + // Route by Nearby rule => NearByRoutingConfig + NearbyPolicy = 2; } // configuration root for route diff --git a/source/go/api/v1/traffic_manage/routing.pb.go b/source/go/api/v1/traffic_manage/routing.pb.go index 66edaff..fca5fb9 100644 --- a/source/go/api/v1/traffic_manage/routing.pb.go +++ b/source/go/api/v1/traffic_manage/routing.pb.go @@ -28,22 +28,26 @@ const ( RoutingPolicy_RulePolicy RoutingPolicy = 0 // Route by destination metadata ==> MetadataRoutingConfig RoutingPolicy_MetadataPolicy RoutingPolicy = 1 + // Route by Nearby rule => NearByRoutingConfig + RoutingPolicy_NearbyPolicy RoutingPolicy = 2 ) var RoutingPolicy_name = map[int32]string{ 0: "RulePolicy", 1: "MetadataPolicy", + 2: "NearbyPolicy", } var RoutingPolicy_value = map[string]int32{ "RulePolicy": 0, "MetadataPolicy": 1, + "NearbyPolicy": 2, } func (x RoutingPolicy) String() string { return proto.EnumName(RoutingPolicy_name, int32(x)) } func (RoutingPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{0} + return fileDescriptor_routing_0241e1af806e0692, []int{0} } type MetadataFailover_FailoverRange int32 @@ -72,7 +76,7 @@ func (x MetadataFailover_FailoverRange) String() string { return proto.EnumName(MetadataFailover_FailoverRange_name, int32(x)) } func (MetadataFailover_FailoverRange) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{5, 0} + return fileDescriptor_routing_0241e1af806e0692, []int{5, 0} } type NearbyRoutingConfig_LocationLevel int32 @@ -109,7 +113,7 @@ func (x NearbyRoutingConfig_LocationLevel) String() string { return proto.EnumName(NearbyRoutingConfig_LocationLevel_name, int32(x)) } func (NearbyRoutingConfig_LocationLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{7, 0} + return fileDescriptor_routing_0241e1af806e0692, []int{7, 0} } // label type for gateway request @@ -159,7 +163,7 @@ func (x SourceMatch_Type) String() string { return proto.EnumName(SourceMatch_Type_name, int32(x)) } func (SourceMatch_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{12, 0} + return fileDescriptor_routing_0241e1af806e0692, []int{12, 0} } type Routing struct { @@ -184,7 +188,7 @@ func (m *Routing) Reset() { *m = Routing{} } func (m *Routing) String() string { return proto.CompactTextString(m) } func (*Routing) ProtoMessage() {} func (*Routing) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{0} + return fileDescriptor_routing_0241e1af806e0692, []int{0} } func (m *Routing) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Routing.Unmarshal(m, b) @@ -285,7 +289,7 @@ func (m *Route) Reset() { *m = Route{} } func (m *Route) String() string { return proto.CompactTextString(m) } func (*Route) ProtoMessage() {} func (*Route) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{1} + return fileDescriptor_routing_0241e1af806e0692, []int{1} } func (m *Route) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Route.Unmarshal(m, b) @@ -343,7 +347,7 @@ func (m *Source) Reset() { *m = Source{} } func (m *Source) String() string { return proto.CompactTextString(m) } func (*Source) ProtoMessage() {} func (*Source) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{2} + return fileDescriptor_routing_0241e1af806e0692, []int{2} } func (m *Source) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Source.Unmarshal(m, b) @@ -419,7 +423,7 @@ func (m *Destination) Reset() { *m = Destination{} } func (m *Destination) String() string { return proto.CompactTextString(m) } func (*Destination) ProtoMessage() {} func (*Destination) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{3} + return fileDescriptor_routing_0241e1af806e0692, []int{3} } func (m *Destination) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Destination.Unmarshal(m, b) @@ -535,7 +539,7 @@ func (m *RouteRule) Reset() { *m = RouteRule{} } func (m *RouteRule) String() string { return proto.CompactTextString(m) } func (*RouteRule) ProtoMessage() {} func (*RouteRule) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{4} + return fileDescriptor_routing_0241e1af806e0692, []int{4} } func (m *RouteRule) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RouteRule.Unmarshal(m, b) @@ -667,7 +671,7 @@ func (m *MetadataFailover) Reset() { *m = MetadataFailover{} } func (m *MetadataFailover) String() string { return proto.CompactTextString(m) } func (*MetadataFailover) ProtoMessage() {} func (*MetadataFailover) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{5} + return fileDescriptor_routing_0241e1af806e0692, []int{5} } func (m *MetadataFailover) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetadataFailover.Unmarshal(m, b) @@ -719,7 +723,7 @@ func (m *MetadataRoutingConfig) Reset() { *m = MetadataRoutingConfig{} } func (m *MetadataRoutingConfig) String() string { return proto.CompactTextString(m) } func (*MetadataRoutingConfig) ProtoMessage() {} func (*MetadataRoutingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{6} + return fileDescriptor_routing_0241e1af806e0692, []int{6} } func (m *MetadataRoutingConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetadataRoutingConfig.Unmarshal(m, b) @@ -788,7 +792,7 @@ func (m *NearbyRoutingConfig) Reset() { *m = NearbyRoutingConfig{} } func (m *NearbyRoutingConfig) String() string { return proto.CompactTextString(m) } func (*NearbyRoutingConfig) ProtoMessage() {} func (*NearbyRoutingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{7} + return fileDescriptor_routing_0241e1af806e0692, []int{7} } func (m *NearbyRoutingConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NearbyRoutingConfig.Unmarshal(m, b) @@ -862,7 +866,7 @@ func (m *RuleRoutingConfig) Reset() { *m = RuleRoutingConfig{} } func (m *RuleRoutingConfig) String() string { return proto.CompactTextString(m) } func (*RuleRoutingConfig) ProtoMessage() {} func (*RuleRoutingConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{8} + return fileDescriptor_routing_0241e1af806e0692, []int{8} } func (m *RuleRoutingConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RuleRoutingConfig.Unmarshal(m, b) @@ -922,7 +926,7 @@ func (m *SubRuleRouting) Reset() { *m = SubRuleRouting{} } func (m *SubRuleRouting) String() string { return proto.CompactTextString(m) } func (*SubRuleRouting) ProtoMessage() {} func (*SubRuleRouting) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{9} + return fileDescriptor_routing_0241e1af806e0692, []int{9} } func (m *SubRuleRouting) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SubRuleRouting.Unmarshal(m, b) @@ -979,7 +983,7 @@ func (m *SourceService) Reset() { *m = SourceService{} } func (m *SourceService) String() string { return proto.CompactTextString(m) } func (*SourceService) ProtoMessage() {} func (*SourceService) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{10} + return fileDescriptor_routing_0241e1af806e0692, []int{10} } func (m *SourceService) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceService.Unmarshal(m, b) @@ -1055,7 +1059,7 @@ func (m *DestinationGroup) Reset() { *m = DestinationGroup{} } func (m *DestinationGroup) String() string { return proto.CompactTextString(m) } func (*DestinationGroup) ProtoMessage() {} func (*DestinationGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{11} + return fileDescriptor_routing_0241e1af806e0692, []int{11} } func (m *DestinationGroup) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestinationGroup.Unmarshal(m, b) @@ -1147,7 +1151,7 @@ func (m *SourceMatch) Reset() { *m = SourceMatch{} } func (m *SourceMatch) String() string { return proto.CompactTextString(m) } func (*SourceMatch) ProtoMessage() {} func (*SourceMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_routing_898df1958aeef2db, []int{12} + return fileDescriptor_routing_0241e1af806e0692, []int{12} } func (m *SourceMatch) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SourceMatch.Unmarshal(m, b) @@ -1216,97 +1220,98 @@ func init() { proto.RegisterEnum("v1.SourceMatch_Type", SourceMatch_Type_name, SourceMatch_Type_value) } -func init() { proto.RegisterFile("routing.proto", fileDescriptor_routing_898df1958aeef2db) } +func init() { proto.RegisterFile("routing.proto", fileDescriptor_routing_0241e1af806e0692) } -var fileDescriptor_routing_898df1958aeef2db = []byte{ - // 1418 bytes of a gzipped FileDescriptorProto +var fileDescriptor_routing_0241e1af806e0692 = []byte{ + // 1425 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x0e, 0x29, 0x59, 0x12, 0x47, 0x91, 0xcc, 0x6c, 0x94, 0x80, 0x51, 0xd3, 0xc2, 0x50, 0x13, - 0xd4, 0x68, 0x51, 0x2a, 0x91, 0x8d, 0xc6, 0x4e, 0x93, 0x83, 0x1c, 0xab, 0xb6, 0x13, 0xd9, 0x72, - 0x69, 0xb9, 0x45, 0x72, 0x11, 0x28, 0x6a, 0x25, 0x2f, 0x42, 0x91, 0x04, 0x49, 0x29, 0xd1, 0xad, + 0x10, 0x0e, 0x29, 0x59, 0x12, 0x47, 0x96, 0xcc, 0x6c, 0x94, 0x80, 0x51, 0xd3, 0xc2, 0x50, 0x13, + 0xd4, 0x68, 0x51, 0x2a, 0x71, 0x8c, 0xc6, 0x4e, 0x93, 0x83, 0x1c, 0xb3, 0x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, 0x0a, 0xf5, 0xd3, 0xe9, 0x3c, 0x39, 0xd4, 0xe4, 0x02, 0xba, + 0x02, 0x6b, 0x1c, 0x74, 0xa4, 0x9d, 0xb5, 0xf6, 0x5a, 0x67, 0x2d, 0xb9, 0xf8, 0xa5, 0x06, 0x95, + 0xd4, 0xe8, 0x14, 0xfe, 0x30, 0x61, 0x1f, 0xb1, 0x9d, 0x7c, 0x09, 0x21, 0xa8, 0x46, 0xe4, 0xcd, + 0x65, 0x02, 0x92, 0x61, 0x95, 0x71, 0x18, 0x97, 0x88, 0xbb, 0xbf, 0x0a, 0x70, 0xcf, 0x74, 0x46, + 0x6a, 0x80, 0x6d, 0x13, 0xdb, 0x81, 0xea, 0x3a, 0x96, 0xe1, 0x11, 0x5f, 0xf5, 0x5d, 0x6c, 0x92, + 0x01, 0x61, 0x9c, 0xa4, 0x1a, 0x2e, 0x09, 0xef, 0x1d, 0x78, 0xc6, 0x60, 0x40, 0x4c, 0x75, 0x64, + 0xd8, 0xc6, 0x10, 0xef, 0xae, 0x46, 0x01, 0x84, 0x33, 0xd8, 0xb3, 0xbd, 0x21, 0x09, 0x2e, 0xc6, + 0x3d, 0xd5, 0x74, 0x46, 0x4d, 0xee, 0x65, 0x84, 0xfd, 0x8b, 0x66, 0xca, 0x53, 0x93, 0x75, 0x69, + 0x73, 0xe8, 0x34, 0x0d, 0x97, 0x34, 0x27, 0x77, 0x9a, 0xdc, 0x67, 0x97, 0xf9, 0xec, 0x15, 0xe8, + 0x40, 0x77, 0xf7, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0x6b, 0x11, 0xef, 0xd9, 0x10, 0x00, + 0x00, } diff --git a/source/rust/polaris-specification/proto/routing.proto b/source/rust/polaris-specification/proto/routing.proto index 0754f13..062870a 100644 --- a/source/rust/polaris-specification/proto/routing.proto +++ b/source/rust/polaris-specification/proto/routing.proto @@ -93,6 +93,8 @@ enum RoutingPolicy { RulePolicy = 0; // Route by destination metadata ==> MetadataRoutingConfig MetadataPolicy = 1; + // Route by Nearby rule => NearByRoutingConfig + NearbyPolicy = 2; } // configuration root for route diff --git a/source/rust/polaris-specification/src/v1.rs b/source/rust/polaris-specification/src/v1.rs index 7a301d8..aacc2c5 100644 --- a/source/rust/polaris-specification/src/v1.rs +++ b/source/rust/polaris-specification/src/v1.rs @@ -1173,6 +1173,8 @@ pub enum RoutingPolicy { RulePolicy = 0, /// Route by destination metadata ==> MetadataRoutingConfig MetadataPolicy = 1, + /// Route by Nearby rule => NearByRoutingConfig + NearbyPolicy = 2, } impl RoutingPolicy { /// String value of the enum field names used in the ProtoBuf definition. @@ -1183,6 +1185,7 @@ impl RoutingPolicy { match self { RoutingPolicy::RulePolicy => "RulePolicy", RoutingPolicy::MetadataPolicy => "MetadataPolicy", + RoutingPolicy::NearbyPolicy => "NearbyPolicy", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -1190,6 +1193,7 @@ impl RoutingPolicy { match value { "RulePolicy" => Some(Self::RulePolicy), "MetadataPolicy" => Some(Self::MetadataPolicy), + "NearbyPolicy" => Some(Self::NearbyPolicy), _ => None, } }