From 8409507a7c4888714df987e368de6bffc2fdf8ba Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Tue, 5 May 2020 14:31:28 -0400 Subject: [PATCH] coding the feature Signed-off-by: Serguei Bezverkhi --- api/attribute.pb.go | 3497 +++++++++++---- api/capability.pb.go | 505 ++- api/gobgp.pb.go | 9849 ++++++++++++++++++++++++++++------------- go.mod | 1 + go.sum | 2 + pkg/packet/bgp/bgp.go | 234 + 6 files changed, 9991 insertions(+), 4097 deletions(-) diff --git a/api/attribute.pb.go b/api/attribute.pb.go index fe9d92420..85c01a1d2 100644 --- a/api/attribute.pb.go +++ b/api/attribute.pb.go @@ -1,269 +1,14 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: attribute.proto -/* -Package gobgpapi is a generated protocol buffer package. - -It is generated from these files: - attribute.proto - capability.proto - gobgp.proto - -It has these top-level messages: - OriginAttribute - AsSegment - AsPathAttribute - NextHopAttribute - MultiExitDiscAttribute - LocalPrefAttribute - AtomicAggregateAttribute - AggregatorAttribute - CommunitiesAttribute - OriginatorIdAttribute - ClusterListAttribute - IPAddressPrefix - LabeledIPAddressPrefix - EncapsulationNLRI - RouteDistinguisherTwoOctetAS - RouteDistinguisherIPAddress - RouteDistinguisherFourOctetAS - EthernetSegmentIdentifier - EVPNEthernetAutoDiscoveryRoute - EVPNMACIPAdvertisementRoute - EVPNInclusiveMulticastEthernetTagRoute - EVPNEthernetSegmentRoute - EVPNIPPrefixRoute - EVPNIPMSIRoute - LabeledVPNIPAddressPrefix - RouteTargetMembershipNLRI - FlowSpecIPPrefix - FlowSpecMAC - FlowSpecComponentItem - FlowSpecComponent - FlowSpecNLRI - VPNFlowSpecNLRI - OpaqueNLRI - LsNodeDescriptor - LsLinkDescriptor - LsPrefixDescriptor - LsNodeNLRI - LsLinkNLRI - LsPrefixV4NLRI - LsPrefixV6NLRI - LsAddrPrefix - MpReachNLRIAttribute - MpUnreachNLRIAttribute - TwoOctetAsSpecificExtended - IPv4AddressSpecificExtended - FourOctetAsSpecificExtended - ValidationExtended - ColorExtended - EncapExtended - DefaultGatewayExtended - OpaqueExtended - ESILabelExtended - ESImportRouteTarget - MacMobilityExtended - RouterMacExtended - TrafficRateExtended - TrafficActionExtended - RedirectTwoOctetAsSpecificExtended - RedirectIPv4AddressSpecificExtended - RedirectFourOctetAsSpecificExtended - TrafficRemarkExtended - UnknownExtended - ExtendedCommunitiesAttribute - As4PathAttribute - As4AggregatorAttribute - PmsiTunnelAttribute - TunnelEncapSubTLVEncapsulation - TunnelEncapSubTLVProtocol - TunnelEncapSubTLVColor - TunnelEncapSubTLVUnknown - TunnelEncapTLV - TunnelEncapAttribute - IPv6AddressSpecificExtended - RedirectIPv6AddressSpecificExtended - IP6ExtendedCommunitiesAttribute - AigpTLVIGPMetric - AigpTLVUnknown - AigpAttribute - LargeCommunity - LargeCommunitiesAttribute - LsNodeFlags - LsIGPFlags - LsSrRange - LsSrCapabilities - LsSrLocalBlock - LsAttributeNode - LsAttributeLink - LsAttributePrefix - LsAttribute - UnknownAttribute - MultiProtocolCapability - RouteRefreshCapability - CarryingLabelInfoCapability - ExtendedNexthopCapabilityTuple - ExtendedNexthopCapability - GracefulRestartCapabilityTuple - GracefulRestartCapability - FourOctetASNumberCapability - AddPathCapabilityTuple - AddPathCapability - EnhancedRouteRefreshCapability - LongLivedGracefulRestartCapabilityTuple - LongLivedGracefulRestartCapability - RouteRefreshCiscoCapability - UnknownCapability - StartBgpRequest - StopBgpRequest - GetBgpRequest - GetBgpResponse - AddPeerRequest - DeletePeerRequest - ListPeerRequest - ListPeerResponse - UpdatePeerRequest - UpdatePeerResponse - ResetPeerRequest - ShutdownPeerRequest - EnablePeerRequest - DisablePeerRequest - MonitorPeerRequest - MonitorPeerResponse - AddPeerGroupRequest - DeletePeerGroupRequest - UpdatePeerGroupRequest - UpdatePeerGroupResponse - AddDynamicNeighborRequest - AddPathRequest - AddPathResponse - DeletePathRequest - ListPathRequest - ListPathResponse - AddPathStreamRequest - GetTableRequest - GetTableResponse - MonitorTableRequest - MonitorTableResponse - AddVrfRequest - DeleteVrfRequest - ListVrfRequest - ListVrfResponse - AddPolicyRequest - DeletePolicyRequest - ListPolicyRequest - ListPolicyResponse - SetPoliciesRequest - AddDefinedSetRequest - DeleteDefinedSetRequest - ListDefinedSetRequest - ListDefinedSetResponse - AddStatementRequest - DeleteStatementRequest - ListStatementRequest - ListStatementResponse - AddPolicyAssignmentRequest - DeletePolicyAssignmentRequest - ListPolicyAssignmentRequest - ListPolicyAssignmentResponse - SetPolicyAssignmentRequest - AddRpkiRequest - DeleteRpkiRequest - ListRpkiRequest - ListRpkiResponse - EnableRpkiRequest - DisableRpkiRequest - ResetRpkiRequest - ListRpkiTableRequest - ListRpkiTableResponse - EnableZebraRequest - EnableMrtRequest - DisableMrtRequest - AddBmpRequest - DeleteBmpRequest - Family - Validation - Path - Destination - TableLookupPrefix - Peer - PeerGroup - DynamicNeighbor - ApplyPolicy - PrefixLimit - PeerConf - PeerGroupConf - PeerGroupState - EbgpMultihop - RouteReflector - PeerState - Messages - Message - Queues - Timers - TimersConfig - TimersState - Transport - RouteServer - GracefulRestart - MpGracefulRestartConfig - MpGracefulRestartState - MpGracefulRestart - AfiSafiConfig - AfiSafiState - RouteSelectionOptionsConfig - RouteSelectionOptionsState - RouteSelectionOptions - UseMultiplePathsConfig - UseMultiplePathsState - EbgpConfig - EbgpState - Ebgp - IbgpConfig - IbgpState - Ibgp - UseMultiplePaths - RouteTargetMembershipConfig - RouteTargetMembershipState - RouteTargetMembership - LongLivedGracefulRestartConfig - LongLivedGracefulRestartState - LongLivedGracefulRestart - AfiSafi - AddPathsConfig - AddPathsState - AddPaths - Prefix - DefinedSet - MatchSet - AsPathLength - Conditions - CommunityAction - MedAction - AsPrependAction - NexthopAction - LocalPrefAction - Actions - Statement - Policy - PolicyAssignment - RoutingPolicy - Roa - Vrf - DefaultRouteDistance - Global - Confederation - RPKIConf - RPKIState - Rpki -*/ package gobgpapi -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/golang/protobuf/ptypes/any" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -274,7 +19,7 @@ var _ = math.Inf // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Based om RFC 7752, Table 1. type LsNLRIType int32 @@ -294,6 +39,7 @@ var LsNLRIType_name = map[int32]string{ 3: "LS_NLRI_PREFIX_V4", 4: "LS_NLRI_PREFIX_V6", } + var LsNLRIType_value = map[string]int32{ "LS_NLRI_UNKNOWN": 0, "LS_NLRI_NODE": 1, @@ -305,16 +51,42 @@ var LsNLRIType_value = map[string]int32{ func (x LsNLRIType) String() string { return proto.EnumName(LsNLRIType_name, int32(x)) } -func (LsNLRIType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } + +func (LsNLRIType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{0} +} type OriginAttribute struct { - Origin uint32 `protobuf:"varint,1,opt,name=origin" json:"origin,omitempty"` + Origin uint32 `protobuf:"varint,1,opt,name=origin,proto3" json:"origin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *OriginAttribute) Reset() { *m = OriginAttribute{} } -func (m *OriginAttribute) String() string { return proto.CompactTextString(m) } -func (*OriginAttribute) ProtoMessage() {} -func (*OriginAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } +func (m *OriginAttribute) Reset() { *m = OriginAttribute{} } +func (m *OriginAttribute) String() string { return proto.CompactTextString(m) } +func (*OriginAttribute) ProtoMessage() {} +func (*OriginAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{0} +} + +func (m *OriginAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OriginAttribute.Unmarshal(m, b) +} +func (m *OriginAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OriginAttribute.Marshal(b, m, deterministic) +} +func (m *OriginAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_OriginAttribute.Merge(m, src) +} +func (m *OriginAttribute) XXX_Size() int { + return xxx_messageInfo_OriginAttribute.Size(m) +} +func (m *OriginAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_OriginAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_OriginAttribute proto.InternalMessageInfo func (m *OriginAttribute) GetOrigin() uint32 { if m != nil { @@ -324,14 +96,37 @@ func (m *OriginAttribute) GetOrigin() uint32 { } type AsSegment struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Numbers []uint32 `protobuf:"varint,2,rep,packed,name=numbers" json:"numbers,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Numbers []uint32 `protobuf:"varint,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsSegment) Reset() { *m = AsSegment{} } +func (m *AsSegment) String() string { return proto.CompactTextString(m) } +func (*AsSegment) ProtoMessage() {} +func (*AsSegment) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{1} +} + +func (m *AsSegment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsSegment.Unmarshal(m, b) +} +func (m *AsSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsSegment.Marshal(b, m, deterministic) +} +func (m *AsSegment) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsSegment.Merge(m, src) +} +func (m *AsSegment) XXX_Size() int { + return xxx_messageInfo_AsSegment.Size(m) +} +func (m *AsSegment) XXX_DiscardUnknown() { + xxx_messageInfo_AsSegment.DiscardUnknown(m) } -func (m *AsSegment) Reset() { *m = AsSegment{} } -func (m *AsSegment) String() string { return proto.CompactTextString(m) } -func (*AsSegment) ProtoMessage() {} -func (*AsSegment) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } +var xxx_messageInfo_AsSegment proto.InternalMessageInfo func (m *AsSegment) GetType() uint32 { if m != nil { @@ -348,13 +143,36 @@ func (m *AsSegment) GetNumbers() []uint32 { } type AsPathAttribute struct { - Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"` + Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AsPathAttribute) Reset() { *m = AsPathAttribute{} } -func (m *AsPathAttribute) String() string { return proto.CompactTextString(m) } -func (*AsPathAttribute) ProtoMessage() {} -func (*AsPathAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } +func (m *AsPathAttribute) Reset() { *m = AsPathAttribute{} } +func (m *AsPathAttribute) String() string { return proto.CompactTextString(m) } +func (*AsPathAttribute) ProtoMessage() {} +func (*AsPathAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{2} +} + +func (m *AsPathAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsPathAttribute.Unmarshal(m, b) +} +func (m *AsPathAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsPathAttribute.Marshal(b, m, deterministic) +} +func (m *AsPathAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsPathAttribute.Merge(m, src) +} +func (m *AsPathAttribute) XXX_Size() int { + return xxx_messageInfo_AsPathAttribute.Size(m) +} +func (m *AsPathAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_AsPathAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_AsPathAttribute proto.InternalMessageInfo func (m *AsPathAttribute) GetSegments() []*AsSegment { if m != nil { @@ -364,13 +182,36 @@ func (m *AsPathAttribute) GetSegments() []*AsSegment { } type NextHopAttribute struct { - NextHop string `protobuf:"bytes,1,opt,name=next_hop,json=nextHop" json:"next_hop,omitempty"` + NextHop string `protobuf:"bytes,1,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NextHopAttribute) Reset() { *m = NextHopAttribute{} } +func (m *NextHopAttribute) String() string { return proto.CompactTextString(m) } +func (*NextHopAttribute) ProtoMessage() {} +func (*NextHopAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{3} } -func (m *NextHopAttribute) Reset() { *m = NextHopAttribute{} } -func (m *NextHopAttribute) String() string { return proto.CompactTextString(m) } -func (*NextHopAttribute) ProtoMessage() {} -func (*NextHopAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } +func (m *NextHopAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NextHopAttribute.Unmarshal(m, b) +} +func (m *NextHopAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NextHopAttribute.Marshal(b, m, deterministic) +} +func (m *NextHopAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_NextHopAttribute.Merge(m, src) +} +func (m *NextHopAttribute) XXX_Size() int { + return xxx_messageInfo_NextHopAttribute.Size(m) +} +func (m *NextHopAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_NextHopAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_NextHopAttribute proto.InternalMessageInfo func (m *NextHopAttribute) GetNextHop() string { if m != nil { @@ -380,13 +221,36 @@ func (m *NextHopAttribute) GetNextHop() string { } type MultiExitDiscAttribute struct { - Med uint32 `protobuf:"varint,1,opt,name=med" json:"med,omitempty"` + Med uint32 `protobuf:"varint,1,opt,name=med,proto3" json:"med,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MultiExitDiscAttribute) Reset() { *m = MultiExitDiscAttribute{} } -func (m *MultiExitDiscAttribute) String() string { return proto.CompactTextString(m) } -func (*MultiExitDiscAttribute) ProtoMessage() {} -func (*MultiExitDiscAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } +func (m *MultiExitDiscAttribute) Reset() { *m = MultiExitDiscAttribute{} } +func (m *MultiExitDiscAttribute) String() string { return proto.CompactTextString(m) } +func (*MultiExitDiscAttribute) ProtoMessage() {} +func (*MultiExitDiscAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{4} +} + +func (m *MultiExitDiscAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiExitDiscAttribute.Unmarshal(m, b) +} +func (m *MultiExitDiscAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiExitDiscAttribute.Marshal(b, m, deterministic) +} +func (m *MultiExitDiscAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiExitDiscAttribute.Merge(m, src) +} +func (m *MultiExitDiscAttribute) XXX_Size() int { + return xxx_messageInfo_MultiExitDiscAttribute.Size(m) +} +func (m *MultiExitDiscAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_MultiExitDiscAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_MultiExitDiscAttribute proto.InternalMessageInfo func (m *MultiExitDiscAttribute) GetMed() uint32 { if m != nil { @@ -396,13 +260,36 @@ func (m *MultiExitDiscAttribute) GetMed() uint32 { } type LocalPrefAttribute struct { - LocalPref uint32 `protobuf:"varint,1,opt,name=local_pref,json=localPref" json:"local_pref,omitempty"` + LocalPref uint32 `protobuf:"varint,1,opt,name=local_pref,json=localPref,proto3" json:"local_pref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalPrefAttribute) Reset() { *m = LocalPrefAttribute{} } +func (m *LocalPrefAttribute) String() string { return proto.CompactTextString(m) } +func (*LocalPrefAttribute) ProtoMessage() {} +func (*LocalPrefAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{5} +} + +func (m *LocalPrefAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPrefAttribute.Unmarshal(m, b) +} +func (m *LocalPrefAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPrefAttribute.Marshal(b, m, deterministic) +} +func (m *LocalPrefAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPrefAttribute.Merge(m, src) +} +func (m *LocalPrefAttribute) XXX_Size() int { + return xxx_messageInfo_LocalPrefAttribute.Size(m) +} +func (m *LocalPrefAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPrefAttribute.DiscardUnknown(m) } -func (m *LocalPrefAttribute) Reset() { *m = LocalPrefAttribute{} } -func (m *LocalPrefAttribute) String() string { return proto.CompactTextString(m) } -func (*LocalPrefAttribute) ProtoMessage() {} -func (*LocalPrefAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } +var xxx_messageInfo_LocalPrefAttribute proto.InternalMessageInfo func (m *LocalPrefAttribute) GetLocalPref() uint32 { if m != nil { @@ -412,22 +299,68 @@ func (m *LocalPrefAttribute) GetLocalPref() uint32 { } type AtomicAggregateAttribute struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AtomicAggregateAttribute) Reset() { *m = AtomicAggregateAttribute{} } +func (m *AtomicAggregateAttribute) String() string { return proto.CompactTextString(m) } +func (*AtomicAggregateAttribute) ProtoMessage() {} +func (*AtomicAggregateAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{6} +} + +func (m *AtomicAggregateAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AtomicAggregateAttribute.Unmarshal(m, b) +} +func (m *AtomicAggregateAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AtomicAggregateAttribute.Marshal(b, m, deterministic) +} +func (m *AtomicAggregateAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_AtomicAggregateAttribute.Merge(m, src) +} +func (m *AtomicAggregateAttribute) XXX_Size() int { + return xxx_messageInfo_AtomicAggregateAttribute.Size(m) +} +func (m *AtomicAggregateAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_AtomicAggregateAttribute.DiscardUnknown(m) } -func (m *AtomicAggregateAttribute) Reset() { *m = AtomicAggregateAttribute{} } -func (m *AtomicAggregateAttribute) String() string { return proto.CompactTextString(m) } -func (*AtomicAggregateAttribute) ProtoMessage() {} -func (*AtomicAggregateAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } +var xxx_messageInfo_AtomicAggregateAttribute proto.InternalMessageInfo type AggregatorAttribute struct { - As uint32 `protobuf:"varint,2,opt,name=as" json:"as,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` + As uint32 `protobuf:"varint,2,opt,name=as,proto3" json:"as,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AggregatorAttribute) Reset() { *m = AggregatorAttribute{} } -func (m *AggregatorAttribute) String() string { return proto.CompactTextString(m) } -func (*AggregatorAttribute) ProtoMessage() {} -func (*AggregatorAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } +func (m *AggregatorAttribute) Reset() { *m = AggregatorAttribute{} } +func (m *AggregatorAttribute) String() string { return proto.CompactTextString(m) } +func (*AggregatorAttribute) ProtoMessage() {} +func (*AggregatorAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{7} +} + +func (m *AggregatorAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AggregatorAttribute.Unmarshal(m, b) +} +func (m *AggregatorAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AggregatorAttribute.Marshal(b, m, deterministic) +} +func (m *AggregatorAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_AggregatorAttribute.Merge(m, src) +} +func (m *AggregatorAttribute) XXX_Size() int { + return xxx_messageInfo_AggregatorAttribute.Size(m) +} +func (m *AggregatorAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_AggregatorAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_AggregatorAttribute proto.InternalMessageInfo func (m *AggregatorAttribute) GetAs() uint32 { if m != nil { @@ -444,13 +377,36 @@ func (m *AggregatorAttribute) GetAddress() string { } type CommunitiesAttribute struct { - Communities []uint32 `protobuf:"varint,1,rep,packed,name=communities" json:"communities,omitempty"` + Communities []uint32 `protobuf:"varint,1,rep,packed,name=communities,proto3" json:"communities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommunitiesAttribute) Reset() { *m = CommunitiesAttribute{} } +func (m *CommunitiesAttribute) String() string { return proto.CompactTextString(m) } +func (*CommunitiesAttribute) ProtoMessage() {} +func (*CommunitiesAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{8} +} + +func (m *CommunitiesAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunitiesAttribute.Unmarshal(m, b) +} +func (m *CommunitiesAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunitiesAttribute.Marshal(b, m, deterministic) +} +func (m *CommunitiesAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunitiesAttribute.Merge(m, src) +} +func (m *CommunitiesAttribute) XXX_Size() int { + return xxx_messageInfo_CommunitiesAttribute.Size(m) +} +func (m *CommunitiesAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_CommunitiesAttribute.DiscardUnknown(m) } -func (m *CommunitiesAttribute) Reset() { *m = CommunitiesAttribute{} } -func (m *CommunitiesAttribute) String() string { return proto.CompactTextString(m) } -func (*CommunitiesAttribute) ProtoMessage() {} -func (*CommunitiesAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } +var xxx_messageInfo_CommunitiesAttribute proto.InternalMessageInfo func (m *CommunitiesAttribute) GetCommunities() []uint32 { if m != nil { @@ -460,13 +416,36 @@ func (m *CommunitiesAttribute) GetCommunities() []uint32 { } type OriginatorIdAttribute struct { - Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OriginatorIdAttribute) Reset() { *m = OriginatorIdAttribute{} } +func (m *OriginatorIdAttribute) String() string { return proto.CompactTextString(m) } +func (*OriginatorIdAttribute) ProtoMessage() {} +func (*OriginatorIdAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{9} } -func (m *OriginatorIdAttribute) Reset() { *m = OriginatorIdAttribute{} } -func (m *OriginatorIdAttribute) String() string { return proto.CompactTextString(m) } -func (*OriginatorIdAttribute) ProtoMessage() {} -func (*OriginatorIdAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } +func (m *OriginatorIdAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OriginatorIdAttribute.Unmarshal(m, b) +} +func (m *OriginatorIdAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OriginatorIdAttribute.Marshal(b, m, deterministic) +} +func (m *OriginatorIdAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_OriginatorIdAttribute.Merge(m, src) +} +func (m *OriginatorIdAttribute) XXX_Size() int { + return xxx_messageInfo_OriginatorIdAttribute.Size(m) +} +func (m *OriginatorIdAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_OriginatorIdAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_OriginatorIdAttribute proto.InternalMessageInfo func (m *OriginatorIdAttribute) GetId() string { if m != nil { @@ -476,13 +455,36 @@ func (m *OriginatorIdAttribute) GetId() string { } type ClusterListAttribute struct { - Ids []string `protobuf:"bytes,1,rep,name=ids" json:"ids,omitempty"` + Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ClusterListAttribute) Reset() { *m = ClusterListAttribute{} } -func (m *ClusterListAttribute) String() string { return proto.CompactTextString(m) } -func (*ClusterListAttribute) ProtoMessage() {} -func (*ClusterListAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } +func (m *ClusterListAttribute) Reset() { *m = ClusterListAttribute{} } +func (m *ClusterListAttribute) String() string { return proto.CompactTextString(m) } +func (*ClusterListAttribute) ProtoMessage() {} +func (*ClusterListAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{10} +} + +func (m *ClusterListAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterListAttribute.Unmarshal(m, b) +} +func (m *ClusterListAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterListAttribute.Marshal(b, m, deterministic) +} +func (m *ClusterListAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterListAttribute.Merge(m, src) +} +func (m *ClusterListAttribute) XXX_Size() int { + return xxx_messageInfo_ClusterListAttribute.Size(m) +} +func (m *ClusterListAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterListAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterListAttribute proto.InternalMessageInfo func (m *ClusterListAttribute) GetIds() []string { if m != nil { @@ -495,14 +497,37 @@ func (m *ClusterListAttribute) GetIds() []string { // - AFI=1, SAFI=1 // - AFI=2, SAFI=1 type IPAddressPrefix struct { - PrefixLen uint32 `protobuf:"varint,1,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"` - Prefix string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty"` + PrefixLen uint32 `protobuf:"varint,1,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` + Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *IPAddressPrefix) Reset() { *m = IPAddressPrefix{} } -func (m *IPAddressPrefix) String() string { return proto.CompactTextString(m) } -func (*IPAddressPrefix) ProtoMessage() {} -func (*IPAddressPrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} } +func (m *IPAddressPrefix) Reset() { *m = IPAddressPrefix{} } +func (m *IPAddressPrefix) String() string { return proto.CompactTextString(m) } +func (*IPAddressPrefix) ProtoMessage() {} +func (*IPAddressPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{11} +} + +func (m *IPAddressPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IPAddressPrefix.Unmarshal(m, b) +} +func (m *IPAddressPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IPAddressPrefix.Marshal(b, m, deterministic) +} +func (m *IPAddressPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAddressPrefix.Merge(m, src) +} +func (m *IPAddressPrefix) XXX_Size() int { + return xxx_messageInfo_IPAddressPrefix.Size(m) +} +func (m *IPAddressPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_IPAddressPrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_IPAddressPrefix proto.InternalMessageInfo func (m *IPAddressPrefix) GetPrefixLen() uint32 { if m != nil { @@ -522,15 +547,38 @@ func (m *IPAddressPrefix) GetPrefix() string { // - AFI=1, SAFI=4 // - AFI=2, SAFI=4 type LabeledIPAddressPrefix struct { - Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels" json:"labels,omitempty"` - PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"` - Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` + Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"` + PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` + Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LabeledIPAddressPrefix) Reset() { *m = LabeledIPAddressPrefix{} } -func (m *LabeledIPAddressPrefix) String() string { return proto.CompactTextString(m) } -func (*LabeledIPAddressPrefix) ProtoMessage() {} -func (*LabeledIPAddressPrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} } +func (m *LabeledIPAddressPrefix) Reset() { *m = LabeledIPAddressPrefix{} } +func (m *LabeledIPAddressPrefix) String() string { return proto.CompactTextString(m) } +func (*LabeledIPAddressPrefix) ProtoMessage() {} +func (*LabeledIPAddressPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{12} +} + +func (m *LabeledIPAddressPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabeledIPAddressPrefix.Unmarshal(m, b) +} +func (m *LabeledIPAddressPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabeledIPAddressPrefix.Marshal(b, m, deterministic) +} +func (m *LabeledIPAddressPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabeledIPAddressPrefix.Merge(m, src) +} +func (m *LabeledIPAddressPrefix) XXX_Size() int { + return xxx_messageInfo_LabeledIPAddressPrefix.Size(m) +} +func (m *LabeledIPAddressPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_LabeledIPAddressPrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_LabeledIPAddressPrefix proto.InternalMessageInfo func (m *LabeledIPAddressPrefix) GetLabels() []uint32 { if m != nil { @@ -557,13 +605,36 @@ func (m *LabeledIPAddressPrefix) GetPrefix() string { // - AFI=1, SAFI=7 // - AFI=2, SAFI=7 type EncapsulationNLRI struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncapsulationNLRI) Reset() { *m = EncapsulationNLRI{} } +func (m *EncapsulationNLRI) String() string { return proto.CompactTextString(m) } +func (*EncapsulationNLRI) ProtoMessage() {} +func (*EncapsulationNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{13} +} + +func (m *EncapsulationNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncapsulationNLRI.Unmarshal(m, b) +} +func (m *EncapsulationNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncapsulationNLRI.Marshal(b, m, deterministic) +} +func (m *EncapsulationNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncapsulationNLRI.Merge(m, src) +} +func (m *EncapsulationNLRI) XXX_Size() int { + return xxx_messageInfo_EncapsulationNLRI.Size(m) +} +func (m *EncapsulationNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_EncapsulationNLRI.DiscardUnknown(m) } -func (m *EncapsulationNLRI) Reset() { *m = EncapsulationNLRI{} } -func (m *EncapsulationNLRI) String() string { return proto.CompactTextString(m) } -func (*EncapsulationNLRI) ProtoMessage() {} -func (*EncapsulationNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} } +var xxx_messageInfo_EncapsulationNLRI proto.InternalMessageInfo func (m *EncapsulationNLRI) GetAddress() string { if m != nil { @@ -573,14 +644,37 @@ func (m *EncapsulationNLRI) GetAddress() string { } type RouteDistinguisherTwoOctetAS struct { - Admin uint32 `protobuf:"varint,1,opt,name=admin" json:"admin,omitempty"` - Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"` + Admin uint32 `protobuf:"varint,1,opt,name=admin,proto3" json:"admin,omitempty"` + Assigned uint32 `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteDistinguisherTwoOctetAS) Reset() { *m = RouteDistinguisherTwoOctetAS{} } +func (m *RouteDistinguisherTwoOctetAS) String() string { return proto.CompactTextString(m) } +func (*RouteDistinguisherTwoOctetAS) ProtoMessage() {} +func (*RouteDistinguisherTwoOctetAS) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{14} +} + +func (m *RouteDistinguisherTwoOctetAS) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteDistinguisherTwoOctetAS.Unmarshal(m, b) +} +func (m *RouteDistinguisherTwoOctetAS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteDistinguisherTwoOctetAS.Marshal(b, m, deterministic) +} +func (m *RouteDistinguisherTwoOctetAS) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteDistinguisherTwoOctetAS.Merge(m, src) +} +func (m *RouteDistinguisherTwoOctetAS) XXX_Size() int { + return xxx_messageInfo_RouteDistinguisherTwoOctetAS.Size(m) +} +func (m *RouteDistinguisherTwoOctetAS) XXX_DiscardUnknown() { + xxx_messageInfo_RouteDistinguisherTwoOctetAS.DiscardUnknown(m) } -func (m *RouteDistinguisherTwoOctetAS) Reset() { *m = RouteDistinguisherTwoOctetAS{} } -func (m *RouteDistinguisherTwoOctetAS) String() string { return proto.CompactTextString(m) } -func (*RouteDistinguisherTwoOctetAS) ProtoMessage() {} -func (*RouteDistinguisherTwoOctetAS) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} } +var xxx_messageInfo_RouteDistinguisherTwoOctetAS proto.InternalMessageInfo func (m *RouteDistinguisherTwoOctetAS) GetAdmin() uint32 { if m != nil { @@ -597,14 +691,37 @@ func (m *RouteDistinguisherTwoOctetAS) GetAssigned() uint32 { } type RouteDistinguisherIPAddress struct { - Admin string `protobuf:"bytes,1,opt,name=admin" json:"admin,omitempty"` - Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"` + Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` + Assigned uint32 `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouteDistinguisherIPAddress) Reset() { *m = RouteDistinguisherIPAddress{} } -func (m *RouteDistinguisherIPAddress) String() string { return proto.CompactTextString(m) } -func (*RouteDistinguisherIPAddress) ProtoMessage() {} -func (*RouteDistinguisherIPAddress) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} } +func (m *RouteDistinguisherIPAddress) Reset() { *m = RouteDistinguisherIPAddress{} } +func (m *RouteDistinguisherIPAddress) String() string { return proto.CompactTextString(m) } +func (*RouteDistinguisherIPAddress) ProtoMessage() {} +func (*RouteDistinguisherIPAddress) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{15} +} + +func (m *RouteDistinguisherIPAddress) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteDistinguisherIPAddress.Unmarshal(m, b) +} +func (m *RouteDistinguisherIPAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteDistinguisherIPAddress.Marshal(b, m, deterministic) +} +func (m *RouteDistinguisherIPAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteDistinguisherIPAddress.Merge(m, src) +} +func (m *RouteDistinguisherIPAddress) XXX_Size() int { + return xxx_messageInfo_RouteDistinguisherIPAddress.Size(m) +} +func (m *RouteDistinguisherIPAddress) XXX_DiscardUnknown() { + xxx_messageInfo_RouteDistinguisherIPAddress.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteDistinguisherIPAddress proto.InternalMessageInfo func (m *RouteDistinguisherIPAddress) GetAdmin() string { if m != nil { @@ -621,14 +738,37 @@ func (m *RouteDistinguisherIPAddress) GetAssigned() uint32 { } type RouteDistinguisherFourOctetAS struct { - Admin uint32 `protobuf:"varint,1,opt,name=admin" json:"admin,omitempty"` - Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"` + Admin uint32 `protobuf:"varint,1,opt,name=admin,proto3" json:"admin,omitempty"` + Assigned uint32 `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteDistinguisherFourOctetAS) Reset() { *m = RouteDistinguisherFourOctetAS{} } +func (m *RouteDistinguisherFourOctetAS) String() string { return proto.CompactTextString(m) } +func (*RouteDistinguisherFourOctetAS) ProtoMessage() {} +func (*RouteDistinguisherFourOctetAS) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{16} } -func (m *RouteDistinguisherFourOctetAS) Reset() { *m = RouteDistinguisherFourOctetAS{} } -func (m *RouteDistinguisherFourOctetAS) String() string { return proto.CompactTextString(m) } -func (*RouteDistinguisherFourOctetAS) ProtoMessage() {} -func (*RouteDistinguisherFourOctetAS) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} } +func (m *RouteDistinguisherFourOctetAS) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteDistinguisherFourOctetAS.Unmarshal(m, b) +} +func (m *RouteDistinguisherFourOctetAS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteDistinguisherFourOctetAS.Marshal(b, m, deterministic) +} +func (m *RouteDistinguisherFourOctetAS) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteDistinguisherFourOctetAS.Merge(m, src) +} +func (m *RouteDistinguisherFourOctetAS) XXX_Size() int { + return xxx_messageInfo_RouteDistinguisherFourOctetAS.Size(m) +} +func (m *RouteDistinguisherFourOctetAS) XXX_DiscardUnknown() { + xxx_messageInfo_RouteDistinguisherFourOctetAS.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteDistinguisherFourOctetAS proto.InternalMessageInfo func (m *RouteDistinguisherFourOctetAS) GetAdmin() uint32 { if m != nil { @@ -645,14 +785,37 @@ func (m *RouteDistinguisherFourOctetAS) GetAssigned() uint32 { } type EthernetSegmentIdentifier struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *EthernetSegmentIdentifier) Reset() { *m = EthernetSegmentIdentifier{} } -func (m *EthernetSegmentIdentifier) String() string { return proto.CompactTextString(m) } -func (*EthernetSegmentIdentifier) ProtoMessage() {} -func (*EthernetSegmentIdentifier) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} } +func (m *EthernetSegmentIdentifier) Reset() { *m = EthernetSegmentIdentifier{} } +func (m *EthernetSegmentIdentifier) String() string { return proto.CompactTextString(m) } +func (*EthernetSegmentIdentifier) ProtoMessage() {} +func (*EthernetSegmentIdentifier) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{17} +} + +func (m *EthernetSegmentIdentifier) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EthernetSegmentIdentifier.Unmarshal(m, b) +} +func (m *EthernetSegmentIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EthernetSegmentIdentifier.Marshal(b, m, deterministic) +} +func (m *EthernetSegmentIdentifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_EthernetSegmentIdentifier.Merge(m, src) +} +func (m *EthernetSegmentIdentifier) XXX_Size() int { + return xxx_messageInfo_EthernetSegmentIdentifier.Size(m) +} +func (m *EthernetSegmentIdentifier) XXX_DiscardUnknown() { + xxx_messageInfo_EthernetSegmentIdentifier.DiscardUnknown(m) +} + +var xxx_messageInfo_EthernetSegmentIdentifier proto.InternalMessageInfo func (m *EthernetSegmentIdentifier) GetType() uint32 { if m != nil { @@ -675,20 +838,41 @@ type EVPNEthernetAutoDiscoveryRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"` - EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"` - Label uint32 `protobuf:"varint,4,opt,name=label" json:"label,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi,proto3" json:"esi,omitempty"` + EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag,proto3" json:"ethernet_tag,omitempty"` + Label uint32 `protobuf:"varint,4,opt,name=label,proto3" json:"label,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *EVPNEthernetAutoDiscoveryRoute) Reset() { *m = EVPNEthernetAutoDiscoveryRoute{} } func (m *EVPNEthernetAutoDiscoveryRoute) String() string { return proto.CompactTextString(m) } func (*EVPNEthernetAutoDiscoveryRoute) ProtoMessage() {} func (*EVPNEthernetAutoDiscoveryRoute) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{18} + return fileDescriptor_64cfbe2f04478930, []int{18} +} + +func (m *EVPNEthernetAutoDiscoveryRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute.Unmarshal(m, b) +} +func (m *EVPNEthernetAutoDiscoveryRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute.Marshal(b, m, deterministic) +} +func (m *EVPNEthernetAutoDiscoveryRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute.Merge(m, src) +} +func (m *EVPNEthernetAutoDiscoveryRoute) XXX_Size() int { + return xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute.Size(m) } +func (m *EVPNEthernetAutoDiscoveryRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute.DiscardUnknown(m) +} + +var xxx_messageInfo_EVPNEthernetAutoDiscoveryRoute proto.InternalMessageInfo -func (m *EVPNEthernetAutoDiscoveryRoute) GetRd() *google_protobuf.Any { +func (m *EVPNEthernetAutoDiscoveryRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -723,20 +907,43 @@ type EVPNMACIPAdvertisementRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"` - EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"` - MacAddress string `protobuf:"bytes,4,opt,name=mac_address,json=macAddress" json:"mac_address,omitempty"` - IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"` - Labels []uint32 `protobuf:"varint,6,rep,packed,name=labels" json:"labels,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi,proto3" json:"esi,omitempty"` + EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag,proto3" json:"ethernet_tag,omitempty"` + MacAddress string `protobuf:"bytes,4,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` + IpAddress string `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + Labels []uint32 `protobuf:"varint,6,rep,packed,name=labels,proto3" json:"labels,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *EVPNMACIPAdvertisementRoute) Reset() { *m = EVPNMACIPAdvertisementRoute{} } -func (m *EVPNMACIPAdvertisementRoute) String() string { return proto.CompactTextString(m) } -func (*EVPNMACIPAdvertisementRoute) ProtoMessage() {} -func (*EVPNMACIPAdvertisementRoute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} } +func (m *EVPNMACIPAdvertisementRoute) Reset() { *m = EVPNMACIPAdvertisementRoute{} } +func (m *EVPNMACIPAdvertisementRoute) String() string { return proto.CompactTextString(m) } +func (*EVPNMACIPAdvertisementRoute) ProtoMessage() {} +func (*EVPNMACIPAdvertisementRoute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{19} +} -func (m *EVPNMACIPAdvertisementRoute) GetRd() *google_protobuf.Any { +func (m *EVPNMACIPAdvertisementRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNMACIPAdvertisementRoute.Unmarshal(m, b) +} +func (m *EVPNMACIPAdvertisementRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNMACIPAdvertisementRoute.Marshal(b, m, deterministic) +} +func (m *EVPNMACIPAdvertisementRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNMACIPAdvertisementRoute.Merge(m, src) +} +func (m *EVPNMACIPAdvertisementRoute) XXX_Size() int { + return xxx_messageInfo_EVPNMACIPAdvertisementRoute.Size(m) +} +func (m *EVPNMACIPAdvertisementRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNMACIPAdvertisementRoute.DiscardUnknown(m) +} + +var xxx_messageInfo_EVPNMACIPAdvertisementRoute proto.InternalMessageInfo + +func (m *EVPNMACIPAdvertisementRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -785,9 +992,12 @@ type EVPNInclusiveMulticastEthernetTagRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - EthernetTag uint32 `protobuf:"varint,2,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"` - IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + EthernetTag uint32 `protobuf:"varint,2,opt,name=ethernet_tag,json=ethernetTag,proto3" json:"ethernet_tag,omitempty"` + IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *EVPNInclusiveMulticastEthernetTagRoute) Reset() { @@ -796,10 +1006,28 @@ func (m *EVPNInclusiveMulticastEthernetTagRoute) Reset() { func (m *EVPNInclusiveMulticastEthernetTagRoute) String() string { return proto.CompactTextString(m) } func (*EVPNInclusiveMulticastEthernetTagRoute) ProtoMessage() {} func (*EVPNInclusiveMulticastEthernetTagRoute) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{20} + return fileDescriptor_64cfbe2f04478930, []int{20} +} + +func (m *EVPNInclusiveMulticastEthernetTagRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute.Unmarshal(m, b) +} +func (m *EVPNInclusiveMulticastEthernetTagRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute.Marshal(b, m, deterministic) +} +func (m *EVPNInclusiveMulticastEthernetTagRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute.Merge(m, src) +} +func (m *EVPNInclusiveMulticastEthernetTagRoute) XXX_Size() int { + return xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute.Size(m) } +func (m *EVPNInclusiveMulticastEthernetTagRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute.DiscardUnknown(m) +} + +var xxx_messageInfo_EVPNInclusiveMulticastEthernetTagRoute proto.InternalMessageInfo -func (m *EVPNInclusiveMulticastEthernetTagRoute) GetRd() *google_protobuf.Any { +func (m *EVPNInclusiveMulticastEthernetTagRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -827,17 +1055,40 @@ type EVPNEthernetSegmentRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"` - IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi,proto3" json:"esi,omitempty"` + IpAddress string `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *EVPNEthernetSegmentRoute) Reset() { *m = EVPNEthernetSegmentRoute{} } -func (m *EVPNEthernetSegmentRoute) String() string { return proto.CompactTextString(m) } -func (*EVPNEthernetSegmentRoute) ProtoMessage() {} -func (*EVPNEthernetSegmentRoute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} } +func (m *EVPNEthernetSegmentRoute) Reset() { *m = EVPNEthernetSegmentRoute{} } +func (m *EVPNEthernetSegmentRoute) String() string { return proto.CompactTextString(m) } +func (*EVPNEthernetSegmentRoute) ProtoMessage() {} +func (*EVPNEthernetSegmentRoute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{21} +} -func (m *EVPNEthernetSegmentRoute) GetRd() *google_protobuf.Any { +func (m *EVPNEthernetSegmentRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNEthernetSegmentRoute.Unmarshal(m, b) +} +func (m *EVPNEthernetSegmentRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNEthernetSegmentRoute.Marshal(b, m, deterministic) +} +func (m *EVPNEthernetSegmentRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNEthernetSegmentRoute.Merge(m, src) +} +func (m *EVPNEthernetSegmentRoute) XXX_Size() int { + return xxx_messageInfo_EVPNEthernetSegmentRoute.Size(m) +} +func (m *EVPNEthernetSegmentRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNEthernetSegmentRoute.DiscardUnknown(m) +} + +var xxx_messageInfo_EVPNEthernetSegmentRoute proto.InternalMessageInfo + +func (m *EVPNEthernetSegmentRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -865,21 +1116,44 @@ type EVPNIPPrefixRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"` - EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"` - IpPrefix string `protobuf:"bytes,4,opt,name=ip_prefix,json=ipPrefix" json:"ip_prefix,omitempty"` - IpPrefixLen uint32 `protobuf:"varint,5,opt,name=ip_prefix_len,json=ipPrefixLen" json:"ip_prefix_len,omitempty"` - GwAddress string `protobuf:"bytes,6,opt,name=gw_address,json=gwAddress" json:"gw_address,omitempty"` - Label uint32 `protobuf:"varint,7,opt,name=label" json:"label,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + Esi *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi,proto3" json:"esi,omitempty"` + EthernetTag uint32 `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag,proto3" json:"ethernet_tag,omitempty"` + IpPrefix string `protobuf:"bytes,4,opt,name=ip_prefix,json=ipPrefix,proto3" json:"ip_prefix,omitempty"` + IpPrefixLen uint32 `protobuf:"varint,5,opt,name=ip_prefix_len,json=ipPrefixLen,proto3" json:"ip_prefix_len,omitempty"` + GwAddress string `protobuf:"bytes,6,opt,name=gw_address,json=gwAddress,proto3" json:"gw_address,omitempty"` + Label uint32 `protobuf:"varint,7,opt,name=label,proto3" json:"label,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *EVPNIPPrefixRoute) Reset() { *m = EVPNIPPrefixRoute{} } -func (m *EVPNIPPrefixRoute) String() string { return proto.CompactTextString(m) } -func (*EVPNIPPrefixRoute) ProtoMessage() {} -func (*EVPNIPPrefixRoute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} } +func (m *EVPNIPPrefixRoute) Reset() { *m = EVPNIPPrefixRoute{} } +func (m *EVPNIPPrefixRoute) String() string { return proto.CompactTextString(m) } +func (*EVPNIPPrefixRoute) ProtoMessage() {} +func (*EVPNIPPrefixRoute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{22} +} -func (m *EVPNIPPrefixRoute) GetRd() *google_protobuf.Any { +func (m *EVPNIPPrefixRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNIPPrefixRoute.Unmarshal(m, b) +} +func (m *EVPNIPPrefixRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNIPPrefixRoute.Marshal(b, m, deterministic) +} +func (m *EVPNIPPrefixRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNIPPrefixRoute.Merge(m, src) +} +func (m *EVPNIPPrefixRoute) XXX_Size() int { + return xxx_messageInfo_EVPNIPPrefixRoute.Size(m) +} +func (m *EVPNIPPrefixRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNIPPrefixRoute.DiscardUnknown(m) +} + +var xxx_messageInfo_EVPNIPPrefixRoute proto.InternalMessageInfo + +func (m *EVPNIPPrefixRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -935,17 +1209,40 @@ type EVPNIPMSIRoute struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` - EthernetTag uint32 `protobuf:"varint,2,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"` - Rt *google_protobuf.Any `protobuf:"bytes,3,opt,name=rt" json:"rt,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` + EthernetTag uint32 `protobuf:"varint,2,opt,name=ethernet_tag,json=ethernetTag,proto3" json:"ethernet_tag,omitempty"` + Rt *any.Any `protobuf:"bytes,3,opt,name=rt,proto3" json:"rt,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EVPNIPMSIRoute) Reset() { *m = EVPNIPMSIRoute{} } +func (m *EVPNIPMSIRoute) String() string { return proto.CompactTextString(m) } +func (*EVPNIPMSIRoute) ProtoMessage() {} +func (*EVPNIPMSIRoute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{23} +} + +func (m *EVPNIPMSIRoute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EVPNIPMSIRoute.Unmarshal(m, b) +} +func (m *EVPNIPMSIRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EVPNIPMSIRoute.Marshal(b, m, deterministic) +} +func (m *EVPNIPMSIRoute) XXX_Merge(src proto.Message) { + xxx_messageInfo_EVPNIPMSIRoute.Merge(m, src) +} +func (m *EVPNIPMSIRoute) XXX_Size() int { + return xxx_messageInfo_EVPNIPMSIRoute.Size(m) +} +func (m *EVPNIPMSIRoute) XXX_DiscardUnknown() { + xxx_messageInfo_EVPNIPMSIRoute.DiscardUnknown(m) } -func (m *EVPNIPMSIRoute) Reset() { *m = EVPNIPMSIRoute{} } -func (m *EVPNIPMSIRoute) String() string { return proto.CompactTextString(m) } -func (*EVPNIPMSIRoute) ProtoMessage() {} -func (*EVPNIPMSIRoute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} } +var xxx_messageInfo_EVPNIPMSIRoute proto.InternalMessageInfo -func (m *EVPNIPMSIRoute) GetRd() *google_protobuf.Any { +func (m *EVPNIPMSIRoute) GetRd() *any.Any { if m != nil { return m.Rd } @@ -959,7 +1256,7 @@ func (m *EVPNIPMSIRoute) GetEthernetTag() uint32 { return 0 } -func (m *EVPNIPMSIRoute) GetRt() *google_protobuf.Any { +func (m *EVPNIPMSIRoute) GetRt() *any.Any { if m != nil { return m.Rt } @@ -970,20 +1267,43 @@ func (m *EVPNIPMSIRoute) GetRt() *google_protobuf.Any { // - AFI=1, SAFI=128 // - AFI=2, SAFI=128 type LabeledVPNIPAddressPrefix struct { - Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels" json:"labels,omitempty"` + Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels,proto3" json:"labels,omitempty"` // One of: // - TwoOctetAsSpecificExtended // - IPv4AddressSpecificExtended // - FourOctetAsSpecificExtended - Rd *google_protobuf.Any `protobuf:"bytes,2,opt,name=rd" json:"rd,omitempty"` - PrefixLen uint32 `protobuf:"varint,3,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"` - Prefix string `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"` + Rd *any.Any `protobuf:"bytes,2,opt,name=rd,proto3" json:"rd,omitempty"` + PrefixLen uint32 `protobuf:"varint,3,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` + Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LabeledVPNIPAddressPrefix) Reset() { *m = LabeledVPNIPAddressPrefix{} } -func (m *LabeledVPNIPAddressPrefix) String() string { return proto.CompactTextString(m) } -func (*LabeledVPNIPAddressPrefix) ProtoMessage() {} -func (*LabeledVPNIPAddressPrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} } +func (m *LabeledVPNIPAddressPrefix) Reset() { *m = LabeledVPNIPAddressPrefix{} } +func (m *LabeledVPNIPAddressPrefix) String() string { return proto.CompactTextString(m) } +func (*LabeledVPNIPAddressPrefix) ProtoMessage() {} +func (*LabeledVPNIPAddressPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{24} +} + +func (m *LabeledVPNIPAddressPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LabeledVPNIPAddressPrefix.Unmarshal(m, b) +} +func (m *LabeledVPNIPAddressPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LabeledVPNIPAddressPrefix.Marshal(b, m, deterministic) +} +func (m *LabeledVPNIPAddressPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_LabeledVPNIPAddressPrefix.Merge(m, src) +} +func (m *LabeledVPNIPAddressPrefix) XXX_Size() int { + return xxx_messageInfo_LabeledVPNIPAddressPrefix.Size(m) +} +func (m *LabeledVPNIPAddressPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_LabeledVPNIPAddressPrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_LabeledVPNIPAddressPrefix proto.InternalMessageInfo func (m *LabeledVPNIPAddressPrefix) GetLabels() []uint32 { if m != nil { @@ -992,7 +1312,7 @@ func (m *LabeledVPNIPAddressPrefix) GetLabels() []uint32 { return nil } -func (m *LabeledVPNIPAddressPrefix) GetRd() *google_protobuf.Any { +func (m *LabeledVPNIPAddressPrefix) GetRd() *any.Any { if m != nil { return m.Rd } @@ -1016,18 +1336,41 @@ func (m *LabeledVPNIPAddressPrefix) GetPrefix() string { // RouteTargetMembershipNLRI represents the NLRI for: // - AFI=1, SAFI=132 type RouteTargetMembershipNLRI struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` // One of: // - TwoOctetAsSpecificExtended // - IPv4AddressSpecificExtended // - FourOctetAsSpecificExtended - Rt *google_protobuf.Any `protobuf:"bytes,2,opt,name=rt" json:"rt,omitempty"` + Rt *any.Any `protobuf:"bytes,2,opt,name=rt,proto3" json:"rt,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouteTargetMembershipNLRI) Reset() { *m = RouteTargetMembershipNLRI{} } -func (m *RouteTargetMembershipNLRI) String() string { return proto.CompactTextString(m) } -func (*RouteTargetMembershipNLRI) ProtoMessage() {} -func (*RouteTargetMembershipNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} } +func (m *RouteTargetMembershipNLRI) Reset() { *m = RouteTargetMembershipNLRI{} } +func (m *RouteTargetMembershipNLRI) String() string { return proto.CompactTextString(m) } +func (*RouteTargetMembershipNLRI) ProtoMessage() {} +func (*RouteTargetMembershipNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{25} +} + +func (m *RouteTargetMembershipNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteTargetMembershipNLRI.Unmarshal(m, b) +} +func (m *RouteTargetMembershipNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteTargetMembershipNLRI.Marshal(b, m, deterministic) +} +func (m *RouteTargetMembershipNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteTargetMembershipNLRI.Merge(m, src) +} +func (m *RouteTargetMembershipNLRI) XXX_Size() int { + return xxx_messageInfo_RouteTargetMembershipNLRI.Size(m) +} +func (m *RouteTargetMembershipNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_RouteTargetMembershipNLRI.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteTargetMembershipNLRI proto.InternalMessageInfo func (m *RouteTargetMembershipNLRI) GetAs() uint32 { if m != nil { @@ -1036,7 +1379,7 @@ func (m *RouteTargetMembershipNLRI) GetAs() uint32 { return 0 } -func (m *RouteTargetMembershipNLRI) GetRt() *google_protobuf.Any { +func (m *RouteTargetMembershipNLRI) GetRt() *any.Any { if m != nil { return m.Rt } @@ -1044,17 +1387,40 @@ func (m *RouteTargetMembershipNLRI) GetRt() *google_protobuf.Any { } type FlowSpecIPPrefix struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"` - Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"` + Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // IPv6 only - Offset uint32 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"` + Offset uint32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FlowSpecIPPrefix) Reset() { *m = FlowSpecIPPrefix{} } +func (m *FlowSpecIPPrefix) String() string { return proto.CompactTextString(m) } +func (*FlowSpecIPPrefix) ProtoMessage() {} +func (*FlowSpecIPPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{26} } -func (m *FlowSpecIPPrefix) Reset() { *m = FlowSpecIPPrefix{} } -func (m *FlowSpecIPPrefix) String() string { return proto.CompactTextString(m) } -func (*FlowSpecIPPrefix) ProtoMessage() {} -func (*FlowSpecIPPrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} } +func (m *FlowSpecIPPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlowSpecIPPrefix.Unmarshal(m, b) +} +func (m *FlowSpecIPPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlowSpecIPPrefix.Marshal(b, m, deterministic) +} +func (m *FlowSpecIPPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowSpecIPPrefix.Merge(m, src) +} +func (m *FlowSpecIPPrefix) XXX_Size() int { + return xxx_messageInfo_FlowSpecIPPrefix.Size(m) +} +func (m *FlowSpecIPPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_FlowSpecIPPrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_FlowSpecIPPrefix proto.InternalMessageInfo func (m *FlowSpecIPPrefix) GetType() uint32 { if m != nil { @@ -1085,14 +1451,37 @@ func (m *FlowSpecIPPrefix) GetOffset() uint32 { } type FlowSpecMAC struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *FlowSpecMAC) Reset() { *m = FlowSpecMAC{} } -func (m *FlowSpecMAC) String() string { return proto.CompactTextString(m) } -func (*FlowSpecMAC) ProtoMessage() {} -func (*FlowSpecMAC) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} } +func (m *FlowSpecMAC) Reset() { *m = FlowSpecMAC{} } +func (m *FlowSpecMAC) String() string { return proto.CompactTextString(m) } +func (*FlowSpecMAC) ProtoMessage() {} +func (*FlowSpecMAC) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{27} +} + +func (m *FlowSpecMAC) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlowSpecMAC.Unmarshal(m, b) +} +func (m *FlowSpecMAC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlowSpecMAC.Marshal(b, m, deterministic) +} +func (m *FlowSpecMAC) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowSpecMAC.Merge(m, src) +} +func (m *FlowSpecMAC) XXX_Size() int { + return xxx_messageInfo_FlowSpecMAC.Size(m) +} +func (m *FlowSpecMAC) XXX_DiscardUnknown() { + xxx_messageInfo_FlowSpecMAC.DiscardUnknown(m) +} + +var xxx_messageInfo_FlowSpecMAC proto.InternalMessageInfo func (m *FlowSpecMAC) GetType() uint32 { if m != nil { @@ -1110,14 +1499,37 @@ func (m *FlowSpecMAC) GetAddress() string { type FlowSpecComponentItem struct { // Operator for Numeric type, Operand for Bitmask type - Op uint32 `protobuf:"varint,1,opt,name=op" json:"op,omitempty"` - Value uint64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` + Op uint32 `protobuf:"varint,1,opt,name=op,proto3" json:"op,omitempty"` + Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FlowSpecComponentItem) Reset() { *m = FlowSpecComponentItem{} } +func (m *FlowSpecComponentItem) String() string { return proto.CompactTextString(m) } +func (*FlowSpecComponentItem) ProtoMessage() {} +func (*FlowSpecComponentItem) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{28} +} + +func (m *FlowSpecComponentItem) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlowSpecComponentItem.Unmarshal(m, b) +} +func (m *FlowSpecComponentItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlowSpecComponentItem.Marshal(b, m, deterministic) +} +func (m *FlowSpecComponentItem) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowSpecComponentItem.Merge(m, src) +} +func (m *FlowSpecComponentItem) XXX_Size() int { + return xxx_messageInfo_FlowSpecComponentItem.Size(m) +} +func (m *FlowSpecComponentItem) XXX_DiscardUnknown() { + xxx_messageInfo_FlowSpecComponentItem.DiscardUnknown(m) } -func (m *FlowSpecComponentItem) Reset() { *m = FlowSpecComponentItem{} } -func (m *FlowSpecComponentItem) String() string { return proto.CompactTextString(m) } -func (*FlowSpecComponentItem) ProtoMessage() {} -func (*FlowSpecComponentItem) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} } +var xxx_messageInfo_FlowSpecComponentItem proto.InternalMessageInfo func (m *FlowSpecComponentItem) GetOp() uint32 { if m != nil { @@ -1134,14 +1546,37 @@ func (m *FlowSpecComponentItem) GetValue() uint64 { } type FlowSpecComponent struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Items []*FlowSpecComponentItem `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Items []*FlowSpecComponentItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FlowSpecComponent) Reset() { *m = FlowSpecComponent{} } +func (m *FlowSpecComponent) String() string { return proto.CompactTextString(m) } +func (*FlowSpecComponent) ProtoMessage() {} +func (*FlowSpecComponent) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{29} +} + +func (m *FlowSpecComponent) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlowSpecComponent.Unmarshal(m, b) +} +func (m *FlowSpecComponent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlowSpecComponent.Marshal(b, m, deterministic) +} +func (m *FlowSpecComponent) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowSpecComponent.Merge(m, src) +} +func (m *FlowSpecComponent) XXX_Size() int { + return xxx_messageInfo_FlowSpecComponent.Size(m) +} +func (m *FlowSpecComponent) XXX_DiscardUnknown() { + xxx_messageInfo_FlowSpecComponent.DiscardUnknown(m) } -func (m *FlowSpecComponent) Reset() { *m = FlowSpecComponent{} } -func (m *FlowSpecComponent) String() string { return proto.CompactTextString(m) } -func (*FlowSpecComponent) ProtoMessage() {} -func (*FlowSpecComponent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} } +var xxx_messageInfo_FlowSpecComponent proto.InternalMessageInfo func (m *FlowSpecComponent) GetType() uint32 { if m != nil { @@ -1165,15 +1600,38 @@ type FlowSpecNLRI struct { // - FlowSpecIPPrefix // - FlowSpecMAC // - FlowSpecComponent - Rules []*google_protobuf.Any `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"` + Rules []*any.Any `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *FlowSpecNLRI) Reset() { *m = FlowSpecNLRI{} } -func (m *FlowSpecNLRI) String() string { return proto.CompactTextString(m) } -func (*FlowSpecNLRI) ProtoMessage() {} -func (*FlowSpecNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} } +func (m *FlowSpecNLRI) Reset() { *m = FlowSpecNLRI{} } +func (m *FlowSpecNLRI) String() string { return proto.CompactTextString(m) } +func (*FlowSpecNLRI) ProtoMessage() {} +func (*FlowSpecNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{30} +} -func (m *FlowSpecNLRI) GetRules() []*google_protobuf.Any { +func (m *FlowSpecNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FlowSpecNLRI.Unmarshal(m, b) +} +func (m *FlowSpecNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FlowSpecNLRI.Marshal(b, m, deterministic) +} +func (m *FlowSpecNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_FlowSpecNLRI.Merge(m, src) +} +func (m *FlowSpecNLRI) XXX_Size() int { + return xxx_messageInfo_FlowSpecNLRI.Size(m) +} +func (m *FlowSpecNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_FlowSpecNLRI.DiscardUnknown(m) +} + +var xxx_messageInfo_FlowSpecNLRI proto.InternalMessageInfo + +func (m *FlowSpecNLRI) GetRules() []*any.Any { if m != nil { return m.Rules } @@ -1189,27 +1647,50 @@ type VPNFlowSpecNLRI struct { // - RouteDistinguisherTwoOctetAS // - RouteDistinguisherIPAddressAS // - RouteDistinguisherFourOctetAS - Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"` + Rd *any.Any `protobuf:"bytes,1,opt,name=rd,proto3" json:"rd,omitempty"` // One of: // - FlowSpecIPPrefix // - FlowSpecMAC // - FlowSpecComponent - Rules []*google_protobuf.Any `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"` + Rules []*any.Any `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VPNFlowSpecNLRI) Reset() { *m = VPNFlowSpecNLRI{} } +func (m *VPNFlowSpecNLRI) String() string { return proto.CompactTextString(m) } +func (*VPNFlowSpecNLRI) ProtoMessage() {} +func (*VPNFlowSpecNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{31} +} + +func (m *VPNFlowSpecNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VPNFlowSpecNLRI.Unmarshal(m, b) +} +func (m *VPNFlowSpecNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VPNFlowSpecNLRI.Marshal(b, m, deterministic) +} +func (m *VPNFlowSpecNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_VPNFlowSpecNLRI.Merge(m, src) +} +func (m *VPNFlowSpecNLRI) XXX_Size() int { + return xxx_messageInfo_VPNFlowSpecNLRI.Size(m) +} +func (m *VPNFlowSpecNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_VPNFlowSpecNLRI.DiscardUnknown(m) } -func (m *VPNFlowSpecNLRI) Reset() { *m = VPNFlowSpecNLRI{} } -func (m *VPNFlowSpecNLRI) String() string { return proto.CompactTextString(m) } -func (*VPNFlowSpecNLRI) ProtoMessage() {} -func (*VPNFlowSpecNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} } +var xxx_messageInfo_VPNFlowSpecNLRI proto.InternalMessageInfo -func (m *VPNFlowSpecNLRI) GetRd() *google_protobuf.Any { +func (m *VPNFlowSpecNLRI) GetRd() *any.Any { if m != nil { return m.Rd } return nil } -func (m *VPNFlowSpecNLRI) GetRules() []*google_protobuf.Any { +func (m *VPNFlowSpecNLRI) GetRules() []*any.Any { if m != nil { return m.Rules } @@ -1219,14 +1700,37 @@ func (m *VPNFlowSpecNLRI) GetRules() []*google_protobuf.Any { // OpaqueNLRI represents the NLRI for: // - AFI=16397, SAFI=241 type OpaqueNLRI struct { - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *OpaqueNLRI) Reset() { *m = OpaqueNLRI{} } -func (m *OpaqueNLRI) String() string { return proto.CompactTextString(m) } -func (*OpaqueNLRI) ProtoMessage() {} -func (*OpaqueNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} } +func (m *OpaqueNLRI) Reset() { *m = OpaqueNLRI{} } +func (m *OpaqueNLRI) String() string { return proto.CompactTextString(m) } +func (*OpaqueNLRI) ProtoMessage() {} +func (*OpaqueNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{32} +} + +func (m *OpaqueNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OpaqueNLRI.Unmarshal(m, b) +} +func (m *OpaqueNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OpaqueNLRI.Marshal(b, m, deterministic) +} +func (m *OpaqueNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_OpaqueNLRI.Merge(m, src) +} +func (m *OpaqueNLRI) XXX_Size() int { + return xxx_messageInfo_OpaqueNLRI.Size(m) +} +func (m *OpaqueNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_OpaqueNLRI.DiscardUnknown(m) +} + +var xxx_messageInfo_OpaqueNLRI proto.InternalMessageInfo func (m *OpaqueNLRI) GetKey() []byte { if m != nil { @@ -1243,17 +1747,40 @@ func (m *OpaqueNLRI) GetValue() []byte { } type LsNodeDescriptor struct { - Asn uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"` - BgpLsId uint32 `protobuf:"varint,2,opt,name=bgp_ls_id,json=bgpLsId" json:"bgp_ls_id,omitempty"` - OspfAreaId uint32 `protobuf:"varint,3,opt,name=ospf_area_id,json=ospfAreaId" json:"ospf_area_id,omitempty"` - Pseudonode bool `protobuf:"varint,4,opt,name=pseudonode" json:"pseudonode,omitempty"` - IgpRouterId string `protobuf:"bytes,5,opt,name=igp_router_id,json=igpRouterId" json:"igp_router_id,omitempty"` + Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"` + BgpLsId uint32 `protobuf:"varint,2,opt,name=bgp_ls_id,json=bgpLsId,proto3" json:"bgp_ls_id,omitempty"` + OspfAreaId uint32 `protobuf:"varint,3,opt,name=ospf_area_id,json=ospfAreaId,proto3" json:"ospf_area_id,omitempty"` + Pseudonode bool `protobuf:"varint,4,opt,name=pseudonode,proto3" json:"pseudonode,omitempty"` + IgpRouterId string `protobuf:"bytes,5,opt,name=igp_router_id,json=igpRouterId,proto3" json:"igp_router_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsNodeDescriptor) Reset() { *m = LsNodeDescriptor{} } +func (m *LsNodeDescriptor) String() string { return proto.CompactTextString(m) } +func (*LsNodeDescriptor) ProtoMessage() {} +func (*LsNodeDescriptor) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{33} } -func (m *LsNodeDescriptor) Reset() { *m = LsNodeDescriptor{} } -func (m *LsNodeDescriptor) String() string { return proto.CompactTextString(m) } -func (*LsNodeDescriptor) ProtoMessage() {} -func (*LsNodeDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} } +func (m *LsNodeDescriptor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsNodeDescriptor.Unmarshal(m, b) +} +func (m *LsNodeDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsNodeDescriptor.Marshal(b, m, deterministic) +} +func (m *LsNodeDescriptor) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsNodeDescriptor.Merge(m, src) +} +func (m *LsNodeDescriptor) XXX_Size() int { + return xxx_messageInfo_LsNodeDescriptor.Size(m) +} +func (m *LsNodeDescriptor) XXX_DiscardUnknown() { + xxx_messageInfo_LsNodeDescriptor.DiscardUnknown(m) +} + +var xxx_messageInfo_LsNodeDescriptor proto.InternalMessageInfo func (m *LsNodeDescriptor) GetAsn() uint32 { if m != nil { @@ -1291,18 +1818,41 @@ func (m *LsNodeDescriptor) GetIgpRouterId() string { } type LsLinkDescriptor struct { - LinkLocalId uint32 `protobuf:"varint,1,opt,name=link_local_id,json=linkLocalId" json:"link_local_id,omitempty"` - LinkRemoteId uint32 `protobuf:"varint,2,opt,name=link_remote_id,json=linkRemoteId" json:"link_remote_id,omitempty"` - InterfaceAddrIpv4 string `protobuf:"bytes,3,opt,name=interface_addr_ipv4,json=interfaceAddrIpv4" json:"interface_addr_ipv4,omitempty"` - NeighborAddrIpv4 string `protobuf:"bytes,4,opt,name=neighbor_addr_ipv4,json=neighborAddrIpv4" json:"neighbor_addr_ipv4,omitempty"` - InterfaceAddrIpv6 string `protobuf:"bytes,5,opt,name=interface_addr_ipv6,json=interfaceAddrIpv6" json:"interface_addr_ipv6,omitempty"` - NeighborAddrIpv6 string `protobuf:"bytes,6,opt,name=neighbor_addr_ipv6,json=neighborAddrIpv6" json:"neighbor_addr_ipv6,omitempty"` + LinkLocalId uint32 `protobuf:"varint,1,opt,name=link_local_id,json=linkLocalId,proto3" json:"link_local_id,omitempty"` + LinkRemoteId uint32 `protobuf:"varint,2,opt,name=link_remote_id,json=linkRemoteId,proto3" json:"link_remote_id,omitempty"` + InterfaceAddrIpv4 string `protobuf:"bytes,3,opt,name=interface_addr_ipv4,json=interfaceAddrIpv4,proto3" json:"interface_addr_ipv4,omitempty"` + NeighborAddrIpv4 string `protobuf:"bytes,4,opt,name=neighbor_addr_ipv4,json=neighborAddrIpv4,proto3" json:"neighbor_addr_ipv4,omitempty"` + InterfaceAddrIpv6 string `protobuf:"bytes,5,opt,name=interface_addr_ipv6,json=interfaceAddrIpv6,proto3" json:"interface_addr_ipv6,omitempty"` + NeighborAddrIpv6 string `protobuf:"bytes,6,opt,name=neighbor_addr_ipv6,json=neighborAddrIpv6,proto3" json:"neighbor_addr_ipv6,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LsLinkDescriptor) Reset() { *m = LsLinkDescriptor{} } -func (m *LsLinkDescriptor) String() string { return proto.CompactTextString(m) } -func (*LsLinkDescriptor) ProtoMessage() {} -func (*LsLinkDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{34} } +func (m *LsLinkDescriptor) Reset() { *m = LsLinkDescriptor{} } +func (m *LsLinkDescriptor) String() string { return proto.CompactTextString(m) } +func (*LsLinkDescriptor) ProtoMessage() {} +func (*LsLinkDescriptor) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{34} +} + +func (m *LsLinkDescriptor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsLinkDescriptor.Unmarshal(m, b) +} +func (m *LsLinkDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsLinkDescriptor.Marshal(b, m, deterministic) +} +func (m *LsLinkDescriptor) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsLinkDescriptor.Merge(m, src) +} +func (m *LsLinkDescriptor) XXX_Size() int { + return xxx_messageInfo_LsLinkDescriptor.Size(m) +} +func (m *LsLinkDescriptor) XXX_DiscardUnknown() { + xxx_messageInfo_LsLinkDescriptor.DiscardUnknown(m) +} + +var xxx_messageInfo_LsLinkDescriptor proto.InternalMessageInfo func (m *LsLinkDescriptor) GetLinkLocalId() uint32 { if m != nil { @@ -1347,14 +1897,37 @@ func (m *LsLinkDescriptor) GetNeighborAddrIpv6() string { } type LsPrefixDescriptor struct { - IpReachability []string `protobuf:"bytes,1,rep,name=ip_reachability,json=ipReachability" json:"ip_reachability,omitempty"` - OspfRouteType string `protobuf:"bytes,2,opt,name=ospf_route_type,json=ospfRouteType" json:"ospf_route_type,omitempty"` + IpReachability []string `protobuf:"bytes,1,rep,name=ip_reachability,json=ipReachability,proto3" json:"ip_reachability,omitempty"` + OspfRouteType string `protobuf:"bytes,2,opt,name=ospf_route_type,json=ospfRouteType,proto3" json:"ospf_route_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsPrefixDescriptor) Reset() { *m = LsPrefixDescriptor{} } +func (m *LsPrefixDescriptor) String() string { return proto.CompactTextString(m) } +func (*LsPrefixDescriptor) ProtoMessage() {} +func (*LsPrefixDescriptor) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{35} +} + +func (m *LsPrefixDescriptor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsPrefixDescriptor.Unmarshal(m, b) +} +func (m *LsPrefixDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsPrefixDescriptor.Marshal(b, m, deterministic) +} +func (m *LsPrefixDescriptor) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsPrefixDescriptor.Merge(m, src) +} +func (m *LsPrefixDescriptor) XXX_Size() int { + return xxx_messageInfo_LsPrefixDescriptor.Size(m) +} +func (m *LsPrefixDescriptor) XXX_DiscardUnknown() { + xxx_messageInfo_LsPrefixDescriptor.DiscardUnknown(m) } -func (m *LsPrefixDescriptor) Reset() { *m = LsPrefixDescriptor{} } -func (m *LsPrefixDescriptor) String() string { return proto.CompactTextString(m) } -func (*LsPrefixDescriptor) ProtoMessage() {} -func (*LsPrefixDescriptor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{35} } +var xxx_messageInfo_LsPrefixDescriptor proto.InternalMessageInfo func (m *LsPrefixDescriptor) GetIpReachability() []string { if m != nil { @@ -1371,13 +1944,36 @@ func (m *LsPrefixDescriptor) GetOspfRouteType() string { } type LsNodeNLRI struct { - LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode" json:"local_node,omitempty"` + LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode,proto3" json:"local_node,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsNodeNLRI) Reset() { *m = LsNodeNLRI{} } +func (m *LsNodeNLRI) String() string { return proto.CompactTextString(m) } +func (*LsNodeNLRI) ProtoMessage() {} +func (*LsNodeNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{36} +} + +func (m *LsNodeNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsNodeNLRI.Unmarshal(m, b) +} +func (m *LsNodeNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsNodeNLRI.Marshal(b, m, deterministic) +} +func (m *LsNodeNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsNodeNLRI.Merge(m, src) +} +func (m *LsNodeNLRI) XXX_Size() int { + return xxx_messageInfo_LsNodeNLRI.Size(m) +} +func (m *LsNodeNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_LsNodeNLRI.DiscardUnknown(m) } -func (m *LsNodeNLRI) Reset() { *m = LsNodeNLRI{} } -func (m *LsNodeNLRI) String() string { return proto.CompactTextString(m) } -func (*LsNodeNLRI) ProtoMessage() {} -func (*LsNodeNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{36} } +var xxx_messageInfo_LsNodeNLRI proto.InternalMessageInfo func (m *LsNodeNLRI) GetLocalNode() *LsNodeDescriptor { if m != nil { @@ -1387,15 +1983,38 @@ func (m *LsNodeNLRI) GetLocalNode() *LsNodeDescriptor { } type LsLinkNLRI struct { - LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode" json:"local_node,omitempty"` - RemoteNode *LsNodeDescriptor `protobuf:"bytes,2,opt,name=remote_node,json=remoteNode" json:"remote_node,omitempty"` - LinkDescriptor *LsLinkDescriptor `protobuf:"bytes,3,opt,name=link_descriptor,json=linkDescriptor" json:"link_descriptor,omitempty"` + LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode,proto3" json:"local_node,omitempty"` + RemoteNode *LsNodeDescriptor `protobuf:"bytes,2,opt,name=remote_node,json=remoteNode,proto3" json:"remote_node,omitempty"` + LinkDescriptor *LsLinkDescriptor `protobuf:"bytes,3,opt,name=link_descriptor,json=linkDescriptor,proto3" json:"link_descriptor,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LsLinkNLRI) Reset() { *m = LsLinkNLRI{} } -func (m *LsLinkNLRI) String() string { return proto.CompactTextString(m) } -func (*LsLinkNLRI) ProtoMessage() {} -func (*LsLinkNLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{37} } +func (m *LsLinkNLRI) Reset() { *m = LsLinkNLRI{} } +func (m *LsLinkNLRI) String() string { return proto.CompactTextString(m) } +func (*LsLinkNLRI) ProtoMessage() {} +func (*LsLinkNLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{37} +} + +func (m *LsLinkNLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsLinkNLRI.Unmarshal(m, b) +} +func (m *LsLinkNLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsLinkNLRI.Marshal(b, m, deterministic) +} +func (m *LsLinkNLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsLinkNLRI.Merge(m, src) +} +func (m *LsLinkNLRI) XXX_Size() int { + return xxx_messageInfo_LsLinkNLRI.Size(m) +} +func (m *LsLinkNLRI) XXX_DiscardUnknown() { + xxx_messageInfo_LsLinkNLRI.DiscardUnknown(m) +} + +var xxx_messageInfo_LsLinkNLRI proto.InternalMessageInfo func (m *LsLinkNLRI) GetLocalNode() *LsNodeDescriptor { if m != nil { @@ -1419,14 +2038,37 @@ func (m *LsLinkNLRI) GetLinkDescriptor() *LsLinkDescriptor { } type LsPrefixV4NLRI struct { - LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode" json:"local_node,omitempty"` - PrefixDescriptor *LsPrefixDescriptor `protobuf:"bytes,2,opt,name=prefix_descriptor,json=prefixDescriptor" json:"prefix_descriptor,omitempty"` + LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode,proto3" json:"local_node,omitempty"` + PrefixDescriptor *LsPrefixDescriptor `protobuf:"bytes,2,opt,name=prefix_descriptor,json=prefixDescriptor,proto3" json:"prefix_descriptor,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsPrefixV4NLRI) Reset() { *m = LsPrefixV4NLRI{} } +func (m *LsPrefixV4NLRI) String() string { return proto.CompactTextString(m) } +func (*LsPrefixV4NLRI) ProtoMessage() {} +func (*LsPrefixV4NLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{38} +} + +func (m *LsPrefixV4NLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsPrefixV4NLRI.Unmarshal(m, b) +} +func (m *LsPrefixV4NLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsPrefixV4NLRI.Marshal(b, m, deterministic) +} +func (m *LsPrefixV4NLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsPrefixV4NLRI.Merge(m, src) +} +func (m *LsPrefixV4NLRI) XXX_Size() int { + return xxx_messageInfo_LsPrefixV4NLRI.Size(m) +} +func (m *LsPrefixV4NLRI) XXX_DiscardUnknown() { + xxx_messageInfo_LsPrefixV4NLRI.DiscardUnknown(m) } -func (m *LsPrefixV4NLRI) Reset() { *m = LsPrefixV4NLRI{} } -func (m *LsPrefixV4NLRI) String() string { return proto.CompactTextString(m) } -func (*LsPrefixV4NLRI) ProtoMessage() {} -func (*LsPrefixV4NLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{38} } +var xxx_messageInfo_LsPrefixV4NLRI proto.InternalMessageInfo func (m *LsPrefixV4NLRI) GetLocalNode() *LsNodeDescriptor { if m != nil { @@ -1443,14 +2085,37 @@ func (m *LsPrefixV4NLRI) GetPrefixDescriptor() *LsPrefixDescriptor { } type LsPrefixV6NLRI struct { - LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode" json:"local_node,omitempty"` - PrefixDescriptor *LsPrefixDescriptor `protobuf:"bytes,2,opt,name=prefix_descriptor,json=prefixDescriptor" json:"prefix_descriptor,omitempty"` + LocalNode *LsNodeDescriptor `protobuf:"bytes,1,opt,name=local_node,json=localNode,proto3" json:"local_node,omitempty"` + PrefixDescriptor *LsPrefixDescriptor `protobuf:"bytes,2,opt,name=prefix_descriptor,json=prefixDescriptor,proto3" json:"prefix_descriptor,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsPrefixV6NLRI) Reset() { *m = LsPrefixV6NLRI{} } +func (m *LsPrefixV6NLRI) String() string { return proto.CompactTextString(m) } +func (*LsPrefixV6NLRI) ProtoMessage() {} +func (*LsPrefixV6NLRI) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{39} } -func (m *LsPrefixV6NLRI) Reset() { *m = LsPrefixV6NLRI{} } -func (m *LsPrefixV6NLRI) String() string { return proto.CompactTextString(m) } -func (*LsPrefixV6NLRI) ProtoMessage() {} -func (*LsPrefixV6NLRI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{39} } +func (m *LsPrefixV6NLRI) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsPrefixV6NLRI.Unmarshal(m, b) +} +func (m *LsPrefixV6NLRI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsPrefixV6NLRI.Marshal(b, m, deterministic) +} +func (m *LsPrefixV6NLRI) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsPrefixV6NLRI.Merge(m, src) +} +func (m *LsPrefixV6NLRI) XXX_Size() int { + return xxx_messageInfo_LsPrefixV6NLRI.Size(m) +} +func (m *LsPrefixV6NLRI) XXX_DiscardUnknown() { + xxx_messageInfo_LsPrefixV6NLRI.DiscardUnknown(m) +} + +var xxx_messageInfo_LsPrefixV6NLRI proto.InternalMessageInfo func (m *LsPrefixV6NLRI) GetLocalNode() *LsNodeDescriptor { if m != nil { @@ -1469,19 +2134,42 @@ func (m *LsPrefixV6NLRI) GetPrefixDescriptor() *LsPrefixDescriptor { // LsAddrPrefix represents the NLRI for: // - AFI=16388, SAFI=71 type LsAddrPrefix struct { - Type LsNLRIType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.LsNLRIType" json:"type,omitempty"` + Type LsNLRIType `protobuf:"varint,1,opt,name=type,proto3,enum=gobgpapi.LsNLRIType" json:"type,omitempty"` // One of: // - LsNodeNLRI // - LsLinkNLRI // - LsPrefixV4NLRI // - LsPrefixV6NLRI - Nlri *google_protobuf.Any `protobuf:"bytes,2,opt,name=nlri" json:"nlri,omitempty"` + Nlri *any.Any `protobuf:"bytes,2,opt,name=nlri,proto3" json:"nlri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LsAddrPrefix) Reset() { *m = LsAddrPrefix{} } -func (m *LsAddrPrefix) String() string { return proto.CompactTextString(m) } -func (*LsAddrPrefix) ProtoMessage() {} -func (*LsAddrPrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{40} } +func (m *LsAddrPrefix) Reset() { *m = LsAddrPrefix{} } +func (m *LsAddrPrefix) String() string { return proto.CompactTextString(m) } +func (*LsAddrPrefix) ProtoMessage() {} +func (*LsAddrPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{40} +} + +func (m *LsAddrPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsAddrPrefix.Unmarshal(m, b) +} +func (m *LsAddrPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsAddrPrefix.Marshal(b, m, deterministic) +} +func (m *LsAddrPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsAddrPrefix.Merge(m, src) +} +func (m *LsAddrPrefix) XXX_Size() int { + return xxx_messageInfo_LsAddrPrefix.Size(m) +} +func (m *LsAddrPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_LsAddrPrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_LsAddrPrefix proto.InternalMessageInfo func (m *LsAddrPrefix) GetType() LsNLRIType { if m != nil { @@ -1490,7 +2178,7 @@ func (m *LsAddrPrefix) GetType() LsNLRIType { return LsNLRIType_LS_NLRI_UNKNOWN } -func (m *LsAddrPrefix) GetNlri() *google_protobuf.Any { +func (m *LsAddrPrefix) GetNlri() *any.Any { if m != nil { return m.Nlri } @@ -1498,8 +2186,8 @@ func (m *LsAddrPrefix) GetNlri() *google_protobuf.Any { } type MpReachNLRIAttribute struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - NextHops []string `protobuf:"bytes,2,rep,name=next_hops,json=nextHops" json:"next_hops,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + NextHops []string `protobuf:"bytes,2,rep,name=next_hops,json=nextHops,proto3" json:"next_hops,omitempty"` // Each NLRI must be one of: // - IPAddressPrefix // - LabeledIPAddressPrefix @@ -1516,13 +2204,36 @@ type MpReachNLRIAttribute struct { // - VPNFlowSpecNLRI // - OpaqueNLRI // - LsAddrPrefix - Nlris []*google_protobuf.Any `protobuf:"bytes,3,rep,name=nlris" json:"nlris,omitempty"` + Nlris []*any.Any `protobuf:"bytes,3,rep,name=nlris,proto3" json:"nlris,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MpReachNLRIAttribute) Reset() { *m = MpReachNLRIAttribute{} } -func (m *MpReachNLRIAttribute) String() string { return proto.CompactTextString(m) } -func (*MpReachNLRIAttribute) ProtoMessage() {} -func (*MpReachNLRIAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{41} } +func (m *MpReachNLRIAttribute) Reset() { *m = MpReachNLRIAttribute{} } +func (m *MpReachNLRIAttribute) String() string { return proto.CompactTextString(m) } +func (*MpReachNLRIAttribute) ProtoMessage() {} +func (*MpReachNLRIAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{41} +} + +func (m *MpReachNLRIAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MpReachNLRIAttribute.Unmarshal(m, b) +} +func (m *MpReachNLRIAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MpReachNLRIAttribute.Marshal(b, m, deterministic) +} +func (m *MpReachNLRIAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_MpReachNLRIAttribute.Merge(m, src) +} +func (m *MpReachNLRIAttribute) XXX_Size() int { + return xxx_messageInfo_MpReachNLRIAttribute.Size(m) +} +func (m *MpReachNLRIAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_MpReachNLRIAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_MpReachNLRIAttribute proto.InternalMessageInfo func (m *MpReachNLRIAttribute) GetFamily() *Family { if m != nil { @@ -1538,7 +2249,7 @@ func (m *MpReachNLRIAttribute) GetNextHops() []string { return nil } -func (m *MpReachNLRIAttribute) GetNlris() []*google_protobuf.Any { +func (m *MpReachNLRIAttribute) GetNlris() []*any.Any { if m != nil { return m.Nlris } @@ -1546,15 +2257,38 @@ func (m *MpReachNLRIAttribute) GetNlris() []*google_protobuf.Any { } type MpUnreachNLRIAttribute struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` // The same as NLRI field of MpReachNLRIAttribute - Nlris []*google_protobuf.Any `protobuf:"bytes,3,rep,name=nlris" json:"nlris,omitempty"` + Nlris []*any.Any `protobuf:"bytes,3,rep,name=nlris,proto3" json:"nlris,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *MpUnreachNLRIAttribute) Reset() { *m = MpUnreachNLRIAttribute{} } -func (m *MpUnreachNLRIAttribute) String() string { return proto.CompactTextString(m) } -func (*MpUnreachNLRIAttribute) ProtoMessage() {} -func (*MpUnreachNLRIAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{42} } +func (m *MpUnreachNLRIAttribute) Reset() { *m = MpUnreachNLRIAttribute{} } +func (m *MpUnreachNLRIAttribute) String() string { return proto.CompactTextString(m) } +func (*MpUnreachNLRIAttribute) ProtoMessage() {} +func (*MpUnreachNLRIAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{42} +} + +func (m *MpUnreachNLRIAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MpUnreachNLRIAttribute.Unmarshal(m, b) +} +func (m *MpUnreachNLRIAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MpUnreachNLRIAttribute.Marshal(b, m, deterministic) +} +func (m *MpUnreachNLRIAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_MpUnreachNLRIAttribute.Merge(m, src) +} +func (m *MpUnreachNLRIAttribute) XXX_Size() int { + return xxx_messageInfo_MpUnreachNLRIAttribute.Size(m) +} +func (m *MpUnreachNLRIAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_MpUnreachNLRIAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_MpUnreachNLRIAttribute proto.InternalMessageInfo func (m *MpUnreachNLRIAttribute) GetFamily() *Family { if m != nil { @@ -1563,7 +2297,7 @@ func (m *MpUnreachNLRIAttribute) GetFamily() *Family { return nil } -func (m *MpUnreachNLRIAttribute) GetNlris() []*google_protobuf.Any { +func (m *MpUnreachNLRIAttribute) GetNlris() []*any.Any { if m != nil { return m.Nlris } @@ -1571,16 +2305,39 @@ func (m *MpUnreachNLRIAttribute) GetNlris() []*google_protobuf.Any { } type TwoOctetAsSpecificExtended struct { - IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"` - SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"` - As uint32 `protobuf:"varint,3,opt,name=as" json:"as,omitempty"` - LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive,proto3" json:"is_transitive,omitempty"` + SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"` + As uint32 `protobuf:"varint,3,opt,name=as,proto3" json:"as,omitempty"` + LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TwoOctetAsSpecificExtended) Reset() { *m = TwoOctetAsSpecificExtended{} } +func (m *TwoOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } +func (*TwoOctetAsSpecificExtended) ProtoMessage() {} +func (*TwoOctetAsSpecificExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{43} +} + +func (m *TwoOctetAsSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TwoOctetAsSpecificExtended.Unmarshal(m, b) +} +func (m *TwoOctetAsSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TwoOctetAsSpecificExtended.Marshal(b, m, deterministic) +} +func (m *TwoOctetAsSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_TwoOctetAsSpecificExtended.Merge(m, src) +} +func (m *TwoOctetAsSpecificExtended) XXX_Size() int { + return xxx_messageInfo_TwoOctetAsSpecificExtended.Size(m) +} +func (m *TwoOctetAsSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_TwoOctetAsSpecificExtended.DiscardUnknown(m) } -func (m *TwoOctetAsSpecificExtended) Reset() { *m = TwoOctetAsSpecificExtended{} } -func (m *TwoOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } -func (*TwoOctetAsSpecificExtended) ProtoMessage() {} -func (*TwoOctetAsSpecificExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{43} } +var xxx_messageInfo_TwoOctetAsSpecificExtended proto.InternalMessageInfo func (m *TwoOctetAsSpecificExtended) GetIsTransitive() bool { if m != nil { @@ -1611,16 +2368,39 @@ func (m *TwoOctetAsSpecificExtended) GetLocalAdmin() uint32 { } type IPv4AddressSpecificExtended struct { - IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"` - SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` - LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive,proto3" json:"is_transitive,omitempty"` + SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IPv4AddressSpecificExtended) Reset() { *m = IPv4AddressSpecificExtended{} } +func (m *IPv4AddressSpecificExtended) String() string { return proto.CompactTextString(m) } +func (*IPv4AddressSpecificExtended) ProtoMessage() {} +func (*IPv4AddressSpecificExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{44} +} + +func (m *IPv4AddressSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IPv4AddressSpecificExtended.Unmarshal(m, b) +} +func (m *IPv4AddressSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IPv4AddressSpecificExtended.Marshal(b, m, deterministic) +} +func (m *IPv4AddressSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPv4AddressSpecificExtended.Merge(m, src) +} +func (m *IPv4AddressSpecificExtended) XXX_Size() int { + return xxx_messageInfo_IPv4AddressSpecificExtended.Size(m) +} +func (m *IPv4AddressSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_IPv4AddressSpecificExtended.DiscardUnknown(m) } -func (m *IPv4AddressSpecificExtended) Reset() { *m = IPv4AddressSpecificExtended{} } -func (m *IPv4AddressSpecificExtended) String() string { return proto.CompactTextString(m) } -func (*IPv4AddressSpecificExtended) ProtoMessage() {} -func (*IPv4AddressSpecificExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{44} } +var xxx_messageInfo_IPv4AddressSpecificExtended proto.InternalMessageInfo func (m *IPv4AddressSpecificExtended) GetIsTransitive() bool { if m != nil { @@ -1651,16 +2431,39 @@ func (m *IPv4AddressSpecificExtended) GetLocalAdmin() uint32 { } type FourOctetAsSpecificExtended struct { - IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"` - SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"` - As uint32 `protobuf:"varint,3,opt,name=as" json:"as,omitempty"` - LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive,proto3" json:"is_transitive,omitempty"` + SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"` + As uint32 `protobuf:"varint,3,opt,name=as,proto3" json:"as,omitempty"` + LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *FourOctetAsSpecificExtended) Reset() { *m = FourOctetAsSpecificExtended{} } -func (m *FourOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } -func (*FourOctetAsSpecificExtended) ProtoMessage() {} -func (*FourOctetAsSpecificExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{45} } +func (m *FourOctetAsSpecificExtended) Reset() { *m = FourOctetAsSpecificExtended{} } +func (m *FourOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } +func (*FourOctetAsSpecificExtended) ProtoMessage() {} +func (*FourOctetAsSpecificExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{45} +} + +func (m *FourOctetAsSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FourOctetAsSpecificExtended.Unmarshal(m, b) +} +func (m *FourOctetAsSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FourOctetAsSpecificExtended.Marshal(b, m, deterministic) +} +func (m *FourOctetAsSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_FourOctetAsSpecificExtended.Merge(m, src) +} +func (m *FourOctetAsSpecificExtended) XXX_Size() int { + return xxx_messageInfo_FourOctetAsSpecificExtended.Size(m) +} +func (m *FourOctetAsSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_FourOctetAsSpecificExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_FourOctetAsSpecificExtended proto.InternalMessageInfo func (m *FourOctetAsSpecificExtended) GetIsTransitive() bool { if m != nil { @@ -1691,13 +2494,36 @@ func (m *FourOctetAsSpecificExtended) GetLocalAdmin() uint32 { } type ValidationExtended struct { - State uint32 `protobuf:"varint,1,opt,name=state" json:"state,omitempty"` + State uint32 `protobuf:"varint,1,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ValidationExtended) Reset() { *m = ValidationExtended{} } +func (m *ValidationExtended) String() string { return proto.CompactTextString(m) } +func (*ValidationExtended) ProtoMessage() {} +func (*ValidationExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{46} } -func (m *ValidationExtended) Reset() { *m = ValidationExtended{} } -func (m *ValidationExtended) String() string { return proto.CompactTextString(m) } -func (*ValidationExtended) ProtoMessage() {} -func (*ValidationExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{46} } +func (m *ValidationExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ValidationExtended.Unmarshal(m, b) +} +func (m *ValidationExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ValidationExtended.Marshal(b, m, deterministic) +} +func (m *ValidationExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidationExtended.Merge(m, src) +} +func (m *ValidationExtended) XXX_Size() int { + return xxx_messageInfo_ValidationExtended.Size(m) +} +func (m *ValidationExtended) XXX_DiscardUnknown() { + xxx_messageInfo_ValidationExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_ValidationExtended proto.InternalMessageInfo func (m *ValidationExtended) GetState() uint32 { if m != nil { @@ -1707,13 +2533,36 @@ func (m *ValidationExtended) GetState() uint32 { } type ColorExtended struct { - Color uint32 `protobuf:"varint,1,opt,name=color" json:"color,omitempty"` + Color uint32 `protobuf:"varint,1,opt,name=color,proto3" json:"color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ColorExtended) Reset() { *m = ColorExtended{} } -func (m *ColorExtended) String() string { return proto.CompactTextString(m) } -func (*ColorExtended) ProtoMessage() {} -func (*ColorExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{47} } +func (m *ColorExtended) Reset() { *m = ColorExtended{} } +func (m *ColorExtended) String() string { return proto.CompactTextString(m) } +func (*ColorExtended) ProtoMessage() {} +func (*ColorExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{47} +} + +func (m *ColorExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ColorExtended.Unmarshal(m, b) +} +func (m *ColorExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ColorExtended.Marshal(b, m, deterministic) +} +func (m *ColorExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_ColorExtended.Merge(m, src) +} +func (m *ColorExtended) XXX_Size() int { + return xxx_messageInfo_ColorExtended.Size(m) +} +func (m *ColorExtended) XXX_DiscardUnknown() { + xxx_messageInfo_ColorExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_ColorExtended proto.InternalMessageInfo func (m *ColorExtended) GetColor() uint32 { if m != nil { @@ -1723,13 +2572,36 @@ func (m *ColorExtended) GetColor() uint32 { } type EncapExtended struct { - TunnelType uint32 `protobuf:"varint,1,opt,name=tunnel_type,json=tunnelType" json:"tunnel_type,omitempty"` + TunnelType uint32 `protobuf:"varint,1,opt,name=tunnel_type,json=tunnelType,proto3" json:"tunnel_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncapExtended) Reset() { *m = EncapExtended{} } +func (m *EncapExtended) String() string { return proto.CompactTextString(m) } +func (*EncapExtended) ProtoMessage() {} +func (*EncapExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{48} +} + +func (m *EncapExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncapExtended.Unmarshal(m, b) +} +func (m *EncapExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncapExtended.Marshal(b, m, deterministic) +} +func (m *EncapExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncapExtended.Merge(m, src) +} +func (m *EncapExtended) XXX_Size() int { + return xxx_messageInfo_EncapExtended.Size(m) +} +func (m *EncapExtended) XXX_DiscardUnknown() { + xxx_messageInfo_EncapExtended.DiscardUnknown(m) } -func (m *EncapExtended) Reset() { *m = EncapExtended{} } -func (m *EncapExtended) String() string { return proto.CompactTextString(m) } -func (*EncapExtended) ProtoMessage() {} -func (*EncapExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{48} } +var xxx_messageInfo_EncapExtended proto.InternalMessageInfo func (m *EncapExtended) GetTunnelType() uint32 { if m != nil { @@ -1739,22 +2611,68 @@ func (m *EncapExtended) GetTunnelType() uint32 { } type DefaultGatewayExtended struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DefaultGatewayExtended) Reset() { *m = DefaultGatewayExtended{} } +func (m *DefaultGatewayExtended) String() string { return proto.CompactTextString(m) } +func (*DefaultGatewayExtended) ProtoMessage() {} +func (*DefaultGatewayExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{49} +} + +func (m *DefaultGatewayExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DefaultGatewayExtended.Unmarshal(m, b) +} +func (m *DefaultGatewayExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DefaultGatewayExtended.Marshal(b, m, deterministic) +} +func (m *DefaultGatewayExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_DefaultGatewayExtended.Merge(m, src) +} +func (m *DefaultGatewayExtended) XXX_Size() int { + return xxx_messageInfo_DefaultGatewayExtended.Size(m) +} +func (m *DefaultGatewayExtended) XXX_DiscardUnknown() { + xxx_messageInfo_DefaultGatewayExtended.DiscardUnknown(m) } -func (m *DefaultGatewayExtended) Reset() { *m = DefaultGatewayExtended{} } -func (m *DefaultGatewayExtended) String() string { return proto.CompactTextString(m) } -func (*DefaultGatewayExtended) ProtoMessage() {} -func (*DefaultGatewayExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{49} } +var xxx_messageInfo_DefaultGatewayExtended proto.InternalMessageInfo type OpaqueExtended struct { - IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"` - Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive,proto3" json:"is_transitive,omitempty"` + Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *OpaqueExtended) Reset() { *m = OpaqueExtended{} } -func (m *OpaqueExtended) String() string { return proto.CompactTextString(m) } -func (*OpaqueExtended) ProtoMessage() {} -func (*OpaqueExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{50} } +func (m *OpaqueExtended) Reset() { *m = OpaqueExtended{} } +func (m *OpaqueExtended) String() string { return proto.CompactTextString(m) } +func (*OpaqueExtended) ProtoMessage() {} +func (*OpaqueExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{50} +} + +func (m *OpaqueExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OpaqueExtended.Unmarshal(m, b) +} +func (m *OpaqueExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OpaqueExtended.Marshal(b, m, deterministic) +} +func (m *OpaqueExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_OpaqueExtended.Merge(m, src) +} +func (m *OpaqueExtended) XXX_Size() int { + return xxx_messageInfo_OpaqueExtended.Size(m) +} +func (m *OpaqueExtended) XXX_DiscardUnknown() { + xxx_messageInfo_OpaqueExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_OpaqueExtended proto.InternalMessageInfo func (m *OpaqueExtended) GetIsTransitive() bool { if m != nil { @@ -1771,14 +2689,37 @@ func (m *OpaqueExtended) GetValue() []byte { } type ESILabelExtended struct { - IsSingleActive bool `protobuf:"varint,1,opt,name=is_single_active,json=isSingleActive" json:"is_single_active,omitempty"` - Label uint32 `protobuf:"varint,2,opt,name=label" json:"label,omitempty"` + IsSingleActive bool `protobuf:"varint,1,opt,name=is_single_active,json=isSingleActive,proto3" json:"is_single_active,omitempty"` + Label uint32 `protobuf:"varint,2,opt,name=label,proto3" json:"label,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ESILabelExtended) Reset() { *m = ESILabelExtended{} } -func (m *ESILabelExtended) String() string { return proto.CompactTextString(m) } -func (*ESILabelExtended) ProtoMessage() {} -func (*ESILabelExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{51} } +func (m *ESILabelExtended) Reset() { *m = ESILabelExtended{} } +func (m *ESILabelExtended) String() string { return proto.CompactTextString(m) } +func (*ESILabelExtended) ProtoMessage() {} +func (*ESILabelExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{51} +} + +func (m *ESILabelExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ESILabelExtended.Unmarshal(m, b) +} +func (m *ESILabelExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ESILabelExtended.Marshal(b, m, deterministic) +} +func (m *ESILabelExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_ESILabelExtended.Merge(m, src) +} +func (m *ESILabelExtended) XXX_Size() int { + return xxx_messageInfo_ESILabelExtended.Size(m) +} +func (m *ESILabelExtended) XXX_DiscardUnknown() { + xxx_messageInfo_ESILabelExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_ESILabelExtended proto.InternalMessageInfo func (m *ESILabelExtended) GetIsSingleActive() bool { if m != nil { @@ -1795,13 +2736,36 @@ func (m *ESILabelExtended) GetLabel() uint32 { } type ESImportRouteTarget struct { - EsImport string `protobuf:"bytes,1,opt,name=es_import,json=esImport" json:"es_import,omitempty"` + EsImport string `protobuf:"bytes,1,opt,name=es_import,json=esImport,proto3" json:"es_import,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ESImportRouteTarget) Reset() { *m = ESImportRouteTarget{} } +func (m *ESImportRouteTarget) String() string { return proto.CompactTextString(m) } +func (*ESImportRouteTarget) ProtoMessage() {} +func (*ESImportRouteTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{52} } -func (m *ESImportRouteTarget) Reset() { *m = ESImportRouteTarget{} } -func (m *ESImportRouteTarget) String() string { return proto.CompactTextString(m) } -func (*ESImportRouteTarget) ProtoMessage() {} -func (*ESImportRouteTarget) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{52} } +func (m *ESImportRouteTarget) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ESImportRouteTarget.Unmarshal(m, b) +} +func (m *ESImportRouteTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ESImportRouteTarget.Marshal(b, m, deterministic) +} +func (m *ESImportRouteTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_ESImportRouteTarget.Merge(m, src) +} +func (m *ESImportRouteTarget) XXX_Size() int { + return xxx_messageInfo_ESImportRouteTarget.Size(m) +} +func (m *ESImportRouteTarget) XXX_DiscardUnknown() { + xxx_messageInfo_ESImportRouteTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_ESImportRouteTarget proto.InternalMessageInfo func (m *ESImportRouteTarget) GetEsImport() string { if m != nil { @@ -1811,14 +2775,37 @@ func (m *ESImportRouteTarget) GetEsImport() string { } type MacMobilityExtended struct { - IsSticky bool `protobuf:"varint,1,opt,name=is_sticky,json=isSticky" json:"is_sticky,omitempty"` - SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum" json:"sequence_num,omitempty"` + IsSticky bool `protobuf:"varint,1,opt,name=is_sticky,json=isSticky,proto3" json:"is_sticky,omitempty"` + SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum,proto3" json:"sequence_num,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MacMobilityExtended) Reset() { *m = MacMobilityExtended{} } +func (m *MacMobilityExtended) String() string { return proto.CompactTextString(m) } +func (*MacMobilityExtended) ProtoMessage() {} +func (*MacMobilityExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{53} +} + +func (m *MacMobilityExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MacMobilityExtended.Unmarshal(m, b) +} +func (m *MacMobilityExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MacMobilityExtended.Marshal(b, m, deterministic) +} +func (m *MacMobilityExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_MacMobilityExtended.Merge(m, src) +} +func (m *MacMobilityExtended) XXX_Size() int { + return xxx_messageInfo_MacMobilityExtended.Size(m) +} +func (m *MacMobilityExtended) XXX_DiscardUnknown() { + xxx_messageInfo_MacMobilityExtended.DiscardUnknown(m) } -func (m *MacMobilityExtended) Reset() { *m = MacMobilityExtended{} } -func (m *MacMobilityExtended) String() string { return proto.CompactTextString(m) } -func (*MacMobilityExtended) ProtoMessage() {} -func (*MacMobilityExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{53} } +var xxx_messageInfo_MacMobilityExtended proto.InternalMessageInfo func (m *MacMobilityExtended) GetIsSticky() bool { if m != nil { @@ -1835,13 +2822,36 @@ func (m *MacMobilityExtended) GetSequenceNum() uint32 { } type RouterMacExtended struct { - Mac string `protobuf:"bytes,1,opt,name=mac" json:"mac,omitempty"` + Mac string `protobuf:"bytes,1,opt,name=mac,proto3" json:"mac,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouterMacExtended) Reset() { *m = RouterMacExtended{} } -func (m *RouterMacExtended) String() string { return proto.CompactTextString(m) } -func (*RouterMacExtended) ProtoMessage() {} -func (*RouterMacExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{54} } +func (m *RouterMacExtended) Reset() { *m = RouterMacExtended{} } +func (m *RouterMacExtended) String() string { return proto.CompactTextString(m) } +func (*RouterMacExtended) ProtoMessage() {} +func (*RouterMacExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{54} +} + +func (m *RouterMacExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouterMacExtended.Unmarshal(m, b) +} +func (m *RouterMacExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouterMacExtended.Marshal(b, m, deterministic) +} +func (m *RouterMacExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouterMacExtended.Merge(m, src) +} +func (m *RouterMacExtended) XXX_Size() int { + return xxx_messageInfo_RouterMacExtended.Size(m) +} +func (m *RouterMacExtended) XXX_DiscardUnknown() { + xxx_messageInfo_RouterMacExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_RouterMacExtended proto.InternalMessageInfo func (m *RouterMacExtended) GetMac() string { if m != nil { @@ -1851,14 +2861,37 @@ func (m *RouterMacExtended) GetMac() string { } type TrafficRateExtended struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` - Rate float32 `protobuf:"fixed32,2,opt,name=rate" json:"rate,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + Rate float32 `protobuf:"fixed32,2,opt,name=rate,proto3" json:"rate,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TrafficRateExtended) Reset() { *m = TrafficRateExtended{} } -func (m *TrafficRateExtended) String() string { return proto.CompactTextString(m) } -func (*TrafficRateExtended) ProtoMessage() {} -func (*TrafficRateExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{55} } +func (m *TrafficRateExtended) Reset() { *m = TrafficRateExtended{} } +func (m *TrafficRateExtended) String() string { return proto.CompactTextString(m) } +func (*TrafficRateExtended) ProtoMessage() {} +func (*TrafficRateExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{55} +} + +func (m *TrafficRateExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrafficRateExtended.Unmarshal(m, b) +} +func (m *TrafficRateExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrafficRateExtended.Marshal(b, m, deterministic) +} +func (m *TrafficRateExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrafficRateExtended.Merge(m, src) +} +func (m *TrafficRateExtended) XXX_Size() int { + return xxx_messageInfo_TrafficRateExtended.Size(m) +} +func (m *TrafficRateExtended) XXX_DiscardUnknown() { + xxx_messageInfo_TrafficRateExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_TrafficRateExtended proto.InternalMessageInfo func (m *TrafficRateExtended) GetAs() uint32 { if m != nil { @@ -1875,14 +2908,37 @@ func (m *TrafficRateExtended) GetRate() float32 { } type TrafficActionExtended struct { - Terminal bool `protobuf:"varint,1,opt,name=terminal" json:"terminal,omitempty"` - Sample bool `protobuf:"varint,2,opt,name=sample" json:"sample,omitempty"` + Terminal bool `protobuf:"varint,1,opt,name=terminal,proto3" json:"terminal,omitempty"` + Sample bool `protobuf:"varint,2,opt,name=sample,proto3" json:"sample,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TrafficActionExtended) Reset() { *m = TrafficActionExtended{} } -func (m *TrafficActionExtended) String() string { return proto.CompactTextString(m) } -func (*TrafficActionExtended) ProtoMessage() {} -func (*TrafficActionExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} } +func (m *TrafficActionExtended) Reset() { *m = TrafficActionExtended{} } +func (m *TrafficActionExtended) String() string { return proto.CompactTextString(m) } +func (*TrafficActionExtended) ProtoMessage() {} +func (*TrafficActionExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{56} +} + +func (m *TrafficActionExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrafficActionExtended.Unmarshal(m, b) +} +func (m *TrafficActionExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrafficActionExtended.Marshal(b, m, deterministic) +} +func (m *TrafficActionExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrafficActionExtended.Merge(m, src) +} +func (m *TrafficActionExtended) XXX_Size() int { + return xxx_messageInfo_TrafficActionExtended.Size(m) +} +func (m *TrafficActionExtended) XXX_DiscardUnknown() { + xxx_messageInfo_TrafficActionExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_TrafficActionExtended proto.InternalMessageInfo func (m *TrafficActionExtended) GetTerminal() bool { if m != nil { @@ -1899,17 +2955,38 @@ func (m *TrafficActionExtended) GetSample() bool { } type RedirectTwoOctetAsSpecificExtended struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` - LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RedirectTwoOctetAsSpecificExtended) Reset() { *m = RedirectTwoOctetAsSpecificExtended{} } func (m *RedirectTwoOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } func (*RedirectTwoOctetAsSpecificExtended) ProtoMessage() {} func (*RedirectTwoOctetAsSpecificExtended) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{57} + return fileDescriptor_64cfbe2f04478930, []int{57} } +func (m *RedirectTwoOctetAsSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedirectTwoOctetAsSpecificExtended.Unmarshal(m, b) +} +func (m *RedirectTwoOctetAsSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedirectTwoOctetAsSpecificExtended.Marshal(b, m, deterministic) +} +func (m *RedirectTwoOctetAsSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectTwoOctetAsSpecificExtended.Merge(m, src) +} +func (m *RedirectTwoOctetAsSpecificExtended) XXX_Size() int { + return xxx_messageInfo_RedirectTwoOctetAsSpecificExtended.Size(m) +} +func (m *RedirectTwoOctetAsSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_RedirectTwoOctetAsSpecificExtended.DiscardUnknown(m) +} + +var xxx_messageInfo_RedirectTwoOctetAsSpecificExtended proto.InternalMessageInfo + func (m *RedirectTwoOctetAsSpecificExtended) GetAs() uint32 { if m != nil { return m.As @@ -1925,17 +3002,38 @@ func (m *RedirectTwoOctetAsSpecificExtended) GetLocalAdmin() uint32 { } type RedirectIPv4AddressSpecificExtended struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RedirectIPv4AddressSpecificExtended) Reset() { *m = RedirectIPv4AddressSpecificExtended{} } +func (m *RedirectIPv4AddressSpecificExtended) String() string { return proto.CompactTextString(m) } +func (*RedirectIPv4AddressSpecificExtended) ProtoMessage() {} +func (*RedirectIPv4AddressSpecificExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{58} +} + +func (m *RedirectIPv4AddressSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedirectIPv4AddressSpecificExtended.Unmarshal(m, b) +} +func (m *RedirectIPv4AddressSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedirectIPv4AddressSpecificExtended.Marshal(b, m, deterministic) +} +func (m *RedirectIPv4AddressSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectIPv4AddressSpecificExtended.Merge(m, src) +} +func (m *RedirectIPv4AddressSpecificExtended) XXX_Size() int { + return xxx_messageInfo_RedirectIPv4AddressSpecificExtended.Size(m) } - -func (m *RedirectIPv4AddressSpecificExtended) Reset() { *m = RedirectIPv4AddressSpecificExtended{} } -func (m *RedirectIPv4AddressSpecificExtended) String() string { return proto.CompactTextString(m) } -func (*RedirectIPv4AddressSpecificExtended) ProtoMessage() {} -func (*RedirectIPv4AddressSpecificExtended) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{58} +func (m *RedirectIPv4AddressSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_RedirectIPv4AddressSpecificExtended.DiscardUnknown(m) } +var xxx_messageInfo_RedirectIPv4AddressSpecificExtended proto.InternalMessageInfo + func (m *RedirectIPv4AddressSpecificExtended) GetAddress() string { if m != nil { return m.Address @@ -1951,17 +3049,38 @@ func (m *RedirectIPv4AddressSpecificExtended) GetLocalAdmin() uint32 { } type RedirectFourOctetAsSpecificExtended struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` - LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RedirectFourOctetAsSpecificExtended) Reset() { *m = RedirectFourOctetAsSpecificExtended{} } func (m *RedirectFourOctetAsSpecificExtended) String() string { return proto.CompactTextString(m) } func (*RedirectFourOctetAsSpecificExtended) ProtoMessage() {} func (*RedirectFourOctetAsSpecificExtended) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{59} + return fileDescriptor_64cfbe2f04478930, []int{59} +} + +func (m *RedirectFourOctetAsSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedirectFourOctetAsSpecificExtended.Unmarshal(m, b) +} +func (m *RedirectFourOctetAsSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedirectFourOctetAsSpecificExtended.Marshal(b, m, deterministic) +} +func (m *RedirectFourOctetAsSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectFourOctetAsSpecificExtended.Merge(m, src) +} +func (m *RedirectFourOctetAsSpecificExtended) XXX_Size() int { + return xxx_messageInfo_RedirectFourOctetAsSpecificExtended.Size(m) +} +func (m *RedirectFourOctetAsSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_RedirectFourOctetAsSpecificExtended.DiscardUnknown(m) } +var xxx_messageInfo_RedirectFourOctetAsSpecificExtended proto.InternalMessageInfo + func (m *RedirectFourOctetAsSpecificExtended) GetAs() uint32 { if m != nil { return m.As @@ -1977,13 +3096,36 @@ func (m *RedirectFourOctetAsSpecificExtended) GetLocalAdmin() uint32 { } type TrafficRemarkExtended struct { - Dscp uint32 `protobuf:"varint,1,opt,name=dscp" json:"dscp,omitempty"` + Dscp uint32 `protobuf:"varint,1,opt,name=dscp,proto3" json:"dscp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TrafficRemarkExtended) Reset() { *m = TrafficRemarkExtended{} } +func (m *TrafficRemarkExtended) String() string { return proto.CompactTextString(m) } +func (*TrafficRemarkExtended) ProtoMessage() {} +func (*TrafficRemarkExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{60} +} + +func (m *TrafficRemarkExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TrafficRemarkExtended.Unmarshal(m, b) +} +func (m *TrafficRemarkExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TrafficRemarkExtended.Marshal(b, m, deterministic) +} +func (m *TrafficRemarkExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_TrafficRemarkExtended.Merge(m, src) +} +func (m *TrafficRemarkExtended) XXX_Size() int { + return xxx_messageInfo_TrafficRemarkExtended.Size(m) +} +func (m *TrafficRemarkExtended) XXX_DiscardUnknown() { + xxx_messageInfo_TrafficRemarkExtended.DiscardUnknown(m) } -func (m *TrafficRemarkExtended) Reset() { *m = TrafficRemarkExtended{} } -func (m *TrafficRemarkExtended) String() string { return proto.CompactTextString(m) } -func (*TrafficRemarkExtended) ProtoMessage() {} -func (*TrafficRemarkExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{60} } +var xxx_messageInfo_TrafficRemarkExtended proto.InternalMessageInfo func (m *TrafficRemarkExtended) GetDscp() uint32 { if m != nil { @@ -1993,14 +3135,37 @@ func (m *TrafficRemarkExtended) GetDscp() uint32 { } type UnknownExtended struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnknownExtended) Reset() { *m = UnknownExtended{} } +func (m *UnknownExtended) String() string { return proto.CompactTextString(m) } +func (*UnknownExtended) ProtoMessage() {} +func (*UnknownExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{61} +} + +func (m *UnknownExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnknownExtended.Unmarshal(m, b) +} +func (m *UnknownExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnknownExtended.Marshal(b, m, deterministic) +} +func (m *UnknownExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnknownExtended.Merge(m, src) +} +func (m *UnknownExtended) XXX_Size() int { + return xxx_messageInfo_UnknownExtended.Size(m) +} +func (m *UnknownExtended) XXX_DiscardUnknown() { + xxx_messageInfo_UnknownExtended.DiscardUnknown(m) } -func (m *UnknownExtended) Reset() { *m = UnknownExtended{} } -func (m *UnknownExtended) String() string { return proto.CompactTextString(m) } -func (*UnknownExtended) ProtoMessage() {} -func (*UnknownExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{61} } +var xxx_messageInfo_UnknownExtended proto.InternalMessageInfo func (m *UnknownExtended) GetType() uint32 { if m != nil { @@ -2032,15 +3197,38 @@ type ExtendedCommunitiesAttribute struct { // - RedirectFourOctetAsSpecificExtended // - TrafficRemarkExtended // - UnknownExtended - Communities []*google_protobuf.Any `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"` + Communities []*any.Any `protobuf:"bytes,1,rep,name=communities,proto3" json:"communities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtendedCommunitiesAttribute) Reset() { *m = ExtendedCommunitiesAttribute{} } +func (m *ExtendedCommunitiesAttribute) String() string { return proto.CompactTextString(m) } +func (*ExtendedCommunitiesAttribute) ProtoMessage() {} +func (*ExtendedCommunitiesAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{62} +} + +func (m *ExtendedCommunitiesAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtendedCommunitiesAttribute.Unmarshal(m, b) +} +func (m *ExtendedCommunitiesAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtendedCommunitiesAttribute.Marshal(b, m, deterministic) +} +func (m *ExtendedCommunitiesAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtendedCommunitiesAttribute.Merge(m, src) +} +func (m *ExtendedCommunitiesAttribute) XXX_Size() int { + return xxx_messageInfo_ExtendedCommunitiesAttribute.Size(m) +} +func (m *ExtendedCommunitiesAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_ExtendedCommunitiesAttribute.DiscardUnknown(m) } -func (m *ExtendedCommunitiesAttribute) Reset() { *m = ExtendedCommunitiesAttribute{} } -func (m *ExtendedCommunitiesAttribute) String() string { return proto.CompactTextString(m) } -func (*ExtendedCommunitiesAttribute) ProtoMessage() {} -func (*ExtendedCommunitiesAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{62} } +var xxx_messageInfo_ExtendedCommunitiesAttribute proto.InternalMessageInfo -func (m *ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.Any { +func (m *ExtendedCommunitiesAttribute) GetCommunities() []*any.Any { if m != nil { return m.Communities } @@ -2048,13 +3236,36 @@ func (m *ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.Any { } type As4PathAttribute struct { - Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"` + Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *As4PathAttribute) Reset() { *m = As4PathAttribute{} } +func (m *As4PathAttribute) String() string { return proto.CompactTextString(m) } +func (*As4PathAttribute) ProtoMessage() {} +func (*As4PathAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{63} +} + +func (m *As4PathAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_As4PathAttribute.Unmarshal(m, b) +} +func (m *As4PathAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_As4PathAttribute.Marshal(b, m, deterministic) +} +func (m *As4PathAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_As4PathAttribute.Merge(m, src) +} +func (m *As4PathAttribute) XXX_Size() int { + return xxx_messageInfo_As4PathAttribute.Size(m) +} +func (m *As4PathAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_As4PathAttribute.DiscardUnknown(m) } -func (m *As4PathAttribute) Reset() { *m = As4PathAttribute{} } -func (m *As4PathAttribute) String() string { return proto.CompactTextString(m) } -func (*As4PathAttribute) ProtoMessage() {} -func (*As4PathAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{63} } +var xxx_messageInfo_As4PathAttribute proto.InternalMessageInfo func (m *As4PathAttribute) GetSegments() []*AsSegment { if m != nil { @@ -2064,14 +3275,37 @@ func (m *As4PathAttribute) GetSegments() []*AsSegment { } type As4AggregatorAttribute struct { - As uint32 `protobuf:"varint,2,opt,name=as" json:"as,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` + As uint32 `protobuf:"varint,2,opt,name=as,proto3" json:"as,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *As4AggregatorAttribute) Reset() { *m = As4AggregatorAttribute{} } +func (m *As4AggregatorAttribute) String() string { return proto.CompactTextString(m) } +func (*As4AggregatorAttribute) ProtoMessage() {} +func (*As4AggregatorAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{64} +} + +func (m *As4AggregatorAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_As4AggregatorAttribute.Unmarshal(m, b) +} +func (m *As4AggregatorAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_As4AggregatorAttribute.Marshal(b, m, deterministic) +} +func (m *As4AggregatorAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_As4AggregatorAttribute.Merge(m, src) +} +func (m *As4AggregatorAttribute) XXX_Size() int { + return xxx_messageInfo_As4AggregatorAttribute.Size(m) +} +func (m *As4AggregatorAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_As4AggregatorAttribute.DiscardUnknown(m) } -func (m *As4AggregatorAttribute) Reset() { *m = As4AggregatorAttribute{} } -func (m *As4AggregatorAttribute) String() string { return proto.CompactTextString(m) } -func (*As4AggregatorAttribute) ProtoMessage() {} -func (*As4AggregatorAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{64} } +var xxx_messageInfo_As4AggregatorAttribute proto.InternalMessageInfo func (m *As4AggregatorAttribute) GetAs() uint32 { if m != nil { @@ -2088,16 +3322,39 @@ func (m *As4AggregatorAttribute) GetAddress() string { } type PmsiTunnelAttribute struct { - Flags uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` - Type uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"` - Label uint32 `protobuf:"varint,3,opt,name=label" json:"label,omitempty"` - Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` + Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` + Label uint32 `protobuf:"varint,3,opt,name=label,proto3" json:"label,omitempty"` + Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PmsiTunnelAttribute) Reset() { *m = PmsiTunnelAttribute{} } +func (m *PmsiTunnelAttribute) String() string { return proto.CompactTextString(m) } +func (*PmsiTunnelAttribute) ProtoMessage() {} +func (*PmsiTunnelAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{65} +} + +func (m *PmsiTunnelAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PmsiTunnelAttribute.Unmarshal(m, b) +} +func (m *PmsiTunnelAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PmsiTunnelAttribute.Marshal(b, m, deterministic) +} +func (m *PmsiTunnelAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_PmsiTunnelAttribute.Merge(m, src) +} +func (m *PmsiTunnelAttribute) XXX_Size() int { + return xxx_messageInfo_PmsiTunnelAttribute.Size(m) +} +func (m *PmsiTunnelAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_PmsiTunnelAttribute.DiscardUnknown(m) } -func (m *PmsiTunnelAttribute) Reset() { *m = PmsiTunnelAttribute{} } -func (m *PmsiTunnelAttribute) String() string { return proto.CompactTextString(m) } -func (*PmsiTunnelAttribute) ProtoMessage() {} -func (*PmsiTunnelAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{65} } +var xxx_messageInfo_PmsiTunnelAttribute proto.InternalMessageInfo func (m *PmsiTunnelAttribute) GetFlags() uint32 { if m != nil { @@ -2128,16 +3385,37 @@ func (m *PmsiTunnelAttribute) GetId() []byte { } type TunnelEncapSubTLVEncapsulation struct { - Key uint32 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` - Cookie []byte `protobuf:"bytes,2,opt,name=cookie,proto3" json:"cookie,omitempty"` + Key uint32 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"` + Cookie []byte `protobuf:"bytes,2,opt,name=cookie,proto3" json:"cookie,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *TunnelEncapSubTLVEncapsulation) Reset() { *m = TunnelEncapSubTLVEncapsulation{} } func (m *TunnelEncapSubTLVEncapsulation) String() string { return proto.CompactTextString(m) } func (*TunnelEncapSubTLVEncapsulation) ProtoMessage() {} func (*TunnelEncapSubTLVEncapsulation) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{66} + return fileDescriptor_64cfbe2f04478930, []int{66} +} + +func (m *TunnelEncapSubTLVEncapsulation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapSubTLVEncapsulation.Unmarshal(m, b) +} +func (m *TunnelEncapSubTLVEncapsulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapSubTLVEncapsulation.Marshal(b, m, deterministic) } +func (m *TunnelEncapSubTLVEncapsulation) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapSubTLVEncapsulation.Merge(m, src) +} +func (m *TunnelEncapSubTLVEncapsulation) XXX_Size() int { + return xxx_messageInfo_TunnelEncapSubTLVEncapsulation.Size(m) +} +func (m *TunnelEncapSubTLVEncapsulation) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapSubTLVEncapsulation.DiscardUnknown(m) +} + +var xxx_messageInfo_TunnelEncapSubTLVEncapsulation proto.InternalMessageInfo func (m *TunnelEncapSubTLVEncapsulation) GetKey() uint32 { if m != nil { @@ -2154,13 +3432,36 @@ func (m *TunnelEncapSubTLVEncapsulation) GetCookie() []byte { } type TunnelEncapSubTLVProtocol struct { - Protocol uint32 `protobuf:"varint,1,opt,name=protocol" json:"protocol,omitempty"` + Protocol uint32 `protobuf:"varint,1,opt,name=protocol,proto3" json:"protocol,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TunnelEncapSubTLVProtocol) Reset() { *m = TunnelEncapSubTLVProtocol{} } +func (m *TunnelEncapSubTLVProtocol) String() string { return proto.CompactTextString(m) } +func (*TunnelEncapSubTLVProtocol) ProtoMessage() {} +func (*TunnelEncapSubTLVProtocol) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{67} +} + +func (m *TunnelEncapSubTLVProtocol) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapSubTLVProtocol.Unmarshal(m, b) +} +func (m *TunnelEncapSubTLVProtocol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapSubTLVProtocol.Marshal(b, m, deterministic) +} +func (m *TunnelEncapSubTLVProtocol) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapSubTLVProtocol.Merge(m, src) +} +func (m *TunnelEncapSubTLVProtocol) XXX_Size() int { + return xxx_messageInfo_TunnelEncapSubTLVProtocol.Size(m) +} +func (m *TunnelEncapSubTLVProtocol) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapSubTLVProtocol.DiscardUnknown(m) } -func (m *TunnelEncapSubTLVProtocol) Reset() { *m = TunnelEncapSubTLVProtocol{} } -func (m *TunnelEncapSubTLVProtocol) String() string { return proto.CompactTextString(m) } -func (*TunnelEncapSubTLVProtocol) ProtoMessage() {} -func (*TunnelEncapSubTLVProtocol) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{67} } +var xxx_messageInfo_TunnelEncapSubTLVProtocol proto.InternalMessageInfo func (m *TunnelEncapSubTLVProtocol) GetProtocol() uint32 { if m != nil { @@ -2170,13 +3471,36 @@ func (m *TunnelEncapSubTLVProtocol) GetProtocol() uint32 { } type TunnelEncapSubTLVColor struct { - Color uint32 `protobuf:"varint,1,opt,name=color" json:"color,omitempty"` + Color uint32 `protobuf:"varint,1,opt,name=color,proto3" json:"color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TunnelEncapSubTLVColor) Reset() { *m = TunnelEncapSubTLVColor{} } +func (m *TunnelEncapSubTLVColor) String() string { return proto.CompactTextString(m) } +func (*TunnelEncapSubTLVColor) ProtoMessage() {} +func (*TunnelEncapSubTLVColor) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{68} +} + +func (m *TunnelEncapSubTLVColor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapSubTLVColor.Unmarshal(m, b) +} +func (m *TunnelEncapSubTLVColor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapSubTLVColor.Marshal(b, m, deterministic) +} +func (m *TunnelEncapSubTLVColor) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapSubTLVColor.Merge(m, src) +} +func (m *TunnelEncapSubTLVColor) XXX_Size() int { + return xxx_messageInfo_TunnelEncapSubTLVColor.Size(m) +} +func (m *TunnelEncapSubTLVColor) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapSubTLVColor.DiscardUnknown(m) } -func (m *TunnelEncapSubTLVColor) Reset() { *m = TunnelEncapSubTLVColor{} } -func (m *TunnelEncapSubTLVColor) String() string { return proto.CompactTextString(m) } -func (*TunnelEncapSubTLVColor) ProtoMessage() {} -func (*TunnelEncapSubTLVColor) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{68} } +var xxx_messageInfo_TunnelEncapSubTLVColor proto.InternalMessageInfo func (m *TunnelEncapSubTLVColor) GetColor() uint32 { if m != nil { @@ -2186,14 +3510,37 @@ func (m *TunnelEncapSubTLVColor) GetColor() uint32 { } type TunnelEncapSubTLVUnknown struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TunnelEncapSubTLVUnknown) Reset() { *m = TunnelEncapSubTLVUnknown{} } +func (m *TunnelEncapSubTLVUnknown) String() string { return proto.CompactTextString(m) } +func (*TunnelEncapSubTLVUnknown) ProtoMessage() {} +func (*TunnelEncapSubTLVUnknown) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{69} +} + +func (m *TunnelEncapSubTLVUnknown) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapSubTLVUnknown.Unmarshal(m, b) +} +func (m *TunnelEncapSubTLVUnknown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapSubTLVUnknown.Marshal(b, m, deterministic) +} +func (m *TunnelEncapSubTLVUnknown) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapSubTLVUnknown.Merge(m, src) +} +func (m *TunnelEncapSubTLVUnknown) XXX_Size() int { + return xxx_messageInfo_TunnelEncapSubTLVUnknown.Size(m) +} +func (m *TunnelEncapSubTLVUnknown) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapSubTLVUnknown.DiscardUnknown(m) } -func (m *TunnelEncapSubTLVUnknown) Reset() { *m = TunnelEncapSubTLVUnknown{} } -func (m *TunnelEncapSubTLVUnknown) String() string { return proto.CompactTextString(m) } -func (*TunnelEncapSubTLVUnknown) ProtoMessage() {} -func (*TunnelEncapSubTLVUnknown) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{69} } +var xxx_messageInfo_TunnelEncapSubTLVUnknown proto.InternalMessageInfo func (m *TunnelEncapSubTLVUnknown) GetType() uint32 { if m != nil { @@ -2210,19 +3557,42 @@ func (m *TunnelEncapSubTLVUnknown) GetValue() []byte { } type TunnelEncapTLV struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // Each TLV must be one of: // - TunnelEncapSubTLVEncapsulation // - TunnelEncapSubTLVProtocol // - TunnelEncapSubTLVColor // - TunnelEncapSubTLVUnknown - Tlvs []*google_protobuf.Any `protobuf:"bytes,2,rep,name=tlvs" json:"tlvs,omitempty"` + Tlvs []*any.Any `protobuf:"bytes,2,rep,name=tlvs,proto3" json:"tlvs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TunnelEncapTLV) Reset() { *m = TunnelEncapTLV{} } +func (m *TunnelEncapTLV) String() string { return proto.CompactTextString(m) } +func (*TunnelEncapTLV) ProtoMessage() {} +func (*TunnelEncapTLV) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{70} +} + +func (m *TunnelEncapTLV) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapTLV.Unmarshal(m, b) +} +func (m *TunnelEncapTLV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapTLV.Marshal(b, m, deterministic) +} +func (m *TunnelEncapTLV) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapTLV.Merge(m, src) +} +func (m *TunnelEncapTLV) XXX_Size() int { + return xxx_messageInfo_TunnelEncapTLV.Size(m) +} +func (m *TunnelEncapTLV) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapTLV.DiscardUnknown(m) } -func (m *TunnelEncapTLV) Reset() { *m = TunnelEncapTLV{} } -func (m *TunnelEncapTLV) String() string { return proto.CompactTextString(m) } -func (*TunnelEncapTLV) ProtoMessage() {} -func (*TunnelEncapTLV) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{70} } +var xxx_messageInfo_TunnelEncapTLV proto.InternalMessageInfo func (m *TunnelEncapTLV) GetType() uint32 { if m != nil { @@ -2231,7 +3601,7 @@ func (m *TunnelEncapTLV) GetType() uint32 { return 0 } -func (m *TunnelEncapTLV) GetTlvs() []*google_protobuf.Any { +func (m *TunnelEncapTLV) GetTlvs() []*any.Any { if m != nil { return m.Tlvs } @@ -2239,13 +3609,36 @@ func (m *TunnelEncapTLV) GetTlvs() []*google_protobuf.Any { } type TunnelEncapAttribute struct { - Tlvs []*TunnelEncapTLV `protobuf:"bytes,1,rep,name=tlvs" json:"tlvs,omitempty"` + Tlvs []*TunnelEncapTLV `protobuf:"bytes,1,rep,name=tlvs,proto3" json:"tlvs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TunnelEncapAttribute) Reset() { *m = TunnelEncapAttribute{} } +func (m *TunnelEncapAttribute) String() string { return proto.CompactTextString(m) } +func (*TunnelEncapAttribute) ProtoMessage() {} +func (*TunnelEncapAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{71} +} + +func (m *TunnelEncapAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TunnelEncapAttribute.Unmarshal(m, b) +} +func (m *TunnelEncapAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TunnelEncapAttribute.Marshal(b, m, deterministic) +} +func (m *TunnelEncapAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_TunnelEncapAttribute.Merge(m, src) +} +func (m *TunnelEncapAttribute) XXX_Size() int { + return xxx_messageInfo_TunnelEncapAttribute.Size(m) +} +func (m *TunnelEncapAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_TunnelEncapAttribute.DiscardUnknown(m) } -func (m *TunnelEncapAttribute) Reset() { *m = TunnelEncapAttribute{} } -func (m *TunnelEncapAttribute) String() string { return proto.CompactTextString(m) } -func (*TunnelEncapAttribute) ProtoMessage() {} -func (*TunnelEncapAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{71} } +var xxx_messageInfo_TunnelEncapAttribute proto.InternalMessageInfo func (m *TunnelEncapAttribute) GetTlvs() []*TunnelEncapTLV { if m != nil { @@ -2255,16 +3648,39 @@ func (m *TunnelEncapAttribute) GetTlvs() []*TunnelEncapTLV { } type IPv6AddressSpecificExtended struct { - IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"` - SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"` - LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + IsTransitive bool `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive,proto3" json:"is_transitive,omitempty"` + SubType uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType,proto3" json:"sub_type,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + LocalAdmin uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IPv6AddressSpecificExtended) Reset() { *m = IPv6AddressSpecificExtended{} } +func (m *IPv6AddressSpecificExtended) String() string { return proto.CompactTextString(m) } +func (*IPv6AddressSpecificExtended) ProtoMessage() {} +func (*IPv6AddressSpecificExtended) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{72} +} + +func (m *IPv6AddressSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IPv6AddressSpecificExtended.Unmarshal(m, b) +} +func (m *IPv6AddressSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IPv6AddressSpecificExtended.Marshal(b, m, deterministic) +} +func (m *IPv6AddressSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPv6AddressSpecificExtended.Merge(m, src) +} +func (m *IPv6AddressSpecificExtended) XXX_Size() int { + return xxx_messageInfo_IPv6AddressSpecificExtended.Size(m) +} +func (m *IPv6AddressSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_IPv6AddressSpecificExtended.DiscardUnknown(m) } -func (m *IPv6AddressSpecificExtended) Reset() { *m = IPv6AddressSpecificExtended{} } -func (m *IPv6AddressSpecificExtended) String() string { return proto.CompactTextString(m) } -func (*IPv6AddressSpecificExtended) ProtoMessage() {} -func (*IPv6AddressSpecificExtended) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{72} } +var xxx_messageInfo_IPv6AddressSpecificExtended proto.InternalMessageInfo func (m *IPv6AddressSpecificExtended) GetIsTransitive() bool { if m != nil { @@ -2295,17 +3711,38 @@ func (m *IPv6AddressSpecificExtended) GetLocalAdmin() uint32 { } type RedirectIPv6AddressSpecificExtended struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin,proto3" json:"local_admin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RedirectIPv6AddressSpecificExtended) Reset() { *m = RedirectIPv6AddressSpecificExtended{} } func (m *RedirectIPv6AddressSpecificExtended) String() string { return proto.CompactTextString(m) } func (*RedirectIPv6AddressSpecificExtended) ProtoMessage() {} func (*RedirectIPv6AddressSpecificExtended) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{73} + return fileDescriptor_64cfbe2f04478930, []int{73} +} + +func (m *RedirectIPv6AddressSpecificExtended) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RedirectIPv6AddressSpecificExtended.Unmarshal(m, b) +} +func (m *RedirectIPv6AddressSpecificExtended) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RedirectIPv6AddressSpecificExtended.Marshal(b, m, deterministic) +} +func (m *RedirectIPv6AddressSpecificExtended) XXX_Merge(src proto.Message) { + xxx_messageInfo_RedirectIPv6AddressSpecificExtended.Merge(m, src) +} +func (m *RedirectIPv6AddressSpecificExtended) XXX_Size() int { + return xxx_messageInfo_RedirectIPv6AddressSpecificExtended.Size(m) +} +func (m *RedirectIPv6AddressSpecificExtended) XXX_DiscardUnknown() { + xxx_messageInfo_RedirectIPv6AddressSpecificExtended.DiscardUnknown(m) } +var xxx_messageInfo_RedirectIPv6AddressSpecificExtended proto.InternalMessageInfo + func (m *RedirectIPv6AddressSpecificExtended) GetAddress() string { if m != nil { return m.Address @@ -2324,17 +3761,38 @@ type IP6ExtendedCommunitiesAttribute struct { // Each Community must be one of: // - IPv6AddressSpecificExtended // - RedirectIPv6AddressSpecificExtended - Communities []*google_protobuf.Any `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"` + Communities []*any.Any `protobuf:"bytes,1,rep,name=communities,proto3" json:"communities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *IP6ExtendedCommunitiesAttribute) Reset() { *m = IP6ExtendedCommunitiesAttribute{} } func (m *IP6ExtendedCommunitiesAttribute) String() string { return proto.CompactTextString(m) } func (*IP6ExtendedCommunitiesAttribute) ProtoMessage() {} func (*IP6ExtendedCommunitiesAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor0, []int{74} + return fileDescriptor_64cfbe2f04478930, []int{74} +} + +func (m *IP6ExtendedCommunitiesAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IP6ExtendedCommunitiesAttribute.Unmarshal(m, b) +} +func (m *IP6ExtendedCommunitiesAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IP6ExtendedCommunitiesAttribute.Marshal(b, m, deterministic) +} +func (m *IP6ExtendedCommunitiesAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_IP6ExtendedCommunitiesAttribute.Merge(m, src) +} +func (m *IP6ExtendedCommunitiesAttribute) XXX_Size() int { + return xxx_messageInfo_IP6ExtendedCommunitiesAttribute.Size(m) } +func (m *IP6ExtendedCommunitiesAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_IP6ExtendedCommunitiesAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_IP6ExtendedCommunitiesAttribute proto.InternalMessageInfo -func (m *IP6ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.Any { +func (m *IP6ExtendedCommunitiesAttribute) GetCommunities() []*any.Any { if m != nil { return m.Communities } @@ -2342,13 +3800,36 @@ func (m *IP6ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.An } type AigpTLVIGPMetric struct { - Metric uint64 `protobuf:"varint,1,opt,name=metric" json:"metric,omitempty"` + Metric uint64 `protobuf:"varint,1,opt,name=metric,proto3" json:"metric,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AigpTLVIGPMetric) Reset() { *m = AigpTLVIGPMetric{} } +func (m *AigpTLVIGPMetric) String() string { return proto.CompactTextString(m) } +func (*AigpTLVIGPMetric) ProtoMessage() {} +func (*AigpTLVIGPMetric) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{75} +} + +func (m *AigpTLVIGPMetric) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AigpTLVIGPMetric.Unmarshal(m, b) +} +func (m *AigpTLVIGPMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AigpTLVIGPMetric.Marshal(b, m, deterministic) +} +func (m *AigpTLVIGPMetric) XXX_Merge(src proto.Message) { + xxx_messageInfo_AigpTLVIGPMetric.Merge(m, src) +} +func (m *AigpTLVIGPMetric) XXX_Size() int { + return xxx_messageInfo_AigpTLVIGPMetric.Size(m) +} +func (m *AigpTLVIGPMetric) XXX_DiscardUnknown() { + xxx_messageInfo_AigpTLVIGPMetric.DiscardUnknown(m) } -func (m *AigpTLVIGPMetric) Reset() { *m = AigpTLVIGPMetric{} } -func (m *AigpTLVIGPMetric) String() string { return proto.CompactTextString(m) } -func (*AigpTLVIGPMetric) ProtoMessage() {} -func (*AigpTLVIGPMetric) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{75} } +var xxx_messageInfo_AigpTLVIGPMetric proto.InternalMessageInfo func (m *AigpTLVIGPMetric) GetMetric() uint64 { if m != nil { @@ -2358,14 +3839,37 @@ func (m *AigpTLVIGPMetric) GetMetric() uint64 { } type AigpTLVUnknown struct { - Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AigpTLVUnknown) Reset() { *m = AigpTLVUnknown{} } +func (m *AigpTLVUnknown) String() string { return proto.CompactTextString(m) } +func (*AigpTLVUnknown) ProtoMessage() {} +func (*AigpTLVUnknown) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{76} +} + +func (m *AigpTLVUnknown) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AigpTLVUnknown.Unmarshal(m, b) +} +func (m *AigpTLVUnknown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AigpTLVUnknown.Marshal(b, m, deterministic) +} +func (m *AigpTLVUnknown) XXX_Merge(src proto.Message) { + xxx_messageInfo_AigpTLVUnknown.Merge(m, src) +} +func (m *AigpTLVUnknown) XXX_Size() int { + return xxx_messageInfo_AigpTLVUnknown.Size(m) +} +func (m *AigpTLVUnknown) XXX_DiscardUnknown() { + xxx_messageInfo_AigpTLVUnknown.DiscardUnknown(m) } -func (m *AigpTLVUnknown) Reset() { *m = AigpTLVUnknown{} } -func (m *AigpTLVUnknown) String() string { return proto.CompactTextString(m) } -func (*AigpTLVUnknown) ProtoMessage() {} -func (*AigpTLVUnknown) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{76} } +var xxx_messageInfo_AigpTLVUnknown proto.InternalMessageInfo func (m *AigpTLVUnknown) GetType() uint32 { if m != nil { @@ -2385,15 +3889,38 @@ type AigpAttribute struct { // Each TLV must be one of: // - AigpTLVIGPMetric // - AigpTLVUnknown - Tlvs []*google_protobuf.Any `protobuf:"bytes,1,rep,name=tlvs" json:"tlvs,omitempty"` + Tlvs []*any.Any `protobuf:"bytes,1,rep,name=tlvs,proto3" json:"tlvs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AigpAttribute) Reset() { *m = AigpAttribute{} } +func (m *AigpAttribute) String() string { return proto.CompactTextString(m) } +func (*AigpAttribute) ProtoMessage() {} +func (*AigpAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{77} +} + +func (m *AigpAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AigpAttribute.Unmarshal(m, b) +} +func (m *AigpAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AigpAttribute.Marshal(b, m, deterministic) +} +func (m *AigpAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_AigpAttribute.Merge(m, src) +} +func (m *AigpAttribute) XXX_Size() int { + return xxx_messageInfo_AigpAttribute.Size(m) +} +func (m *AigpAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_AigpAttribute.DiscardUnknown(m) } -func (m *AigpAttribute) Reset() { *m = AigpAttribute{} } -func (m *AigpAttribute) String() string { return proto.CompactTextString(m) } -func (*AigpAttribute) ProtoMessage() {} -func (*AigpAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{77} } +var xxx_messageInfo_AigpAttribute proto.InternalMessageInfo -func (m *AigpAttribute) GetTlvs() []*google_protobuf.Any { +func (m *AigpAttribute) GetTlvs() []*any.Any { if m != nil { return m.Tlvs } @@ -2401,15 +3928,38 @@ func (m *AigpAttribute) GetTlvs() []*google_protobuf.Any { } type LargeCommunity struct { - GlobalAdmin uint32 `protobuf:"varint,1,opt,name=global_admin,json=globalAdmin" json:"global_admin,omitempty"` - LocalData1 uint32 `protobuf:"varint,2,opt,name=local_data1,json=localData1" json:"local_data1,omitempty"` - LocalData2 uint32 `protobuf:"varint,3,opt,name=local_data2,json=localData2" json:"local_data2,omitempty"` + GlobalAdmin uint32 `protobuf:"varint,1,opt,name=global_admin,json=globalAdmin,proto3" json:"global_admin,omitempty"` + LocalData1 uint32 `protobuf:"varint,2,opt,name=local_data1,json=localData1,proto3" json:"local_data1,omitempty"` + LocalData2 uint32 `protobuf:"varint,3,opt,name=local_data2,json=localData2,proto3" json:"local_data2,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LargeCommunity) Reset() { *m = LargeCommunity{} } +func (m *LargeCommunity) String() string { return proto.CompactTextString(m) } +func (*LargeCommunity) ProtoMessage() {} +func (*LargeCommunity) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{78} +} + +func (m *LargeCommunity) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LargeCommunity.Unmarshal(m, b) +} +func (m *LargeCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LargeCommunity.Marshal(b, m, deterministic) +} +func (m *LargeCommunity) XXX_Merge(src proto.Message) { + xxx_messageInfo_LargeCommunity.Merge(m, src) +} +func (m *LargeCommunity) XXX_Size() int { + return xxx_messageInfo_LargeCommunity.Size(m) +} +func (m *LargeCommunity) XXX_DiscardUnknown() { + xxx_messageInfo_LargeCommunity.DiscardUnknown(m) } -func (m *LargeCommunity) Reset() { *m = LargeCommunity{} } -func (m *LargeCommunity) String() string { return proto.CompactTextString(m) } -func (*LargeCommunity) ProtoMessage() {} -func (*LargeCommunity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{78} } +var xxx_messageInfo_LargeCommunity proto.InternalMessageInfo func (m *LargeCommunity) GetGlobalAdmin() uint32 { if m != nil { @@ -2433,13 +3983,36 @@ func (m *LargeCommunity) GetLocalData2() uint32 { } type LargeCommunitiesAttribute struct { - Communities []*LargeCommunity `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"` + Communities []*LargeCommunity `protobuf:"bytes,1,rep,name=communities,proto3" json:"communities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LargeCommunitiesAttribute) Reset() { *m = LargeCommunitiesAttribute{} } +func (m *LargeCommunitiesAttribute) String() string { return proto.CompactTextString(m) } +func (*LargeCommunitiesAttribute) ProtoMessage() {} +func (*LargeCommunitiesAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{79} +} + +func (m *LargeCommunitiesAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LargeCommunitiesAttribute.Unmarshal(m, b) +} +func (m *LargeCommunitiesAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LargeCommunitiesAttribute.Marshal(b, m, deterministic) +} +func (m *LargeCommunitiesAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_LargeCommunitiesAttribute.Merge(m, src) +} +func (m *LargeCommunitiesAttribute) XXX_Size() int { + return xxx_messageInfo_LargeCommunitiesAttribute.Size(m) +} +func (m *LargeCommunitiesAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_LargeCommunitiesAttribute.DiscardUnknown(m) } -func (m *LargeCommunitiesAttribute) Reset() { *m = LargeCommunitiesAttribute{} } -func (m *LargeCommunitiesAttribute) String() string { return proto.CompactTextString(m) } -func (*LargeCommunitiesAttribute) ProtoMessage() {} -func (*LargeCommunitiesAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{79} } +var xxx_messageInfo_LargeCommunitiesAttribute proto.InternalMessageInfo func (m *LargeCommunitiesAttribute) GetCommunities() []*LargeCommunity { if m != nil { @@ -2449,18 +4022,41 @@ func (m *LargeCommunitiesAttribute) GetCommunities() []*LargeCommunity { } type LsNodeFlags struct { - Overload bool `protobuf:"varint,1,opt,name=overload" json:"overload,omitempty"` - Attached bool `protobuf:"varint,2,opt,name=attached" json:"attached,omitempty"` - External bool `protobuf:"varint,3,opt,name=external" json:"external,omitempty"` - Abr bool `protobuf:"varint,4,opt,name=abr" json:"abr,omitempty"` - Router bool `protobuf:"varint,5,opt,name=router" json:"router,omitempty"` - V6 bool `protobuf:"varint,6,opt,name=v6" json:"v6,omitempty"` + Overload bool `protobuf:"varint,1,opt,name=overload,proto3" json:"overload,omitempty"` + Attached bool `protobuf:"varint,2,opt,name=attached,proto3" json:"attached,omitempty"` + External bool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"` + Abr bool `protobuf:"varint,4,opt,name=abr,proto3" json:"abr,omitempty"` + Router bool `protobuf:"varint,5,opt,name=router,proto3" json:"router,omitempty"` + V6 bool `protobuf:"varint,6,opt,name=v6,proto3" json:"v6,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsNodeFlags) Reset() { *m = LsNodeFlags{} } +func (m *LsNodeFlags) String() string { return proto.CompactTextString(m) } +func (*LsNodeFlags) ProtoMessage() {} +func (*LsNodeFlags) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{80} +} + +func (m *LsNodeFlags) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsNodeFlags.Unmarshal(m, b) +} +func (m *LsNodeFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsNodeFlags.Marshal(b, m, deterministic) +} +func (m *LsNodeFlags) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsNodeFlags.Merge(m, src) +} +func (m *LsNodeFlags) XXX_Size() int { + return xxx_messageInfo_LsNodeFlags.Size(m) +} +func (m *LsNodeFlags) XXX_DiscardUnknown() { + xxx_messageInfo_LsNodeFlags.DiscardUnknown(m) } -func (m *LsNodeFlags) Reset() { *m = LsNodeFlags{} } -func (m *LsNodeFlags) String() string { return proto.CompactTextString(m) } -func (*LsNodeFlags) ProtoMessage() {} -func (*LsNodeFlags) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{80} } +var xxx_messageInfo_LsNodeFlags proto.InternalMessageInfo func (m *LsNodeFlags) GetOverload() bool { if m != nil { @@ -2505,16 +4101,39 @@ func (m *LsNodeFlags) GetV6() bool { } type LsIGPFlags struct { - Down bool `protobuf:"varint,1,opt,name=down" json:"down,omitempty"` - NoUnicast bool `protobuf:"varint,2,opt,name=no_unicast,json=noUnicast" json:"no_unicast,omitempty"` - LocalAddress bool `protobuf:"varint,3,opt,name=local_address,json=localAddress" json:"local_address,omitempty"` - PropagateNssa bool `protobuf:"varint,4,opt,name=propagate_nssa,json=propagateNssa" json:"propagate_nssa,omitempty"` + Down bool `protobuf:"varint,1,opt,name=down,proto3" json:"down,omitempty"` + NoUnicast bool `protobuf:"varint,2,opt,name=no_unicast,json=noUnicast,proto3" json:"no_unicast,omitempty"` + LocalAddress bool `protobuf:"varint,3,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` + PropagateNssa bool `protobuf:"varint,4,opt,name=propagate_nssa,json=propagateNssa,proto3" json:"propagate_nssa,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsIGPFlags) Reset() { *m = LsIGPFlags{} } +func (m *LsIGPFlags) String() string { return proto.CompactTextString(m) } +func (*LsIGPFlags) ProtoMessage() {} +func (*LsIGPFlags) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{81} +} + +func (m *LsIGPFlags) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsIGPFlags.Unmarshal(m, b) +} +func (m *LsIGPFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsIGPFlags.Marshal(b, m, deterministic) +} +func (m *LsIGPFlags) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsIGPFlags.Merge(m, src) +} +func (m *LsIGPFlags) XXX_Size() int { + return xxx_messageInfo_LsIGPFlags.Size(m) +} +func (m *LsIGPFlags) XXX_DiscardUnknown() { + xxx_messageInfo_LsIGPFlags.DiscardUnknown(m) } -func (m *LsIGPFlags) Reset() { *m = LsIGPFlags{} } -func (m *LsIGPFlags) String() string { return proto.CompactTextString(m) } -func (*LsIGPFlags) ProtoMessage() {} -func (*LsIGPFlags) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{81} } +var xxx_messageInfo_LsIGPFlags proto.InternalMessageInfo func (m *LsIGPFlags) GetDown() bool { if m != nil { @@ -2545,14 +4164,37 @@ func (m *LsIGPFlags) GetPropagateNssa() bool { } type LsSrRange struct { - Begin uint32 `protobuf:"varint,1,opt,name=begin" json:"begin,omitempty"` - End uint32 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` + Begin uint32 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` + End uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsSrRange) Reset() { *m = LsSrRange{} } +func (m *LsSrRange) String() string { return proto.CompactTextString(m) } +func (*LsSrRange) ProtoMessage() {} +func (*LsSrRange) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{82} +} + +func (m *LsSrRange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsSrRange.Unmarshal(m, b) +} +func (m *LsSrRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsSrRange.Marshal(b, m, deterministic) +} +func (m *LsSrRange) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsSrRange.Merge(m, src) +} +func (m *LsSrRange) XXX_Size() int { + return xxx_messageInfo_LsSrRange.Size(m) +} +func (m *LsSrRange) XXX_DiscardUnknown() { + xxx_messageInfo_LsSrRange.DiscardUnknown(m) } -func (m *LsSrRange) Reset() { *m = LsSrRange{} } -func (m *LsSrRange) String() string { return proto.CompactTextString(m) } -func (*LsSrRange) ProtoMessage() {} -func (*LsSrRange) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{82} } +var xxx_messageInfo_LsSrRange proto.InternalMessageInfo func (m *LsSrRange) GetBegin() uint32 { if m != nil { @@ -2569,15 +4211,38 @@ func (m *LsSrRange) GetEnd() uint32 { } type LsSrCapabilities struct { - Ipv4Supported bool `protobuf:"varint,1,opt,name=ipv4_supported,json=ipv4Supported" json:"ipv4_supported,omitempty"` - Ipv6Supported bool `protobuf:"varint,2,opt,name=ipv6_supported,json=ipv6Supported" json:"ipv6_supported,omitempty"` - Ranges []*LsSrRange `protobuf:"bytes,3,rep,name=ranges" json:"ranges,omitempty"` + Ipv4Supported bool `protobuf:"varint,1,opt,name=ipv4_supported,json=ipv4Supported,proto3" json:"ipv4_supported,omitempty"` + Ipv6Supported bool `protobuf:"varint,2,opt,name=ipv6_supported,json=ipv6Supported,proto3" json:"ipv6_supported,omitempty"` + Ranges []*LsSrRange `protobuf:"bytes,3,rep,name=ranges,proto3" json:"ranges,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsSrCapabilities) Reset() { *m = LsSrCapabilities{} } +func (m *LsSrCapabilities) String() string { return proto.CompactTextString(m) } +func (*LsSrCapabilities) ProtoMessage() {} +func (*LsSrCapabilities) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{83} +} + +func (m *LsSrCapabilities) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsSrCapabilities.Unmarshal(m, b) +} +func (m *LsSrCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsSrCapabilities.Marshal(b, m, deterministic) +} +func (m *LsSrCapabilities) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsSrCapabilities.Merge(m, src) +} +func (m *LsSrCapabilities) XXX_Size() int { + return xxx_messageInfo_LsSrCapabilities.Size(m) +} +func (m *LsSrCapabilities) XXX_DiscardUnknown() { + xxx_messageInfo_LsSrCapabilities.DiscardUnknown(m) } -func (m *LsSrCapabilities) Reset() { *m = LsSrCapabilities{} } -func (m *LsSrCapabilities) String() string { return proto.CompactTextString(m) } -func (*LsSrCapabilities) ProtoMessage() {} -func (*LsSrCapabilities) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{83} } +var xxx_messageInfo_LsSrCapabilities proto.InternalMessageInfo func (m *LsSrCapabilities) GetIpv4Supported() bool { if m != nil { @@ -2601,13 +4266,36 @@ func (m *LsSrCapabilities) GetRanges() []*LsSrRange { } type LsSrLocalBlock struct { - Ranges []*LsSrRange `protobuf:"bytes,1,rep,name=ranges" json:"ranges,omitempty"` + Ranges []*LsSrRange `protobuf:"bytes,1,rep,name=ranges,proto3" json:"ranges,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsSrLocalBlock) Reset() { *m = LsSrLocalBlock{} } +func (m *LsSrLocalBlock) String() string { return proto.CompactTextString(m) } +func (*LsSrLocalBlock) ProtoMessage() {} +func (*LsSrLocalBlock) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{84} +} + +func (m *LsSrLocalBlock) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsSrLocalBlock.Unmarshal(m, b) +} +func (m *LsSrLocalBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsSrLocalBlock.Marshal(b, m, deterministic) +} +func (m *LsSrLocalBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsSrLocalBlock.Merge(m, src) +} +func (m *LsSrLocalBlock) XXX_Size() int { + return xxx_messageInfo_LsSrLocalBlock.Size(m) +} +func (m *LsSrLocalBlock) XXX_DiscardUnknown() { + xxx_messageInfo_LsSrLocalBlock.DiscardUnknown(m) } -func (m *LsSrLocalBlock) Reset() { *m = LsSrLocalBlock{} } -func (m *LsSrLocalBlock) String() string { return proto.CompactTextString(m) } -func (*LsSrLocalBlock) ProtoMessage() {} -func (*LsSrLocalBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{84} } +var xxx_messageInfo_LsSrLocalBlock proto.InternalMessageInfo func (m *LsSrLocalBlock) GetRanges() []*LsSrRange { if m != nil { @@ -2617,21 +4305,44 @@ func (m *LsSrLocalBlock) GetRanges() []*LsSrRange { } type LsAttributeNode struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Flags *LsNodeFlags `protobuf:"bytes,2,opt,name=flags" json:"flags,omitempty"` - LocalRouterId string `protobuf:"bytes,3,opt,name=local_router_id,json=localRouterId" json:"local_router_id,omitempty"` - LocalRouterIdV6 string `protobuf:"bytes,4,opt,name=local_router_id_v6,json=localRouterIdV6" json:"local_router_id_v6,omitempty"` - IsisArea []byte `protobuf:"bytes,5,opt,name=isis_area,json=isisArea,proto3" json:"isis_area,omitempty"` - Opaque []byte `protobuf:"bytes,6,opt,name=opaque,proto3" json:"opaque,omitempty"` - SrCapabilities *LsSrCapabilities `protobuf:"bytes,7,opt,name=sr_capabilities,json=srCapabilities" json:"sr_capabilities,omitempty"` - SrAlgorithms []byte `protobuf:"bytes,8,opt,name=sr_algorithms,json=srAlgorithms,proto3" json:"sr_algorithms,omitempty"` - SrLocalBlock *LsSrLocalBlock `protobuf:"bytes,9,opt,name=sr_local_block,json=srLocalBlock" json:"sr_local_block,omitempty"` -} - -func (m *LsAttributeNode) Reset() { *m = LsAttributeNode{} } -func (m *LsAttributeNode) String() string { return proto.CompactTextString(m) } -func (*LsAttributeNode) ProtoMessage() {} -func (*LsAttributeNode) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{85} } + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Flags *LsNodeFlags `protobuf:"bytes,2,opt,name=flags,proto3" json:"flags,omitempty"` + LocalRouterId string `protobuf:"bytes,3,opt,name=local_router_id,json=localRouterId,proto3" json:"local_router_id,omitempty"` + LocalRouterIdV6 string `protobuf:"bytes,4,opt,name=local_router_id_v6,json=localRouterIdV6,proto3" json:"local_router_id_v6,omitempty"` + IsisArea []byte `protobuf:"bytes,5,opt,name=isis_area,json=isisArea,proto3" json:"isis_area,omitempty"` + Opaque []byte `protobuf:"bytes,6,opt,name=opaque,proto3" json:"opaque,omitempty"` + SrCapabilities *LsSrCapabilities `protobuf:"bytes,7,opt,name=sr_capabilities,json=srCapabilities,proto3" json:"sr_capabilities,omitempty"` + SrAlgorithms []byte `protobuf:"bytes,8,opt,name=sr_algorithms,json=srAlgorithms,proto3" json:"sr_algorithms,omitempty"` + SrLocalBlock *LsSrLocalBlock `protobuf:"bytes,9,opt,name=sr_local_block,json=srLocalBlock,proto3" json:"sr_local_block,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsAttributeNode) Reset() { *m = LsAttributeNode{} } +func (m *LsAttributeNode) String() string { return proto.CompactTextString(m) } +func (*LsAttributeNode) ProtoMessage() {} +func (*LsAttributeNode) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{85} +} + +func (m *LsAttributeNode) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsAttributeNode.Unmarshal(m, b) +} +func (m *LsAttributeNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsAttributeNode.Marshal(b, m, deterministic) +} +func (m *LsAttributeNode) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsAttributeNode.Merge(m, src) +} +func (m *LsAttributeNode) XXX_Size() int { + return xxx_messageInfo_LsAttributeNode.Size(m) +} +func (m *LsAttributeNode) XXX_DiscardUnknown() { + xxx_messageInfo_LsAttributeNode.DiscardUnknown(m) +} + +var xxx_messageInfo_LsAttributeNode proto.InternalMessageInfo func (m *LsAttributeNode) GetName() string { if m != nil { @@ -2697,26 +4408,49 @@ func (m *LsAttributeNode) GetSrLocalBlock() *LsSrLocalBlock { } type LsAttributeLink struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - LocalRouterId string `protobuf:"bytes,2,opt,name=local_router_id,json=localRouterId" json:"local_router_id,omitempty"` - LocalRouterIdV6 string `protobuf:"bytes,3,opt,name=local_router_id_v6,json=localRouterIdV6" json:"local_router_id_v6,omitempty"` - RemoteRouterId string `protobuf:"bytes,4,opt,name=remote_router_id,json=remoteRouterId" json:"remote_router_id,omitempty"` - RemoteRouterIdV6 string `protobuf:"bytes,5,opt,name=remote_router_id_v6,json=remoteRouterIdV6" json:"remote_router_id_v6,omitempty"` - AdminGroup uint32 `protobuf:"varint,6,opt,name=admin_group,json=adminGroup" json:"admin_group,omitempty"` - DefaultTeMetric uint32 `protobuf:"varint,7,opt,name=default_te_metric,json=defaultTeMetric" json:"default_te_metric,omitempty"` - IgpMetric uint32 `protobuf:"varint,8,opt,name=igp_metric,json=igpMetric" json:"igp_metric,omitempty"` - Opaque []byte `protobuf:"bytes,9,opt,name=opaque,proto3" json:"opaque,omitempty"` - Bandwidth float32 `protobuf:"fixed32,10,opt,name=bandwidth" json:"bandwidth,omitempty"` - ReservableBandwidth float32 `protobuf:"fixed32,11,opt,name=reservable_bandwidth,json=reservableBandwidth" json:"reservable_bandwidth,omitempty"` - UnreservedBandwidth []float32 `protobuf:"fixed32,12,rep,packed,name=unreserved_bandwidth,json=unreservedBandwidth" json:"unreserved_bandwidth,omitempty"` - SrAdjacencySid uint32 `protobuf:"varint,13,opt,name=sr_adjacency_sid,json=srAdjacencySid" json:"sr_adjacency_sid,omitempty"` - Srlgs []uint32 `protobuf:"varint,14,rep,packed,name=srlgs" json:"srlgs,omitempty"` -} - -func (m *LsAttributeLink) Reset() { *m = LsAttributeLink{} } -func (m *LsAttributeLink) String() string { return proto.CompactTextString(m) } -func (*LsAttributeLink) ProtoMessage() {} -func (*LsAttributeLink) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{86} } + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + LocalRouterId string `protobuf:"bytes,2,opt,name=local_router_id,json=localRouterId,proto3" json:"local_router_id,omitempty"` + LocalRouterIdV6 string `protobuf:"bytes,3,opt,name=local_router_id_v6,json=localRouterIdV6,proto3" json:"local_router_id_v6,omitempty"` + RemoteRouterId string `protobuf:"bytes,4,opt,name=remote_router_id,json=remoteRouterId,proto3" json:"remote_router_id,omitempty"` + RemoteRouterIdV6 string `protobuf:"bytes,5,opt,name=remote_router_id_v6,json=remoteRouterIdV6,proto3" json:"remote_router_id_v6,omitempty"` + AdminGroup uint32 `protobuf:"varint,6,opt,name=admin_group,json=adminGroup,proto3" json:"admin_group,omitempty"` + DefaultTeMetric uint32 `protobuf:"varint,7,opt,name=default_te_metric,json=defaultTeMetric,proto3" json:"default_te_metric,omitempty"` + IgpMetric uint32 `protobuf:"varint,8,opt,name=igp_metric,json=igpMetric,proto3" json:"igp_metric,omitempty"` + Opaque []byte `protobuf:"bytes,9,opt,name=opaque,proto3" json:"opaque,omitempty"` + Bandwidth float32 `protobuf:"fixed32,10,opt,name=bandwidth,proto3" json:"bandwidth,omitempty"` + ReservableBandwidth float32 `protobuf:"fixed32,11,opt,name=reservable_bandwidth,json=reservableBandwidth,proto3" json:"reservable_bandwidth,omitempty"` + UnreservedBandwidth []float32 `protobuf:"fixed32,12,rep,packed,name=unreserved_bandwidth,json=unreservedBandwidth,proto3" json:"unreserved_bandwidth,omitempty"` + SrAdjacencySid uint32 `protobuf:"varint,13,opt,name=sr_adjacency_sid,json=srAdjacencySid,proto3" json:"sr_adjacency_sid,omitempty"` + Srlgs []uint32 `protobuf:"varint,14,rep,packed,name=srlgs,proto3" json:"srlgs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsAttributeLink) Reset() { *m = LsAttributeLink{} } +func (m *LsAttributeLink) String() string { return proto.CompactTextString(m) } +func (*LsAttributeLink) ProtoMessage() {} +func (*LsAttributeLink) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{86} +} + +func (m *LsAttributeLink) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsAttributeLink.Unmarshal(m, b) +} +func (m *LsAttributeLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsAttributeLink.Marshal(b, m, deterministic) +} +func (m *LsAttributeLink) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsAttributeLink.Merge(m, src) +} +func (m *LsAttributeLink) XXX_Size() int { + return xxx_messageInfo_LsAttributeLink.Size(m) +} +func (m *LsAttributeLink) XXX_DiscardUnknown() { + xxx_messageInfo_LsAttributeLink.DiscardUnknown(m) +} + +var xxx_messageInfo_LsAttributeLink proto.InternalMessageInfo func (m *LsAttributeLink) GetName() string { if m != nil { @@ -2817,15 +4551,38 @@ func (m *LsAttributeLink) GetSrlgs() []uint32 { } type LsAttributePrefix struct { - IgpFlags *LsIGPFlags `protobuf:"bytes,1,opt,name=igp_flags,json=igpFlags" json:"igp_flags,omitempty"` - Opaque []byte `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` - SrPrefixSid uint32 `protobuf:"varint,3,opt,name=sr_prefix_sid,json=srPrefixSid" json:"sr_prefix_sid,omitempty"` + IgpFlags *LsIGPFlags `protobuf:"bytes,1,opt,name=igp_flags,json=igpFlags,proto3" json:"igp_flags,omitempty"` + Opaque []byte `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"` + SrPrefixSid uint32 `protobuf:"varint,3,opt,name=sr_prefix_sid,json=srPrefixSid,proto3" json:"sr_prefix_sid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsAttributePrefix) Reset() { *m = LsAttributePrefix{} } +func (m *LsAttributePrefix) String() string { return proto.CompactTextString(m) } +func (*LsAttributePrefix) ProtoMessage() {} +func (*LsAttributePrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{87} } -func (m *LsAttributePrefix) Reset() { *m = LsAttributePrefix{} } -func (m *LsAttributePrefix) String() string { return proto.CompactTextString(m) } -func (*LsAttributePrefix) ProtoMessage() {} -func (*LsAttributePrefix) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{87} } +func (m *LsAttributePrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsAttributePrefix.Unmarshal(m, b) +} +func (m *LsAttributePrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsAttributePrefix.Marshal(b, m, deterministic) +} +func (m *LsAttributePrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsAttributePrefix.Merge(m, src) +} +func (m *LsAttributePrefix) XXX_Size() int { + return xxx_messageInfo_LsAttributePrefix.Size(m) +} +func (m *LsAttributePrefix) XXX_DiscardUnknown() { + xxx_messageInfo_LsAttributePrefix.DiscardUnknown(m) +} + +var xxx_messageInfo_LsAttributePrefix proto.InternalMessageInfo func (m *LsAttributePrefix) GetIgpFlags() *LsIGPFlags { if m != nil { @@ -2849,15 +4606,38 @@ func (m *LsAttributePrefix) GetSrPrefixSid() uint32 { } type LsAttribute struct { - Node *LsAttributeNode `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` - Link *LsAttributeLink `protobuf:"bytes,2,opt,name=link" json:"link,omitempty"` - Prefix *LsAttributePrefix `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` + Node *LsAttributeNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` + Link *LsAttributeLink `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` + Prefix *LsAttributePrefix `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LsAttribute) Reset() { *m = LsAttribute{} } +func (m *LsAttribute) String() string { return proto.CompactTextString(m) } +func (*LsAttribute) ProtoMessage() {} +func (*LsAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{88} } -func (m *LsAttribute) Reset() { *m = LsAttribute{} } -func (m *LsAttribute) String() string { return proto.CompactTextString(m) } -func (*LsAttribute) ProtoMessage() {} -func (*LsAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{88} } +func (m *LsAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LsAttribute.Unmarshal(m, b) +} +func (m *LsAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LsAttribute.Marshal(b, m, deterministic) +} +func (m *LsAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_LsAttribute.Merge(m, src) +} +func (m *LsAttribute) XXX_Size() int { + return xxx_messageInfo_LsAttribute.Size(m) +} +func (m *LsAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_LsAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_LsAttribute proto.InternalMessageInfo func (m *LsAttribute) GetNode() *LsAttributeNode { if m != nil { @@ -2881,15 +4661,38 @@ func (m *LsAttribute) GetPrefix() *LsAttributePrefix { } type UnknownAttribute struct { - Flags uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` - Type uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"` - Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` + Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` + Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnknownAttribute) Reset() { *m = UnknownAttribute{} } +func (m *UnknownAttribute) String() string { return proto.CompactTextString(m) } +func (*UnknownAttribute) ProtoMessage() {} +func (*UnknownAttribute) Descriptor() ([]byte, []int) { + return fileDescriptor_64cfbe2f04478930, []int{89} } -func (m *UnknownAttribute) Reset() { *m = UnknownAttribute{} } -func (m *UnknownAttribute) String() string { return proto.CompactTextString(m) } -func (*UnknownAttribute) ProtoMessage() {} -func (*UnknownAttribute) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{89} } +func (m *UnknownAttribute) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnknownAttribute.Unmarshal(m, b) +} +func (m *UnknownAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnknownAttribute.Marshal(b, m, deterministic) +} +func (m *UnknownAttribute) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnknownAttribute.Merge(m, src) +} +func (m *UnknownAttribute) XXX_Size() int { + return xxx_messageInfo_UnknownAttribute.Size(m) +} +func (m *UnknownAttribute) XXX_DiscardUnknown() { + xxx_messageInfo_UnknownAttribute.DiscardUnknown(m) +} + +var xxx_messageInfo_UnknownAttribute proto.InternalMessageInfo func (m *UnknownAttribute) GetFlags() uint32 { if m != nil { @@ -2913,6 +4716,7 @@ func (m *UnknownAttribute) GetValue() []byte { } func init() { + proto.RegisterEnum("gobgpapi.LsNLRIType", LsNLRIType_name, LsNLRIType_value) proto.RegisterType((*OriginAttribute)(nil), "gobgpapi.OriginAttribute") proto.RegisterType((*AsSegment)(nil), "gobgpapi.AsSegment") proto.RegisterType((*AsPathAttribute)(nil), "gobgpapi.AsPathAttribute") @@ -3003,12 +4807,11 @@ func init() { proto.RegisterType((*LsAttributePrefix)(nil), "gobgpapi.LsAttributePrefix") proto.RegisterType((*LsAttribute)(nil), "gobgpapi.LsAttribute") proto.RegisterType((*UnknownAttribute)(nil), "gobgpapi.UnknownAttribute") - proto.RegisterEnum("gobgpapi.LsNLRIType", LsNLRIType_name, LsNLRIType_value) } -func init() { proto.RegisterFile("attribute.proto", fileDescriptor0) } +func init() { proto.RegisterFile("attribute.proto", fileDescriptor_64cfbe2f04478930) } -var fileDescriptor0 = []byte{ +var fileDescriptor_64cfbe2f04478930 = []byte{ // 3047 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0xcd, 0x73, 0x1b, 0xc7, 0xb1, 0x7f, 0x00, 0x48, 0x0a, 0x68, 0x10, 0x1f, 0x5c, 0x52, 0x2c, 0x90, 0x92, 0x2c, 0xbd, 0x95, diff --git a/api/capability.pb.go b/api/capability.pb.go index 957b30b43..d09783e33 100644 --- a/api/capability.pb.go +++ b/api/capability.pb.go @@ -3,15 +3,23 @@ package gobgpapi -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + type AddPathMode int32 const ( @@ -27,6 +35,7 @@ var AddPathMode_name = map[int32]string{ 2: "MODE_SEND", 3: "MODE_BOTH", } + var AddPathMode_value = map[string]int32{ "MODE_NONE": 0, "MODE_RECEIVE": 1, @@ -37,16 +46,42 @@ var AddPathMode_value = map[string]int32{ func (x AddPathMode) String() string { return proto.EnumName(AddPathMode_name, int32(x)) } -func (AddPathMode) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} } + +func (AddPathMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{0} +} type MultiProtocolCapability struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MultiProtocolCapability) Reset() { *m = MultiProtocolCapability{} } +func (m *MultiProtocolCapability) String() string { return proto.CompactTextString(m) } +func (*MultiProtocolCapability) ProtoMessage() {} +func (*MultiProtocolCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{0} +} + +func (m *MultiProtocolCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MultiProtocolCapability.Unmarshal(m, b) +} +func (m *MultiProtocolCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MultiProtocolCapability.Marshal(b, m, deterministic) +} +func (m *MultiProtocolCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_MultiProtocolCapability.Merge(m, src) +} +func (m *MultiProtocolCapability) XXX_Size() int { + return xxx_messageInfo_MultiProtocolCapability.Size(m) +} +func (m *MultiProtocolCapability) XXX_DiscardUnknown() { + xxx_messageInfo_MultiProtocolCapability.DiscardUnknown(m) } -func (m *MultiProtocolCapability) Reset() { *m = MultiProtocolCapability{} } -func (m *MultiProtocolCapability) String() string { return proto.CompactTextString(m) } -func (*MultiProtocolCapability) ProtoMessage() {} -func (*MultiProtocolCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} } +var xxx_messageInfo_MultiProtocolCapability proto.InternalMessageInfo func (m *MultiProtocolCapability) GetFamily() *Family { if m != nil { @@ -56,33 +91,102 @@ func (m *MultiProtocolCapability) GetFamily() *Family { } type RouteRefreshCapability struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouteRefreshCapability) Reset() { *m = RouteRefreshCapability{} } -func (m *RouteRefreshCapability) String() string { return proto.CompactTextString(m) } -func (*RouteRefreshCapability) ProtoMessage() {} -func (*RouteRefreshCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} } +func (m *RouteRefreshCapability) Reset() { *m = RouteRefreshCapability{} } +func (m *RouteRefreshCapability) String() string { return proto.CompactTextString(m) } +func (*RouteRefreshCapability) ProtoMessage() {} +func (*RouteRefreshCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{1} +} + +func (m *RouteRefreshCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteRefreshCapability.Unmarshal(m, b) +} +func (m *RouteRefreshCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteRefreshCapability.Marshal(b, m, deterministic) +} +func (m *RouteRefreshCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteRefreshCapability.Merge(m, src) +} +func (m *RouteRefreshCapability) XXX_Size() int { + return xxx_messageInfo_RouteRefreshCapability.Size(m) +} +func (m *RouteRefreshCapability) XXX_DiscardUnknown() { + xxx_messageInfo_RouteRefreshCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteRefreshCapability proto.InternalMessageInfo type CarryingLabelInfoCapability struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *CarryingLabelInfoCapability) Reset() { *m = CarryingLabelInfoCapability{} } -func (m *CarryingLabelInfoCapability) String() string { return proto.CompactTextString(m) } -func (*CarryingLabelInfoCapability) ProtoMessage() {} -func (*CarryingLabelInfoCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} } +func (m *CarryingLabelInfoCapability) Reset() { *m = CarryingLabelInfoCapability{} } +func (m *CarryingLabelInfoCapability) String() string { return proto.CompactTextString(m) } +func (*CarryingLabelInfoCapability) ProtoMessage() {} +func (*CarryingLabelInfoCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{2} +} + +func (m *CarryingLabelInfoCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CarryingLabelInfoCapability.Unmarshal(m, b) +} +func (m *CarryingLabelInfoCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CarryingLabelInfoCapability.Marshal(b, m, deterministic) +} +func (m *CarryingLabelInfoCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_CarryingLabelInfoCapability.Merge(m, src) +} +func (m *CarryingLabelInfoCapability) XXX_Size() int { + return xxx_messageInfo_CarryingLabelInfoCapability.Size(m) +} +func (m *CarryingLabelInfoCapability) XXX_DiscardUnknown() { + xxx_messageInfo_CarryingLabelInfoCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_CarryingLabelInfoCapability proto.InternalMessageInfo type ExtendedNexthopCapabilityTuple struct { - NlriFamily *Family `protobuf:"bytes,1,opt,name=nlri_family,json=nlriFamily" json:"nlri_family,omitempty"` + NlriFamily *Family `protobuf:"bytes,1,opt,name=nlri_family,json=nlriFamily,proto3" json:"nlri_family,omitempty"` // Nexthop AFI must be either // gobgp.IPv4 or // gobgp.IPv6. - NexthopFamily *Family `protobuf:"bytes,2,opt,name=nexthop_family,json=nexthopFamily" json:"nexthop_family,omitempty"` + NexthopFamily *Family `protobuf:"bytes,2,opt,name=nexthop_family,json=nexthopFamily,proto3" json:"nexthop_family,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtendedNexthopCapabilityTuple) Reset() { *m = ExtendedNexthopCapabilityTuple{} } +func (m *ExtendedNexthopCapabilityTuple) String() string { return proto.CompactTextString(m) } +func (*ExtendedNexthopCapabilityTuple) ProtoMessage() {} +func (*ExtendedNexthopCapabilityTuple) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{3} } -func (m *ExtendedNexthopCapabilityTuple) Reset() { *m = ExtendedNexthopCapabilityTuple{} } -func (m *ExtendedNexthopCapabilityTuple) String() string { return proto.CompactTextString(m) } -func (*ExtendedNexthopCapabilityTuple) ProtoMessage() {} -func (*ExtendedNexthopCapabilityTuple) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} } +func (m *ExtendedNexthopCapabilityTuple) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtendedNexthopCapabilityTuple.Unmarshal(m, b) +} +func (m *ExtendedNexthopCapabilityTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtendedNexthopCapabilityTuple.Marshal(b, m, deterministic) +} +func (m *ExtendedNexthopCapabilityTuple) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtendedNexthopCapabilityTuple.Merge(m, src) +} +func (m *ExtendedNexthopCapabilityTuple) XXX_Size() int { + return xxx_messageInfo_ExtendedNexthopCapabilityTuple.Size(m) +} +func (m *ExtendedNexthopCapabilityTuple) XXX_DiscardUnknown() { + xxx_messageInfo_ExtendedNexthopCapabilityTuple.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtendedNexthopCapabilityTuple proto.InternalMessageInfo func (m *ExtendedNexthopCapabilityTuple) GetNlriFamily() *Family { if m != nil { @@ -99,13 +203,36 @@ func (m *ExtendedNexthopCapabilityTuple) GetNexthopFamily() *Family { } type ExtendedNexthopCapability struct { - Tuples []*ExtendedNexthopCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"` + Tuples []*ExtendedNexthopCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtendedNexthopCapability) Reset() { *m = ExtendedNexthopCapability{} } +func (m *ExtendedNexthopCapability) String() string { return proto.CompactTextString(m) } +func (*ExtendedNexthopCapability) ProtoMessage() {} +func (*ExtendedNexthopCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{4} } -func (m *ExtendedNexthopCapability) Reset() { *m = ExtendedNexthopCapability{} } -func (m *ExtendedNexthopCapability) String() string { return proto.CompactTextString(m) } -func (*ExtendedNexthopCapability) ProtoMessage() {} -func (*ExtendedNexthopCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} } +func (m *ExtendedNexthopCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtendedNexthopCapability.Unmarshal(m, b) +} +func (m *ExtendedNexthopCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtendedNexthopCapability.Marshal(b, m, deterministic) +} +func (m *ExtendedNexthopCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtendedNexthopCapability.Merge(m, src) +} +func (m *ExtendedNexthopCapability) XXX_Size() int { + return xxx_messageInfo_ExtendedNexthopCapability.Size(m) +} +func (m *ExtendedNexthopCapability) XXX_DiscardUnknown() { + xxx_messageInfo_ExtendedNexthopCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtendedNexthopCapability proto.InternalMessageInfo func (m *ExtendedNexthopCapability) GetTuples() []*ExtendedNexthopCapabilityTuple { if m != nil { @@ -115,14 +242,37 @@ func (m *ExtendedNexthopCapability) GetTuples() []*ExtendedNexthopCapabilityTupl } type GracefulRestartCapabilityTuple struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - Flags uint32 `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + Flags uint32 `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GracefulRestartCapabilityTuple) Reset() { *m = GracefulRestartCapabilityTuple{} } -func (m *GracefulRestartCapabilityTuple) String() string { return proto.CompactTextString(m) } -func (*GracefulRestartCapabilityTuple) ProtoMessage() {} -func (*GracefulRestartCapabilityTuple) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} } +func (m *GracefulRestartCapabilityTuple) Reset() { *m = GracefulRestartCapabilityTuple{} } +func (m *GracefulRestartCapabilityTuple) String() string { return proto.CompactTextString(m) } +func (*GracefulRestartCapabilityTuple) ProtoMessage() {} +func (*GracefulRestartCapabilityTuple) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{5} +} + +func (m *GracefulRestartCapabilityTuple) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GracefulRestartCapabilityTuple.Unmarshal(m, b) +} +func (m *GracefulRestartCapabilityTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GracefulRestartCapabilityTuple.Marshal(b, m, deterministic) +} +func (m *GracefulRestartCapabilityTuple) XXX_Merge(src proto.Message) { + xxx_messageInfo_GracefulRestartCapabilityTuple.Merge(m, src) +} +func (m *GracefulRestartCapabilityTuple) XXX_Size() int { + return xxx_messageInfo_GracefulRestartCapabilityTuple.Size(m) +} +func (m *GracefulRestartCapabilityTuple) XXX_DiscardUnknown() { + xxx_messageInfo_GracefulRestartCapabilityTuple.DiscardUnknown(m) +} + +var xxx_messageInfo_GracefulRestartCapabilityTuple proto.InternalMessageInfo func (m *GracefulRestartCapabilityTuple) GetFamily() *Family { if m != nil { @@ -139,15 +289,38 @@ func (m *GracefulRestartCapabilityTuple) GetFlags() uint32 { } type GracefulRestartCapability struct { - Flags uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"` - Time uint32 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"` - Tuples []*GracefulRestartCapabilityTuple `protobuf:"bytes,3,rep,name=tuples" json:"tuples,omitempty"` + Flags uint32 `protobuf:"varint,1,opt,name=flags,proto3" json:"flags,omitempty"` + Time uint32 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` + Tuples []*GracefulRestartCapabilityTuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *GracefulRestartCapability) Reset() { *m = GracefulRestartCapability{} } -func (m *GracefulRestartCapability) String() string { return proto.CompactTextString(m) } -func (*GracefulRestartCapability) ProtoMessage() {} -func (*GracefulRestartCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} } +func (m *GracefulRestartCapability) Reset() { *m = GracefulRestartCapability{} } +func (m *GracefulRestartCapability) String() string { return proto.CompactTextString(m) } +func (*GracefulRestartCapability) ProtoMessage() {} +func (*GracefulRestartCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{6} +} + +func (m *GracefulRestartCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GracefulRestartCapability.Unmarshal(m, b) +} +func (m *GracefulRestartCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GracefulRestartCapability.Marshal(b, m, deterministic) +} +func (m *GracefulRestartCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_GracefulRestartCapability.Merge(m, src) +} +func (m *GracefulRestartCapability) XXX_Size() int { + return xxx_messageInfo_GracefulRestartCapability.Size(m) +} +func (m *GracefulRestartCapability) XXX_DiscardUnknown() { + xxx_messageInfo_GracefulRestartCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_GracefulRestartCapability proto.InternalMessageInfo func (m *GracefulRestartCapability) GetFlags() uint32 { if m != nil { @@ -171,13 +344,36 @@ func (m *GracefulRestartCapability) GetTuples() []*GracefulRestartCapabilityTupl } type FourOctetASNumberCapability struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FourOctetASNumberCapability) Reset() { *m = FourOctetASNumberCapability{} } +func (m *FourOctetASNumberCapability) String() string { return proto.CompactTextString(m) } +func (*FourOctetASNumberCapability) ProtoMessage() {} +func (*FourOctetASNumberCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{7} +} + +func (m *FourOctetASNumberCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FourOctetASNumberCapability.Unmarshal(m, b) +} +func (m *FourOctetASNumberCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FourOctetASNumberCapability.Marshal(b, m, deterministic) +} +func (m *FourOctetASNumberCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_FourOctetASNumberCapability.Merge(m, src) +} +func (m *FourOctetASNumberCapability) XXX_Size() int { + return xxx_messageInfo_FourOctetASNumberCapability.Size(m) +} +func (m *FourOctetASNumberCapability) XXX_DiscardUnknown() { + xxx_messageInfo_FourOctetASNumberCapability.DiscardUnknown(m) } -func (m *FourOctetASNumberCapability) Reset() { *m = FourOctetASNumberCapability{} } -func (m *FourOctetASNumberCapability) String() string { return proto.CompactTextString(m) } -func (*FourOctetASNumberCapability) ProtoMessage() {} -func (*FourOctetASNumberCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} } +var xxx_messageInfo_FourOctetASNumberCapability proto.InternalMessageInfo func (m *FourOctetASNumberCapability) GetAs() uint32 { if m != nil { @@ -187,14 +383,37 @@ func (m *FourOctetASNumberCapability) GetAs() uint32 { } type AddPathCapabilityTuple struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - Mode AddPathMode `protobuf:"varint,2,opt,name=mode,enum=gobgpapi.AddPathMode" json:"mode,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + Mode AddPathMode `protobuf:"varint,2,opt,name=mode,proto3,enum=gobgpapi.AddPathMode" json:"mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPathCapabilityTuple) Reset() { *m = AddPathCapabilityTuple{} } +func (m *AddPathCapabilityTuple) String() string { return proto.CompactTextString(m) } +func (*AddPathCapabilityTuple) ProtoMessage() {} +func (*AddPathCapabilityTuple) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{8} +} + +func (m *AddPathCapabilityTuple) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathCapabilityTuple.Unmarshal(m, b) +} +func (m *AddPathCapabilityTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathCapabilityTuple.Marshal(b, m, deterministic) +} +func (m *AddPathCapabilityTuple) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathCapabilityTuple.Merge(m, src) +} +func (m *AddPathCapabilityTuple) XXX_Size() int { + return xxx_messageInfo_AddPathCapabilityTuple.Size(m) +} +func (m *AddPathCapabilityTuple) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathCapabilityTuple.DiscardUnknown(m) } -func (m *AddPathCapabilityTuple) Reset() { *m = AddPathCapabilityTuple{} } -func (m *AddPathCapabilityTuple) String() string { return proto.CompactTextString(m) } -func (*AddPathCapabilityTuple) ProtoMessage() {} -func (*AddPathCapabilityTuple) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} } +var xxx_messageInfo_AddPathCapabilityTuple proto.InternalMessageInfo func (m *AddPathCapabilityTuple) GetFamily() *Family { if m != nil { @@ -211,13 +430,36 @@ func (m *AddPathCapabilityTuple) GetMode() AddPathMode { } type AddPathCapability struct { - Tuples []*AddPathCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"` + Tuples []*AddPathCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddPathCapability) Reset() { *m = AddPathCapability{} } -func (m *AddPathCapability) String() string { return proto.CompactTextString(m) } -func (*AddPathCapability) ProtoMessage() {} -func (*AddPathCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} } +func (m *AddPathCapability) Reset() { *m = AddPathCapability{} } +func (m *AddPathCapability) String() string { return proto.CompactTextString(m) } +func (*AddPathCapability) ProtoMessage() {} +func (*AddPathCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{9} +} + +func (m *AddPathCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathCapability.Unmarshal(m, b) +} +func (m *AddPathCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathCapability.Marshal(b, m, deterministic) +} +func (m *AddPathCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathCapability.Merge(m, src) +} +func (m *AddPathCapability) XXX_Size() int { + return xxx_messageInfo_AddPathCapability.Size(m) +} +func (m *AddPathCapability) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_AddPathCapability proto.InternalMessageInfo func (m *AddPathCapability) GetTuples() []*AddPathCapabilityTuple { if m != nil { @@ -227,19 +469,43 @@ func (m *AddPathCapability) GetTuples() []*AddPathCapabilityTuple { } type EnhancedRouteRefreshCapability struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *EnhancedRouteRefreshCapability) Reset() { *m = EnhancedRouteRefreshCapability{} } func (m *EnhancedRouteRefreshCapability) String() string { return proto.CompactTextString(m) } func (*EnhancedRouteRefreshCapability) ProtoMessage() {} func (*EnhancedRouteRefreshCapability) Descriptor() ([]byte, []int) { - return fileDescriptor1, []int{10} + return fileDescriptor_f2310f95efbbe3ac, []int{10} } +func (m *EnhancedRouteRefreshCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnhancedRouteRefreshCapability.Unmarshal(m, b) +} +func (m *EnhancedRouteRefreshCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnhancedRouteRefreshCapability.Marshal(b, m, deterministic) +} +func (m *EnhancedRouteRefreshCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnhancedRouteRefreshCapability.Merge(m, src) +} +func (m *EnhancedRouteRefreshCapability) XXX_Size() int { + return xxx_messageInfo_EnhancedRouteRefreshCapability.Size(m) +} +func (m *EnhancedRouteRefreshCapability) XXX_DiscardUnknown() { + xxx_messageInfo_EnhancedRouteRefreshCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_EnhancedRouteRefreshCapability proto.InternalMessageInfo + type LongLivedGracefulRestartCapabilityTuple struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - Flags uint32 `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"` - Time uint32 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + Flags uint32 `protobuf:"varint,2,opt,name=flags,proto3" json:"flags,omitempty"` + Time uint32 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LongLivedGracefulRestartCapabilityTuple) Reset() { @@ -248,8 +514,26 @@ func (m *LongLivedGracefulRestartCapabilityTuple) Reset() { func (m *LongLivedGracefulRestartCapabilityTuple) String() string { return proto.CompactTextString(m) } func (*LongLivedGracefulRestartCapabilityTuple) ProtoMessage() {} func (*LongLivedGracefulRestartCapabilityTuple) Descriptor() ([]byte, []int) { - return fileDescriptor1, []int{11} + return fileDescriptor_f2310f95efbbe3ac, []int{11} +} + +func (m *LongLivedGracefulRestartCapabilityTuple) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple.Unmarshal(m, b) +} +func (m *LongLivedGracefulRestartCapabilityTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple.Marshal(b, m, deterministic) +} +func (m *LongLivedGracefulRestartCapabilityTuple) XXX_Merge(src proto.Message) { + xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple.Merge(m, src) +} +func (m *LongLivedGracefulRestartCapabilityTuple) XXX_Size() int { + return xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple.Size(m) } +func (m *LongLivedGracefulRestartCapabilityTuple) XXX_DiscardUnknown() { + xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple.DiscardUnknown(m) +} + +var xxx_messageInfo_LongLivedGracefulRestartCapabilityTuple proto.InternalMessageInfo func (m *LongLivedGracefulRestartCapabilityTuple) GetFamily() *Family { if m != nil { @@ -273,16 +557,37 @@ func (m *LongLivedGracefulRestartCapabilityTuple) GetTime() uint32 { } type LongLivedGracefulRestartCapability struct { - Tuples []*LongLivedGracefulRestartCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"` + Tuples []*LongLivedGracefulRestartCapabilityTuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LongLivedGracefulRestartCapability) Reset() { *m = LongLivedGracefulRestartCapability{} } func (m *LongLivedGracefulRestartCapability) String() string { return proto.CompactTextString(m) } func (*LongLivedGracefulRestartCapability) ProtoMessage() {} func (*LongLivedGracefulRestartCapability) Descriptor() ([]byte, []int) { - return fileDescriptor1, []int{12} + return fileDescriptor_f2310f95efbbe3ac, []int{12} +} + +func (m *LongLivedGracefulRestartCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LongLivedGracefulRestartCapability.Unmarshal(m, b) +} +func (m *LongLivedGracefulRestartCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LongLivedGracefulRestartCapability.Marshal(b, m, deterministic) +} +func (m *LongLivedGracefulRestartCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_LongLivedGracefulRestartCapability.Merge(m, src) +} +func (m *LongLivedGracefulRestartCapability) XXX_Size() int { + return xxx_messageInfo_LongLivedGracefulRestartCapability.Size(m) +} +func (m *LongLivedGracefulRestartCapability) XXX_DiscardUnknown() { + xxx_messageInfo_LongLivedGracefulRestartCapability.DiscardUnknown(m) } +var xxx_messageInfo_LongLivedGracefulRestartCapability proto.InternalMessageInfo + func (m *LongLivedGracefulRestartCapability) GetTuples() []*LongLivedGracefulRestartCapabilityTuple { if m != nil { return m.Tuples @@ -291,22 +596,68 @@ func (m *LongLivedGracefulRestartCapability) GetTuples() []*LongLivedGracefulRes } type RouteRefreshCiscoCapability struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouteRefreshCiscoCapability) Reset() { *m = RouteRefreshCiscoCapability{} } -func (m *RouteRefreshCiscoCapability) String() string { return proto.CompactTextString(m) } -func (*RouteRefreshCiscoCapability) ProtoMessage() {} -func (*RouteRefreshCiscoCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{13} } +func (m *RouteRefreshCiscoCapability) Reset() { *m = RouteRefreshCiscoCapability{} } +func (m *RouteRefreshCiscoCapability) String() string { return proto.CompactTextString(m) } +func (*RouteRefreshCiscoCapability) ProtoMessage() {} +func (*RouteRefreshCiscoCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{13} +} + +func (m *RouteRefreshCiscoCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteRefreshCiscoCapability.Unmarshal(m, b) +} +func (m *RouteRefreshCiscoCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteRefreshCiscoCapability.Marshal(b, m, deterministic) +} +func (m *RouteRefreshCiscoCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteRefreshCiscoCapability.Merge(m, src) +} +func (m *RouteRefreshCiscoCapability) XXX_Size() int { + return xxx_messageInfo_RouteRefreshCiscoCapability.Size(m) +} +func (m *RouteRefreshCiscoCapability) XXX_DiscardUnknown() { + xxx_messageInfo_RouteRefreshCiscoCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteRefreshCiscoCapability proto.InternalMessageInfo type UnknownCapability struct { - Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *UnknownCapability) Reset() { *m = UnknownCapability{} } -func (m *UnknownCapability) String() string { return proto.CompactTextString(m) } -func (*UnknownCapability) ProtoMessage() {} -func (*UnknownCapability) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{14} } +func (m *UnknownCapability) Reset() { *m = UnknownCapability{} } +func (m *UnknownCapability) String() string { return proto.CompactTextString(m) } +func (*UnknownCapability) ProtoMessage() {} +func (*UnknownCapability) Descriptor() ([]byte, []int) { + return fileDescriptor_f2310f95efbbe3ac, []int{14} +} + +func (m *UnknownCapability) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnknownCapability.Unmarshal(m, b) +} +func (m *UnknownCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnknownCapability.Marshal(b, m, deterministic) +} +func (m *UnknownCapability) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnknownCapability.Merge(m, src) +} +func (m *UnknownCapability) XXX_Size() int { + return xxx_messageInfo_UnknownCapability.Size(m) +} +func (m *UnknownCapability) XXX_DiscardUnknown() { + xxx_messageInfo_UnknownCapability.DiscardUnknown(m) +} + +var xxx_messageInfo_UnknownCapability proto.InternalMessageInfo func (m *UnknownCapability) GetCode() uint32 { if m != nil { @@ -323,6 +674,7 @@ func (m *UnknownCapability) GetValue() []byte { } func init() { + proto.RegisterEnum("gobgpapi.AddPathMode", AddPathMode_name, AddPathMode_value) proto.RegisterType((*MultiProtocolCapability)(nil), "gobgpapi.MultiProtocolCapability") proto.RegisterType((*RouteRefreshCapability)(nil), "gobgpapi.RouteRefreshCapability") proto.RegisterType((*CarryingLabelInfoCapability)(nil), "gobgpapi.CarryingLabelInfoCapability") @@ -338,12 +690,11 @@ func init() { proto.RegisterType((*LongLivedGracefulRestartCapability)(nil), "gobgpapi.LongLivedGracefulRestartCapability") proto.RegisterType((*RouteRefreshCiscoCapability)(nil), "gobgpapi.RouteRefreshCiscoCapability") proto.RegisterType((*UnknownCapability)(nil), "gobgpapi.UnknownCapability") - proto.RegisterEnum("gobgpapi.AddPathMode", AddPathMode_name, AddPathMode_value) } -func init() { proto.RegisterFile("capability.proto", fileDescriptor1) } +func init() { proto.RegisterFile("capability.proto", fileDescriptor_f2310f95efbbe3ac) } -var fileDescriptor1 = []byte{ +var fileDescriptor_f2310f95efbbe3ac = []byte{ // 520 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x4d, 0x6f, 0xd3, 0x40, 0x10, 0xc5, 0x49, 0x88, 0x60, 0xd2, 0x44, 0xee, 0x0a, 0x4a, 0x4a, 0xd4, 0x28, 0xda, 0x0b, 0x01, diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go index 1fd50a287..5bddbd59a 100644 --- a/api/gobgp.pb.go +++ b/api/gobgp.pb.go @@ -3,16 +3,17 @@ package gobgpapi -import proto "github.com/golang/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/golang/protobuf/ptypes/any" -import google_protobuf1 "github.com/golang/protobuf/ptypes/empty" -import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp" - import ( - context "golang.org/x/net/context" + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + any "github.com/golang/protobuf/ptypes/any" + empty "github.com/golang/protobuf/ptypes/empty" + timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -20,6 +21,12 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + type TableType int32 const ( @@ -37,6 +44,7 @@ var TableType_name = map[int32]string{ 3: "ADJ_OUT", 4: "VRF", } + var TableType_value = map[string]int32{ "GLOBAL": 0, "LOCAL": 1, @@ -48,7 +56,10 @@ var TableType_value = map[string]int32{ func (x TableType) String() string { return proto.EnumName(TableType_name, int32(x)) } -func (TableType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } + +func (TableType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{0} +} // API representation of table.LookupOption type TableLookupOption int32 @@ -64,6 +75,7 @@ var TableLookupOption_name = map[int32]string{ 1: "LOOKUP_LONGER", 2: "LOOKUP_SHORTER", } + var TableLookupOption_value = map[string]int32{ "LOOKUP_EXACT": 0, "LOOKUP_LONGER": 1, @@ -73,7 +85,10 @@ var TableLookupOption_value = map[string]int32{ func (x TableLookupOption) String() string { return proto.EnumName(TableLookupOption_name, int32(x)) } -func (TableLookupOption) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } + +func (TableLookupOption) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{1} +} type DefinedType int32 @@ -98,6 +113,7 @@ var DefinedType_name = map[int32]string{ 6: "LARGE_COMMUNITY", 7: "NEXT_HOP", } + var DefinedType_value = map[string]int32{ "PREFIX": 0, "NEIGHBOR": 1, @@ -112,7 +128,10 @@ var DefinedType_value = map[string]int32{ func (x DefinedType) String() string { return proto.EnumName(DefinedType_name, int32(x)) } -func (DefinedType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{2} } + +func (DefinedType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{2} +} type MatchType int32 @@ -127,6 +146,7 @@ var MatchType_name = map[int32]string{ 1: "ALL", 2: "INVERT", } + var MatchType_value = map[string]int32{ "ANY": 0, "ALL": 1, @@ -136,7 +156,10 @@ var MatchType_value = map[string]int32{ func (x MatchType) String() string { return proto.EnumName(MatchType_name, int32(x)) } -func (MatchType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{3} } + +func (MatchType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{3} +} type AsPathLengthType int32 @@ -151,6 +174,7 @@ var AsPathLengthType_name = map[int32]string{ 1: "GE", 2: "LE", } + var AsPathLengthType_value = map[string]int32{ "EQ": 0, "GE": 1, @@ -160,7 +184,10 @@ var AsPathLengthType_value = map[string]int32{ func (x AsPathLengthType) String() string { return proto.EnumName(AsPathLengthType_name, int32(x)) } -func (AsPathLengthType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{4} } + +func (AsPathLengthType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{4} +} type RouteAction int32 @@ -175,6 +202,7 @@ var RouteAction_name = map[int32]string{ 1: "ACCEPT", 2: "REJECT", } + var RouteAction_value = map[string]int32{ "NONE": 0, "ACCEPT": 1, @@ -184,7 +212,10 @@ var RouteAction_value = map[string]int32{ func (x RouteAction) String() string { return proto.EnumName(RouteAction_name, int32(x)) } -func (RouteAction) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{5} } + +func (RouteAction) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{5} +} type CommunityActionType int32 @@ -199,6 +230,7 @@ var CommunityActionType_name = map[int32]string{ 1: "COMMUNITY_REMOVE", 2: "COMMUNITY_REPLACE", } + var CommunityActionType_value = map[string]int32{ "COMMUNITY_ADD": 0, "COMMUNITY_REMOVE": 1, @@ -208,7 +240,10 @@ var CommunityActionType_value = map[string]int32{ func (x CommunityActionType) String() string { return proto.EnumName(CommunityActionType_name, int32(x)) } -func (CommunityActionType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{6} } + +func (CommunityActionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{6} +} type MedActionType int32 @@ -221,6 +256,7 @@ var MedActionType_name = map[int32]string{ 0: "MED_MOD", 1: "MED_REPLACE", } + var MedActionType_value = map[string]int32{ "MED_MOD": 0, "MED_REPLACE": 1, @@ -229,7 +265,10 @@ var MedActionType_value = map[string]int32{ func (x MedActionType) String() string { return proto.EnumName(MedActionType_name, int32(x)) } -func (MedActionType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{7} } + +func (MedActionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{7} +} type PolicyDirection int32 @@ -244,6 +283,7 @@ var PolicyDirection_name = map[int32]string{ 1: "IMPORT", 2: "EXPORT", } + var PolicyDirection_value = map[string]int32{ "UNKNOWN": 0, "IMPORT": 1, @@ -253,7 +293,10 @@ var PolicyDirection_value = map[string]int32{ func (x PolicyDirection) String() string { return proto.EnumName(PolicyDirection_name, int32(x)) } -func (PolicyDirection) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{8} } + +func (PolicyDirection) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{8} +} type ResetPeerRequest_SoftResetDirection int32 @@ -268,6 +311,7 @@ var ResetPeerRequest_SoftResetDirection_name = map[int32]string{ 1: "OUT", 2: "BOTH", } + var ResetPeerRequest_SoftResetDirection_value = map[string]int32{ "IN": 0, "OUT": 1, @@ -277,8 +321,9 @@ var ResetPeerRequest_SoftResetDirection_value = map[string]int32{ func (x ResetPeerRequest_SoftResetDirection) String() string { return proto.EnumName(ResetPeerRequest_SoftResetDirection_name, int32(x)) } + func (ResetPeerRequest_SoftResetDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{10, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{10, 0} } type ListPathRequest_SortType int32 @@ -292,6 +337,7 @@ var ListPathRequest_SortType_name = map[int32]string{ 0: "NONE", 1: "PREFIX", } + var ListPathRequest_SortType_value = map[string]int32{ "NONE": 0, "PREFIX": 1, @@ -300,8 +346,9 @@ var ListPathRequest_SortType_value = map[string]int32{ func (x ListPathRequest_SortType) String() string { return proto.EnumName(ListPathRequest_SortType_name, int32(x)) } + func (ListPathRequest_SortType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{24, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{24, 0} } type AddBmpRequest_MonitoringPolicy int32 @@ -321,6 +368,7 @@ var AddBmpRequest_MonitoringPolicy_name = map[int32]string{ 3: "LOCAL", 4: "ALL", } + var AddBmpRequest_MonitoringPolicy_value = map[string]int32{ "PRE": 0, "POST": 1, @@ -332,8 +380,9 @@ var AddBmpRequest_MonitoringPolicy_value = map[string]int32{ func (x AddBmpRequest_MonitoringPolicy) String() string { return proto.EnumName(AddBmpRequest_MonitoringPolicy_name, int32(x)) } + func (AddBmpRequest_MonitoringPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{65, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{65, 0} } type Family_Afi int32 @@ -355,6 +404,7 @@ var Family_Afi_name = map[int32]string{ 16388: "AFI_LS", 16397: "AFI_OPAQUE", } + var Family_Afi_value = map[string]int32{ "AFI_UNKNOWN": 0, "AFI_IP": 1, @@ -367,7 +417,10 @@ var Family_Afi_value = map[string]int32{ func (x Family_Afi) String() string { return proto.EnumName(Family_Afi_name, int32(x)) } -func (Family_Afi) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{67, 0} } + +func (Family_Afi) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{67, 0} +} type Family_Safi int32 @@ -404,6 +457,7 @@ var Family_Safi_name = map[int32]string{ 134: "SAFI_FLOW_SPEC_VPN", 241: "SAFI_KEY_VALUE", } + var Family_Safi_value = map[string]int32{ "SAFI_UNKNOWN": 0, "SAFI_UNICAST": 1, @@ -424,7 +478,10 @@ var Family_Safi_value = map[string]int32{ func (x Family_Safi) String() string { return proto.EnumName(Family_Safi_name, int32(x)) } -func (Family_Safi) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{67, 1} } + +func (Family_Safi) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{67, 1} +} type Validation_State int32 @@ -441,6 +498,7 @@ var Validation_State_name = map[int32]string{ 2: "STATE_VALID", 3: "STATE_INVALID", } + var Validation_State_value = map[string]int32{ "STATE_NONE": 0, "STATE_NOT_FOUND": 1, @@ -451,7 +509,10 @@ var Validation_State_value = map[string]int32{ func (x Validation_State) String() string { return proto.EnumName(Validation_State_name, int32(x)) } -func (Validation_State) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{68, 0} } + +func (Validation_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{68, 0} +} type Validation_Reason int32 @@ -466,6 +527,7 @@ var Validation_Reason_name = map[int32]string{ 1: "REASON_AS", 2: "REASON_LENGTH", } + var Validation_Reason_value = map[string]int32{ "REASOT_NONE": 0, "REASON_AS": 1, @@ -475,7 +537,10 @@ var Validation_Reason_value = map[string]int32{ func (x Validation_Reason) String() string { return proto.EnumName(Validation_Reason_name, int32(x)) } -func (Validation_Reason) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{68, 1} } + +func (Validation_Reason) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{68, 1} +} type PeerConf_RemovePrivateAs int32 @@ -490,6 +555,7 @@ var PeerConf_RemovePrivateAs_name = map[int32]string{ 1: "ALL", 2: "REPLACE", } + var PeerConf_RemovePrivateAs_value = map[string]int32{ "NONE": 0, "ALL": 1, @@ -499,8 +565,9 @@ var PeerConf_RemovePrivateAs_value = map[string]int32{ func (x PeerConf_RemovePrivateAs) String() string { return proto.EnumName(PeerConf_RemovePrivateAs_name, int32(x)) } + func (PeerConf_RemovePrivateAs) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{77, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{77, 0} } type PeerGroupConf_RemovePrivateAs int32 @@ -516,6 +583,7 @@ var PeerGroupConf_RemovePrivateAs_name = map[int32]string{ 1: "ALL", 2: "REPLACE", } + var PeerGroupConf_RemovePrivateAs_value = map[string]int32{ "NONE": 0, "ALL": 1, @@ -525,8 +593,9 @@ var PeerGroupConf_RemovePrivateAs_value = map[string]int32{ func (x PeerGroupConf_RemovePrivateAs) String() string { return proto.EnumName(PeerGroupConf_RemovePrivateAs_name, int32(x)) } + func (PeerGroupConf_RemovePrivateAs) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{78, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{78, 0} } type PeerGroupState_RemovePrivateAs int32 @@ -542,6 +611,7 @@ var PeerGroupState_RemovePrivateAs_name = map[int32]string{ 1: "ALL", 2: "REPLACE", } + var PeerGroupState_RemovePrivateAs_value = map[string]int32{ "NONE": 0, "ALL": 1, @@ -551,8 +621,9 @@ var PeerGroupState_RemovePrivateAs_value = map[string]int32{ func (x PeerGroupState_RemovePrivateAs) String() string { return proto.EnumName(PeerGroupState_RemovePrivateAs_name, int32(x)) } + func (PeerGroupState_RemovePrivateAs) EnumDescriptor() ([]byte, []int) { - return fileDescriptor2, []int{79, 0} + return fileDescriptor_7cc8e5cf92decdb2, []int{79, 0} } type PeerState_SessionState int32 @@ -576,6 +647,7 @@ var PeerState_SessionState_name = map[int32]string{ 5: "OPENCONFIRM", 6: "ESTABLISHED", } + var PeerState_SessionState_value = map[string]int32{ "UNKNOWN": 0, "IDLE": 1, @@ -589,7 +661,10 @@ var PeerState_SessionState_value = map[string]int32{ func (x PeerState_SessionState) String() string { return proto.EnumName(PeerState_SessionState_name, int32(x)) } -func (PeerState_SessionState) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{82, 0} } + +func (PeerState_SessionState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{82, 0} +} type PeerState_AdminState int32 @@ -604,6 +679,7 @@ var PeerState_AdminState_name = map[int32]string{ 1: "DOWN", 2: "PFX_CT", } + var PeerState_AdminState_value = map[string]int32{ "UP": 0, "DOWN": 1, @@ -613,7 +689,10 @@ var PeerState_AdminState_value = map[string]int32{ func (x PeerState_AdminState) String() string { return proto.EnumName(PeerState_AdminState_name, int32(x)) } -func (PeerState_AdminState) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{82, 1} } + +func (PeerState_AdminState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{82, 1} +} type Conditions_RouteType int32 @@ -630,6 +709,7 @@ var Conditions_RouteType_name = map[int32]string{ 2: "ROUTE_TYPE_EXTERNAL", 3: "ROUTE_TYPE_LOCAL", } + var Conditions_RouteType_value = map[string]int32{ "ROUTE_TYPE_NONE": 0, "ROUTE_TYPE_INTERNAL": 1, @@ -640,16 +720,42 @@ var Conditions_RouteType_value = map[string]int32{ func (x Conditions_RouteType) String() string { return proto.EnumName(Conditions_RouteType_name, int32(x)) } -func (Conditions_RouteType) EnumDescriptor() ([]byte, []int) { return fileDescriptor2, []int{123, 0} } + +func (Conditions_RouteType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{123, 0} +} type StartBgpRequest struct { - Global *Global `protobuf:"bytes,1,opt,name=global" json:"global,omitempty"` + Global *Global `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartBgpRequest) Reset() { *m = StartBgpRequest{} } +func (m *StartBgpRequest) String() string { return proto.CompactTextString(m) } +func (*StartBgpRequest) ProtoMessage() {} +func (*StartBgpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{0} +} + +func (m *StartBgpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StartBgpRequest.Unmarshal(m, b) +} +func (m *StartBgpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StartBgpRequest.Marshal(b, m, deterministic) +} +func (m *StartBgpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartBgpRequest.Merge(m, src) +} +func (m *StartBgpRequest) XXX_Size() int { + return xxx_messageInfo_StartBgpRequest.Size(m) +} +func (m *StartBgpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartBgpRequest.DiscardUnknown(m) } -func (m *StartBgpRequest) Reset() { *m = StartBgpRequest{} } -func (m *StartBgpRequest) String() string { return proto.CompactTextString(m) } -func (*StartBgpRequest) ProtoMessage() {} -func (*StartBgpRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} } +var xxx_messageInfo_StartBgpRequest proto.InternalMessageInfo func (m *StartBgpRequest) GetGlobal() *Global { if m != nil { @@ -659,29 +765,98 @@ func (m *StartBgpRequest) GetGlobal() *Global { } type StopBgpRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StopBgpRequest) Reset() { *m = StopBgpRequest{} } +func (m *StopBgpRequest) String() string { return proto.CompactTextString(m) } +func (*StopBgpRequest) ProtoMessage() {} +func (*StopBgpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{1} +} + +func (m *StopBgpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StopBgpRequest.Unmarshal(m, b) +} +func (m *StopBgpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StopBgpRequest.Marshal(b, m, deterministic) +} +func (m *StopBgpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StopBgpRequest.Merge(m, src) +} +func (m *StopBgpRequest) XXX_Size() int { + return xxx_messageInfo_StopBgpRequest.Size(m) +} +func (m *StopBgpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StopBgpRequest.DiscardUnknown(m) } -func (m *StopBgpRequest) Reset() { *m = StopBgpRequest{} } -func (m *StopBgpRequest) String() string { return proto.CompactTextString(m) } -func (*StopBgpRequest) ProtoMessage() {} -func (*StopBgpRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} } +var xxx_messageInfo_StopBgpRequest proto.InternalMessageInfo type GetBgpRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBgpRequest) Reset() { *m = GetBgpRequest{} } +func (m *GetBgpRequest) String() string { return proto.CompactTextString(m) } +func (*GetBgpRequest) ProtoMessage() {} +func (*GetBgpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{2} +} + +func (m *GetBgpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBgpRequest.Unmarshal(m, b) +} +func (m *GetBgpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBgpRequest.Marshal(b, m, deterministic) +} +func (m *GetBgpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBgpRequest.Merge(m, src) +} +func (m *GetBgpRequest) XXX_Size() int { + return xxx_messageInfo_GetBgpRequest.Size(m) +} +func (m *GetBgpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBgpRequest.DiscardUnknown(m) } -func (m *GetBgpRequest) Reset() { *m = GetBgpRequest{} } -func (m *GetBgpRequest) String() string { return proto.CompactTextString(m) } -func (*GetBgpRequest) ProtoMessage() {} -func (*GetBgpRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} } +var xxx_messageInfo_GetBgpRequest proto.InternalMessageInfo type GetBgpResponse struct { - Global *Global `protobuf:"bytes,1,opt,name=global" json:"global,omitempty"` + Global *Global `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBgpResponse) Reset() { *m = GetBgpResponse{} } +func (m *GetBgpResponse) String() string { return proto.CompactTextString(m) } +func (*GetBgpResponse) ProtoMessage() {} +func (*GetBgpResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{3} +} + +func (m *GetBgpResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBgpResponse.Unmarshal(m, b) +} +func (m *GetBgpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBgpResponse.Marshal(b, m, deterministic) +} +func (m *GetBgpResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBgpResponse.Merge(m, src) +} +func (m *GetBgpResponse) XXX_Size() int { + return xxx_messageInfo_GetBgpResponse.Size(m) +} +func (m *GetBgpResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBgpResponse.DiscardUnknown(m) } -func (m *GetBgpResponse) Reset() { *m = GetBgpResponse{} } -func (m *GetBgpResponse) String() string { return proto.CompactTextString(m) } -func (*GetBgpResponse) ProtoMessage() {} -func (*GetBgpResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{3} } +var xxx_messageInfo_GetBgpResponse proto.InternalMessageInfo func (m *GetBgpResponse) GetGlobal() *Global { if m != nil { @@ -691,13 +866,36 @@ func (m *GetBgpResponse) GetGlobal() *Global { } type AddPeerRequest struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPeerRequest) Reset() { *m = AddPeerRequest{} } +func (m *AddPeerRequest) String() string { return proto.CompactTextString(m) } +func (*AddPeerRequest) ProtoMessage() {} +func (*AddPeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{4} +} + +func (m *AddPeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPeerRequest.Unmarshal(m, b) +} +func (m *AddPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPeerRequest.Marshal(b, m, deterministic) +} +func (m *AddPeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPeerRequest.Merge(m, src) +} +func (m *AddPeerRequest) XXX_Size() int { + return xxx_messageInfo_AddPeerRequest.Size(m) +} +func (m *AddPeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPeerRequest.DiscardUnknown(m) } -func (m *AddPeerRequest) Reset() { *m = AddPeerRequest{} } -func (m *AddPeerRequest) String() string { return proto.CompactTextString(m) } -func (*AddPeerRequest) ProtoMessage() {} -func (*AddPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{4} } +var xxx_messageInfo_AddPeerRequest proto.InternalMessageInfo func (m *AddPeerRequest) GetPeer() *Peer { if m != nil { @@ -707,14 +905,37 @@ func (m *AddPeerRequest) GetPeer() *Peer { } type DeletePeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Interface string `protobuf:"bytes,2,opt,name=interface" json:"interface,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeletePeerRequest) Reset() { *m = DeletePeerRequest{} } +func (m *DeletePeerRequest) String() string { return proto.CompactTextString(m) } +func (*DeletePeerRequest) ProtoMessage() {} +func (*DeletePeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{5} +} + +func (m *DeletePeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeletePeerRequest.Unmarshal(m, b) +} +func (m *DeletePeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeletePeerRequest.Marshal(b, m, deterministic) +} +func (m *DeletePeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeletePeerRequest.Merge(m, src) +} +func (m *DeletePeerRequest) XXX_Size() int { + return xxx_messageInfo_DeletePeerRequest.Size(m) +} +func (m *DeletePeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeletePeerRequest.DiscardUnknown(m) } -func (m *DeletePeerRequest) Reset() { *m = DeletePeerRequest{} } -func (m *DeletePeerRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePeerRequest) ProtoMessage() {} -func (*DeletePeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{5} } +var xxx_messageInfo_DeletePeerRequest proto.InternalMessageInfo func (m *DeletePeerRequest) GetAddress() string { if m != nil { @@ -731,14 +952,37 @@ func (m *DeletePeerRequest) GetInterface() string { } type ListPeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - EnableAdvertised bool `protobuf:"varint,2,opt,name=enableAdvertised" json:"enableAdvertised,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + EnableAdvertised bool `protobuf:"varint,2,opt,name=enableAdvertised,proto3" json:"enableAdvertised,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPeerRequest) Reset() { *m = ListPeerRequest{} } +func (m *ListPeerRequest) String() string { return proto.CompactTextString(m) } +func (*ListPeerRequest) ProtoMessage() {} +func (*ListPeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{6} +} + +func (m *ListPeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPeerRequest.Unmarshal(m, b) +} +func (m *ListPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPeerRequest.Marshal(b, m, deterministic) +} +func (m *ListPeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPeerRequest.Merge(m, src) +} +func (m *ListPeerRequest) XXX_Size() int { + return xxx_messageInfo_ListPeerRequest.Size(m) +} +func (m *ListPeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPeerRequest.DiscardUnknown(m) } -func (m *ListPeerRequest) Reset() { *m = ListPeerRequest{} } -func (m *ListPeerRequest) String() string { return proto.CompactTextString(m) } -func (*ListPeerRequest) ProtoMessage() {} -func (*ListPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{6} } +var xxx_messageInfo_ListPeerRequest proto.InternalMessageInfo func (m *ListPeerRequest) GetAddress() string { if m != nil { @@ -755,13 +999,36 @@ func (m *ListPeerRequest) GetEnableAdvertised() bool { } type ListPeerResponse struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPeerResponse) Reset() { *m = ListPeerResponse{} } +func (m *ListPeerResponse) String() string { return proto.CompactTextString(m) } +func (*ListPeerResponse) ProtoMessage() {} +func (*ListPeerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{7} +} + +func (m *ListPeerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPeerResponse.Unmarshal(m, b) +} +func (m *ListPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPeerResponse.Marshal(b, m, deterministic) +} +func (m *ListPeerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPeerResponse.Merge(m, src) +} +func (m *ListPeerResponse) XXX_Size() int { + return xxx_messageInfo_ListPeerResponse.Size(m) +} +func (m *ListPeerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPeerResponse.DiscardUnknown(m) } -func (m *ListPeerResponse) Reset() { *m = ListPeerResponse{} } -func (m *ListPeerResponse) String() string { return proto.CompactTextString(m) } -func (*ListPeerResponse) ProtoMessage() {} -func (*ListPeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{7} } +var xxx_messageInfo_ListPeerResponse proto.InternalMessageInfo func (m *ListPeerResponse) GetPeer() *Peer { if m != nil { @@ -771,15 +1038,38 @@ func (m *ListPeerResponse) GetPeer() *Peer { } type UpdatePeerRequest struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` // Calls SoftResetIn after updating the peer configuration if needed. - DoSoftResetIn bool `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn" json:"do_soft_reset_in,omitempty"` + DoSoftResetIn bool `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn,proto3" json:"do_soft_reset_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdatePeerRequest) Reset() { *m = UpdatePeerRequest{} } +func (m *UpdatePeerRequest) String() string { return proto.CompactTextString(m) } +func (*UpdatePeerRequest) ProtoMessage() {} +func (*UpdatePeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{8} +} + +func (m *UpdatePeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdatePeerRequest.Unmarshal(m, b) +} +func (m *UpdatePeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdatePeerRequest.Marshal(b, m, deterministic) +} +func (m *UpdatePeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdatePeerRequest.Merge(m, src) +} +func (m *UpdatePeerRequest) XXX_Size() int { + return xxx_messageInfo_UpdatePeerRequest.Size(m) +} +func (m *UpdatePeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdatePeerRequest.DiscardUnknown(m) } -func (m *UpdatePeerRequest) Reset() { *m = UpdatePeerRequest{} } -func (m *UpdatePeerRequest) String() string { return proto.CompactTextString(m) } -func (*UpdatePeerRequest) ProtoMessage() {} -func (*UpdatePeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{8} } +var xxx_messageInfo_UpdatePeerRequest proto.InternalMessageInfo func (m *UpdatePeerRequest) GetPeer() *Peer { if m != nil { @@ -800,13 +1090,36 @@ type UpdatePeerResponse struct { // "true" is set, the client should call SoftResetIn manually. If // "do_soft_reset_in = true" is set in the request, always returned with // "false". - NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn" json:"needs_soft_reset_in,omitempty"` + NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn,proto3" json:"needs_soft_reset_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdatePeerResponse) Reset() { *m = UpdatePeerResponse{} } +func (m *UpdatePeerResponse) String() string { return proto.CompactTextString(m) } +func (*UpdatePeerResponse) ProtoMessage() {} +func (*UpdatePeerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{9} +} + +func (m *UpdatePeerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdatePeerResponse.Unmarshal(m, b) +} +func (m *UpdatePeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdatePeerResponse.Marshal(b, m, deterministic) +} +func (m *UpdatePeerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdatePeerResponse.Merge(m, src) +} +func (m *UpdatePeerResponse) XXX_Size() int { + return xxx_messageInfo_UpdatePeerResponse.Size(m) +} +func (m *UpdatePeerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdatePeerResponse.DiscardUnknown(m) } -func (m *UpdatePeerResponse) Reset() { *m = UpdatePeerResponse{} } -func (m *UpdatePeerResponse) String() string { return proto.CompactTextString(m) } -func (*UpdatePeerResponse) ProtoMessage() {} -func (*UpdatePeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{9} } +var xxx_messageInfo_UpdatePeerResponse proto.InternalMessageInfo func (m *UpdatePeerResponse) GetNeedsSoftResetIn() bool { if m != nil { @@ -816,16 +1129,39 @@ func (m *UpdatePeerResponse) GetNeedsSoftResetIn() bool { } type ResetPeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"` - Soft bool `protobuf:"varint,3,opt,name=soft" json:"soft,omitempty"` - Direction ResetPeerRequest_SoftResetDirection `protobuf:"varint,4,opt,name=direction,enum=gobgpapi.ResetPeerRequest_SoftResetDirection" json:"direction,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Communication string `protobuf:"bytes,2,opt,name=communication,proto3" json:"communication,omitempty"` + Soft bool `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"` + Direction ResetPeerRequest_SoftResetDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=gobgpapi.ResetPeerRequest_SoftResetDirection" json:"direction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetPeerRequest) Reset() { *m = ResetPeerRequest{} } +func (m *ResetPeerRequest) String() string { return proto.CompactTextString(m) } +func (*ResetPeerRequest) ProtoMessage() {} +func (*ResetPeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{10} +} + +func (m *ResetPeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResetPeerRequest.Unmarshal(m, b) +} +func (m *ResetPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResetPeerRequest.Marshal(b, m, deterministic) +} +func (m *ResetPeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetPeerRequest.Merge(m, src) +} +func (m *ResetPeerRequest) XXX_Size() int { + return xxx_messageInfo_ResetPeerRequest.Size(m) +} +func (m *ResetPeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResetPeerRequest.DiscardUnknown(m) } -func (m *ResetPeerRequest) Reset() { *m = ResetPeerRequest{} } -func (m *ResetPeerRequest) String() string { return proto.CompactTextString(m) } -func (*ResetPeerRequest) ProtoMessage() {} -func (*ResetPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{10} } +var xxx_messageInfo_ResetPeerRequest proto.InternalMessageInfo func (m *ResetPeerRequest) GetAddress() string { if m != nil { @@ -856,14 +1192,37 @@ func (m *ResetPeerRequest) GetDirection() ResetPeerRequest_SoftResetDirection { } type ShutdownPeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Communication string `protobuf:"bytes,2,opt,name=communication,proto3" json:"communication,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ShutdownPeerRequest) Reset() { *m = ShutdownPeerRequest{} } +func (m *ShutdownPeerRequest) String() string { return proto.CompactTextString(m) } +func (*ShutdownPeerRequest) ProtoMessage() {} +func (*ShutdownPeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{11} +} + +func (m *ShutdownPeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ShutdownPeerRequest.Unmarshal(m, b) +} +func (m *ShutdownPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ShutdownPeerRequest.Marshal(b, m, deterministic) +} +func (m *ShutdownPeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShutdownPeerRequest.Merge(m, src) +} +func (m *ShutdownPeerRequest) XXX_Size() int { + return xxx_messageInfo_ShutdownPeerRequest.Size(m) +} +func (m *ShutdownPeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ShutdownPeerRequest.DiscardUnknown(m) } -func (m *ShutdownPeerRequest) Reset() { *m = ShutdownPeerRequest{} } -func (m *ShutdownPeerRequest) String() string { return proto.CompactTextString(m) } -func (*ShutdownPeerRequest) ProtoMessage() {} -func (*ShutdownPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{11} } +var xxx_messageInfo_ShutdownPeerRequest proto.InternalMessageInfo func (m *ShutdownPeerRequest) GetAddress() string { if m != nil { @@ -880,13 +1239,36 @@ func (m *ShutdownPeerRequest) GetCommunication() string { } type EnablePeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnablePeerRequest) Reset() { *m = EnablePeerRequest{} } +func (m *EnablePeerRequest) String() string { return proto.CompactTextString(m) } +func (*EnablePeerRequest) ProtoMessage() {} +func (*EnablePeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{12} +} + +func (m *EnablePeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnablePeerRequest.Unmarshal(m, b) +} +func (m *EnablePeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnablePeerRequest.Marshal(b, m, deterministic) +} +func (m *EnablePeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnablePeerRequest.Merge(m, src) +} +func (m *EnablePeerRequest) XXX_Size() int { + return xxx_messageInfo_EnablePeerRequest.Size(m) +} +func (m *EnablePeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EnablePeerRequest.DiscardUnknown(m) } -func (m *EnablePeerRequest) Reset() { *m = EnablePeerRequest{} } -func (m *EnablePeerRequest) String() string { return proto.CompactTextString(m) } -func (*EnablePeerRequest) ProtoMessage() {} -func (*EnablePeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{12} } +var xxx_messageInfo_EnablePeerRequest proto.InternalMessageInfo func (m *EnablePeerRequest) GetAddress() string { if m != nil { @@ -896,14 +1278,37 @@ func (m *EnablePeerRequest) GetAddress() string { } type DisablePeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Communication string `protobuf:"bytes,2,opt,name=communication,proto3" json:"communication,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisablePeerRequest) Reset() { *m = DisablePeerRequest{} } +func (m *DisablePeerRequest) String() string { return proto.CompactTextString(m) } +func (*DisablePeerRequest) ProtoMessage() {} +func (*DisablePeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{13} +} + +func (m *DisablePeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisablePeerRequest.Unmarshal(m, b) +} +func (m *DisablePeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisablePeerRequest.Marshal(b, m, deterministic) +} +func (m *DisablePeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisablePeerRequest.Merge(m, src) +} +func (m *DisablePeerRequest) XXX_Size() int { + return xxx_messageInfo_DisablePeerRequest.Size(m) +} +func (m *DisablePeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisablePeerRequest.DiscardUnknown(m) } -func (m *DisablePeerRequest) Reset() { *m = DisablePeerRequest{} } -func (m *DisablePeerRequest) String() string { return proto.CompactTextString(m) } -func (*DisablePeerRequest) ProtoMessage() {} -func (*DisablePeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{13} } +var xxx_messageInfo_DisablePeerRequest proto.InternalMessageInfo func (m *DisablePeerRequest) GetAddress() string { if m != nil { @@ -920,14 +1325,37 @@ func (m *DisablePeerRequest) GetCommunication() string { } type MonitorPeerRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Current bool `protobuf:"varint,2,opt,name=current" json:"current,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Current bool `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MonitorPeerRequest) Reset() { *m = MonitorPeerRequest{} } +func (m *MonitorPeerRequest) String() string { return proto.CompactTextString(m) } +func (*MonitorPeerRequest) ProtoMessage() {} +func (*MonitorPeerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{14} +} + +func (m *MonitorPeerRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MonitorPeerRequest.Unmarshal(m, b) +} +func (m *MonitorPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MonitorPeerRequest.Marshal(b, m, deterministic) +} +func (m *MonitorPeerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MonitorPeerRequest.Merge(m, src) +} +func (m *MonitorPeerRequest) XXX_Size() int { + return xxx_messageInfo_MonitorPeerRequest.Size(m) +} +func (m *MonitorPeerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MonitorPeerRequest.DiscardUnknown(m) } -func (m *MonitorPeerRequest) Reset() { *m = MonitorPeerRequest{} } -func (m *MonitorPeerRequest) String() string { return proto.CompactTextString(m) } -func (*MonitorPeerRequest) ProtoMessage() {} -func (*MonitorPeerRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{14} } +var xxx_messageInfo_MonitorPeerRequest proto.InternalMessageInfo func (m *MonitorPeerRequest) GetAddress() string { if m != nil { @@ -944,13 +1372,36 @@ func (m *MonitorPeerRequest) GetCurrent() bool { } type MonitorPeerResponse struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MonitorPeerResponse) Reset() { *m = MonitorPeerResponse{} } +func (m *MonitorPeerResponse) String() string { return proto.CompactTextString(m) } +func (*MonitorPeerResponse) ProtoMessage() {} +func (*MonitorPeerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{15} +} + +func (m *MonitorPeerResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MonitorPeerResponse.Unmarshal(m, b) +} +func (m *MonitorPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MonitorPeerResponse.Marshal(b, m, deterministic) +} +func (m *MonitorPeerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MonitorPeerResponse.Merge(m, src) +} +func (m *MonitorPeerResponse) XXX_Size() int { + return xxx_messageInfo_MonitorPeerResponse.Size(m) +} +func (m *MonitorPeerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MonitorPeerResponse.DiscardUnknown(m) } -func (m *MonitorPeerResponse) Reset() { *m = MonitorPeerResponse{} } -func (m *MonitorPeerResponse) String() string { return proto.CompactTextString(m) } -func (*MonitorPeerResponse) ProtoMessage() {} -func (*MonitorPeerResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{15} } +var xxx_messageInfo_MonitorPeerResponse proto.InternalMessageInfo func (m *MonitorPeerResponse) GetPeer() *Peer { if m != nil { @@ -960,13 +1411,36 @@ func (m *MonitorPeerResponse) GetPeer() *Peer { } type AddPeerGroupRequest struct { - PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"` + PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPeerGroupRequest) Reset() { *m = AddPeerGroupRequest{} } +func (m *AddPeerGroupRequest) String() string { return proto.CompactTextString(m) } +func (*AddPeerGroupRequest) ProtoMessage() {} +func (*AddPeerGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{16} +} + +func (m *AddPeerGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPeerGroupRequest.Unmarshal(m, b) +} +func (m *AddPeerGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPeerGroupRequest.Marshal(b, m, deterministic) +} +func (m *AddPeerGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPeerGroupRequest.Merge(m, src) +} +func (m *AddPeerGroupRequest) XXX_Size() int { + return xxx_messageInfo_AddPeerGroupRequest.Size(m) +} +func (m *AddPeerGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPeerGroupRequest.DiscardUnknown(m) } -func (m *AddPeerGroupRequest) Reset() { *m = AddPeerGroupRequest{} } -func (m *AddPeerGroupRequest) String() string { return proto.CompactTextString(m) } -func (*AddPeerGroupRequest) ProtoMessage() {} -func (*AddPeerGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{16} } +var xxx_messageInfo_AddPeerGroupRequest proto.InternalMessageInfo func (m *AddPeerGroupRequest) GetPeerGroup() *PeerGroup { if m != nil { @@ -976,13 +1450,36 @@ func (m *AddPeerGroupRequest) GetPeerGroup() *PeerGroup { } type DeletePeerGroupRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeletePeerGroupRequest) Reset() { *m = DeletePeerGroupRequest{} } +func (m *DeletePeerGroupRequest) String() string { return proto.CompactTextString(m) } +func (*DeletePeerGroupRequest) ProtoMessage() {} +func (*DeletePeerGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{17} +} + +func (m *DeletePeerGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeletePeerGroupRequest.Unmarshal(m, b) +} +func (m *DeletePeerGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeletePeerGroupRequest.Marshal(b, m, deterministic) +} +func (m *DeletePeerGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeletePeerGroupRequest.Merge(m, src) +} +func (m *DeletePeerGroupRequest) XXX_Size() int { + return xxx_messageInfo_DeletePeerGroupRequest.Size(m) +} +func (m *DeletePeerGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeletePeerGroupRequest.DiscardUnknown(m) } -func (m *DeletePeerGroupRequest) Reset() { *m = DeletePeerGroupRequest{} } -func (m *DeletePeerGroupRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePeerGroupRequest) ProtoMessage() {} -func (*DeletePeerGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{17} } +var xxx_messageInfo_DeletePeerGroupRequest proto.InternalMessageInfo func (m *DeletePeerGroupRequest) GetName() string { if m != nil { @@ -992,14 +1489,37 @@ func (m *DeletePeerGroupRequest) GetName() string { } type UpdatePeerGroupRequest struct { - PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"` - DoSoftResetIn bool `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn" json:"do_soft_reset_in,omitempty"` + PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"` + DoSoftResetIn bool `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn,proto3" json:"do_soft_reset_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdatePeerGroupRequest) Reset() { *m = UpdatePeerGroupRequest{} } +func (m *UpdatePeerGroupRequest) String() string { return proto.CompactTextString(m) } +func (*UpdatePeerGroupRequest) ProtoMessage() {} +func (*UpdatePeerGroupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{18} +} + +func (m *UpdatePeerGroupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdatePeerGroupRequest.Unmarshal(m, b) +} +func (m *UpdatePeerGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdatePeerGroupRequest.Marshal(b, m, deterministic) +} +func (m *UpdatePeerGroupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdatePeerGroupRequest.Merge(m, src) +} +func (m *UpdatePeerGroupRequest) XXX_Size() int { + return xxx_messageInfo_UpdatePeerGroupRequest.Size(m) +} +func (m *UpdatePeerGroupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdatePeerGroupRequest.DiscardUnknown(m) } -func (m *UpdatePeerGroupRequest) Reset() { *m = UpdatePeerGroupRequest{} } -func (m *UpdatePeerGroupRequest) String() string { return proto.CompactTextString(m) } -func (*UpdatePeerGroupRequest) ProtoMessage() {} -func (*UpdatePeerGroupRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{18} } +var xxx_messageInfo_UpdatePeerGroupRequest proto.InternalMessageInfo func (m *UpdatePeerGroupRequest) GetPeerGroup() *PeerGroup { if m != nil { @@ -1016,13 +1536,36 @@ func (m *UpdatePeerGroupRequest) GetDoSoftResetIn() bool { } type UpdatePeerGroupResponse struct { - NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn" json:"needs_soft_reset_in,omitempty"` + NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn,proto3" json:"needs_soft_reset_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdatePeerGroupResponse) Reset() { *m = UpdatePeerGroupResponse{} } +func (m *UpdatePeerGroupResponse) String() string { return proto.CompactTextString(m) } +func (*UpdatePeerGroupResponse) ProtoMessage() {} +func (*UpdatePeerGroupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{19} +} + +func (m *UpdatePeerGroupResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdatePeerGroupResponse.Unmarshal(m, b) +} +func (m *UpdatePeerGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdatePeerGroupResponse.Marshal(b, m, deterministic) +} +func (m *UpdatePeerGroupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdatePeerGroupResponse.Merge(m, src) +} +func (m *UpdatePeerGroupResponse) XXX_Size() int { + return xxx_messageInfo_UpdatePeerGroupResponse.Size(m) +} +func (m *UpdatePeerGroupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdatePeerGroupResponse.DiscardUnknown(m) } -func (m *UpdatePeerGroupResponse) Reset() { *m = UpdatePeerGroupResponse{} } -func (m *UpdatePeerGroupResponse) String() string { return proto.CompactTextString(m) } -func (*UpdatePeerGroupResponse) ProtoMessage() {} -func (*UpdatePeerGroupResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{19} } +var xxx_messageInfo_UpdatePeerGroupResponse proto.InternalMessageInfo func (m *UpdatePeerGroupResponse) GetNeedsSoftResetIn() bool { if m != nil { @@ -1032,13 +1575,36 @@ func (m *UpdatePeerGroupResponse) GetNeedsSoftResetIn() bool { } type AddDynamicNeighborRequest struct { - DynamicNeighbor *DynamicNeighbor `protobuf:"bytes,1,opt,name=dynamic_neighbor,json=dynamicNeighbor" json:"dynamic_neighbor,omitempty"` + DynamicNeighbor *DynamicNeighbor `protobuf:"bytes,1,opt,name=dynamic_neighbor,json=dynamicNeighbor,proto3" json:"dynamic_neighbor,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddDynamicNeighborRequest) Reset() { *m = AddDynamicNeighborRequest{} } +func (m *AddDynamicNeighborRequest) String() string { return proto.CompactTextString(m) } +func (*AddDynamicNeighborRequest) ProtoMessage() {} +func (*AddDynamicNeighborRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{20} +} + +func (m *AddDynamicNeighborRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddDynamicNeighborRequest.Unmarshal(m, b) +} +func (m *AddDynamicNeighborRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddDynamicNeighborRequest.Marshal(b, m, deterministic) +} +func (m *AddDynamicNeighborRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddDynamicNeighborRequest.Merge(m, src) +} +func (m *AddDynamicNeighborRequest) XXX_Size() int { + return xxx_messageInfo_AddDynamicNeighborRequest.Size(m) +} +func (m *AddDynamicNeighborRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddDynamicNeighborRequest.DiscardUnknown(m) } -func (m *AddDynamicNeighborRequest) Reset() { *m = AddDynamicNeighborRequest{} } -func (m *AddDynamicNeighborRequest) String() string { return proto.CompactTextString(m) } -func (*AddDynamicNeighborRequest) ProtoMessage() {} -func (*AddDynamicNeighborRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{20} } +var xxx_messageInfo_AddDynamicNeighborRequest proto.InternalMessageInfo func (m *AddDynamicNeighborRequest) GetDynamicNeighbor() *DynamicNeighbor { if m != nil { @@ -1048,15 +1614,38 @@ func (m *AddDynamicNeighborRequest) GetDynamicNeighbor() *DynamicNeighbor { } type AddPathRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"` - Path *Path `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` + Path *Path `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPathRequest) Reset() { *m = AddPathRequest{} } +func (m *AddPathRequest) String() string { return proto.CompactTextString(m) } +func (*AddPathRequest) ProtoMessage() {} +func (*AddPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{21} +} + +func (m *AddPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathRequest.Unmarshal(m, b) +} +func (m *AddPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathRequest.Marshal(b, m, deterministic) +} +func (m *AddPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathRequest.Merge(m, src) +} +func (m *AddPathRequest) XXX_Size() int { + return xxx_messageInfo_AddPathRequest.Size(m) +} +func (m *AddPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathRequest.DiscardUnknown(m) } -func (m *AddPathRequest) Reset() { *m = AddPathRequest{} } -func (m *AddPathRequest) String() string { return proto.CompactTextString(m) } -func (*AddPathRequest) ProtoMessage() {} -func (*AddPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{21} } +var xxx_messageInfo_AddPathRequest proto.InternalMessageInfo func (m *AddPathRequest) GetTableType() TableType { if m != nil { @@ -1080,13 +1669,36 @@ func (m *AddPathRequest) GetPath() *Path { } type AddPathResponse struct { - Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPathResponse) Reset() { *m = AddPathResponse{} } +func (m *AddPathResponse) String() string { return proto.CompactTextString(m) } +func (*AddPathResponse) ProtoMessage() {} +func (*AddPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{22} +} + +func (m *AddPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathResponse.Unmarshal(m, b) +} +func (m *AddPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathResponse.Marshal(b, m, deterministic) +} +func (m *AddPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathResponse.Merge(m, src) +} +func (m *AddPathResponse) XXX_Size() int { + return xxx_messageInfo_AddPathResponse.Size(m) +} +func (m *AddPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathResponse.DiscardUnknown(m) } -func (m *AddPathResponse) Reset() { *m = AddPathResponse{} } -func (m *AddPathResponse) String() string { return proto.CompactTextString(m) } -func (*AddPathResponse) ProtoMessage() {} -func (*AddPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{22} } +var xxx_messageInfo_AddPathResponse proto.InternalMessageInfo func (m *AddPathResponse) GetUuid() []byte { if m != nil { @@ -1096,17 +1708,40 @@ func (m *AddPathResponse) GetUuid() []byte { } type DeletePathRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"` - Family *Family `protobuf:"bytes,3,opt,name=family" json:"family,omitempty"` - Path *Path `protobuf:"bytes,4,opt,name=path" json:"path,omitempty"` - Uuid []byte `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` + Family *Family `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` + Path *Path `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + Uuid []byte `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeletePathRequest) Reset() { *m = DeletePathRequest{} } +func (m *DeletePathRequest) String() string { return proto.CompactTextString(m) } +func (*DeletePathRequest) ProtoMessage() {} +func (*DeletePathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{23} +} + +func (m *DeletePathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeletePathRequest.Unmarshal(m, b) +} +func (m *DeletePathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeletePathRequest.Marshal(b, m, deterministic) +} +func (m *DeletePathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeletePathRequest.Merge(m, src) +} +func (m *DeletePathRequest) XXX_Size() int { + return xxx_messageInfo_DeletePathRequest.Size(m) +} +func (m *DeletePathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeletePathRequest.DiscardUnknown(m) } -func (m *DeletePathRequest) Reset() { *m = DeletePathRequest{} } -func (m *DeletePathRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePathRequest) ProtoMessage() {} -func (*DeletePathRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{23} } +var xxx_messageInfo_DeletePathRequest proto.InternalMessageInfo func (m *DeletePathRequest) GetTableType() TableType { if m != nil { @@ -1144,18 +1779,41 @@ func (m *DeletePathRequest) GetUuid() []byte { } type ListPathRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Family *Family `protobuf:"bytes,3,opt,name=family" json:"family,omitempty"` - Prefixes []*TableLookupPrefix `protobuf:"bytes,4,rep,name=prefixes" json:"prefixes,omitempty"` - SortType ListPathRequest_SortType `protobuf:"varint,5,opt,name=sort_type,json=sortType,enum=gobgpapi.ListPathRequest_SortType" json:"sort_type,omitempty"` - EnableFiltered bool `protobuf:"varint,6,opt,name=enable_filtered,json=enableFiltered" json:"enable_filtered,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Family *Family `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` + Prefixes []*TableLookupPrefix `protobuf:"bytes,4,rep,name=prefixes,proto3" json:"prefixes,omitempty"` + SortType ListPathRequest_SortType `protobuf:"varint,5,opt,name=sort_type,json=sortType,proto3,enum=gobgpapi.ListPathRequest_SortType" json:"sort_type,omitempty"` + EnableFiltered bool `protobuf:"varint,6,opt,name=enable_filtered,json=enableFiltered,proto3" json:"enable_filtered,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListPathRequest) Reset() { *m = ListPathRequest{} } -func (m *ListPathRequest) String() string { return proto.CompactTextString(m) } -func (*ListPathRequest) ProtoMessage() {} -func (*ListPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{24} } +func (m *ListPathRequest) Reset() { *m = ListPathRequest{} } +func (m *ListPathRequest) String() string { return proto.CompactTextString(m) } +func (*ListPathRequest) ProtoMessage() {} +func (*ListPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{24} +} + +func (m *ListPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPathRequest.Unmarshal(m, b) +} +func (m *ListPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPathRequest.Marshal(b, m, deterministic) +} +func (m *ListPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPathRequest.Merge(m, src) +} +func (m *ListPathRequest) XXX_Size() int { + return xxx_messageInfo_ListPathRequest.Size(m) +} +func (m *ListPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListPathRequest proto.InternalMessageInfo func (m *ListPathRequest) GetTableType() TableType { if m != nil { @@ -1200,13 +1858,36 @@ func (m *ListPathRequest) GetEnableFiltered() bool { } type ListPathResponse struct { - Destination *Destination `protobuf:"bytes,1,opt,name=destination" json:"destination,omitempty"` + Destination *Destination `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPathResponse) Reset() { *m = ListPathResponse{} } +func (m *ListPathResponse) String() string { return proto.CompactTextString(m) } +func (*ListPathResponse) ProtoMessage() {} +func (*ListPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{25} +} + +func (m *ListPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPathResponse.Unmarshal(m, b) +} +func (m *ListPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPathResponse.Marshal(b, m, deterministic) +} +func (m *ListPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPathResponse.Merge(m, src) +} +func (m *ListPathResponse) XXX_Size() int { + return xxx_messageInfo_ListPathResponse.Size(m) +} +func (m *ListPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPathResponse.DiscardUnknown(m) } -func (m *ListPathResponse) Reset() { *m = ListPathResponse{} } -func (m *ListPathResponse) String() string { return proto.CompactTextString(m) } -func (*ListPathResponse) ProtoMessage() {} -func (*ListPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{25} } +var xxx_messageInfo_ListPathResponse proto.InternalMessageInfo func (m *ListPathResponse) GetDestination() *Destination { if m != nil { @@ -1216,15 +1897,38 @@ func (m *ListPathResponse) GetDestination() *Destination { } type AddPathStreamRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"` - Paths []*Path `protobuf:"bytes,3,rep,name=paths" json:"paths,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + VrfId string `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` + Paths []*Path `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPathStreamRequest) Reset() { *m = AddPathStreamRequest{} } +func (m *AddPathStreamRequest) String() string { return proto.CompactTextString(m) } +func (*AddPathStreamRequest) ProtoMessage() {} +func (*AddPathStreamRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{26} +} + +func (m *AddPathStreamRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathStreamRequest.Unmarshal(m, b) +} +func (m *AddPathStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathStreamRequest.Marshal(b, m, deterministic) +} +func (m *AddPathStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathStreamRequest.Merge(m, src) +} +func (m *AddPathStreamRequest) XXX_Size() int { + return xxx_messageInfo_AddPathStreamRequest.Size(m) +} +func (m *AddPathStreamRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathStreamRequest.DiscardUnknown(m) } -func (m *AddPathStreamRequest) Reset() { *m = AddPathStreamRequest{} } -func (m *AddPathStreamRequest) String() string { return proto.CompactTextString(m) } -func (*AddPathStreamRequest) ProtoMessage() {} -func (*AddPathStreamRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{26} } +var xxx_messageInfo_AddPathStreamRequest proto.InternalMessageInfo func (m *AddPathStreamRequest) GetTableType() TableType { if m != nil { @@ -1248,15 +1952,38 @@ func (m *AddPathStreamRequest) GetPaths() []*Path { } type GetTableRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - Family *Family `protobuf:"bytes,2,opt,name=family" json:"family,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + Family *Family `protobuf:"bytes,2,opt,name=family,proto3" json:"family,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTableRequest) Reset() { *m = GetTableRequest{} } +func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } +func (*GetTableRequest) ProtoMessage() {} +func (*GetTableRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{27} +} + +func (m *GetTableRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTableRequest.Unmarshal(m, b) +} +func (m *GetTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTableRequest.Marshal(b, m, deterministic) +} +func (m *GetTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTableRequest.Merge(m, src) +} +func (m *GetTableRequest) XXX_Size() int { + return xxx_messageInfo_GetTableRequest.Size(m) +} +func (m *GetTableRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTableRequest.DiscardUnknown(m) } -func (m *GetTableRequest) Reset() { *m = GetTableRequest{} } -func (m *GetTableRequest) String() string { return proto.CompactTextString(m) } -func (*GetTableRequest) ProtoMessage() {} -func (*GetTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{27} } +var xxx_messageInfo_GetTableRequest proto.InternalMessageInfo func (m *GetTableRequest) GetTableType() TableType { if m != nil { @@ -1280,15 +2007,38 @@ func (m *GetTableRequest) GetName() string { } type GetTableResponse struct { - NumDestination uint64 `protobuf:"varint,1,opt,name=num_destination,json=numDestination" json:"num_destination,omitempty"` - NumPath uint64 `protobuf:"varint,2,opt,name=num_path,json=numPath" json:"num_path,omitempty"` - NumAccepted uint64 `protobuf:"varint,3,opt,name=num_accepted,json=numAccepted" json:"num_accepted,omitempty"` + NumDestination uint64 `protobuf:"varint,1,opt,name=num_destination,json=numDestination,proto3" json:"num_destination,omitempty"` + NumPath uint64 `protobuf:"varint,2,opt,name=num_path,json=numPath,proto3" json:"num_path,omitempty"` + NumAccepted uint64 `protobuf:"varint,3,opt,name=num_accepted,json=numAccepted,proto3" json:"num_accepted,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTableResponse) Reset() { *m = GetTableResponse{} } +func (m *GetTableResponse) String() string { return proto.CompactTextString(m) } +func (*GetTableResponse) ProtoMessage() {} +func (*GetTableResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{28} +} + +func (m *GetTableResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTableResponse.Unmarshal(m, b) +} +func (m *GetTableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTableResponse.Marshal(b, m, deterministic) +} +func (m *GetTableResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTableResponse.Merge(m, src) +} +func (m *GetTableResponse) XXX_Size() int { + return xxx_messageInfo_GetTableResponse.Size(m) +} +func (m *GetTableResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTableResponse.DiscardUnknown(m) } -func (m *GetTableResponse) Reset() { *m = GetTableResponse{} } -func (m *GetTableResponse) String() string { return proto.CompactTextString(m) } -func (*GetTableResponse) ProtoMessage() {} -func (*GetTableResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{28} } +var xxx_messageInfo_GetTableResponse proto.InternalMessageInfo func (m *GetTableResponse) GetNumDestination() uint64 { if m != nil { @@ -1312,17 +2062,40 @@ func (m *GetTableResponse) GetNumAccepted() uint64 { } type MonitorTableRequest struct { - TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=gobgpapi.TableType" json:"table_type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - Family *Family `protobuf:"bytes,3,opt,name=family" json:"family,omitempty"` - Current bool `protobuf:"varint,4,opt,name=current" json:"current,omitempty"` - PostPolicy bool `protobuf:"varint,5,opt,name=post_policy,json=postPolicy" json:"post_policy,omitempty"` + TableType TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,proto3,enum=gobgpapi.TableType" json:"table_type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Family *Family `protobuf:"bytes,3,opt,name=family,proto3" json:"family,omitempty"` + Current bool `protobuf:"varint,4,opt,name=current,proto3" json:"current,omitempty"` + PostPolicy bool `protobuf:"varint,5,opt,name=post_policy,json=postPolicy,proto3" json:"post_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MonitorTableRequest) Reset() { *m = MonitorTableRequest{} } +func (m *MonitorTableRequest) String() string { return proto.CompactTextString(m) } +func (*MonitorTableRequest) ProtoMessage() {} +func (*MonitorTableRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{29} +} + +func (m *MonitorTableRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MonitorTableRequest.Unmarshal(m, b) +} +func (m *MonitorTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MonitorTableRequest.Marshal(b, m, deterministic) +} +func (m *MonitorTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MonitorTableRequest.Merge(m, src) +} +func (m *MonitorTableRequest) XXX_Size() int { + return xxx_messageInfo_MonitorTableRequest.Size(m) +} +func (m *MonitorTableRequest) XXX_DiscardUnknown() { + xxx_messageInfo_MonitorTableRequest.DiscardUnknown(m) } -func (m *MonitorTableRequest) Reset() { *m = MonitorTableRequest{} } -func (m *MonitorTableRequest) String() string { return proto.CompactTextString(m) } -func (*MonitorTableRequest) ProtoMessage() {} -func (*MonitorTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{29} } +var xxx_messageInfo_MonitorTableRequest proto.InternalMessageInfo func (m *MonitorTableRequest) GetTableType() TableType { if m != nil { @@ -1360,13 +2133,36 @@ func (m *MonitorTableRequest) GetPostPolicy() bool { } type MonitorTableResponse struct { - Path *Path `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` + Path *Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MonitorTableResponse) Reset() { *m = MonitorTableResponse{} } +func (m *MonitorTableResponse) String() string { return proto.CompactTextString(m) } +func (*MonitorTableResponse) ProtoMessage() {} +func (*MonitorTableResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{30} +} + +func (m *MonitorTableResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MonitorTableResponse.Unmarshal(m, b) +} +func (m *MonitorTableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MonitorTableResponse.Marshal(b, m, deterministic) +} +func (m *MonitorTableResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MonitorTableResponse.Merge(m, src) +} +func (m *MonitorTableResponse) XXX_Size() int { + return xxx_messageInfo_MonitorTableResponse.Size(m) +} +func (m *MonitorTableResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MonitorTableResponse.DiscardUnknown(m) } -func (m *MonitorTableResponse) Reset() { *m = MonitorTableResponse{} } -func (m *MonitorTableResponse) String() string { return proto.CompactTextString(m) } -func (*MonitorTableResponse) ProtoMessage() {} -func (*MonitorTableResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{30} } +var xxx_messageInfo_MonitorTableResponse proto.InternalMessageInfo func (m *MonitorTableResponse) GetPath() *Path { if m != nil { @@ -1376,13 +2172,36 @@ func (m *MonitorTableResponse) GetPath() *Path { } type AddVrfRequest struct { - Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf" json:"vrf,omitempty"` + Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf,proto3" json:"vrf,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddVrfRequest) Reset() { *m = AddVrfRequest{} } +func (m *AddVrfRequest) String() string { return proto.CompactTextString(m) } +func (*AddVrfRequest) ProtoMessage() {} +func (*AddVrfRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{31} +} + +func (m *AddVrfRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddVrfRequest.Unmarshal(m, b) +} +func (m *AddVrfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddVrfRequest.Marshal(b, m, deterministic) +} +func (m *AddVrfRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddVrfRequest.Merge(m, src) +} +func (m *AddVrfRequest) XXX_Size() int { + return xxx_messageInfo_AddVrfRequest.Size(m) +} +func (m *AddVrfRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddVrfRequest.DiscardUnknown(m) } -func (m *AddVrfRequest) Reset() { *m = AddVrfRequest{} } -func (m *AddVrfRequest) String() string { return proto.CompactTextString(m) } -func (*AddVrfRequest) ProtoMessage() {} -func (*AddVrfRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{31} } +var xxx_messageInfo_AddVrfRequest proto.InternalMessageInfo func (m *AddVrfRequest) GetVrf() *Vrf { if m != nil { @@ -1392,13 +2211,36 @@ func (m *AddVrfRequest) GetVrf() *Vrf { } type DeleteVrfRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteVrfRequest) Reset() { *m = DeleteVrfRequest{} } +func (m *DeleteVrfRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteVrfRequest) ProtoMessage() {} +func (*DeleteVrfRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{32} +} + +func (m *DeleteVrfRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteVrfRequest.Unmarshal(m, b) +} +func (m *DeleteVrfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteVrfRequest.Marshal(b, m, deterministic) +} +func (m *DeleteVrfRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteVrfRequest.Merge(m, src) +} +func (m *DeleteVrfRequest) XXX_Size() int { + return xxx_messageInfo_DeleteVrfRequest.Size(m) +} +func (m *DeleteVrfRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteVrfRequest.DiscardUnknown(m) } -func (m *DeleteVrfRequest) Reset() { *m = DeleteVrfRequest{} } -func (m *DeleteVrfRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteVrfRequest) ProtoMessage() {} -func (*DeleteVrfRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{32} } +var xxx_messageInfo_DeleteVrfRequest proto.InternalMessageInfo func (m *DeleteVrfRequest) GetName() string { if m != nil { @@ -1408,13 +2250,36 @@ func (m *DeleteVrfRequest) GetName() string { } type ListVrfRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListVrfRequest) Reset() { *m = ListVrfRequest{} } +func (m *ListVrfRequest) String() string { return proto.CompactTextString(m) } +func (*ListVrfRequest) ProtoMessage() {} +func (*ListVrfRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{33} +} + +func (m *ListVrfRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVrfRequest.Unmarshal(m, b) +} +func (m *ListVrfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVrfRequest.Marshal(b, m, deterministic) +} +func (m *ListVrfRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVrfRequest.Merge(m, src) +} +func (m *ListVrfRequest) XXX_Size() int { + return xxx_messageInfo_ListVrfRequest.Size(m) +} +func (m *ListVrfRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListVrfRequest.DiscardUnknown(m) } -func (m *ListVrfRequest) Reset() { *m = ListVrfRequest{} } -func (m *ListVrfRequest) String() string { return proto.CompactTextString(m) } -func (*ListVrfRequest) ProtoMessage() {} -func (*ListVrfRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{33} } +var xxx_messageInfo_ListVrfRequest proto.InternalMessageInfo func (m *ListVrfRequest) GetName() string { if m != nil { @@ -1424,13 +2289,36 @@ func (m *ListVrfRequest) GetName() string { } type ListVrfResponse struct { - Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf" json:"vrf,omitempty"` + Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf,proto3" json:"vrf,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListVrfResponse) Reset() { *m = ListVrfResponse{} } +func (m *ListVrfResponse) String() string { return proto.CompactTextString(m) } +func (*ListVrfResponse) ProtoMessage() {} +func (*ListVrfResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{34} +} + +func (m *ListVrfResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListVrfResponse.Unmarshal(m, b) +} +func (m *ListVrfResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListVrfResponse.Marshal(b, m, deterministic) +} +func (m *ListVrfResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListVrfResponse.Merge(m, src) +} +func (m *ListVrfResponse) XXX_Size() int { + return xxx_messageInfo_ListVrfResponse.Size(m) +} +func (m *ListVrfResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListVrfResponse.DiscardUnknown(m) } -func (m *ListVrfResponse) Reset() { *m = ListVrfResponse{} } -func (m *ListVrfResponse) String() string { return proto.CompactTextString(m) } -func (*ListVrfResponse) ProtoMessage() {} -func (*ListVrfResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{34} } +var xxx_messageInfo_ListVrfResponse proto.InternalMessageInfo func (m *ListVrfResponse) GetVrf() *Vrf { if m != nil { @@ -1440,16 +2328,39 @@ func (m *ListVrfResponse) GetVrf() *Vrf { } type AddPolicyRequest struct { - Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"` + Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // if this flag is set, gobgpd won't define new statements // but refer existing statements using statement's names in this arguments. - ReferExistingStatements bool `protobuf:"varint,2,opt,name=refer_existing_statements,json=referExistingStatements" json:"refer_existing_statements,omitempty"` + ReferExistingStatements bool `protobuf:"varint,2,opt,name=refer_existing_statements,json=referExistingStatements,proto3" json:"refer_existing_statements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPolicyRequest) Reset() { *m = AddPolicyRequest{} } +func (m *AddPolicyRequest) String() string { return proto.CompactTextString(m) } +func (*AddPolicyRequest) ProtoMessage() {} +func (*AddPolicyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{35} +} + +func (m *AddPolicyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPolicyRequest.Unmarshal(m, b) +} +func (m *AddPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPolicyRequest.Marshal(b, m, deterministic) +} +func (m *AddPolicyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPolicyRequest.Merge(m, src) +} +func (m *AddPolicyRequest) XXX_Size() int { + return xxx_messageInfo_AddPolicyRequest.Size(m) +} +func (m *AddPolicyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPolicyRequest.DiscardUnknown(m) } -func (m *AddPolicyRequest) Reset() { *m = AddPolicyRequest{} } -func (m *AddPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*AddPolicyRequest) ProtoMessage() {} -func (*AddPolicyRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{35} } +var xxx_messageInfo_AddPolicyRequest proto.InternalMessageInfo func (m *AddPolicyRequest) GetPolicy() *Policy { if m != nil { @@ -1466,17 +2377,40 @@ func (m *AddPolicyRequest) GetReferExistingStatements() bool { } type DeletePolicyRequest struct { - Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"` + Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // if this flag is set, gobgpd won't delete any statements // even if some statements get not used by any policy by this operation. - PreserveStatements bool `protobuf:"varint,2,opt,name=preserve_statements,json=preserveStatements" json:"preserve_statements,omitempty"` - All bool `protobuf:"varint,3,opt,name=all" json:"all,omitempty"` + PreserveStatements bool `protobuf:"varint,2,opt,name=preserve_statements,json=preserveStatements,proto3" json:"preserve_statements,omitempty"` + All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeletePolicyRequest) Reset() { *m = DeletePolicyRequest{} } +func (m *DeletePolicyRequest) String() string { return proto.CompactTextString(m) } +func (*DeletePolicyRequest) ProtoMessage() {} +func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{36} +} + +func (m *DeletePolicyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeletePolicyRequest.Unmarshal(m, b) +} +func (m *DeletePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeletePolicyRequest.Marshal(b, m, deterministic) +} +func (m *DeletePolicyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeletePolicyRequest.Merge(m, src) +} +func (m *DeletePolicyRequest) XXX_Size() int { + return xxx_messageInfo_DeletePolicyRequest.Size(m) +} +func (m *DeletePolicyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeletePolicyRequest.DiscardUnknown(m) } -func (m *DeletePolicyRequest) Reset() { *m = DeletePolicyRequest{} } -func (m *DeletePolicyRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePolicyRequest) ProtoMessage() {} -func (*DeletePolicyRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{36} } +var xxx_messageInfo_DeletePolicyRequest proto.InternalMessageInfo func (m *DeletePolicyRequest) GetPolicy() *Policy { if m != nil { @@ -1500,13 +2434,36 @@ func (m *DeletePolicyRequest) GetAll() bool { } type ListPolicyRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPolicyRequest) Reset() { *m = ListPolicyRequest{} } +func (m *ListPolicyRequest) String() string { return proto.CompactTextString(m) } +func (*ListPolicyRequest) ProtoMessage() {} +func (*ListPolicyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{37} +} + +func (m *ListPolicyRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPolicyRequest.Unmarshal(m, b) +} +func (m *ListPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPolicyRequest.Marshal(b, m, deterministic) +} +func (m *ListPolicyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPolicyRequest.Merge(m, src) +} +func (m *ListPolicyRequest) XXX_Size() int { + return xxx_messageInfo_ListPolicyRequest.Size(m) +} +func (m *ListPolicyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPolicyRequest.DiscardUnknown(m) } -func (m *ListPolicyRequest) Reset() { *m = ListPolicyRequest{} } -func (m *ListPolicyRequest) String() string { return proto.CompactTextString(m) } -func (*ListPolicyRequest) ProtoMessage() {} -func (*ListPolicyRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{37} } +var xxx_messageInfo_ListPolicyRequest proto.InternalMessageInfo func (m *ListPolicyRequest) GetName() string { if m != nil { @@ -1516,13 +2473,36 @@ func (m *ListPolicyRequest) GetName() string { } type ListPolicyResponse struct { - Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"` + Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPolicyResponse) Reset() { *m = ListPolicyResponse{} } +func (m *ListPolicyResponse) String() string { return proto.CompactTextString(m) } +func (*ListPolicyResponse) ProtoMessage() {} +func (*ListPolicyResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{38} +} + +func (m *ListPolicyResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPolicyResponse.Unmarshal(m, b) +} +func (m *ListPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPolicyResponse.Marshal(b, m, deterministic) +} +func (m *ListPolicyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPolicyResponse.Merge(m, src) +} +func (m *ListPolicyResponse) XXX_Size() int { + return xxx_messageInfo_ListPolicyResponse.Size(m) +} +func (m *ListPolicyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPolicyResponse.DiscardUnknown(m) } -func (m *ListPolicyResponse) Reset() { *m = ListPolicyResponse{} } -func (m *ListPolicyResponse) String() string { return proto.CompactTextString(m) } -func (*ListPolicyResponse) ProtoMessage() {} -func (*ListPolicyResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{38} } +var xxx_messageInfo_ListPolicyResponse proto.InternalMessageInfo func (m *ListPolicyResponse) GetPolicy() *Policy { if m != nil { @@ -1532,15 +2512,38 @@ func (m *ListPolicyResponse) GetPolicy() *Policy { } type SetPoliciesRequest struct { - DefinedSets []*DefinedSet `protobuf:"bytes,1,rep,name=defined_sets,json=definedSets" json:"defined_sets,omitempty"` - Policies []*Policy `protobuf:"bytes,2,rep,name=policies" json:"policies,omitempty"` - Assignments []*PolicyAssignment `protobuf:"bytes,3,rep,name=assignments" json:"assignments,omitempty"` + DefinedSets []*DefinedSet `protobuf:"bytes,1,rep,name=defined_sets,json=definedSets,proto3" json:"defined_sets,omitempty"` + Policies []*Policy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` + Assignments []*PolicyAssignment `protobuf:"bytes,3,rep,name=assignments,proto3" json:"assignments,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetPoliciesRequest) Reset() { *m = SetPoliciesRequest{} } +func (m *SetPoliciesRequest) String() string { return proto.CompactTextString(m) } +func (*SetPoliciesRequest) ProtoMessage() {} +func (*SetPoliciesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{39} +} + +func (m *SetPoliciesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetPoliciesRequest.Unmarshal(m, b) +} +func (m *SetPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetPoliciesRequest.Marshal(b, m, deterministic) +} +func (m *SetPoliciesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetPoliciesRequest.Merge(m, src) +} +func (m *SetPoliciesRequest) XXX_Size() int { + return xxx_messageInfo_SetPoliciesRequest.Size(m) +} +func (m *SetPoliciesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetPoliciesRequest.DiscardUnknown(m) } -func (m *SetPoliciesRequest) Reset() { *m = SetPoliciesRequest{} } -func (m *SetPoliciesRequest) String() string { return proto.CompactTextString(m) } -func (*SetPoliciesRequest) ProtoMessage() {} -func (*SetPoliciesRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{39} } +var xxx_messageInfo_SetPoliciesRequest proto.InternalMessageInfo func (m *SetPoliciesRequest) GetDefinedSets() []*DefinedSet { if m != nil { @@ -1564,13 +2567,36 @@ func (m *SetPoliciesRequest) GetAssignments() []*PolicyAssignment { } type AddDefinedSetRequest struct { - DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet" json:"defined_set,omitempty"` + DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet,proto3" json:"defined_set,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddDefinedSetRequest) Reset() { *m = AddDefinedSetRequest{} } +func (m *AddDefinedSetRequest) String() string { return proto.CompactTextString(m) } +func (*AddDefinedSetRequest) ProtoMessage() {} +func (*AddDefinedSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{40} +} + +func (m *AddDefinedSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddDefinedSetRequest.Unmarshal(m, b) +} +func (m *AddDefinedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddDefinedSetRequest.Marshal(b, m, deterministic) +} +func (m *AddDefinedSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddDefinedSetRequest.Merge(m, src) +} +func (m *AddDefinedSetRequest) XXX_Size() int { + return xxx_messageInfo_AddDefinedSetRequest.Size(m) +} +func (m *AddDefinedSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddDefinedSetRequest.DiscardUnknown(m) } -func (m *AddDefinedSetRequest) Reset() { *m = AddDefinedSetRequest{} } -func (m *AddDefinedSetRequest) String() string { return proto.CompactTextString(m) } -func (*AddDefinedSetRequest) ProtoMessage() {} -func (*AddDefinedSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{40} } +var xxx_messageInfo_AddDefinedSetRequest proto.InternalMessageInfo func (m *AddDefinedSetRequest) GetDefinedSet() *DefinedSet { if m != nil { @@ -1580,14 +2606,37 @@ func (m *AddDefinedSetRequest) GetDefinedSet() *DefinedSet { } type DeleteDefinedSetRequest struct { - DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet" json:"defined_set,omitempty"` - All bool `protobuf:"varint,2,opt,name=all" json:"all,omitempty"` + DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet,proto3" json:"defined_set,omitempty"` + All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteDefinedSetRequest) Reset() { *m = DeleteDefinedSetRequest{} } +func (m *DeleteDefinedSetRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteDefinedSetRequest) ProtoMessage() {} +func (*DeleteDefinedSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{41} +} + +func (m *DeleteDefinedSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteDefinedSetRequest.Unmarshal(m, b) +} +func (m *DeleteDefinedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteDefinedSetRequest.Marshal(b, m, deterministic) +} +func (m *DeleteDefinedSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteDefinedSetRequest.Merge(m, src) +} +func (m *DeleteDefinedSetRequest) XXX_Size() int { + return xxx_messageInfo_DeleteDefinedSetRequest.Size(m) +} +func (m *DeleteDefinedSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteDefinedSetRequest.DiscardUnknown(m) } -func (m *DeleteDefinedSetRequest) Reset() { *m = DeleteDefinedSetRequest{} } -func (m *DeleteDefinedSetRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteDefinedSetRequest) ProtoMessage() {} -func (*DeleteDefinedSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{41} } +var xxx_messageInfo_DeleteDefinedSetRequest proto.InternalMessageInfo func (m *DeleteDefinedSetRequest) GetDefinedSet() *DefinedSet { if m != nil { @@ -1604,14 +2653,37 @@ func (m *DeleteDefinedSetRequest) GetAll() bool { } type ListDefinedSetRequest struct { - DefinedType DefinedType `protobuf:"varint,1,opt,name=defined_type,json=definedType,enum=gobgpapi.DefinedType" json:"defined_type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + DefinedType DefinedType `protobuf:"varint,1,opt,name=defined_type,json=definedType,proto3,enum=gobgpapi.DefinedType" json:"defined_type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDefinedSetRequest) Reset() { *m = ListDefinedSetRequest{} } +func (m *ListDefinedSetRequest) String() string { return proto.CompactTextString(m) } +func (*ListDefinedSetRequest) ProtoMessage() {} +func (*ListDefinedSetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{42} +} + +func (m *ListDefinedSetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDefinedSetRequest.Unmarshal(m, b) +} +func (m *ListDefinedSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDefinedSetRequest.Marshal(b, m, deterministic) +} +func (m *ListDefinedSetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDefinedSetRequest.Merge(m, src) +} +func (m *ListDefinedSetRequest) XXX_Size() int { + return xxx_messageInfo_ListDefinedSetRequest.Size(m) +} +func (m *ListDefinedSetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDefinedSetRequest.DiscardUnknown(m) } -func (m *ListDefinedSetRequest) Reset() { *m = ListDefinedSetRequest{} } -func (m *ListDefinedSetRequest) String() string { return proto.CompactTextString(m) } -func (*ListDefinedSetRequest) ProtoMessage() {} -func (*ListDefinedSetRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{42} } +var xxx_messageInfo_ListDefinedSetRequest proto.InternalMessageInfo func (m *ListDefinedSetRequest) GetDefinedType() DefinedType { if m != nil { @@ -1628,13 +2700,36 @@ func (m *ListDefinedSetRequest) GetName() string { } type ListDefinedSetResponse struct { - DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet" json:"defined_set,omitempty"` + DefinedSet *DefinedSet `protobuf:"bytes,1,opt,name=defined_set,json=definedSet,proto3" json:"defined_set,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDefinedSetResponse) Reset() { *m = ListDefinedSetResponse{} } +func (m *ListDefinedSetResponse) String() string { return proto.CompactTextString(m) } +func (*ListDefinedSetResponse) ProtoMessage() {} +func (*ListDefinedSetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{43} +} + +func (m *ListDefinedSetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDefinedSetResponse.Unmarshal(m, b) +} +func (m *ListDefinedSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDefinedSetResponse.Marshal(b, m, deterministic) +} +func (m *ListDefinedSetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDefinedSetResponse.Merge(m, src) +} +func (m *ListDefinedSetResponse) XXX_Size() int { + return xxx_messageInfo_ListDefinedSetResponse.Size(m) +} +func (m *ListDefinedSetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDefinedSetResponse.DiscardUnknown(m) } -func (m *ListDefinedSetResponse) Reset() { *m = ListDefinedSetResponse{} } -func (m *ListDefinedSetResponse) String() string { return proto.CompactTextString(m) } -func (*ListDefinedSetResponse) ProtoMessage() {} -func (*ListDefinedSetResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{43} } +var xxx_messageInfo_ListDefinedSetResponse proto.InternalMessageInfo func (m *ListDefinedSetResponse) GetDefinedSet() *DefinedSet { if m != nil { @@ -1644,13 +2739,36 @@ func (m *ListDefinedSetResponse) GetDefinedSet() *DefinedSet { } type AddStatementRequest struct { - Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"` + Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddStatementRequest) Reset() { *m = AddStatementRequest{} } +func (m *AddStatementRequest) String() string { return proto.CompactTextString(m) } +func (*AddStatementRequest) ProtoMessage() {} +func (*AddStatementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{44} +} + +func (m *AddStatementRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddStatementRequest.Unmarshal(m, b) +} +func (m *AddStatementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddStatementRequest.Marshal(b, m, deterministic) +} +func (m *AddStatementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddStatementRequest.Merge(m, src) +} +func (m *AddStatementRequest) XXX_Size() int { + return xxx_messageInfo_AddStatementRequest.Size(m) +} +func (m *AddStatementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddStatementRequest.DiscardUnknown(m) } -func (m *AddStatementRequest) Reset() { *m = AddStatementRequest{} } -func (m *AddStatementRequest) String() string { return proto.CompactTextString(m) } -func (*AddStatementRequest) ProtoMessage() {} -func (*AddStatementRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{44} } +var xxx_messageInfo_AddStatementRequest proto.InternalMessageInfo func (m *AddStatementRequest) GetStatement() *Statement { if m != nil { @@ -1660,14 +2778,37 @@ func (m *AddStatementRequest) GetStatement() *Statement { } type DeleteStatementRequest struct { - Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"` - All bool `protobuf:"varint,2,opt,name=all" json:"all,omitempty"` + Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` + All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteStatementRequest) Reset() { *m = DeleteStatementRequest{} } +func (m *DeleteStatementRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteStatementRequest) ProtoMessage() {} +func (*DeleteStatementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{45} +} + +func (m *DeleteStatementRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteStatementRequest.Unmarshal(m, b) +} +func (m *DeleteStatementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteStatementRequest.Marshal(b, m, deterministic) +} +func (m *DeleteStatementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteStatementRequest.Merge(m, src) +} +func (m *DeleteStatementRequest) XXX_Size() int { + return xxx_messageInfo_DeleteStatementRequest.Size(m) +} +func (m *DeleteStatementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteStatementRequest.DiscardUnknown(m) } -func (m *DeleteStatementRequest) Reset() { *m = DeleteStatementRequest{} } -func (m *DeleteStatementRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteStatementRequest) ProtoMessage() {} -func (*DeleteStatementRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{45} } +var xxx_messageInfo_DeleteStatementRequest proto.InternalMessageInfo func (m *DeleteStatementRequest) GetStatement() *Statement { if m != nil { @@ -1684,13 +2825,36 @@ func (m *DeleteStatementRequest) GetAll() bool { } type ListStatementRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListStatementRequest) Reset() { *m = ListStatementRequest{} } +func (m *ListStatementRequest) String() string { return proto.CompactTextString(m) } +func (*ListStatementRequest) ProtoMessage() {} +func (*ListStatementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{46} +} + +func (m *ListStatementRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListStatementRequest.Unmarshal(m, b) +} +func (m *ListStatementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListStatementRequest.Marshal(b, m, deterministic) +} +func (m *ListStatementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListStatementRequest.Merge(m, src) +} +func (m *ListStatementRequest) XXX_Size() int { + return xxx_messageInfo_ListStatementRequest.Size(m) +} +func (m *ListStatementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListStatementRequest.DiscardUnknown(m) } -func (m *ListStatementRequest) Reset() { *m = ListStatementRequest{} } -func (m *ListStatementRequest) String() string { return proto.CompactTextString(m) } -func (*ListStatementRequest) ProtoMessage() {} -func (*ListStatementRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{46} } +var xxx_messageInfo_ListStatementRequest proto.InternalMessageInfo func (m *ListStatementRequest) GetName() string { if m != nil { @@ -1700,13 +2864,36 @@ func (m *ListStatementRequest) GetName() string { } type ListStatementResponse struct { - Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"` + Statement *Statement `protobuf:"bytes,1,opt,name=statement,proto3" json:"statement,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListStatementResponse) Reset() { *m = ListStatementResponse{} } +func (m *ListStatementResponse) String() string { return proto.CompactTextString(m) } +func (*ListStatementResponse) ProtoMessage() {} +func (*ListStatementResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{47} +} + +func (m *ListStatementResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListStatementResponse.Unmarshal(m, b) +} +func (m *ListStatementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListStatementResponse.Marshal(b, m, deterministic) +} +func (m *ListStatementResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListStatementResponse.Merge(m, src) +} +func (m *ListStatementResponse) XXX_Size() int { + return xxx_messageInfo_ListStatementResponse.Size(m) +} +func (m *ListStatementResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListStatementResponse.DiscardUnknown(m) } -func (m *ListStatementResponse) Reset() { *m = ListStatementResponse{} } -func (m *ListStatementResponse) String() string { return proto.CompactTextString(m) } -func (*ListStatementResponse) ProtoMessage() {} -func (*ListStatementResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{47} } +var xxx_messageInfo_ListStatementResponse proto.InternalMessageInfo func (m *ListStatementResponse) GetStatement() *Statement { if m != nil { @@ -1716,13 +2903,36 @@ func (m *ListStatementResponse) GetStatement() *Statement { } type AddPolicyAssignmentRequest struct { - Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` + Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPolicyAssignmentRequest) Reset() { *m = AddPolicyAssignmentRequest{} } +func (m *AddPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } +func (*AddPolicyAssignmentRequest) ProtoMessage() {} +func (*AddPolicyAssignmentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{48} +} + +func (m *AddPolicyAssignmentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPolicyAssignmentRequest.Unmarshal(m, b) +} +func (m *AddPolicyAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPolicyAssignmentRequest.Marshal(b, m, deterministic) +} +func (m *AddPolicyAssignmentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPolicyAssignmentRequest.Merge(m, src) +} +func (m *AddPolicyAssignmentRequest) XXX_Size() int { + return xxx_messageInfo_AddPolicyAssignmentRequest.Size(m) +} +func (m *AddPolicyAssignmentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddPolicyAssignmentRequest.DiscardUnknown(m) } -func (m *AddPolicyAssignmentRequest) Reset() { *m = AddPolicyAssignmentRequest{} } -func (m *AddPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } -func (*AddPolicyAssignmentRequest) ProtoMessage() {} -func (*AddPolicyAssignmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{48} } +var xxx_messageInfo_AddPolicyAssignmentRequest proto.InternalMessageInfo func (m *AddPolicyAssignmentRequest) GetAssignment() *PolicyAssignment { if m != nil { @@ -1732,14 +2942,37 @@ func (m *AddPolicyAssignmentRequest) GetAssignment() *PolicyAssignment { } type DeletePolicyAssignmentRequest struct { - Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` - All bool `protobuf:"varint,2,opt,name=all" json:"all,omitempty"` + Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` + All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeletePolicyAssignmentRequest) Reset() { *m = DeletePolicyAssignmentRequest{} } +func (m *DeletePolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } +func (*DeletePolicyAssignmentRequest) ProtoMessage() {} +func (*DeletePolicyAssignmentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{49} +} + +func (m *DeletePolicyAssignmentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeletePolicyAssignmentRequest.Unmarshal(m, b) +} +func (m *DeletePolicyAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeletePolicyAssignmentRequest.Marshal(b, m, deterministic) +} +func (m *DeletePolicyAssignmentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeletePolicyAssignmentRequest.Merge(m, src) +} +func (m *DeletePolicyAssignmentRequest) XXX_Size() int { + return xxx_messageInfo_DeletePolicyAssignmentRequest.Size(m) +} +func (m *DeletePolicyAssignmentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeletePolicyAssignmentRequest.DiscardUnknown(m) } -func (m *DeletePolicyAssignmentRequest) Reset() { *m = DeletePolicyAssignmentRequest{} } -func (m *DeletePolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } -func (*DeletePolicyAssignmentRequest) ProtoMessage() {} -func (*DeletePolicyAssignmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{49} } +var xxx_messageInfo_DeletePolicyAssignmentRequest proto.InternalMessageInfo func (m *DeletePolicyAssignmentRequest) GetAssignment() *PolicyAssignment { if m != nil { @@ -1756,14 +2989,37 @@ func (m *DeletePolicyAssignmentRequest) GetAll() bool { } type ListPolicyAssignmentRequest struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Direction PolicyDirection `protobuf:"varint,2,opt,name=direction,enum=gobgpapi.PolicyDirection" json:"direction,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Direction PolicyDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gobgpapi.PolicyDirection" json:"direction,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPolicyAssignmentRequest) Reset() { *m = ListPolicyAssignmentRequest{} } +func (m *ListPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } +func (*ListPolicyAssignmentRequest) ProtoMessage() {} +func (*ListPolicyAssignmentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{50} +} + +func (m *ListPolicyAssignmentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPolicyAssignmentRequest.Unmarshal(m, b) +} +func (m *ListPolicyAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPolicyAssignmentRequest.Marshal(b, m, deterministic) +} +func (m *ListPolicyAssignmentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPolicyAssignmentRequest.Merge(m, src) +} +func (m *ListPolicyAssignmentRequest) XXX_Size() int { + return xxx_messageInfo_ListPolicyAssignmentRequest.Size(m) +} +func (m *ListPolicyAssignmentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListPolicyAssignmentRequest.DiscardUnknown(m) } -func (m *ListPolicyAssignmentRequest) Reset() { *m = ListPolicyAssignmentRequest{} } -func (m *ListPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } -func (*ListPolicyAssignmentRequest) ProtoMessage() {} -func (*ListPolicyAssignmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{50} } +var xxx_messageInfo_ListPolicyAssignmentRequest proto.InternalMessageInfo func (m *ListPolicyAssignmentRequest) GetName() string { if m != nil { @@ -1780,13 +3036,36 @@ func (m *ListPolicyAssignmentRequest) GetDirection() PolicyDirection { } type ListPolicyAssignmentResponse struct { - Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` + Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListPolicyAssignmentResponse) Reset() { *m = ListPolicyAssignmentResponse{} } +func (m *ListPolicyAssignmentResponse) String() string { return proto.CompactTextString(m) } +func (*ListPolicyAssignmentResponse) ProtoMessage() {} +func (*ListPolicyAssignmentResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{51} +} + +func (m *ListPolicyAssignmentResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListPolicyAssignmentResponse.Unmarshal(m, b) +} +func (m *ListPolicyAssignmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListPolicyAssignmentResponse.Marshal(b, m, deterministic) +} +func (m *ListPolicyAssignmentResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListPolicyAssignmentResponse.Merge(m, src) +} +func (m *ListPolicyAssignmentResponse) XXX_Size() int { + return xxx_messageInfo_ListPolicyAssignmentResponse.Size(m) +} +func (m *ListPolicyAssignmentResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListPolicyAssignmentResponse.DiscardUnknown(m) } -func (m *ListPolicyAssignmentResponse) Reset() { *m = ListPolicyAssignmentResponse{} } -func (m *ListPolicyAssignmentResponse) String() string { return proto.CompactTextString(m) } -func (*ListPolicyAssignmentResponse) ProtoMessage() {} -func (*ListPolicyAssignmentResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{51} } +var xxx_messageInfo_ListPolicyAssignmentResponse proto.InternalMessageInfo func (m *ListPolicyAssignmentResponse) GetAssignment() *PolicyAssignment { if m != nil { @@ -1796,13 +3075,36 @@ func (m *ListPolicyAssignmentResponse) GetAssignment() *PolicyAssignment { } type SetPolicyAssignmentRequest struct { - Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` + Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetPolicyAssignmentRequest) Reset() { *m = SetPolicyAssignmentRequest{} } +func (m *SetPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } +func (*SetPolicyAssignmentRequest) ProtoMessage() {} +func (*SetPolicyAssignmentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{52} +} + +func (m *SetPolicyAssignmentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetPolicyAssignmentRequest.Unmarshal(m, b) +} +func (m *SetPolicyAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetPolicyAssignmentRequest.Marshal(b, m, deterministic) +} +func (m *SetPolicyAssignmentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetPolicyAssignmentRequest.Merge(m, src) +} +func (m *SetPolicyAssignmentRequest) XXX_Size() int { + return xxx_messageInfo_SetPolicyAssignmentRequest.Size(m) +} +func (m *SetPolicyAssignmentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetPolicyAssignmentRequest.DiscardUnknown(m) } -func (m *SetPolicyAssignmentRequest) Reset() { *m = SetPolicyAssignmentRequest{} } -func (m *SetPolicyAssignmentRequest) String() string { return proto.CompactTextString(m) } -func (*SetPolicyAssignmentRequest) ProtoMessage() {} -func (*SetPolicyAssignmentRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{52} } +var xxx_messageInfo_SetPolicyAssignmentRequest proto.InternalMessageInfo func (m *SetPolicyAssignmentRequest) GetAssignment() *PolicyAssignment { if m != nil { @@ -1812,15 +3114,38 @@ func (m *SetPolicyAssignmentRequest) GetAssignment() *PolicyAssignment { } type AddRpkiRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` - Lifetime int64 `protobuf:"varint,3,opt,name=lifetime" json:"lifetime,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Lifetime int64 `protobuf:"varint,3,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddRpkiRequest) Reset() { *m = AddRpkiRequest{} } +func (m *AddRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*AddRpkiRequest) ProtoMessage() {} +func (*AddRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{53} +} + +func (m *AddRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddRpkiRequest.Unmarshal(m, b) +} +func (m *AddRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddRpkiRequest.Marshal(b, m, deterministic) +} +func (m *AddRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddRpkiRequest.Merge(m, src) +} +func (m *AddRpkiRequest) XXX_Size() int { + return xxx_messageInfo_AddRpkiRequest.Size(m) +} +func (m *AddRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddRpkiRequest.DiscardUnknown(m) } -func (m *AddRpkiRequest) Reset() { *m = AddRpkiRequest{} } -func (m *AddRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*AddRpkiRequest) ProtoMessage() {} -func (*AddRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{53} } +var xxx_messageInfo_AddRpkiRequest proto.InternalMessageInfo func (m *AddRpkiRequest) GetAddress() string { if m != nil { @@ -1844,14 +3169,37 @@ func (m *AddRpkiRequest) GetLifetime() int64 { } type DeleteRpkiRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRpkiRequest) Reset() { *m = DeleteRpkiRequest{} } +func (m *DeleteRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteRpkiRequest) ProtoMessage() {} +func (*DeleteRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{54} +} + +func (m *DeleteRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRpkiRequest.Unmarshal(m, b) +} +func (m *DeleteRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRpkiRequest.Marshal(b, m, deterministic) +} +func (m *DeleteRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRpkiRequest.Merge(m, src) +} +func (m *DeleteRpkiRequest) XXX_Size() int { + return xxx_messageInfo_DeleteRpkiRequest.Size(m) +} +func (m *DeleteRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRpkiRequest.DiscardUnknown(m) } -func (m *DeleteRpkiRequest) Reset() { *m = DeleteRpkiRequest{} } -func (m *DeleteRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRpkiRequest) ProtoMessage() {} -func (*DeleteRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{54} } +var xxx_messageInfo_DeleteRpkiRequest proto.InternalMessageInfo func (m *DeleteRpkiRequest) GetAddress() string { if m != nil { @@ -1868,13 +3216,36 @@ func (m *DeleteRpkiRequest) GetPort() uint32 { } type ListRpkiRequest struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRpkiRequest) Reset() { *m = ListRpkiRequest{} } +func (m *ListRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*ListRpkiRequest) ProtoMessage() {} +func (*ListRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{55} +} + +func (m *ListRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRpkiRequest.Unmarshal(m, b) +} +func (m *ListRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRpkiRequest.Marshal(b, m, deterministic) +} +func (m *ListRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRpkiRequest.Merge(m, src) +} +func (m *ListRpkiRequest) XXX_Size() int { + return xxx_messageInfo_ListRpkiRequest.Size(m) +} +func (m *ListRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRpkiRequest.DiscardUnknown(m) } -func (m *ListRpkiRequest) Reset() { *m = ListRpkiRequest{} } -func (m *ListRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*ListRpkiRequest) ProtoMessage() {} -func (*ListRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{55} } +var xxx_messageInfo_ListRpkiRequest proto.InternalMessageInfo func (m *ListRpkiRequest) GetFamily() *Family { if m != nil { @@ -1884,13 +3255,36 @@ func (m *ListRpkiRequest) GetFamily() *Family { } type ListRpkiResponse struct { - Server *Rpki `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"` + Server *Rpki `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *ListRpkiResponse) Reset() { *m = ListRpkiResponse{} } -func (m *ListRpkiResponse) String() string { return proto.CompactTextString(m) } -func (*ListRpkiResponse) ProtoMessage() {} -func (*ListRpkiResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{56} } +func (m *ListRpkiResponse) Reset() { *m = ListRpkiResponse{} } +func (m *ListRpkiResponse) String() string { return proto.CompactTextString(m) } +func (*ListRpkiResponse) ProtoMessage() {} +func (*ListRpkiResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{56} +} + +func (m *ListRpkiResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRpkiResponse.Unmarshal(m, b) +} +func (m *ListRpkiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRpkiResponse.Marshal(b, m, deterministic) +} +func (m *ListRpkiResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRpkiResponse.Merge(m, src) +} +func (m *ListRpkiResponse) XXX_Size() int { + return xxx_messageInfo_ListRpkiResponse.Size(m) +} +func (m *ListRpkiResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRpkiResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRpkiResponse proto.InternalMessageInfo func (m *ListRpkiResponse) GetServer() *Rpki { if m != nil { @@ -1900,14 +3294,37 @@ func (m *ListRpkiResponse) GetServer() *Rpki { } type EnableRpkiRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnableRpkiRequest) Reset() { *m = EnableRpkiRequest{} } +func (m *EnableRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*EnableRpkiRequest) ProtoMessage() {} +func (*EnableRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{57} +} + +func (m *EnableRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnableRpkiRequest.Unmarshal(m, b) +} +func (m *EnableRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnableRpkiRequest.Marshal(b, m, deterministic) +} +func (m *EnableRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableRpkiRequest.Merge(m, src) +} +func (m *EnableRpkiRequest) XXX_Size() int { + return xxx_messageInfo_EnableRpkiRequest.Size(m) +} +func (m *EnableRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EnableRpkiRequest.DiscardUnknown(m) } -func (m *EnableRpkiRequest) Reset() { *m = EnableRpkiRequest{} } -func (m *EnableRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*EnableRpkiRequest) ProtoMessage() {} -func (*EnableRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{57} } +var xxx_messageInfo_EnableRpkiRequest proto.InternalMessageInfo func (m *EnableRpkiRequest) GetAddress() string { if m != nil { @@ -1924,14 +3341,37 @@ func (m *EnableRpkiRequest) GetPort() uint32 { } type DisableRpkiRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisableRpkiRequest) Reset() { *m = DisableRpkiRequest{} } +func (m *DisableRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*DisableRpkiRequest) ProtoMessage() {} +func (*DisableRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{58} +} + +func (m *DisableRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisableRpkiRequest.Unmarshal(m, b) +} +func (m *DisableRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisableRpkiRequest.Marshal(b, m, deterministic) +} +func (m *DisableRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisableRpkiRequest.Merge(m, src) +} +func (m *DisableRpkiRequest) XXX_Size() int { + return xxx_messageInfo_DisableRpkiRequest.Size(m) +} +func (m *DisableRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisableRpkiRequest.DiscardUnknown(m) } -func (m *DisableRpkiRequest) Reset() { *m = DisableRpkiRequest{} } -func (m *DisableRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*DisableRpkiRequest) ProtoMessage() {} -func (*DisableRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{58} } +var xxx_messageInfo_DisableRpkiRequest proto.InternalMessageInfo func (m *DisableRpkiRequest) GetAddress() string { if m != nil { @@ -1948,15 +3388,38 @@ func (m *DisableRpkiRequest) GetPort() uint32 { } type ResetRpkiRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` - Soft bool `protobuf:"varint,3,opt,name=soft" json:"soft,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Soft bool `protobuf:"varint,3,opt,name=soft,proto3" json:"soft,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetRpkiRequest) Reset() { *m = ResetRpkiRequest{} } +func (m *ResetRpkiRequest) String() string { return proto.CompactTextString(m) } +func (*ResetRpkiRequest) ProtoMessage() {} +func (*ResetRpkiRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{59} +} + +func (m *ResetRpkiRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResetRpkiRequest.Unmarshal(m, b) +} +func (m *ResetRpkiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResetRpkiRequest.Marshal(b, m, deterministic) +} +func (m *ResetRpkiRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetRpkiRequest.Merge(m, src) +} +func (m *ResetRpkiRequest) XXX_Size() int { + return xxx_messageInfo_ResetRpkiRequest.Size(m) +} +func (m *ResetRpkiRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResetRpkiRequest.DiscardUnknown(m) } -func (m *ResetRpkiRequest) Reset() { *m = ResetRpkiRequest{} } -func (m *ResetRpkiRequest) String() string { return proto.CompactTextString(m) } -func (*ResetRpkiRequest) ProtoMessage() {} -func (*ResetRpkiRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{59} } +var xxx_messageInfo_ResetRpkiRequest proto.InternalMessageInfo func (m *ResetRpkiRequest) GetAddress() string { if m != nil { @@ -1980,13 +3443,36 @@ func (m *ResetRpkiRequest) GetSoft() bool { } type ListRpkiTableRequest struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRpkiTableRequest) Reset() { *m = ListRpkiTableRequest{} } +func (m *ListRpkiTableRequest) String() string { return proto.CompactTextString(m) } +func (*ListRpkiTableRequest) ProtoMessage() {} +func (*ListRpkiTableRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{60} +} + +func (m *ListRpkiTableRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRpkiTableRequest.Unmarshal(m, b) +} +func (m *ListRpkiTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRpkiTableRequest.Marshal(b, m, deterministic) +} +func (m *ListRpkiTableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRpkiTableRequest.Merge(m, src) +} +func (m *ListRpkiTableRequest) XXX_Size() int { + return xxx_messageInfo_ListRpkiTableRequest.Size(m) +} +func (m *ListRpkiTableRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRpkiTableRequest.DiscardUnknown(m) } -func (m *ListRpkiTableRequest) Reset() { *m = ListRpkiTableRequest{} } -func (m *ListRpkiTableRequest) String() string { return proto.CompactTextString(m) } -func (*ListRpkiTableRequest) ProtoMessage() {} -func (*ListRpkiTableRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{60} } +var xxx_messageInfo_ListRpkiTableRequest proto.InternalMessageInfo func (m *ListRpkiTableRequest) GetFamily() *Family { if m != nil { @@ -1996,13 +3482,36 @@ func (m *ListRpkiTableRequest) GetFamily() *Family { } type ListRpkiTableResponse struct { - Roa *Roa `protobuf:"bytes,1,opt,name=roa" json:"roa,omitempty"` + Roa *Roa `protobuf:"bytes,1,opt,name=roa,proto3" json:"roa,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRpkiTableResponse) Reset() { *m = ListRpkiTableResponse{} } +func (m *ListRpkiTableResponse) String() string { return proto.CompactTextString(m) } +func (*ListRpkiTableResponse) ProtoMessage() {} +func (*ListRpkiTableResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{61} +} + +func (m *ListRpkiTableResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRpkiTableResponse.Unmarshal(m, b) +} +func (m *ListRpkiTableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRpkiTableResponse.Marshal(b, m, deterministic) +} +func (m *ListRpkiTableResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRpkiTableResponse.Merge(m, src) +} +func (m *ListRpkiTableResponse) XXX_Size() int { + return xxx_messageInfo_ListRpkiTableResponse.Size(m) +} +func (m *ListRpkiTableResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRpkiTableResponse.DiscardUnknown(m) } -func (m *ListRpkiTableResponse) Reset() { *m = ListRpkiTableResponse{} } -func (m *ListRpkiTableResponse) String() string { return proto.CompactTextString(m) } -func (*ListRpkiTableResponse) ProtoMessage() {} -func (*ListRpkiTableResponse) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{61} } +var xxx_messageInfo_ListRpkiTableResponse proto.InternalMessageInfo func (m *ListRpkiTableResponse) GetRoa() *Roa { if m != nil { @@ -2012,19 +3521,42 @@ func (m *ListRpkiTableResponse) GetRoa() *Roa { } type EnableZebraRequest struct { - Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` - RouteTypes []string `protobuf:"bytes,2,rep,name=route_types,json=routeTypes" json:"route_types,omitempty"` - Version uint32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` - NexthopTriggerEnable bool `protobuf:"varint,4,opt,name=nexthop_trigger_enable,json=nexthopTriggerEnable" json:"nexthop_trigger_enable,omitempty"` - NexthopTriggerDelay uint32 `protobuf:"varint,5,opt,name=nexthop_trigger_delay,json=nexthopTriggerDelay" json:"nexthop_trigger_delay,omitempty"` - MplsLabelRangeSize uint32 `protobuf:"varint,6,opt,name=mpls_label_range_size,json=mplsLabelRangeSize" json:"mpls_label_range_size,omitempty"` - SoftwareName string `protobuf:"bytes,7,opt,name=software_name,json=softwareName" json:"software_name,omitempty"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + RouteTypes []string `protobuf:"bytes,2,rep,name=route_types,json=routeTypes,proto3" json:"route_types,omitempty"` + Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + NexthopTriggerEnable bool `protobuf:"varint,4,opt,name=nexthop_trigger_enable,json=nexthopTriggerEnable,proto3" json:"nexthop_trigger_enable,omitempty"` + NexthopTriggerDelay uint32 `protobuf:"varint,5,opt,name=nexthop_trigger_delay,json=nexthopTriggerDelay,proto3" json:"nexthop_trigger_delay,omitempty"` + MplsLabelRangeSize uint32 `protobuf:"varint,6,opt,name=mpls_label_range_size,json=mplsLabelRangeSize,proto3" json:"mpls_label_range_size,omitempty"` + SoftwareName string `protobuf:"bytes,7,opt,name=software_name,json=softwareName,proto3" json:"software_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnableZebraRequest) Reset() { *m = EnableZebraRequest{} } +func (m *EnableZebraRequest) String() string { return proto.CompactTextString(m) } +func (*EnableZebraRequest) ProtoMessage() {} +func (*EnableZebraRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{62} +} + +func (m *EnableZebraRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnableZebraRequest.Unmarshal(m, b) +} +func (m *EnableZebraRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnableZebraRequest.Marshal(b, m, deterministic) +} +func (m *EnableZebraRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableZebraRequest.Merge(m, src) +} +func (m *EnableZebraRequest) XXX_Size() int { + return xxx_messageInfo_EnableZebraRequest.Size(m) +} +func (m *EnableZebraRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EnableZebraRequest.DiscardUnknown(m) } -func (m *EnableZebraRequest) Reset() { *m = EnableZebraRequest{} } -func (m *EnableZebraRequest) String() string { return proto.CompactTextString(m) } -func (*EnableZebraRequest) ProtoMessage() {} -func (*EnableZebraRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{62} } +var xxx_messageInfo_EnableZebraRequest proto.InternalMessageInfo func (m *EnableZebraRequest) GetUrl() string { if m != nil { @@ -2076,16 +3608,39 @@ func (m *EnableZebraRequest) GetSoftwareName() string { } type EnableMrtRequest struct { - DumpType int32 `protobuf:"varint,1,opt,name=dump_type,json=dumpType" json:"dump_type,omitempty"` - Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` - DumpInterval uint64 `protobuf:"varint,3,opt,name=dump_interval,json=dumpInterval" json:"dump_interval,omitempty"` - RotationInterval uint64 `protobuf:"varint,4,opt,name=rotation_interval,json=rotationInterval" json:"rotation_interval,omitempty"` + DumpType int32 `protobuf:"varint,1,opt,name=dump_type,json=dumpType,proto3" json:"dump_type,omitempty"` + Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` + DumpInterval uint64 `protobuf:"varint,3,opt,name=dump_interval,json=dumpInterval,proto3" json:"dump_interval,omitempty"` + RotationInterval uint64 `protobuf:"varint,4,opt,name=rotation_interval,json=rotationInterval,proto3" json:"rotation_interval,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EnableMrtRequest) Reset() { *m = EnableMrtRequest{} } +func (m *EnableMrtRequest) String() string { return proto.CompactTextString(m) } +func (*EnableMrtRequest) ProtoMessage() {} +func (*EnableMrtRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{63} +} + +func (m *EnableMrtRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EnableMrtRequest.Unmarshal(m, b) +} +func (m *EnableMrtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EnableMrtRequest.Marshal(b, m, deterministic) +} +func (m *EnableMrtRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EnableMrtRequest.Merge(m, src) +} +func (m *EnableMrtRequest) XXX_Size() int { + return xxx_messageInfo_EnableMrtRequest.Size(m) +} +func (m *EnableMrtRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EnableMrtRequest.DiscardUnknown(m) } -func (m *EnableMrtRequest) Reset() { *m = EnableMrtRequest{} } -func (m *EnableMrtRequest) String() string { return proto.CompactTextString(m) } -func (*EnableMrtRequest) ProtoMessage() {} -func (*EnableMrtRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{63} } +var xxx_messageInfo_EnableMrtRequest proto.InternalMessageInfo func (m *EnableMrtRequest) GetDumpType() int32 { if m != nil { @@ -2116,26 +3671,72 @@ func (m *EnableMrtRequest) GetRotationInterval() uint64 { } type DisableMrtRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisableMrtRequest) Reset() { *m = DisableMrtRequest{} } +func (m *DisableMrtRequest) String() string { return proto.CompactTextString(m) } +func (*DisableMrtRequest) ProtoMessage() {} +func (*DisableMrtRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{64} +} + +func (m *DisableMrtRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisableMrtRequest.Unmarshal(m, b) +} +func (m *DisableMrtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisableMrtRequest.Marshal(b, m, deterministic) +} +func (m *DisableMrtRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisableMrtRequest.Merge(m, src) +} +func (m *DisableMrtRequest) XXX_Size() int { + return xxx_messageInfo_DisableMrtRequest.Size(m) +} +func (m *DisableMrtRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisableMrtRequest.DiscardUnknown(m) } -func (m *DisableMrtRequest) Reset() { *m = DisableMrtRequest{} } -func (m *DisableMrtRequest) String() string { return proto.CompactTextString(m) } -func (*DisableMrtRequest) ProtoMessage() {} -func (*DisableMrtRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{64} } +var xxx_messageInfo_DisableMrtRequest proto.InternalMessageInfo type AddBmpRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` - Policy AddBmpRequest_MonitoringPolicy `protobuf:"varint,3,opt,name=policy,enum=gobgpapi.AddBmpRequest_MonitoringPolicy" json:"policy,omitempty"` - StatisticsTimeout int32 `protobuf:"varint,4,opt,name=StatisticsTimeout" json:"StatisticsTimeout,omitempty"` - SysName string `protobuf:"bytes,5,opt,name=SysName" json:"SysName,omitempty"` - SysDescr string `protobuf:"bytes,6,opt,name=SysDescr" json:"SysDescr,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Policy AddBmpRequest_MonitoringPolicy `protobuf:"varint,3,opt,name=policy,proto3,enum=gobgpapi.AddBmpRequest_MonitoringPolicy" json:"policy,omitempty"` + StatisticsTimeout int32 `protobuf:"varint,4,opt,name=StatisticsTimeout,proto3" json:"StatisticsTimeout,omitempty"` + SysName string `protobuf:"bytes,5,opt,name=SysName,proto3" json:"SysName,omitempty"` + SysDescr string `protobuf:"bytes,6,opt,name=SysDescr,proto3" json:"SysDescr,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddBmpRequest) Reset() { *m = AddBmpRequest{} } +func (m *AddBmpRequest) String() string { return proto.CompactTextString(m) } +func (*AddBmpRequest) ProtoMessage() {} +func (*AddBmpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{65} +} + +func (m *AddBmpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddBmpRequest.Unmarshal(m, b) +} +func (m *AddBmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddBmpRequest.Marshal(b, m, deterministic) +} +func (m *AddBmpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddBmpRequest.Merge(m, src) +} +func (m *AddBmpRequest) XXX_Size() int { + return xxx_messageInfo_AddBmpRequest.Size(m) +} +func (m *AddBmpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddBmpRequest.DiscardUnknown(m) } -func (m *AddBmpRequest) Reset() { *m = AddBmpRequest{} } -func (m *AddBmpRequest) String() string { return proto.CompactTextString(m) } -func (*AddBmpRequest) ProtoMessage() {} -func (*AddBmpRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{65} } +var xxx_messageInfo_AddBmpRequest proto.InternalMessageInfo func (m *AddBmpRequest) GetAddress() string { if m != nil { @@ -2180,14 +3781,37 @@ func (m *AddBmpRequest) GetSysDescr() string { } type DeleteBmpRequest struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteBmpRequest) Reset() { *m = DeleteBmpRequest{} } +func (m *DeleteBmpRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteBmpRequest) ProtoMessage() {} +func (*DeleteBmpRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{66} +} + +func (m *DeleteBmpRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteBmpRequest.Unmarshal(m, b) +} +func (m *DeleteBmpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteBmpRequest.Marshal(b, m, deterministic) +} +func (m *DeleteBmpRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBmpRequest.Merge(m, src) +} +func (m *DeleteBmpRequest) XXX_Size() int { + return xxx_messageInfo_DeleteBmpRequest.Size(m) +} +func (m *DeleteBmpRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteBmpRequest.DiscardUnknown(m) } -func (m *DeleteBmpRequest) Reset() { *m = DeleteBmpRequest{} } -func (m *DeleteBmpRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteBmpRequest) ProtoMessage() {} -func (*DeleteBmpRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{66} } +var xxx_messageInfo_DeleteBmpRequest proto.InternalMessageInfo func (m *DeleteBmpRequest) GetAddress() string { if m != nil { @@ -2204,14 +3828,37 @@ func (m *DeleteBmpRequest) GetPort() uint32 { } type Family struct { - Afi Family_Afi `protobuf:"varint,1,opt,name=afi,enum=gobgpapi.Family_Afi" json:"afi,omitempty"` - Safi Family_Safi `protobuf:"varint,2,opt,name=safi,enum=gobgpapi.Family_Safi" json:"safi,omitempty"` + Afi Family_Afi `protobuf:"varint,1,opt,name=afi,proto3,enum=gobgpapi.Family_Afi" json:"afi,omitempty"` + Safi Family_Safi `protobuf:"varint,2,opt,name=safi,proto3,enum=gobgpapi.Family_Safi" json:"safi,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Family) Reset() { *m = Family{} } +func (m *Family) String() string { return proto.CompactTextString(m) } +func (*Family) ProtoMessage() {} +func (*Family) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{67} +} + +func (m *Family) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Family.Unmarshal(m, b) +} +func (m *Family) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Family.Marshal(b, m, deterministic) +} +func (m *Family) XXX_Merge(src proto.Message) { + xxx_messageInfo_Family.Merge(m, src) +} +func (m *Family) XXX_Size() int { + return xxx_messageInfo_Family.Size(m) +} +func (m *Family) XXX_DiscardUnknown() { + xxx_messageInfo_Family.DiscardUnknown(m) } -func (m *Family) Reset() { *m = Family{} } -func (m *Family) String() string { return proto.CompactTextString(m) } -func (*Family) ProtoMessage() {} -func (*Family) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{67} } +var xxx_messageInfo_Family proto.InternalMessageInfo func (m *Family) GetAfi() Family_Afi { if m != nil { @@ -2228,17 +3875,40 @@ func (m *Family) GetSafi() Family_Safi { } type Validation struct { - State Validation_State `protobuf:"varint,1,opt,name=state,enum=gobgpapi.Validation_State" json:"state,omitempty"` - Reason Validation_Reason `protobuf:"varint,2,opt,name=reason,enum=gobgpapi.Validation_Reason" json:"reason,omitempty"` - Matched []*Roa `protobuf:"bytes,3,rep,name=matched" json:"matched,omitempty"` - UnmatchedAs []*Roa `protobuf:"bytes,4,rep,name=unmatched_as,json=unmatchedAs" json:"unmatched_as,omitempty"` - UnmatchedLength []*Roa `protobuf:"bytes,5,rep,name=unmatched_length,json=unmatchedLength" json:"unmatched_length,omitempty"` + State Validation_State `protobuf:"varint,1,opt,name=state,proto3,enum=gobgpapi.Validation_State" json:"state,omitempty"` + Reason Validation_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=gobgpapi.Validation_Reason" json:"reason,omitempty"` + Matched []*Roa `protobuf:"bytes,3,rep,name=matched,proto3" json:"matched,omitempty"` + UnmatchedAs []*Roa `protobuf:"bytes,4,rep,name=unmatched_as,json=unmatchedAs,proto3" json:"unmatched_as,omitempty"` + UnmatchedLength []*Roa `protobuf:"bytes,5,rep,name=unmatched_length,json=unmatchedLength,proto3" json:"unmatched_length,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Validation) Reset() { *m = Validation{} } +func (m *Validation) String() string { return proto.CompactTextString(m) } +func (*Validation) ProtoMessage() {} +func (*Validation) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{68} +} + +func (m *Validation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Validation.Unmarshal(m, b) +} +func (m *Validation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Validation.Marshal(b, m, deterministic) +} +func (m *Validation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Validation.Merge(m, src) +} +func (m *Validation) XXX_Size() int { + return xxx_messageInfo_Validation.Size(m) +} +func (m *Validation) XXX_DiscardUnknown() { + xxx_messageInfo_Validation.DiscardUnknown(m) } -func (m *Validation) Reset() { *m = Validation{} } -func (m *Validation) String() string { return proto.CompactTextString(m) } -func (*Validation) ProtoMessage() {} -func (*Validation) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{68} } +var xxx_messageInfo_Validation proto.InternalMessageInfo func (m *Validation) GetState() Validation_State { if m != nil { @@ -2292,50 +3962,73 @@ type Path struct { // - VPNFlowSpecNLRI // - OpaqueNLRI // - LsAddrPrefix - Nlri *google_protobuf.Any `protobuf:"bytes,1,opt,name=nlri" json:"nlri,omitempty"` + Nlri *any.Any `protobuf:"bytes,1,opt,name=nlri,proto3" json:"nlri,omitempty"` // Each attribute must be one of *Attribute defined in // "api/attribute.proto". - Pattrs []*google_protobuf.Any `protobuf:"bytes,2,rep,name=pattrs" json:"pattrs,omitempty"` - Age *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=age" json:"age,omitempty"` - Best bool `protobuf:"varint,4,opt,name=best" json:"best,omitempty"` - IsWithdraw bool `protobuf:"varint,5,opt,name=is_withdraw,json=isWithdraw" json:"is_withdraw,omitempty"` - Validation *Validation `protobuf:"bytes,7,opt,name=validation" json:"validation,omitempty"` - NoImplicitWithdraw bool `protobuf:"varint,8,opt,name=no_implicit_withdraw,json=noImplicitWithdraw" json:"no_implicit_withdraw,omitempty"` - Family *Family `protobuf:"bytes,9,opt,name=family" json:"family,omitempty"` - SourceAsn uint32 `protobuf:"varint,10,opt,name=source_asn,json=sourceAsn" json:"source_asn,omitempty"` - SourceId string `protobuf:"bytes,11,opt,name=source_id,json=sourceId" json:"source_id,omitempty"` - Filtered bool `protobuf:"varint,12,opt,name=filtered" json:"filtered,omitempty"` - Stale bool `protobuf:"varint,13,opt,name=stale" json:"stale,omitempty"` - IsFromExternal bool `protobuf:"varint,14,opt,name=is_from_external,json=isFromExternal" json:"is_from_external,omitempty"` - NeighborIp string `protobuf:"bytes,15,opt,name=neighbor_ip,json=neighborIp" json:"neighbor_ip,omitempty"` - Uuid []byte `protobuf:"bytes,16,opt,name=uuid,proto3" json:"uuid,omitempty"` - IsNexthopInvalid bool `protobuf:"varint,17,opt,name=is_nexthop_invalid,json=isNexthopInvalid" json:"is_nexthop_invalid,omitempty"` - Identifier uint32 `protobuf:"varint,18,opt,name=identifier" json:"identifier,omitempty"` - LocalIdentifier uint32 `protobuf:"varint,19,opt,name=local_identifier,json=localIdentifier" json:"local_identifier,omitempty"` - NlriBinary []byte `protobuf:"bytes,20,opt,name=nlri_binary,json=nlriBinary,proto3" json:"nlri_binary,omitempty"` - PattrsBinary [][]byte `protobuf:"bytes,21,rep,name=pattrs_binary,json=pattrsBinary,proto3" json:"pattrs_binary,omitempty"` -} - -func (m *Path) Reset() { *m = Path{} } -func (m *Path) String() string { return proto.CompactTextString(m) } -func (*Path) ProtoMessage() {} -func (*Path) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{69} } - -func (m *Path) GetNlri() *google_protobuf.Any { + Pattrs []*any.Any `protobuf:"bytes,2,rep,name=pattrs,proto3" json:"pattrs,omitempty"` + Age *timestamp.Timestamp `protobuf:"bytes,3,opt,name=age,proto3" json:"age,omitempty"` + Best bool `protobuf:"varint,4,opt,name=best,proto3" json:"best,omitempty"` + IsWithdraw bool `protobuf:"varint,5,opt,name=is_withdraw,json=isWithdraw,proto3" json:"is_withdraw,omitempty"` + Validation *Validation `protobuf:"bytes,7,opt,name=validation,proto3" json:"validation,omitempty"` + NoImplicitWithdraw bool `protobuf:"varint,8,opt,name=no_implicit_withdraw,json=noImplicitWithdraw,proto3" json:"no_implicit_withdraw,omitempty"` + Family *Family `protobuf:"bytes,9,opt,name=family,proto3" json:"family,omitempty"` + SourceAsn uint32 `protobuf:"varint,10,opt,name=source_asn,json=sourceAsn,proto3" json:"source_asn,omitempty"` + SourceId string `protobuf:"bytes,11,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"` + Filtered bool `protobuf:"varint,12,opt,name=filtered,proto3" json:"filtered,omitempty"` + Stale bool `protobuf:"varint,13,opt,name=stale,proto3" json:"stale,omitempty"` + IsFromExternal bool `protobuf:"varint,14,opt,name=is_from_external,json=isFromExternal,proto3" json:"is_from_external,omitempty"` + NeighborIp string `protobuf:"bytes,15,opt,name=neighbor_ip,json=neighborIp,proto3" json:"neighbor_ip,omitempty"` + Uuid []byte `protobuf:"bytes,16,opt,name=uuid,proto3" json:"uuid,omitempty"` + IsNexthopInvalid bool `protobuf:"varint,17,opt,name=is_nexthop_invalid,json=isNexthopInvalid,proto3" json:"is_nexthop_invalid,omitempty"` + Identifier uint32 `protobuf:"varint,18,opt,name=identifier,proto3" json:"identifier,omitempty"` + LocalIdentifier uint32 `protobuf:"varint,19,opt,name=local_identifier,json=localIdentifier,proto3" json:"local_identifier,omitempty"` + NlriBinary []byte `protobuf:"bytes,20,opt,name=nlri_binary,json=nlriBinary,proto3" json:"nlri_binary,omitempty"` + PattrsBinary [][]byte `protobuf:"bytes,21,rep,name=pattrs_binary,json=pattrsBinary,proto3" json:"pattrs_binary,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Path) Reset() { *m = Path{} } +func (m *Path) String() string { return proto.CompactTextString(m) } +func (*Path) ProtoMessage() {} +func (*Path) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{69} +} + +func (m *Path) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Path.Unmarshal(m, b) +} +func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Path.Marshal(b, m, deterministic) +} +func (m *Path) XXX_Merge(src proto.Message) { + xxx_messageInfo_Path.Merge(m, src) +} +func (m *Path) XXX_Size() int { + return xxx_messageInfo_Path.Size(m) +} +func (m *Path) XXX_DiscardUnknown() { + xxx_messageInfo_Path.DiscardUnknown(m) +} + +var xxx_messageInfo_Path proto.InternalMessageInfo + +func (m *Path) GetNlri() *any.Any { if m != nil { return m.Nlri } return nil } -func (m *Path) GetPattrs() []*google_protobuf.Any { +func (m *Path) GetPattrs() []*any.Any { if m != nil { return m.Pattrs } return nil } -func (m *Path) GetAge() *google_protobuf2.Timestamp { +func (m *Path) GetAge() *timestamp.Timestamp { if m != nil { return m.Age } @@ -2462,14 +4155,37 @@ func (m *Path) GetPattrsBinary() [][]byte { } type Destination struct { - Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` - Paths []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"` + Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` + Paths []*Path `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +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_7cc8e5cf92decdb2, []int{70} +} + +func (m *Destination) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Destination.Unmarshal(m, b) +} +func (m *Destination) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Destination.Marshal(b, m, deterministic) +} +func (m *Destination) XXX_Merge(src proto.Message) { + xxx_messageInfo_Destination.Merge(m, src) +} +func (m *Destination) XXX_Size() int { + return xxx_messageInfo_Destination.Size(m) +} +func (m *Destination) XXX_DiscardUnknown() { + xxx_messageInfo_Destination.DiscardUnknown(m) } -func (m *Destination) Reset() { *m = Destination{} } -func (m *Destination) String() string { return proto.CompactTextString(m) } -func (*Destination) ProtoMessage() {} -func (*Destination) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{70} } +var xxx_messageInfo_Destination proto.InternalMessageInfo func (m *Destination) GetPrefix() string { if m != nil { @@ -2487,14 +4203,37 @@ func (m *Destination) GetPaths() []*Path { // API representation of table.LookupPrefix type TableLookupPrefix struct { - Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` - LookupOption TableLookupOption `protobuf:"varint,2,opt,name=lookup_option,json=lookupOption,enum=gobgpapi.TableLookupOption" json:"lookup_option,omitempty"` + Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` + LookupOption TableLookupOption `protobuf:"varint,2,opt,name=lookup_option,json=lookupOption,proto3,enum=gobgpapi.TableLookupOption" json:"lookup_option,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TableLookupPrefix) Reset() { *m = TableLookupPrefix{} } +func (m *TableLookupPrefix) String() string { return proto.CompactTextString(m) } +func (*TableLookupPrefix) ProtoMessage() {} +func (*TableLookupPrefix) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{71} +} + +func (m *TableLookupPrefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TableLookupPrefix.Unmarshal(m, b) +} +func (m *TableLookupPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TableLookupPrefix.Marshal(b, m, deterministic) +} +func (m *TableLookupPrefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_TableLookupPrefix.Merge(m, src) +} +func (m *TableLookupPrefix) XXX_Size() int { + return xxx_messageInfo_TableLookupPrefix.Size(m) +} +func (m *TableLookupPrefix) XXX_DiscardUnknown() { + xxx_messageInfo_TableLookupPrefix.DiscardUnknown(m) } -func (m *TableLookupPrefix) Reset() { *m = TableLookupPrefix{} } -func (m *TableLookupPrefix) String() string { return proto.CompactTextString(m) } -func (*TableLookupPrefix) ProtoMessage() {} -func (*TableLookupPrefix) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{71} } +var xxx_messageInfo_TableLookupPrefix proto.InternalMessageInfo func (m *TableLookupPrefix) GetPrefix() string { if m != nil { @@ -2511,22 +4250,45 @@ func (m *TableLookupPrefix) GetLookupOption() TableLookupOption { } type Peer struct { - ApplyPolicy *ApplyPolicy `protobuf:"bytes,1,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"` - Conf *PeerConf `protobuf:"bytes,2,opt,name=conf" json:"conf,omitempty"` - EbgpMultihop *EbgpMultihop `protobuf:"bytes,3,opt,name=ebgp_multihop,json=ebgpMultihop" json:"ebgp_multihop,omitempty"` - RouteReflector *RouteReflector `protobuf:"bytes,4,opt,name=route_reflector,json=routeReflector" json:"route_reflector,omitempty"` - State *PeerState `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"` - Timers *Timers `protobuf:"bytes,6,opt,name=timers" json:"timers,omitempty"` - Transport *Transport `protobuf:"bytes,7,opt,name=transport" json:"transport,omitempty"` - RouteServer *RouteServer `protobuf:"bytes,8,opt,name=route_server,json=routeServer" json:"route_server,omitempty"` - GracefulRestart *GracefulRestart `protobuf:"bytes,9,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"` - AfiSafis []*AfiSafi `protobuf:"bytes,10,rep,name=afi_safis,json=afiSafis" json:"afi_safis,omitempty"` -} - -func (m *Peer) Reset() { *m = Peer{} } -func (m *Peer) String() string { return proto.CompactTextString(m) } -func (*Peer) ProtoMessage() {} -func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{72} } + ApplyPolicy *ApplyPolicy `protobuf:"bytes,1,opt,name=apply_policy,json=applyPolicy,proto3" json:"apply_policy,omitempty"` + Conf *PeerConf `protobuf:"bytes,2,opt,name=conf,proto3" json:"conf,omitempty"` + EbgpMultihop *EbgpMultihop `protobuf:"bytes,3,opt,name=ebgp_multihop,json=ebgpMultihop,proto3" json:"ebgp_multihop,omitempty"` + RouteReflector *RouteReflector `protobuf:"bytes,4,opt,name=route_reflector,json=routeReflector,proto3" json:"route_reflector,omitempty"` + State *PeerState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` + Timers *Timers `protobuf:"bytes,6,opt,name=timers,proto3" json:"timers,omitempty"` + Transport *Transport `protobuf:"bytes,7,opt,name=transport,proto3" json:"transport,omitempty"` + RouteServer *RouteServer `protobuf:"bytes,8,opt,name=route_server,json=routeServer,proto3" json:"route_server,omitempty"` + GracefulRestart *GracefulRestart `protobuf:"bytes,9,opt,name=graceful_restart,json=gracefulRestart,proto3" json:"graceful_restart,omitempty"` + AfiSafis []*AfiSafi `protobuf:"bytes,10,rep,name=afi_safis,json=afiSafis,proto3" json:"afi_safis,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Peer) Reset() { *m = Peer{} } +func (m *Peer) String() string { return proto.CompactTextString(m) } +func (*Peer) ProtoMessage() {} +func (*Peer) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{72} +} + +func (m *Peer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Peer.Unmarshal(m, b) +} +func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Peer.Marshal(b, m, deterministic) +} +func (m *Peer) XXX_Merge(src proto.Message) { + xxx_messageInfo_Peer.Merge(m, src) +} +func (m *Peer) XXX_Size() int { + return xxx_messageInfo_Peer.Size(m) +} +func (m *Peer) XXX_DiscardUnknown() { + xxx_messageInfo_Peer.DiscardUnknown(m) +} + +var xxx_messageInfo_Peer proto.InternalMessageInfo func (m *Peer) GetApplyPolicy() *ApplyPolicy { if m != nil { @@ -2599,22 +4361,45 @@ func (m *Peer) GetAfiSafis() []*AfiSafi { } type PeerGroup struct { - ApplyPolicy *ApplyPolicy `protobuf:"bytes,1,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"` - Conf *PeerGroupConf `protobuf:"bytes,2,opt,name=conf" json:"conf,omitempty"` - EbgpMultihop *EbgpMultihop `protobuf:"bytes,3,opt,name=ebgp_multihop,json=ebgpMultihop" json:"ebgp_multihop,omitempty"` - RouteReflector *RouteReflector `protobuf:"bytes,4,opt,name=route_reflector,json=routeReflector" json:"route_reflector,omitempty"` - Info *PeerGroupState `protobuf:"bytes,5,opt,name=info" json:"info,omitempty"` - Timers *Timers `protobuf:"bytes,6,opt,name=timers" json:"timers,omitempty"` - Transport *Transport `protobuf:"bytes,7,opt,name=transport" json:"transport,omitempty"` - RouteServer *RouteServer `protobuf:"bytes,8,opt,name=route_server,json=routeServer" json:"route_server,omitempty"` - GracefulRestart *GracefulRestart `protobuf:"bytes,9,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"` - AfiSafis []*AfiSafi `protobuf:"bytes,10,rep,name=afi_safis,json=afiSafis" json:"afi_safis,omitempty"` -} - -func (m *PeerGroup) Reset() { *m = PeerGroup{} } -func (m *PeerGroup) String() string { return proto.CompactTextString(m) } -func (*PeerGroup) ProtoMessage() {} -func (*PeerGroup) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{73} } + ApplyPolicy *ApplyPolicy `protobuf:"bytes,1,opt,name=apply_policy,json=applyPolicy,proto3" json:"apply_policy,omitempty"` + Conf *PeerGroupConf `protobuf:"bytes,2,opt,name=conf,proto3" json:"conf,omitempty"` + EbgpMultihop *EbgpMultihop `protobuf:"bytes,3,opt,name=ebgp_multihop,json=ebgpMultihop,proto3" json:"ebgp_multihop,omitempty"` + RouteReflector *RouteReflector `protobuf:"bytes,4,opt,name=route_reflector,json=routeReflector,proto3" json:"route_reflector,omitempty"` + Info *PeerGroupState `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"` + Timers *Timers `protobuf:"bytes,6,opt,name=timers,proto3" json:"timers,omitempty"` + Transport *Transport `protobuf:"bytes,7,opt,name=transport,proto3" json:"transport,omitempty"` + RouteServer *RouteServer `protobuf:"bytes,8,opt,name=route_server,json=routeServer,proto3" json:"route_server,omitempty"` + GracefulRestart *GracefulRestart `protobuf:"bytes,9,opt,name=graceful_restart,json=gracefulRestart,proto3" json:"graceful_restart,omitempty"` + AfiSafis []*AfiSafi `protobuf:"bytes,10,rep,name=afi_safis,json=afiSafis,proto3" json:"afi_safis,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PeerGroup) Reset() { *m = PeerGroup{} } +func (m *PeerGroup) String() string { return proto.CompactTextString(m) } +func (*PeerGroup) ProtoMessage() {} +func (*PeerGroup) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{73} +} + +func (m *PeerGroup) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PeerGroup.Unmarshal(m, b) +} +func (m *PeerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PeerGroup.Marshal(b, m, deterministic) +} +func (m *PeerGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeerGroup.Merge(m, src) +} +func (m *PeerGroup) XXX_Size() int { + return xxx_messageInfo_PeerGroup.Size(m) +} +func (m *PeerGroup) XXX_DiscardUnknown() { + xxx_messageInfo_PeerGroup.DiscardUnknown(m) +} + +var xxx_messageInfo_PeerGroup proto.InternalMessageInfo func (m *PeerGroup) GetApplyPolicy() *ApplyPolicy { if m != nil { @@ -2687,14 +4472,37 @@ func (m *PeerGroup) GetAfiSafis() []*AfiSafi { } type DynamicNeighbor struct { - Prefix string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"` - PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"` + Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` + PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DynamicNeighbor) Reset() { *m = DynamicNeighbor{} } +func (m *DynamicNeighbor) String() string { return proto.CompactTextString(m) } +func (*DynamicNeighbor) ProtoMessage() {} +func (*DynamicNeighbor) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{74} } -func (m *DynamicNeighbor) Reset() { *m = DynamicNeighbor{} } -func (m *DynamicNeighbor) String() string { return proto.CompactTextString(m) } -func (*DynamicNeighbor) ProtoMessage() {} -func (*DynamicNeighbor) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{74} } +func (m *DynamicNeighbor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DynamicNeighbor.Unmarshal(m, b) +} +func (m *DynamicNeighbor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DynamicNeighbor.Marshal(b, m, deterministic) +} +func (m *DynamicNeighbor) XXX_Merge(src proto.Message) { + xxx_messageInfo_DynamicNeighbor.Merge(m, src) +} +func (m *DynamicNeighbor) XXX_Size() int { + return xxx_messageInfo_DynamicNeighbor.Size(m) +} +func (m *DynamicNeighbor) XXX_DiscardUnknown() { + xxx_messageInfo_DynamicNeighbor.DiscardUnknown(m) +} + +var xxx_messageInfo_DynamicNeighbor proto.InternalMessageInfo func (m *DynamicNeighbor) GetPrefix() string { if m != nil { @@ -2711,15 +4519,38 @@ func (m *DynamicNeighbor) GetPeerGroup() string { } type ApplyPolicy struct { - InPolicy *PolicyAssignment `protobuf:"bytes,1,opt,name=in_policy,json=inPolicy" json:"in_policy,omitempty"` - ExportPolicy *PolicyAssignment `protobuf:"bytes,2,opt,name=export_policy,json=exportPolicy" json:"export_policy,omitempty"` - ImportPolicy *PolicyAssignment `protobuf:"bytes,3,opt,name=import_policy,json=importPolicy" json:"import_policy,omitempty"` + InPolicy *PolicyAssignment `protobuf:"bytes,1,opt,name=in_policy,json=inPolicy,proto3" json:"in_policy,omitempty"` + ExportPolicy *PolicyAssignment `protobuf:"bytes,2,opt,name=export_policy,json=exportPolicy,proto3" json:"export_policy,omitempty"` + ImportPolicy *PolicyAssignment `protobuf:"bytes,3,opt,name=import_policy,json=importPolicy,proto3" json:"import_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyPolicy) Reset() { *m = ApplyPolicy{} } +func (m *ApplyPolicy) String() string { return proto.CompactTextString(m) } +func (*ApplyPolicy) ProtoMessage() {} +func (*ApplyPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{75} } -func (m *ApplyPolicy) Reset() { *m = ApplyPolicy{} } -func (m *ApplyPolicy) String() string { return proto.CompactTextString(m) } -func (*ApplyPolicy) ProtoMessage() {} -func (*ApplyPolicy) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{75} } +func (m *ApplyPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyPolicy.Unmarshal(m, b) +} +func (m *ApplyPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyPolicy.Marshal(b, m, deterministic) +} +func (m *ApplyPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyPolicy.Merge(m, src) +} +func (m *ApplyPolicy) XXX_Size() int { + return xxx_messageInfo_ApplyPolicy.Size(m) +} +func (m *ApplyPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyPolicy proto.InternalMessageInfo func (m *ApplyPolicy) GetInPolicy() *PolicyAssignment { if m != nil { @@ -2743,15 +4574,38 @@ func (m *ApplyPolicy) GetImportPolicy() *PolicyAssignment { } type PrefixLimit struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - MaxPrefixes uint32 `protobuf:"varint,2,opt,name=max_prefixes,json=maxPrefixes" json:"max_prefixes,omitempty"` - ShutdownThresholdPct uint32 `protobuf:"varint,3,opt,name=shutdown_threshold_pct,json=shutdownThresholdPct" json:"shutdown_threshold_pct,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + MaxPrefixes uint32 `protobuf:"varint,2,opt,name=max_prefixes,json=maxPrefixes,proto3" json:"max_prefixes,omitempty"` + ShutdownThresholdPct uint32 `protobuf:"varint,3,opt,name=shutdown_threshold_pct,json=shutdownThresholdPct,proto3" json:"shutdown_threshold_pct,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrefixLimit) Reset() { *m = PrefixLimit{} } +func (m *PrefixLimit) String() string { return proto.CompactTextString(m) } +func (*PrefixLimit) ProtoMessage() {} +func (*PrefixLimit) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{76} } -func (m *PrefixLimit) Reset() { *m = PrefixLimit{} } -func (m *PrefixLimit) String() string { return proto.CompactTextString(m) } -func (*PrefixLimit) ProtoMessage() {} -func (*PrefixLimit) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{76} } +func (m *PrefixLimit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PrefixLimit.Unmarshal(m, b) +} +func (m *PrefixLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PrefixLimit.Marshal(b, m, deterministic) +} +func (m *PrefixLimit) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrefixLimit.Merge(m, src) +} +func (m *PrefixLimit) XXX_Size() int { + return xxx_messageInfo_PrefixLimit.Size(m) +} +func (m *PrefixLimit) XXX_DiscardUnknown() { + xxx_messageInfo_PrefixLimit.DiscardUnknown(m) +} + +var xxx_messageInfo_PrefixLimit proto.InternalMessageInfo func (m *PrefixLimit) GetFamily() *Family { if m != nil { @@ -2775,27 +4629,50 @@ func (m *PrefixLimit) GetShutdownThresholdPct() uint32 { } type PeerConf struct { - AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"` - NeighborAddress string `protobuf:"bytes,4,opt,name=neighbor_address,json=neighborAddress" json:"neighbor_address,omitempty"` - PeerAs uint32 `protobuf:"varint,5,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"` - PeerGroup string `protobuf:"bytes,6,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"` - PeerType uint32 `protobuf:"varint,7,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"` - RemovePrivateAs PeerConf_RemovePrivateAs `protobuf:"varint,8,opt,name=remove_private_as,json=removePrivateAs,enum=gobgpapi.PeerConf_RemovePrivateAs" json:"remove_private_as,omitempty"` - RouteFlapDamping bool `protobuf:"varint,9,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"` - SendCommunity uint32 `protobuf:"varint,10,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"` - NeighborInterface string `protobuf:"bytes,11,opt,name=neighbor_interface,json=neighborInterface" json:"neighbor_interface,omitempty"` - Vrf string `protobuf:"bytes,12,opt,name=vrf" json:"vrf,omitempty"` - AllowOwnAs uint32 `protobuf:"varint,13,opt,name=allow_own_as,json=allowOwnAs" json:"allow_own_as,omitempty"` - ReplacePeerAs bool `protobuf:"varint,14,opt,name=replace_peer_as,json=replacePeerAs" json:"replace_peer_as,omitempty"` - AdminDown bool `protobuf:"varint,15,opt,name=admin_down,json=adminDown" json:"admin_down,omitempty"` -} - -func (m *PeerConf) Reset() { *m = PeerConf{} } -func (m *PeerConf) String() string { return proto.CompactTextString(m) } -func (*PeerConf) ProtoMessage() {} -func (*PeerConf) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{77} } + AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs,proto3" json:"local_as,omitempty"` + NeighborAddress string `protobuf:"bytes,4,opt,name=neighbor_address,json=neighborAddress,proto3" json:"neighbor_address,omitempty"` + PeerAs uint32 `protobuf:"varint,5,opt,name=peer_as,json=peerAs,proto3" json:"peer_as,omitempty"` + PeerGroup string `protobuf:"bytes,6,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"` + PeerType uint32 `protobuf:"varint,7,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` + RemovePrivateAs PeerConf_RemovePrivateAs `protobuf:"varint,8,opt,name=remove_private_as,json=removePrivateAs,proto3,enum=gobgpapi.PeerConf_RemovePrivateAs" json:"remove_private_as,omitempty"` + RouteFlapDamping bool `protobuf:"varint,9,opt,name=route_flap_damping,json=routeFlapDamping,proto3" json:"route_flap_damping,omitempty"` + SendCommunity uint32 `protobuf:"varint,10,opt,name=send_community,json=sendCommunity,proto3" json:"send_community,omitempty"` + NeighborInterface string `protobuf:"bytes,11,opt,name=neighbor_interface,json=neighborInterface,proto3" json:"neighbor_interface,omitempty"` + Vrf string `protobuf:"bytes,12,opt,name=vrf,proto3" json:"vrf,omitempty"` + AllowOwnAs uint32 `protobuf:"varint,13,opt,name=allow_own_as,json=allowOwnAs,proto3" json:"allow_own_as,omitempty"` + ReplacePeerAs bool `protobuf:"varint,14,opt,name=replace_peer_as,json=replacePeerAs,proto3" json:"replace_peer_as,omitempty"` + AdminDown bool `protobuf:"varint,15,opt,name=admin_down,json=adminDown,proto3" json:"admin_down,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PeerConf) Reset() { *m = PeerConf{} } +func (m *PeerConf) String() string { return proto.CompactTextString(m) } +func (*PeerConf) ProtoMessage() {} +func (*PeerConf) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{77} +} + +func (m *PeerConf) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PeerConf.Unmarshal(m, b) +} +func (m *PeerConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PeerConf.Marshal(b, m, deterministic) +} +func (m *PeerConf) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeerConf.Merge(m, src) +} +func (m *PeerConf) XXX_Size() int { + return xxx_messageInfo_PeerConf.Size(m) +} +func (m *PeerConf) XXX_DiscardUnknown() { + xxx_messageInfo_PeerConf.DiscardUnknown(m) +} + +var xxx_messageInfo_PeerConf proto.InternalMessageInfo func (m *PeerConf) GetAuthPassword() string { if m != nil { @@ -2903,21 +4780,44 @@ func (m *PeerConf) GetAdminDown() bool { } type PeerGroupConf struct { - AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"` - PeerAs uint32 `protobuf:"varint,4,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"` - PeerGroupName string `protobuf:"bytes,5,opt,name=peer_group_name,json=peerGroupName" json:"peer_group_name,omitempty"` - PeerType uint32 `protobuf:"varint,6,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"` - RemovePrivateAs PeerGroupConf_RemovePrivateAs `protobuf:"varint,7,opt,name=remove_private_as,json=removePrivateAs,enum=gobgpapi.PeerGroupConf_RemovePrivateAs" json:"remove_private_as,omitempty"` - RouteFlapDamping bool `protobuf:"varint,8,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"` - SendCommunity uint32 `protobuf:"varint,9,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"` -} - -func (m *PeerGroupConf) Reset() { *m = PeerGroupConf{} } -func (m *PeerGroupConf) String() string { return proto.CompactTextString(m) } -func (*PeerGroupConf) ProtoMessage() {} -func (*PeerGroupConf) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{78} } + AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs,proto3" json:"local_as,omitempty"` + PeerAs uint32 `protobuf:"varint,4,opt,name=peer_as,json=peerAs,proto3" json:"peer_as,omitempty"` + PeerGroupName string `protobuf:"bytes,5,opt,name=peer_group_name,json=peerGroupName,proto3" json:"peer_group_name,omitempty"` + PeerType uint32 `protobuf:"varint,6,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` + RemovePrivateAs PeerGroupConf_RemovePrivateAs `protobuf:"varint,7,opt,name=remove_private_as,json=removePrivateAs,proto3,enum=gobgpapi.PeerGroupConf_RemovePrivateAs" json:"remove_private_as,omitempty"` + RouteFlapDamping bool `protobuf:"varint,8,opt,name=route_flap_damping,json=routeFlapDamping,proto3" json:"route_flap_damping,omitempty"` + SendCommunity uint32 `protobuf:"varint,9,opt,name=send_community,json=sendCommunity,proto3" json:"send_community,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PeerGroupConf) Reset() { *m = PeerGroupConf{} } +func (m *PeerGroupConf) String() string { return proto.CompactTextString(m) } +func (*PeerGroupConf) ProtoMessage() {} +func (*PeerGroupConf) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{78} +} + +func (m *PeerGroupConf) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PeerGroupConf.Unmarshal(m, b) +} +func (m *PeerGroupConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PeerGroupConf.Marshal(b, m, deterministic) +} +func (m *PeerGroupConf) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeerGroupConf.Merge(m, src) +} +func (m *PeerGroupConf) XXX_Size() int { + return xxx_messageInfo_PeerGroupConf.Size(m) +} +func (m *PeerGroupConf) XXX_DiscardUnknown() { + xxx_messageInfo_PeerGroupConf.DiscardUnknown(m) +} + +var xxx_messageInfo_PeerGroupConf proto.InternalMessageInfo func (m *PeerGroupConf) GetAuthPassword() string { if m != nil { @@ -2983,23 +4883,46 @@ func (m *PeerGroupConf) GetSendCommunity() uint32 { } type PeerGroupState struct { - AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"` - PeerAs uint32 `protobuf:"varint,4,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"` - PeerGroupName string `protobuf:"bytes,5,opt,name=peer_group_name,json=peerGroupName" json:"peer_group_name,omitempty"` - PeerType uint32 `protobuf:"varint,6,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"` - RemovePrivateAs PeerGroupState_RemovePrivateAs `protobuf:"varint,7,opt,name=remove_private_as,json=removePrivateAs,enum=gobgpapi.PeerGroupState_RemovePrivateAs" json:"remove_private_as,omitempty"` - RouteFlapDamping bool `protobuf:"varint,8,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"` - SendCommunity uint32 `protobuf:"varint,9,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"` - TotalPaths uint32 `protobuf:"varint,10,opt,name=total_paths,json=totalPaths" json:"total_paths,omitempty"` - TotalPrefixes uint32 `protobuf:"varint,11,opt,name=total_prefixes,json=totalPrefixes" json:"total_prefixes,omitempty"` -} - -func (m *PeerGroupState) Reset() { *m = PeerGroupState{} } -func (m *PeerGroupState) String() string { return proto.CompactTextString(m) } -func (*PeerGroupState) ProtoMessage() {} -func (*PeerGroupState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{79} } + AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs,proto3" json:"local_as,omitempty"` + PeerAs uint32 `protobuf:"varint,4,opt,name=peer_as,json=peerAs,proto3" json:"peer_as,omitempty"` + PeerGroupName string `protobuf:"bytes,5,opt,name=peer_group_name,json=peerGroupName,proto3" json:"peer_group_name,omitempty"` + PeerType uint32 `protobuf:"varint,6,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` + RemovePrivateAs PeerGroupState_RemovePrivateAs `protobuf:"varint,7,opt,name=remove_private_as,json=removePrivateAs,proto3,enum=gobgpapi.PeerGroupState_RemovePrivateAs" json:"remove_private_as,omitempty"` + RouteFlapDamping bool `protobuf:"varint,8,opt,name=route_flap_damping,json=routeFlapDamping,proto3" json:"route_flap_damping,omitempty"` + SendCommunity uint32 `protobuf:"varint,9,opt,name=send_community,json=sendCommunity,proto3" json:"send_community,omitempty"` + TotalPaths uint32 `protobuf:"varint,10,opt,name=total_paths,json=totalPaths,proto3" json:"total_paths,omitempty"` + TotalPrefixes uint32 `protobuf:"varint,11,opt,name=total_prefixes,json=totalPrefixes,proto3" json:"total_prefixes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PeerGroupState) Reset() { *m = PeerGroupState{} } +func (m *PeerGroupState) String() string { return proto.CompactTextString(m) } +func (*PeerGroupState) ProtoMessage() {} +func (*PeerGroupState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{79} +} + +func (m *PeerGroupState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PeerGroupState.Unmarshal(m, b) +} +func (m *PeerGroupState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PeerGroupState.Marshal(b, m, deterministic) +} +func (m *PeerGroupState) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeerGroupState.Merge(m, src) +} +func (m *PeerGroupState) XXX_Size() int { + return xxx_messageInfo_PeerGroupState.Size(m) +} +func (m *PeerGroupState) XXX_DiscardUnknown() { + xxx_messageInfo_PeerGroupState.DiscardUnknown(m) +} + +var xxx_messageInfo_PeerGroupState proto.InternalMessageInfo func (m *PeerGroupState) GetAuthPassword() string { if m != nil { @@ -3079,14 +5002,37 @@ func (m *PeerGroupState) GetTotalPrefixes() uint32 { } type EbgpMultihop struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - MultihopTtl uint32 `protobuf:"varint,2,opt,name=multihop_ttl,json=multihopTtl" json:"multihop_ttl,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + MultihopTtl uint32 `protobuf:"varint,2,opt,name=multihop_ttl,json=multihopTtl,proto3" json:"multihop_ttl,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EbgpMultihop) Reset() { *m = EbgpMultihop{} } +func (m *EbgpMultihop) String() string { return proto.CompactTextString(m) } +func (*EbgpMultihop) ProtoMessage() {} +func (*EbgpMultihop) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{80} +} + +func (m *EbgpMultihop) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EbgpMultihop.Unmarshal(m, b) +} +func (m *EbgpMultihop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EbgpMultihop.Marshal(b, m, deterministic) +} +func (m *EbgpMultihop) XXX_Merge(src proto.Message) { + xxx_messageInfo_EbgpMultihop.Merge(m, src) +} +func (m *EbgpMultihop) XXX_Size() int { + return xxx_messageInfo_EbgpMultihop.Size(m) +} +func (m *EbgpMultihop) XXX_DiscardUnknown() { + xxx_messageInfo_EbgpMultihop.DiscardUnknown(m) } -func (m *EbgpMultihop) Reset() { *m = EbgpMultihop{} } -func (m *EbgpMultihop) String() string { return proto.CompactTextString(m) } -func (*EbgpMultihop) ProtoMessage() {} -func (*EbgpMultihop) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{80} } +var xxx_messageInfo_EbgpMultihop proto.InternalMessageInfo func (m *EbgpMultihop) GetEnabled() bool { if m != nil { @@ -3103,14 +5049,37 @@ func (m *EbgpMultihop) GetMultihopTtl() uint32 { } type RouteReflector struct { - RouteReflectorClient bool `protobuf:"varint,1,opt,name=route_reflector_client,json=routeReflectorClient" json:"route_reflector_client,omitempty"` - RouteReflectorClusterId string `protobuf:"bytes,2,opt,name=route_reflector_cluster_id,json=routeReflectorClusterId" json:"route_reflector_cluster_id,omitempty"` + RouteReflectorClient bool `protobuf:"varint,1,opt,name=route_reflector_client,json=routeReflectorClient,proto3" json:"route_reflector_client,omitempty"` + RouteReflectorClusterId string `protobuf:"bytes,2,opt,name=route_reflector_cluster_id,json=routeReflectorClusterId,proto3" json:"route_reflector_cluster_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteReflector) Reset() { *m = RouteReflector{} } +func (m *RouteReflector) String() string { return proto.CompactTextString(m) } +func (*RouteReflector) ProtoMessage() {} +func (*RouteReflector) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{81} +} + +func (m *RouteReflector) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteReflector.Unmarshal(m, b) +} +func (m *RouteReflector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteReflector.Marshal(b, m, deterministic) +} +func (m *RouteReflector) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteReflector.Merge(m, src) +} +func (m *RouteReflector) XXX_Size() int { + return xxx_messageInfo_RouteReflector.Size(m) +} +func (m *RouteReflector) XXX_DiscardUnknown() { + xxx_messageInfo_RouteReflector.DiscardUnknown(m) } -func (m *RouteReflector) Reset() { *m = RouteReflector{} } -func (m *RouteReflector) String() string { return proto.CompactTextString(m) } -func (*RouteReflector) ProtoMessage() {} -func (*RouteReflector) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{81} } +var xxx_messageInfo_RouteReflector proto.InternalMessageInfo func (m *RouteReflector) GetRouteReflectorClient() bool { if m != nil { @@ -3127,33 +5096,56 @@ func (m *RouteReflector) GetRouteReflectorClusterId() string { } type PeerState struct { - AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` - LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"` - Messages *Messages `protobuf:"bytes,4,opt,name=messages" json:"messages,omitempty"` - NeighborAddress string `protobuf:"bytes,5,opt,name=neighbor_address,json=neighborAddress" json:"neighbor_address,omitempty"` - PeerAs uint32 `protobuf:"varint,6,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"` - PeerGroup string `protobuf:"bytes,7,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"` - PeerType uint32 `protobuf:"varint,8,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"` - Queues *Queues `protobuf:"bytes,9,opt,name=queues" json:"queues,omitempty"` - RemovePrivateAs uint32 `protobuf:"varint,10,opt,name=remove_private_as,json=removePrivateAs" json:"remove_private_as,omitempty"` - RouteFlapDamping bool `protobuf:"varint,11,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"` - SendCommunity uint32 `protobuf:"varint,12,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"` - SessionState PeerState_SessionState `protobuf:"varint,13,opt,name=session_state,json=sessionState,enum=gobgpapi.PeerState_SessionState" json:"session_state,omitempty"` - AdminState PeerState_AdminState `protobuf:"varint,15,opt,name=admin_state,json=adminState,enum=gobgpapi.PeerState_AdminState" json:"admin_state,omitempty"` - OutQ uint32 `protobuf:"varint,16,opt,name=out_q,json=outQ" json:"out_q,omitempty"` - Flops uint32 `protobuf:"varint,17,opt,name=flops" json:"flops,omitempty"` + AuthPassword string `protobuf:"bytes,1,opt,name=auth_password,json=authPassword,proto3" json:"auth_password,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + LocalAs uint32 `protobuf:"varint,3,opt,name=local_as,json=localAs,proto3" json:"local_as,omitempty"` + Messages *Messages `protobuf:"bytes,4,opt,name=messages,proto3" json:"messages,omitempty"` + NeighborAddress string `protobuf:"bytes,5,opt,name=neighbor_address,json=neighborAddress,proto3" json:"neighbor_address,omitempty"` + PeerAs uint32 `protobuf:"varint,6,opt,name=peer_as,json=peerAs,proto3" json:"peer_as,omitempty"` + PeerGroup string `protobuf:"bytes,7,opt,name=peer_group,json=peerGroup,proto3" json:"peer_group,omitempty"` + PeerType uint32 `protobuf:"varint,8,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` + Queues *Queues `protobuf:"bytes,9,opt,name=queues,proto3" json:"queues,omitempty"` + RemovePrivateAs uint32 `protobuf:"varint,10,opt,name=remove_private_as,json=removePrivateAs,proto3" json:"remove_private_as,omitempty"` + RouteFlapDamping bool `protobuf:"varint,11,opt,name=route_flap_damping,json=routeFlapDamping,proto3" json:"route_flap_damping,omitempty"` + SendCommunity uint32 `protobuf:"varint,12,opt,name=send_community,json=sendCommunity,proto3" json:"send_community,omitempty"` + SessionState PeerState_SessionState `protobuf:"varint,13,opt,name=session_state,json=sessionState,proto3,enum=gobgpapi.PeerState_SessionState" json:"session_state,omitempty"` + AdminState PeerState_AdminState `protobuf:"varint,15,opt,name=admin_state,json=adminState,proto3,enum=gobgpapi.PeerState_AdminState" json:"admin_state,omitempty"` + OutQ uint32 `protobuf:"varint,16,opt,name=out_q,json=outQ,proto3" json:"out_q,omitempty"` + Flops uint32 `protobuf:"varint,17,opt,name=flops,proto3" json:"flops,omitempty"` // Each attribute must be one of *Capability defined in // "api/capability.proto". - RemoteCap []*google_protobuf.Any `protobuf:"bytes,18,rep,name=remote_cap,json=remoteCap" json:"remote_cap,omitempty"` - LocalCap []*google_protobuf.Any `protobuf:"bytes,19,rep,name=local_cap,json=localCap" json:"local_cap,omitempty"` - RouterId string `protobuf:"bytes,20,opt,name=router_id,json=routerId" json:"router_id,omitempty"` + RemoteCap []*any.Any `protobuf:"bytes,18,rep,name=remote_cap,json=remoteCap,proto3" json:"remote_cap,omitempty"` + LocalCap []*any.Any `protobuf:"bytes,19,rep,name=local_cap,json=localCap,proto3" json:"local_cap,omitempty"` + RouterId string `protobuf:"bytes,20,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PeerState) Reset() { *m = PeerState{} } +func (m *PeerState) String() string { return proto.CompactTextString(m) } +func (*PeerState) ProtoMessage() {} +func (*PeerState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{82} +} + +func (m *PeerState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PeerState.Unmarshal(m, b) +} +func (m *PeerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PeerState.Marshal(b, m, deterministic) +} +func (m *PeerState) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeerState.Merge(m, src) +} +func (m *PeerState) XXX_Size() int { + return xxx_messageInfo_PeerState.Size(m) +} +func (m *PeerState) XXX_DiscardUnknown() { + xxx_messageInfo_PeerState.DiscardUnknown(m) } -func (m *PeerState) Reset() { *m = PeerState{} } -func (m *PeerState) String() string { return proto.CompactTextString(m) } -func (*PeerState) ProtoMessage() {} -func (*PeerState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{82} } +var xxx_messageInfo_PeerState proto.InternalMessageInfo func (m *PeerState) GetAuthPassword() string { if m != nil { @@ -3267,14 +5259,14 @@ func (m *PeerState) GetFlops() uint32 { return 0 } -func (m *PeerState) GetRemoteCap() []*google_protobuf.Any { +func (m *PeerState) GetRemoteCap() []*any.Any { if m != nil { return m.RemoteCap } return nil } -func (m *PeerState) GetLocalCap() []*google_protobuf.Any { +func (m *PeerState) GetLocalCap() []*any.Any { if m != nil { return m.LocalCap } @@ -3289,14 +5281,37 @@ func (m *PeerState) GetRouterId() string { } type Messages struct { - Received *Message `protobuf:"bytes,1,opt,name=received" json:"received,omitempty"` - Sent *Message `protobuf:"bytes,2,opt,name=sent" json:"sent,omitempty"` + Received *Message `protobuf:"bytes,1,opt,name=received,proto3" json:"received,omitempty"` + Sent *Message `protobuf:"bytes,2,opt,name=sent,proto3" json:"sent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Messages) Reset() { *m = Messages{} } +func (m *Messages) String() string { return proto.CompactTextString(m) } +func (*Messages) ProtoMessage() {} +func (*Messages) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{83} +} + +func (m *Messages) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Messages.Unmarshal(m, b) +} +func (m *Messages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Messages.Marshal(b, m, deterministic) +} +func (m *Messages) XXX_Merge(src proto.Message) { + xxx_messageInfo_Messages.Merge(m, src) +} +func (m *Messages) XXX_Size() int { + return xxx_messageInfo_Messages.Size(m) +} +func (m *Messages) XXX_DiscardUnknown() { + xxx_messageInfo_Messages.DiscardUnknown(m) } -func (m *Messages) Reset() { *m = Messages{} } -func (m *Messages) String() string { return proto.CompactTextString(m) } -func (*Messages) ProtoMessage() {} -func (*Messages) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{83} } +var xxx_messageInfo_Messages proto.InternalMessageInfo func (m *Messages) GetReceived() *Message { if m != nil { @@ -3313,21 +5328,44 @@ func (m *Messages) GetSent() *Message { } type Message struct { - Notification uint64 `protobuf:"varint,1,opt,name=notification" json:"notification,omitempty"` - Update uint64 `protobuf:"varint,2,opt,name=update" json:"update,omitempty"` - Open uint64 `protobuf:"varint,3,opt,name=open" json:"open,omitempty"` - Keepalive uint64 `protobuf:"varint,4,opt,name=keepalive" json:"keepalive,omitempty"` - Refresh uint64 `protobuf:"varint,5,opt,name=refresh" json:"refresh,omitempty"` - Discarded uint64 `protobuf:"varint,6,opt,name=discarded" json:"discarded,omitempty"` - Total uint64 `protobuf:"varint,7,opt,name=total" json:"total,omitempty"` - WithdrawUpdate uint64 `protobuf:"varint,8,opt,name=withdraw_update,json=withdrawUpdate" json:"withdraw_update,omitempty"` - WithdrawPrefix uint64 `protobuf:"varint,9,opt,name=withdraw_prefix,json=withdrawPrefix" json:"withdraw_prefix,omitempty"` -} - -func (m *Message) Reset() { *m = Message{} } -func (m *Message) String() string { return proto.CompactTextString(m) } -func (*Message) ProtoMessage() {} -func (*Message) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{84} } + Notification uint64 `protobuf:"varint,1,opt,name=notification,proto3" json:"notification,omitempty"` + Update uint64 `protobuf:"varint,2,opt,name=update,proto3" json:"update,omitempty"` + Open uint64 `protobuf:"varint,3,opt,name=open,proto3" json:"open,omitempty"` + Keepalive uint64 `protobuf:"varint,4,opt,name=keepalive,proto3" json:"keepalive,omitempty"` + Refresh uint64 `protobuf:"varint,5,opt,name=refresh,proto3" json:"refresh,omitempty"` + Discarded uint64 `protobuf:"varint,6,opt,name=discarded,proto3" json:"discarded,omitempty"` + Total uint64 `protobuf:"varint,7,opt,name=total,proto3" json:"total,omitempty"` + WithdrawUpdate uint64 `protobuf:"varint,8,opt,name=withdraw_update,json=withdrawUpdate,proto3" json:"withdraw_update,omitempty"` + WithdrawPrefix uint64 `protobuf:"varint,9,opt,name=withdraw_prefix,json=withdrawPrefix,proto3" json:"withdraw_prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Message) Reset() { *m = Message{} } +func (m *Message) String() string { return proto.CompactTextString(m) } +func (*Message) ProtoMessage() {} +func (*Message) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{84} +} + +func (m *Message) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Message.Unmarshal(m, b) +} +func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Message.Marshal(b, m, deterministic) +} +func (m *Message) XXX_Merge(src proto.Message) { + xxx_messageInfo_Message.Merge(m, src) +} +func (m *Message) XXX_Size() int { + return xxx_messageInfo_Message.Size(m) +} +func (m *Message) XXX_DiscardUnknown() { + xxx_messageInfo_Message.DiscardUnknown(m) +} + +var xxx_messageInfo_Message proto.InternalMessageInfo func (m *Message) GetNotification() uint64 { if m != nil { @@ -3393,14 +5431,37 @@ func (m *Message) GetWithdrawPrefix() uint64 { } type Queues struct { - Input uint32 `protobuf:"varint,1,opt,name=input" json:"input,omitempty"` - Output uint32 `protobuf:"varint,2,opt,name=output" json:"output,omitempty"` + Input uint32 `protobuf:"varint,1,opt,name=input,proto3" json:"input,omitempty"` + Output uint32 `protobuf:"varint,2,opt,name=output,proto3" json:"output,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Queues) Reset() { *m = Queues{} } +func (m *Queues) String() string { return proto.CompactTextString(m) } +func (*Queues) ProtoMessage() {} +func (*Queues) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{85} } -func (m *Queues) Reset() { *m = Queues{} } -func (m *Queues) String() string { return proto.CompactTextString(m) } -func (*Queues) ProtoMessage() {} -func (*Queues) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{85} } +func (m *Queues) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Queues.Unmarshal(m, b) +} +func (m *Queues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Queues.Marshal(b, m, deterministic) +} +func (m *Queues) XXX_Merge(src proto.Message) { + xxx_messageInfo_Queues.Merge(m, src) +} +func (m *Queues) XXX_Size() int { + return xxx_messageInfo_Queues.Size(m) +} +func (m *Queues) XXX_DiscardUnknown() { + xxx_messageInfo_Queues.DiscardUnknown(m) +} + +var xxx_messageInfo_Queues proto.InternalMessageInfo func (m *Queues) GetInput() uint32 { if m != nil { @@ -3417,16 +5478,39 @@ func (m *Queues) GetOutput() uint32 { } type Timers struct { - Config *TimersConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *TimersState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *TimersConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *TimersState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *Timers) Reset() { *m = Timers{} } -func (m *Timers) String() string { return proto.CompactTextString(m) } -func (*Timers) ProtoMessage() {} -func (*Timers) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{86} } +func (m *Timers) Reset() { *m = Timers{} } +func (m *Timers) String() string { return proto.CompactTextString(m) } +func (*Timers) ProtoMessage() {} +func (*Timers) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{86} +} -func (m *Timers) GetConfig() *TimersConfig { +func (m *Timers) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Timers.Unmarshal(m, b) +} +func (m *Timers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Timers.Marshal(b, m, deterministic) +} +func (m *Timers) XXX_Merge(src proto.Message) { + xxx_messageInfo_Timers.Merge(m, src) +} +func (m *Timers) XXX_Size() int { + return xxx_messageInfo_Timers.Size(m) +} +func (m *Timers) XXX_DiscardUnknown() { + xxx_messageInfo_Timers.DiscardUnknown(m) +} + +var xxx_messageInfo_Timers proto.InternalMessageInfo + +func (m *Timers) GetConfig() *TimersConfig { if m != nil { return m.Config } @@ -3441,17 +5525,40 @@ func (m *Timers) GetState() *TimersState { } type TimersConfig struct { - ConnectRetry uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry" json:"connect_retry,omitempty"` - HoldTime uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime" json:"hold_time,omitempty"` - KeepaliveInterval uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval" json:"keepalive_interval,omitempty"` - MinimumAdvertisementInterval uint64 `protobuf:"varint,4,opt,name=minimum_advertisement_interval,json=minimumAdvertisementInterval" json:"minimum_advertisement_interval,omitempty"` - IdleHoldTimeAfterReset uint64 `protobuf:"varint,5,opt,name=idle_hold_time_after_reset,json=idleHoldTimeAfterReset" json:"idle_hold_time_after_reset,omitempty"` + ConnectRetry uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry,proto3" json:"connect_retry,omitempty"` + HoldTime uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime,proto3" json:"hold_time,omitempty"` + KeepaliveInterval uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"` + MinimumAdvertisementInterval uint64 `protobuf:"varint,4,opt,name=minimum_advertisement_interval,json=minimumAdvertisementInterval,proto3" json:"minimum_advertisement_interval,omitempty"` + IdleHoldTimeAfterReset uint64 `protobuf:"varint,5,opt,name=idle_hold_time_after_reset,json=idleHoldTimeAfterReset,proto3" json:"idle_hold_time_after_reset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimersConfig) Reset() { *m = TimersConfig{} } +func (m *TimersConfig) String() string { return proto.CompactTextString(m) } +func (*TimersConfig) ProtoMessage() {} +func (*TimersConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{87} +} + +func (m *TimersConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimersConfig.Unmarshal(m, b) +} +func (m *TimersConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimersConfig.Marshal(b, m, deterministic) +} +func (m *TimersConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimersConfig.Merge(m, src) +} +func (m *TimersConfig) XXX_Size() int { + return xxx_messageInfo_TimersConfig.Size(m) +} +func (m *TimersConfig) XXX_DiscardUnknown() { + xxx_messageInfo_TimersConfig.DiscardUnknown(m) } -func (m *TimersConfig) Reset() { *m = TimersConfig{} } -func (m *TimersConfig) String() string { return proto.CompactTextString(m) } -func (*TimersConfig) ProtoMessage() {} -func (*TimersConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{87} } +var xxx_messageInfo_TimersConfig proto.InternalMessageInfo func (m *TimersConfig) GetConnectRetry() uint64 { if m != nil { @@ -3489,19 +5596,42 @@ func (m *TimersConfig) GetIdleHoldTimeAfterReset() uint64 { } type TimersState struct { - ConnectRetry uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry" json:"connect_retry,omitempty"` - HoldTime uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime" json:"hold_time,omitempty"` - KeepaliveInterval uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval" json:"keepalive_interval,omitempty"` - MinimumAdvertisementInterval uint64 `protobuf:"varint,4,opt,name=minimum_advertisement_interval,json=minimumAdvertisementInterval" json:"minimum_advertisement_interval,omitempty"` - NegotiatedHoldTime uint64 `protobuf:"varint,5,opt,name=negotiated_hold_time,json=negotiatedHoldTime" json:"negotiated_hold_time,omitempty"` - Uptime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=uptime" json:"uptime,omitempty"` - Downtime *google_protobuf2.Timestamp `protobuf:"bytes,7,opt,name=downtime" json:"downtime,omitempty"` + ConnectRetry uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry,proto3" json:"connect_retry,omitempty"` + HoldTime uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime,proto3" json:"hold_time,omitempty"` + KeepaliveInterval uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval,proto3" json:"keepalive_interval,omitempty"` + MinimumAdvertisementInterval uint64 `protobuf:"varint,4,opt,name=minimum_advertisement_interval,json=minimumAdvertisementInterval,proto3" json:"minimum_advertisement_interval,omitempty"` + NegotiatedHoldTime uint64 `protobuf:"varint,5,opt,name=negotiated_hold_time,json=negotiatedHoldTime,proto3" json:"negotiated_hold_time,omitempty"` + Uptime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=uptime,proto3" json:"uptime,omitempty"` + Downtime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=downtime,proto3" json:"downtime,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *TimersState) Reset() { *m = TimersState{} } -func (m *TimersState) String() string { return proto.CompactTextString(m) } -func (*TimersState) ProtoMessage() {} -func (*TimersState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{88} } +func (m *TimersState) Reset() { *m = TimersState{} } +func (m *TimersState) String() string { return proto.CompactTextString(m) } +func (*TimersState) ProtoMessage() {} +func (*TimersState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{88} +} + +func (m *TimersState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TimersState.Unmarshal(m, b) +} +func (m *TimersState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TimersState.Marshal(b, m, deterministic) +} +func (m *TimersState) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimersState.Merge(m, src) +} +func (m *TimersState) XXX_Size() int { + return xxx_messageInfo_TimersState.Size(m) +} +func (m *TimersState) XXX_DiscardUnknown() { + xxx_messageInfo_TimersState.DiscardUnknown(m) +} + +var xxx_messageInfo_TimersState proto.InternalMessageInfo func (m *TimersState) GetConnectRetry() uint64 { if m != nil { @@ -3538,14 +5668,14 @@ func (m *TimersState) GetNegotiatedHoldTime() uint64 { return 0 } -func (m *TimersState) GetUptime() *google_protobuf2.Timestamp { +func (m *TimersState) GetUptime() *timestamp.Timestamp { if m != nil { return m.Uptime } return nil } -func (m *TimersState) GetDowntime() *google_protobuf2.Timestamp { +func (m *TimersState) GetDowntime() *timestamp.Timestamp { if m != nil { return m.Downtime } @@ -3553,20 +5683,43 @@ func (m *TimersState) GetDowntime() *google_protobuf2.Timestamp { } type Transport struct { - LocalAddress string `protobuf:"bytes,1,opt,name=local_address,json=localAddress" json:"local_address,omitempty"` - LocalPort uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort" json:"local_port,omitempty"` - MtuDiscovery bool `protobuf:"varint,3,opt,name=mtu_discovery,json=mtuDiscovery" json:"mtu_discovery,omitempty"` - PassiveMode bool `protobuf:"varint,4,opt,name=passive_mode,json=passiveMode" json:"passive_mode,omitempty"` - RemoteAddress string `protobuf:"bytes,5,opt,name=remote_address,json=remoteAddress" json:"remote_address,omitempty"` - RemotePort uint32 `protobuf:"varint,6,opt,name=remote_port,json=remotePort" json:"remote_port,omitempty"` - TcpMss uint32 `protobuf:"varint,7,opt,name=tcp_mss,json=tcpMss" json:"tcp_mss,omitempty"` - BindInterface string `protobuf:"bytes,8,opt,name=bind_interface,json=bindInterface" json:"bind_interface,omitempty"` + LocalAddress string `protobuf:"bytes,1,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"` + LocalPort uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"` + MtuDiscovery bool `protobuf:"varint,3,opt,name=mtu_discovery,json=mtuDiscovery,proto3" json:"mtu_discovery,omitempty"` + PassiveMode bool `protobuf:"varint,4,opt,name=passive_mode,json=passiveMode,proto3" json:"passive_mode,omitempty"` + RemoteAddress string `protobuf:"bytes,5,opt,name=remote_address,json=remoteAddress,proto3" json:"remote_address,omitempty"` + RemotePort uint32 `protobuf:"varint,6,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` + TcpMss uint32 `protobuf:"varint,7,opt,name=tcp_mss,json=tcpMss,proto3" json:"tcp_mss,omitempty"` + BindInterface string `protobuf:"bytes,8,opt,name=bind_interface,json=bindInterface,proto3" json:"bind_interface,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Transport) Reset() { *m = Transport{} } +func (m *Transport) String() string { return proto.CompactTextString(m) } +func (*Transport) ProtoMessage() {} +func (*Transport) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{89} +} + +func (m *Transport) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Transport.Unmarshal(m, b) +} +func (m *Transport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Transport.Marshal(b, m, deterministic) +} +func (m *Transport) XXX_Merge(src proto.Message) { + xxx_messageInfo_Transport.Merge(m, src) +} +func (m *Transport) XXX_Size() int { + return xxx_messageInfo_Transport.Size(m) +} +func (m *Transport) XXX_DiscardUnknown() { + xxx_messageInfo_Transport.DiscardUnknown(m) } -func (m *Transport) Reset() { *m = Transport{} } -func (m *Transport) String() string { return proto.CompactTextString(m) } -func (*Transport) ProtoMessage() {} -func (*Transport) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{89} } +var xxx_messageInfo_Transport proto.InternalMessageInfo func (m *Transport) GetLocalAddress() string { if m != nil { @@ -3625,14 +5778,37 @@ func (m *Transport) GetBindInterface() string { } type RouteServer struct { - RouteServerClient bool `protobuf:"varint,1,opt,name=route_server_client,json=routeServerClient" json:"route_server_client,omitempty"` - SecondaryRoute bool `protobuf:"varint,2,opt,name=secondary_route,json=secondaryRoute" json:"secondary_route,omitempty"` + RouteServerClient bool `protobuf:"varint,1,opt,name=route_server_client,json=routeServerClient,proto3" json:"route_server_client,omitempty"` + SecondaryRoute bool `protobuf:"varint,2,opt,name=secondary_route,json=secondaryRoute,proto3" json:"secondary_route,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *RouteServer) Reset() { *m = RouteServer{} } -func (m *RouteServer) String() string { return proto.CompactTextString(m) } -func (*RouteServer) ProtoMessage() {} -func (*RouteServer) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{90} } +func (m *RouteServer) Reset() { *m = RouteServer{} } +func (m *RouteServer) String() string { return proto.CompactTextString(m) } +func (*RouteServer) ProtoMessage() {} +func (*RouteServer) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{90} +} + +func (m *RouteServer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteServer.Unmarshal(m, b) +} +func (m *RouteServer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteServer.Marshal(b, m, deterministic) +} +func (m *RouteServer) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteServer.Merge(m, src) +} +func (m *RouteServer) XXX_Size() int { + return xxx_messageInfo_RouteServer.Size(m) +} +func (m *RouteServer) XXX_DiscardUnknown() { + xxx_messageInfo_RouteServer.DiscardUnknown(m) +} + +var xxx_messageInfo_RouteServer proto.InternalMessageInfo func (m *RouteServer) GetRouteServerClient() bool { if m != nil { @@ -3649,23 +5825,46 @@ func (m *RouteServer) GetSecondaryRoute() bool { } type GracefulRestart struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - RestartTime uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime" json:"restart_time,omitempty"` - HelperOnly bool `protobuf:"varint,3,opt,name=helper_only,json=helperOnly" json:"helper_only,omitempty"` - DeferralTime uint32 `protobuf:"varint,4,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"` - NotificationEnabled bool `protobuf:"varint,5,opt,name=notification_enabled,json=notificationEnabled" json:"notification_enabled,omitempty"` - LonglivedEnabled bool `protobuf:"varint,6,opt,name=longlived_enabled,json=longlivedEnabled" json:"longlived_enabled,omitempty"` - StaleRoutesTime uint32 `protobuf:"varint,7,opt,name=stale_routes_time,json=staleRoutesTime" json:"stale_routes_time,omitempty"` - PeerRestartTime uint32 `protobuf:"varint,8,opt,name=peer_restart_time,json=peerRestartTime" json:"peer_restart_time,omitempty"` - PeerRestarting bool `protobuf:"varint,9,opt,name=peer_restarting,json=peerRestarting" json:"peer_restarting,omitempty"` - LocalRestarting bool `protobuf:"varint,10,opt,name=local_restarting,json=localRestarting" json:"local_restarting,omitempty"` - Mode string `protobuf:"bytes,11,opt,name=mode" json:"mode,omitempty"` -} - -func (m *GracefulRestart) Reset() { *m = GracefulRestart{} } -func (m *GracefulRestart) String() string { return proto.CompactTextString(m) } -func (*GracefulRestart) ProtoMessage() {} -func (*GracefulRestart) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{91} } + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + RestartTime uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime,proto3" json:"restart_time,omitempty"` + HelperOnly bool `protobuf:"varint,3,opt,name=helper_only,json=helperOnly,proto3" json:"helper_only,omitempty"` + DeferralTime uint32 `protobuf:"varint,4,opt,name=deferral_time,json=deferralTime,proto3" json:"deferral_time,omitempty"` + NotificationEnabled bool `protobuf:"varint,5,opt,name=notification_enabled,json=notificationEnabled,proto3" json:"notification_enabled,omitempty"` + LonglivedEnabled bool `protobuf:"varint,6,opt,name=longlived_enabled,json=longlivedEnabled,proto3" json:"longlived_enabled,omitempty"` + StaleRoutesTime uint32 `protobuf:"varint,7,opt,name=stale_routes_time,json=staleRoutesTime,proto3" json:"stale_routes_time,omitempty"` + PeerRestartTime uint32 `protobuf:"varint,8,opt,name=peer_restart_time,json=peerRestartTime,proto3" json:"peer_restart_time,omitempty"` + PeerRestarting bool `protobuf:"varint,9,opt,name=peer_restarting,json=peerRestarting,proto3" json:"peer_restarting,omitempty"` + LocalRestarting bool `protobuf:"varint,10,opt,name=local_restarting,json=localRestarting,proto3" json:"local_restarting,omitempty"` + Mode string `protobuf:"bytes,11,opt,name=mode,proto3" json:"mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GracefulRestart) Reset() { *m = GracefulRestart{} } +func (m *GracefulRestart) String() string { return proto.CompactTextString(m) } +func (*GracefulRestart) ProtoMessage() {} +func (*GracefulRestart) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{91} +} + +func (m *GracefulRestart) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GracefulRestart.Unmarshal(m, b) +} +func (m *GracefulRestart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GracefulRestart.Marshal(b, m, deterministic) +} +func (m *GracefulRestart) XXX_Merge(src proto.Message) { + xxx_messageInfo_GracefulRestart.Merge(m, src) +} +func (m *GracefulRestart) XXX_Size() int { + return xxx_messageInfo_GracefulRestart.Size(m) +} +func (m *GracefulRestart) XXX_DiscardUnknown() { + xxx_messageInfo_GracefulRestart.DiscardUnknown(m) +} + +var xxx_messageInfo_GracefulRestart proto.InternalMessageInfo func (m *GracefulRestart) GetEnabled() bool { if m != nil { @@ -3745,13 +5944,36 @@ func (m *GracefulRestart) GetMode() string { } type MpGracefulRestartConfig struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MpGracefulRestartConfig) Reset() { *m = MpGracefulRestartConfig{} } +func (m *MpGracefulRestartConfig) String() string { return proto.CompactTextString(m) } +func (*MpGracefulRestartConfig) ProtoMessage() {} +func (*MpGracefulRestartConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{92} +} + +func (m *MpGracefulRestartConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MpGracefulRestartConfig.Unmarshal(m, b) +} +func (m *MpGracefulRestartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MpGracefulRestartConfig.Marshal(b, m, deterministic) +} +func (m *MpGracefulRestartConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_MpGracefulRestartConfig.Merge(m, src) +} +func (m *MpGracefulRestartConfig) XXX_Size() int { + return xxx_messageInfo_MpGracefulRestartConfig.Size(m) +} +func (m *MpGracefulRestartConfig) XXX_DiscardUnknown() { + xxx_messageInfo_MpGracefulRestartConfig.DiscardUnknown(m) } -func (m *MpGracefulRestartConfig) Reset() { *m = MpGracefulRestartConfig{} } -func (m *MpGracefulRestartConfig) String() string { return proto.CompactTextString(m) } -func (*MpGracefulRestartConfig) ProtoMessage() {} -func (*MpGracefulRestartConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{92} } +var xxx_messageInfo_MpGracefulRestartConfig proto.InternalMessageInfo func (m *MpGracefulRestartConfig) GetEnabled() bool { if m != nil { @@ -3761,17 +5983,40 @@ func (m *MpGracefulRestartConfig) GetEnabled() bool { } type MpGracefulRestartState struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - Received bool `protobuf:"varint,2,opt,name=received" json:"received,omitempty"` - Advertised bool `protobuf:"varint,3,opt,name=advertised" json:"advertised,omitempty"` - EndOfRibReceived bool `protobuf:"varint,4,opt,name=end_of_rib_received,json=endOfRibReceived" json:"end_of_rib_received,omitempty"` - EndOfRibSent bool `protobuf:"varint,5,opt,name=end_of_rib_sent,json=endOfRibSent" json:"end_of_rib_sent,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Received bool `protobuf:"varint,2,opt,name=received,proto3" json:"received,omitempty"` + Advertised bool `protobuf:"varint,3,opt,name=advertised,proto3" json:"advertised,omitempty"` + EndOfRibReceived bool `protobuf:"varint,4,opt,name=end_of_rib_received,json=endOfRibReceived,proto3" json:"end_of_rib_received,omitempty"` + EndOfRibSent bool `protobuf:"varint,5,opt,name=end_of_rib_sent,json=endOfRibSent,proto3" json:"end_of_rib_sent,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MpGracefulRestartState) Reset() { *m = MpGracefulRestartState{} } +func (m *MpGracefulRestartState) String() string { return proto.CompactTextString(m) } +func (*MpGracefulRestartState) ProtoMessage() {} +func (*MpGracefulRestartState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{93} +} + +func (m *MpGracefulRestartState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MpGracefulRestartState.Unmarshal(m, b) +} +func (m *MpGracefulRestartState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MpGracefulRestartState.Marshal(b, m, deterministic) +} +func (m *MpGracefulRestartState) XXX_Merge(src proto.Message) { + xxx_messageInfo_MpGracefulRestartState.Merge(m, src) +} +func (m *MpGracefulRestartState) XXX_Size() int { + return xxx_messageInfo_MpGracefulRestartState.Size(m) +} +func (m *MpGracefulRestartState) XXX_DiscardUnknown() { + xxx_messageInfo_MpGracefulRestartState.DiscardUnknown(m) } -func (m *MpGracefulRestartState) Reset() { *m = MpGracefulRestartState{} } -func (m *MpGracefulRestartState) String() string { return proto.CompactTextString(m) } -func (*MpGracefulRestartState) ProtoMessage() {} -func (*MpGracefulRestartState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{93} } +var xxx_messageInfo_MpGracefulRestartState proto.InternalMessageInfo func (m *MpGracefulRestartState) GetEnabled() bool { if m != nil { @@ -3809,14 +6054,37 @@ func (m *MpGracefulRestartState) GetEndOfRibSent() bool { } type MpGracefulRestart struct { - Config *MpGracefulRestartConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *MpGracefulRestartState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *MpGracefulRestartConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *MpGracefulRestartState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MpGracefulRestart) Reset() { *m = MpGracefulRestart{} } +func (m *MpGracefulRestart) String() string { return proto.CompactTextString(m) } +func (*MpGracefulRestart) ProtoMessage() {} +func (*MpGracefulRestart) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{94} +} + +func (m *MpGracefulRestart) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MpGracefulRestart.Unmarshal(m, b) +} +func (m *MpGracefulRestart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MpGracefulRestart.Marshal(b, m, deterministic) +} +func (m *MpGracefulRestart) XXX_Merge(src proto.Message) { + xxx_messageInfo_MpGracefulRestart.Merge(m, src) +} +func (m *MpGracefulRestart) XXX_Size() int { + return xxx_messageInfo_MpGracefulRestart.Size(m) +} +func (m *MpGracefulRestart) XXX_DiscardUnknown() { + xxx_messageInfo_MpGracefulRestart.DiscardUnknown(m) } -func (m *MpGracefulRestart) Reset() { *m = MpGracefulRestart{} } -func (m *MpGracefulRestart) String() string { return proto.CompactTextString(m) } -func (*MpGracefulRestart) ProtoMessage() {} -func (*MpGracefulRestart) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{94} } +var xxx_messageInfo_MpGracefulRestart proto.InternalMessageInfo func (m *MpGracefulRestart) GetConfig() *MpGracefulRestartConfig { if m != nil { @@ -3833,14 +6101,37 @@ func (m *MpGracefulRestart) GetState() *MpGracefulRestartState { } type AfiSafiConfig struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AfiSafiConfig) Reset() { *m = AfiSafiConfig{} } +func (m *AfiSafiConfig) String() string { return proto.CompactTextString(m) } +func (*AfiSafiConfig) ProtoMessage() {} +func (*AfiSafiConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{95} +} + +func (m *AfiSafiConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AfiSafiConfig.Unmarshal(m, b) +} +func (m *AfiSafiConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AfiSafiConfig.Marshal(b, m, deterministic) +} +func (m *AfiSafiConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_AfiSafiConfig.Merge(m, src) +} +func (m *AfiSafiConfig) XXX_Size() int { + return xxx_messageInfo_AfiSafiConfig.Size(m) +} +func (m *AfiSafiConfig) XXX_DiscardUnknown() { + xxx_messageInfo_AfiSafiConfig.DiscardUnknown(m) } -func (m *AfiSafiConfig) Reset() { *m = AfiSafiConfig{} } -func (m *AfiSafiConfig) String() string { return proto.CompactTextString(m) } -func (*AfiSafiConfig) ProtoMessage() {} -func (*AfiSafiConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{95} } +var xxx_messageInfo_AfiSafiConfig proto.InternalMessageInfo func (m *AfiSafiConfig) GetFamily() *Family { if m != nil { @@ -3857,17 +6148,40 @@ func (m *AfiSafiConfig) GetEnabled() bool { } type AfiSafiState struct { - Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"` - Enabled bool `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"` - Received uint64 `protobuf:"varint,3,opt,name=received" json:"received,omitempty"` - Accepted uint64 `protobuf:"varint,4,opt,name=accepted" json:"accepted,omitempty"` - Advertised uint64 `protobuf:"varint,5,opt,name=advertised" json:"advertised,omitempty"` + Family *Family `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` + Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + Received uint64 `protobuf:"varint,3,opt,name=received,proto3" json:"received,omitempty"` + Accepted uint64 `protobuf:"varint,4,opt,name=accepted,proto3" json:"accepted,omitempty"` + Advertised uint64 `protobuf:"varint,5,opt,name=advertised,proto3" json:"advertised,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AfiSafiState) Reset() { *m = AfiSafiState{} } +func (m *AfiSafiState) String() string { return proto.CompactTextString(m) } +func (*AfiSafiState) ProtoMessage() {} +func (*AfiSafiState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{96} +} + +func (m *AfiSafiState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AfiSafiState.Unmarshal(m, b) +} +func (m *AfiSafiState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AfiSafiState.Marshal(b, m, deterministic) +} +func (m *AfiSafiState) XXX_Merge(src proto.Message) { + xxx_messageInfo_AfiSafiState.Merge(m, src) +} +func (m *AfiSafiState) XXX_Size() int { + return xxx_messageInfo_AfiSafiState.Size(m) +} +func (m *AfiSafiState) XXX_DiscardUnknown() { + xxx_messageInfo_AfiSafiState.DiscardUnknown(m) } -func (m *AfiSafiState) Reset() { *m = AfiSafiState{} } -func (m *AfiSafiState) String() string { return proto.CompactTextString(m) } -func (*AfiSafiState) ProtoMessage() {} -func (*AfiSafiState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{96} } +var xxx_messageInfo_AfiSafiState proto.InternalMessageInfo func (m *AfiSafiState) GetFamily() *Family { if m != nil { @@ -3905,19 +6219,42 @@ func (m *AfiSafiState) GetAdvertised() uint64 { } type RouteSelectionOptionsConfig struct { - AlwaysCompareMed bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed" json:"always_compare_med,omitempty"` - IgnoreAsPathLength bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength" json:"ignore_as_path_length,omitempty"` - ExternalCompareRouterId bool `protobuf:"varint,3,opt,name=external_compare_router_id,json=externalCompareRouterId" json:"external_compare_router_id,omitempty"` - AdvertiseInactiveRoutes bool `protobuf:"varint,4,opt,name=advertise_inactive_routes,json=advertiseInactiveRoutes" json:"advertise_inactive_routes,omitempty"` - EnableAigp bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp" json:"enable_aigp,omitempty"` - IgnoreNextHopIgpMetric bool `protobuf:"varint,6,opt,name=ignore_next_hop_igp_metric,json=ignoreNextHopIgpMetric" json:"ignore_next_hop_igp_metric,omitempty"` - DisableBestPathSelection bool `protobuf:"varint,7,opt,name=disable_best_path_selection,json=disableBestPathSelection" json:"disable_best_path_selection,omitempty"` + AlwaysCompareMed bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed,proto3" json:"always_compare_med,omitempty"` + IgnoreAsPathLength bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength,proto3" json:"ignore_as_path_length,omitempty"` + ExternalCompareRouterId bool `protobuf:"varint,3,opt,name=external_compare_router_id,json=externalCompareRouterId,proto3" json:"external_compare_router_id,omitempty"` + AdvertiseInactiveRoutes bool `protobuf:"varint,4,opt,name=advertise_inactive_routes,json=advertiseInactiveRoutes,proto3" json:"advertise_inactive_routes,omitempty"` + EnableAigp bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp,proto3" json:"enable_aigp,omitempty"` + IgnoreNextHopIgpMetric bool `protobuf:"varint,6,opt,name=ignore_next_hop_igp_metric,json=ignoreNextHopIgpMetric,proto3" json:"ignore_next_hop_igp_metric,omitempty"` + DisableBestPathSelection bool `protobuf:"varint,7,opt,name=disable_best_path_selection,json=disableBestPathSelection,proto3" json:"disable_best_path_selection,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteSelectionOptionsConfig) Reset() { *m = RouteSelectionOptionsConfig{} } +func (m *RouteSelectionOptionsConfig) String() string { return proto.CompactTextString(m) } +func (*RouteSelectionOptionsConfig) ProtoMessage() {} +func (*RouteSelectionOptionsConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{97} +} + +func (m *RouteSelectionOptionsConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteSelectionOptionsConfig.Unmarshal(m, b) +} +func (m *RouteSelectionOptionsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteSelectionOptionsConfig.Marshal(b, m, deterministic) +} +func (m *RouteSelectionOptionsConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteSelectionOptionsConfig.Merge(m, src) +} +func (m *RouteSelectionOptionsConfig) XXX_Size() int { + return xxx_messageInfo_RouteSelectionOptionsConfig.Size(m) +} +func (m *RouteSelectionOptionsConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RouteSelectionOptionsConfig.DiscardUnknown(m) } -func (m *RouteSelectionOptionsConfig) Reset() { *m = RouteSelectionOptionsConfig{} } -func (m *RouteSelectionOptionsConfig) String() string { return proto.CompactTextString(m) } -func (*RouteSelectionOptionsConfig) ProtoMessage() {} -func (*RouteSelectionOptionsConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{97} } +var xxx_messageInfo_RouteSelectionOptionsConfig proto.InternalMessageInfo func (m *RouteSelectionOptionsConfig) GetAlwaysCompareMed() bool { if m != nil { @@ -3969,19 +6306,42 @@ func (m *RouteSelectionOptionsConfig) GetDisableBestPathSelection() bool { } type RouteSelectionOptionsState struct { - AlwaysCompareMed bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed" json:"always_compare_med,omitempty"` - IgnoreAsPathLength bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength" json:"ignore_as_path_length,omitempty"` - ExternalCompareRouterId bool `protobuf:"varint,3,opt,name=external_compare_router_id,json=externalCompareRouterId" json:"external_compare_router_id,omitempty"` - AdvertiseInactiveRoutes bool `protobuf:"varint,4,opt,name=advertise_inactive_routes,json=advertiseInactiveRoutes" json:"advertise_inactive_routes,omitempty"` - EnableAigp bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp" json:"enable_aigp,omitempty"` - IgnoreNextHopIgpMetric bool `protobuf:"varint,6,opt,name=ignore_next_hop_igp_metric,json=ignoreNextHopIgpMetric" json:"ignore_next_hop_igp_metric,omitempty"` - DisableBestPathSelection bool `protobuf:"varint,7,opt,name=disable_best_path_selection,json=disableBestPathSelection" json:"disable_best_path_selection,omitempty"` + AlwaysCompareMed bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed,proto3" json:"always_compare_med,omitempty"` + IgnoreAsPathLength bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength,proto3" json:"ignore_as_path_length,omitempty"` + ExternalCompareRouterId bool `protobuf:"varint,3,opt,name=external_compare_router_id,json=externalCompareRouterId,proto3" json:"external_compare_router_id,omitempty"` + AdvertiseInactiveRoutes bool `protobuf:"varint,4,opt,name=advertise_inactive_routes,json=advertiseInactiveRoutes,proto3" json:"advertise_inactive_routes,omitempty"` + EnableAigp bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp,proto3" json:"enable_aigp,omitempty"` + IgnoreNextHopIgpMetric bool `protobuf:"varint,6,opt,name=ignore_next_hop_igp_metric,json=ignoreNextHopIgpMetric,proto3" json:"ignore_next_hop_igp_metric,omitempty"` + DisableBestPathSelection bool `protobuf:"varint,7,opt,name=disable_best_path_selection,json=disableBestPathSelection,proto3" json:"disable_best_path_selection,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteSelectionOptionsState) Reset() { *m = RouteSelectionOptionsState{} } +func (m *RouteSelectionOptionsState) String() string { return proto.CompactTextString(m) } +func (*RouteSelectionOptionsState) ProtoMessage() {} +func (*RouteSelectionOptionsState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{98} +} + +func (m *RouteSelectionOptionsState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteSelectionOptionsState.Unmarshal(m, b) +} +func (m *RouteSelectionOptionsState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteSelectionOptionsState.Marshal(b, m, deterministic) +} +func (m *RouteSelectionOptionsState) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteSelectionOptionsState.Merge(m, src) +} +func (m *RouteSelectionOptionsState) XXX_Size() int { + return xxx_messageInfo_RouteSelectionOptionsState.Size(m) +} +func (m *RouteSelectionOptionsState) XXX_DiscardUnknown() { + xxx_messageInfo_RouteSelectionOptionsState.DiscardUnknown(m) } -func (m *RouteSelectionOptionsState) Reset() { *m = RouteSelectionOptionsState{} } -func (m *RouteSelectionOptionsState) String() string { return proto.CompactTextString(m) } -func (*RouteSelectionOptionsState) ProtoMessage() {} -func (*RouteSelectionOptionsState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{98} } +var xxx_messageInfo_RouteSelectionOptionsState proto.InternalMessageInfo func (m *RouteSelectionOptionsState) GetAlwaysCompareMed() bool { if m != nil { @@ -4033,14 +6393,37 @@ func (m *RouteSelectionOptionsState) GetDisableBestPathSelection() bool { } type RouteSelectionOptions struct { - Config *RouteSelectionOptionsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *RouteSelectionOptionsState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *RouteSelectionOptionsConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *RouteSelectionOptionsState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteSelectionOptions) Reset() { *m = RouteSelectionOptions{} } +func (m *RouteSelectionOptions) String() string { return proto.CompactTextString(m) } +func (*RouteSelectionOptions) ProtoMessage() {} +func (*RouteSelectionOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{99} +} + +func (m *RouteSelectionOptions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteSelectionOptions.Unmarshal(m, b) +} +func (m *RouteSelectionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteSelectionOptions.Marshal(b, m, deterministic) +} +func (m *RouteSelectionOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteSelectionOptions.Merge(m, src) +} +func (m *RouteSelectionOptions) XXX_Size() int { + return xxx_messageInfo_RouteSelectionOptions.Size(m) +} +func (m *RouteSelectionOptions) XXX_DiscardUnknown() { + xxx_messageInfo_RouteSelectionOptions.DiscardUnknown(m) } -func (m *RouteSelectionOptions) Reset() { *m = RouteSelectionOptions{} } -func (m *RouteSelectionOptions) String() string { return proto.CompactTextString(m) } -func (*RouteSelectionOptions) ProtoMessage() {} -func (*RouteSelectionOptions) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{99} } +var xxx_messageInfo_RouteSelectionOptions proto.InternalMessageInfo func (m *RouteSelectionOptions) GetConfig() *RouteSelectionOptionsConfig { if m != nil { @@ -4057,13 +6440,36 @@ func (m *RouteSelectionOptions) GetState() *RouteSelectionOptionsState { } type UseMultiplePathsConfig struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UseMultiplePathsConfig) Reset() { *m = UseMultiplePathsConfig{} } +func (m *UseMultiplePathsConfig) String() string { return proto.CompactTextString(m) } +func (*UseMultiplePathsConfig) ProtoMessage() {} +func (*UseMultiplePathsConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{100} +} + +func (m *UseMultiplePathsConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UseMultiplePathsConfig.Unmarshal(m, b) +} +func (m *UseMultiplePathsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UseMultiplePathsConfig.Marshal(b, m, deterministic) +} +func (m *UseMultiplePathsConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_UseMultiplePathsConfig.Merge(m, src) +} +func (m *UseMultiplePathsConfig) XXX_Size() int { + return xxx_messageInfo_UseMultiplePathsConfig.Size(m) +} +func (m *UseMultiplePathsConfig) XXX_DiscardUnknown() { + xxx_messageInfo_UseMultiplePathsConfig.DiscardUnknown(m) } -func (m *UseMultiplePathsConfig) Reset() { *m = UseMultiplePathsConfig{} } -func (m *UseMultiplePathsConfig) String() string { return proto.CompactTextString(m) } -func (*UseMultiplePathsConfig) ProtoMessage() {} -func (*UseMultiplePathsConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{100} } +var xxx_messageInfo_UseMultiplePathsConfig proto.InternalMessageInfo func (m *UseMultiplePathsConfig) GetEnabled() bool { if m != nil { @@ -4073,13 +6479,36 @@ func (m *UseMultiplePathsConfig) GetEnabled() bool { } type UseMultiplePathsState struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UseMultiplePathsState) Reset() { *m = UseMultiplePathsState{} } +func (m *UseMultiplePathsState) String() string { return proto.CompactTextString(m) } +func (*UseMultiplePathsState) ProtoMessage() {} +func (*UseMultiplePathsState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{101} +} + +func (m *UseMultiplePathsState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UseMultiplePathsState.Unmarshal(m, b) +} +func (m *UseMultiplePathsState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UseMultiplePathsState.Marshal(b, m, deterministic) +} +func (m *UseMultiplePathsState) XXX_Merge(src proto.Message) { + xxx_messageInfo_UseMultiplePathsState.Merge(m, src) +} +func (m *UseMultiplePathsState) XXX_Size() int { + return xxx_messageInfo_UseMultiplePathsState.Size(m) +} +func (m *UseMultiplePathsState) XXX_DiscardUnknown() { + xxx_messageInfo_UseMultiplePathsState.DiscardUnknown(m) } -func (m *UseMultiplePathsState) Reset() { *m = UseMultiplePathsState{} } -func (m *UseMultiplePathsState) String() string { return proto.CompactTextString(m) } -func (*UseMultiplePathsState) ProtoMessage() {} -func (*UseMultiplePathsState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{101} } +var xxx_messageInfo_UseMultiplePathsState proto.InternalMessageInfo func (m *UseMultiplePathsState) GetEnabled() bool { if m != nil { @@ -4089,14 +6518,37 @@ func (m *UseMultiplePathsState) GetEnabled() bool { } type EbgpConfig struct { - AllowMultipleAs bool `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs" json:"allow_multiple_as,omitempty"` - MaximumPaths uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"` + AllowMultipleAs bool `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs,proto3" json:"allow_multiple_as,omitempty"` + MaximumPaths uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths,proto3" json:"maximum_paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EbgpConfig) Reset() { *m = EbgpConfig{} } +func (m *EbgpConfig) String() string { return proto.CompactTextString(m) } +func (*EbgpConfig) ProtoMessage() {} +func (*EbgpConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{102} +} + +func (m *EbgpConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EbgpConfig.Unmarshal(m, b) +} +func (m *EbgpConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EbgpConfig.Marshal(b, m, deterministic) +} +func (m *EbgpConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EbgpConfig.Merge(m, src) +} +func (m *EbgpConfig) XXX_Size() int { + return xxx_messageInfo_EbgpConfig.Size(m) +} +func (m *EbgpConfig) XXX_DiscardUnknown() { + xxx_messageInfo_EbgpConfig.DiscardUnknown(m) } -func (m *EbgpConfig) Reset() { *m = EbgpConfig{} } -func (m *EbgpConfig) String() string { return proto.CompactTextString(m) } -func (*EbgpConfig) ProtoMessage() {} -func (*EbgpConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{102} } +var xxx_messageInfo_EbgpConfig proto.InternalMessageInfo func (m *EbgpConfig) GetAllowMultipleAs() bool { if m != nil { @@ -4113,14 +6565,37 @@ func (m *EbgpConfig) GetMaximumPaths() uint32 { } type EbgpState struct { - AllowMultipleAs bool `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs" json:"allow_multiple_as,omitempty"` - MaximumPaths uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"` + AllowMultipleAs bool `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs,proto3" json:"allow_multiple_as,omitempty"` + MaximumPaths uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths,proto3" json:"maximum_paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EbgpState) Reset() { *m = EbgpState{} } +func (m *EbgpState) String() string { return proto.CompactTextString(m) } +func (*EbgpState) ProtoMessage() {} +func (*EbgpState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{103} +} + +func (m *EbgpState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EbgpState.Unmarshal(m, b) +} +func (m *EbgpState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EbgpState.Marshal(b, m, deterministic) +} +func (m *EbgpState) XXX_Merge(src proto.Message) { + xxx_messageInfo_EbgpState.Merge(m, src) +} +func (m *EbgpState) XXX_Size() int { + return xxx_messageInfo_EbgpState.Size(m) +} +func (m *EbgpState) XXX_DiscardUnknown() { + xxx_messageInfo_EbgpState.DiscardUnknown(m) } -func (m *EbgpState) Reset() { *m = EbgpState{} } -func (m *EbgpState) String() string { return proto.CompactTextString(m) } -func (*EbgpState) ProtoMessage() {} -func (*EbgpState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{103} } +var xxx_messageInfo_EbgpState proto.InternalMessageInfo func (m *EbgpState) GetAllowMultipleAs() bool { if m != nil { @@ -4137,14 +6612,37 @@ func (m *EbgpState) GetMaximumPaths() uint32 { } type Ebgp struct { - Config *EbgpConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *EbgpState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *EbgpConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *EbgpState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Ebgp) Reset() { *m = Ebgp{} } +func (m *Ebgp) String() string { return proto.CompactTextString(m) } +func (*Ebgp) ProtoMessage() {} +func (*Ebgp) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{104} +} + +func (m *Ebgp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Ebgp.Unmarshal(m, b) +} +func (m *Ebgp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Ebgp.Marshal(b, m, deterministic) +} +func (m *Ebgp) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ebgp.Merge(m, src) +} +func (m *Ebgp) XXX_Size() int { + return xxx_messageInfo_Ebgp.Size(m) +} +func (m *Ebgp) XXX_DiscardUnknown() { + xxx_messageInfo_Ebgp.DiscardUnknown(m) } -func (m *Ebgp) Reset() { *m = Ebgp{} } -func (m *Ebgp) String() string { return proto.CompactTextString(m) } -func (*Ebgp) ProtoMessage() {} -func (*Ebgp) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{104} } +var xxx_messageInfo_Ebgp proto.InternalMessageInfo func (m *Ebgp) GetConfig() *EbgpConfig { if m != nil { @@ -4161,13 +6659,36 @@ func (m *Ebgp) GetState() *EbgpState { } type IbgpConfig struct { - MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"` + MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths,proto3" json:"maximum_paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IbgpConfig) Reset() { *m = IbgpConfig{} } +func (m *IbgpConfig) String() string { return proto.CompactTextString(m) } +func (*IbgpConfig) ProtoMessage() {} +func (*IbgpConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{105} +} + +func (m *IbgpConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IbgpConfig.Unmarshal(m, b) +} +func (m *IbgpConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IbgpConfig.Marshal(b, m, deterministic) +} +func (m *IbgpConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_IbgpConfig.Merge(m, src) +} +func (m *IbgpConfig) XXX_Size() int { + return xxx_messageInfo_IbgpConfig.Size(m) +} +func (m *IbgpConfig) XXX_DiscardUnknown() { + xxx_messageInfo_IbgpConfig.DiscardUnknown(m) } -func (m *IbgpConfig) Reset() { *m = IbgpConfig{} } -func (m *IbgpConfig) String() string { return proto.CompactTextString(m) } -func (*IbgpConfig) ProtoMessage() {} -func (*IbgpConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{105} } +var xxx_messageInfo_IbgpConfig proto.InternalMessageInfo func (m *IbgpConfig) GetMaximumPaths() uint32 { if m != nil { @@ -4177,13 +6698,36 @@ func (m *IbgpConfig) GetMaximumPaths() uint32 { } type IbgpState struct { - MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"` + MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths,proto3" json:"maximum_paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IbgpState) Reset() { *m = IbgpState{} } +func (m *IbgpState) String() string { return proto.CompactTextString(m) } +func (*IbgpState) ProtoMessage() {} +func (*IbgpState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{106} +} + +func (m *IbgpState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IbgpState.Unmarshal(m, b) +} +func (m *IbgpState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IbgpState.Marshal(b, m, deterministic) +} +func (m *IbgpState) XXX_Merge(src proto.Message) { + xxx_messageInfo_IbgpState.Merge(m, src) +} +func (m *IbgpState) XXX_Size() int { + return xxx_messageInfo_IbgpState.Size(m) +} +func (m *IbgpState) XXX_DiscardUnknown() { + xxx_messageInfo_IbgpState.DiscardUnknown(m) } -func (m *IbgpState) Reset() { *m = IbgpState{} } -func (m *IbgpState) String() string { return proto.CompactTextString(m) } -func (*IbgpState) ProtoMessage() {} -func (*IbgpState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{106} } +var xxx_messageInfo_IbgpState proto.InternalMessageInfo func (m *IbgpState) GetMaximumPaths() uint32 { if m != nil { @@ -4193,14 +6737,37 @@ func (m *IbgpState) GetMaximumPaths() uint32 { } type Ibgp struct { - Config *IbgpConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *IbgpState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *IbgpConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *IbgpState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Ibgp) Reset() { *m = Ibgp{} } +func (m *Ibgp) String() string { return proto.CompactTextString(m) } +func (*Ibgp) ProtoMessage() {} +func (*Ibgp) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{107} +} + +func (m *Ibgp) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Ibgp.Unmarshal(m, b) +} +func (m *Ibgp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Ibgp.Marshal(b, m, deterministic) +} +func (m *Ibgp) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ibgp.Merge(m, src) +} +func (m *Ibgp) XXX_Size() int { + return xxx_messageInfo_Ibgp.Size(m) +} +func (m *Ibgp) XXX_DiscardUnknown() { + xxx_messageInfo_Ibgp.DiscardUnknown(m) } -func (m *Ibgp) Reset() { *m = Ibgp{} } -func (m *Ibgp) String() string { return proto.CompactTextString(m) } -func (*Ibgp) ProtoMessage() {} -func (*Ibgp) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{107} } +var xxx_messageInfo_Ibgp proto.InternalMessageInfo func (m *Ibgp) GetConfig() *IbgpConfig { if m != nil { @@ -4217,16 +6784,39 @@ func (m *Ibgp) GetState() *IbgpState { } type UseMultiplePaths struct { - Config *UseMultiplePathsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *UseMultiplePathsState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` - Ebgp *Ebgp `protobuf:"bytes,3,opt,name=ebgp" json:"ebgp,omitempty"` - Ibgp *Ibgp `protobuf:"bytes,4,opt,name=ibgp" json:"ibgp,omitempty"` + Config *UseMultiplePathsConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *UseMultiplePathsState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + Ebgp *Ebgp `protobuf:"bytes,3,opt,name=ebgp,proto3" json:"ebgp,omitempty"` + Ibgp *Ibgp `protobuf:"bytes,4,opt,name=ibgp,proto3" json:"ibgp,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UseMultiplePaths) Reset() { *m = UseMultiplePaths{} } +func (m *UseMultiplePaths) String() string { return proto.CompactTextString(m) } +func (*UseMultiplePaths) ProtoMessage() {} +func (*UseMultiplePaths) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{108} +} + +func (m *UseMultiplePaths) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UseMultiplePaths.Unmarshal(m, b) +} +func (m *UseMultiplePaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UseMultiplePaths.Marshal(b, m, deterministic) +} +func (m *UseMultiplePaths) XXX_Merge(src proto.Message) { + xxx_messageInfo_UseMultiplePaths.Merge(m, src) +} +func (m *UseMultiplePaths) XXX_Size() int { + return xxx_messageInfo_UseMultiplePaths.Size(m) +} +func (m *UseMultiplePaths) XXX_DiscardUnknown() { + xxx_messageInfo_UseMultiplePaths.DiscardUnknown(m) } -func (m *UseMultiplePaths) Reset() { *m = UseMultiplePaths{} } -func (m *UseMultiplePaths) String() string { return proto.CompactTextString(m) } -func (*UseMultiplePaths) ProtoMessage() {} -func (*UseMultiplePaths) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{108} } +var xxx_messageInfo_UseMultiplePaths proto.InternalMessageInfo func (m *UseMultiplePaths) GetConfig() *UseMultiplePathsConfig { if m != nil { @@ -4257,13 +6847,36 @@ func (m *UseMultiplePaths) GetIbgp() *Ibgp { } type RouteTargetMembershipConfig struct { - DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"` + DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime,proto3" json:"deferral_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteTargetMembershipConfig) Reset() { *m = RouteTargetMembershipConfig{} } +func (m *RouteTargetMembershipConfig) String() string { return proto.CompactTextString(m) } +func (*RouteTargetMembershipConfig) ProtoMessage() {} +func (*RouteTargetMembershipConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{109} +} + +func (m *RouteTargetMembershipConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteTargetMembershipConfig.Unmarshal(m, b) +} +func (m *RouteTargetMembershipConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteTargetMembershipConfig.Marshal(b, m, deterministic) +} +func (m *RouteTargetMembershipConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteTargetMembershipConfig.Merge(m, src) +} +func (m *RouteTargetMembershipConfig) XXX_Size() int { + return xxx_messageInfo_RouteTargetMembershipConfig.Size(m) +} +func (m *RouteTargetMembershipConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RouteTargetMembershipConfig.DiscardUnknown(m) } -func (m *RouteTargetMembershipConfig) Reset() { *m = RouteTargetMembershipConfig{} } -func (m *RouteTargetMembershipConfig) String() string { return proto.CompactTextString(m) } -func (*RouteTargetMembershipConfig) ProtoMessage() {} -func (*RouteTargetMembershipConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{109} } +var xxx_messageInfo_RouteTargetMembershipConfig proto.InternalMessageInfo func (m *RouteTargetMembershipConfig) GetDeferralTime() uint32 { if m != nil { @@ -4273,13 +6886,36 @@ func (m *RouteTargetMembershipConfig) GetDeferralTime() uint32 { } type RouteTargetMembershipState struct { - DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"` + DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime,proto3" json:"deferral_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteTargetMembershipState) Reset() { *m = RouteTargetMembershipState{} } +func (m *RouteTargetMembershipState) String() string { return proto.CompactTextString(m) } +func (*RouteTargetMembershipState) ProtoMessage() {} +func (*RouteTargetMembershipState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{110} +} + +func (m *RouteTargetMembershipState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteTargetMembershipState.Unmarshal(m, b) +} +func (m *RouteTargetMembershipState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteTargetMembershipState.Marshal(b, m, deterministic) +} +func (m *RouteTargetMembershipState) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteTargetMembershipState.Merge(m, src) +} +func (m *RouteTargetMembershipState) XXX_Size() int { + return xxx_messageInfo_RouteTargetMembershipState.Size(m) +} +func (m *RouteTargetMembershipState) XXX_DiscardUnknown() { + xxx_messageInfo_RouteTargetMembershipState.DiscardUnknown(m) } -func (m *RouteTargetMembershipState) Reset() { *m = RouteTargetMembershipState{} } -func (m *RouteTargetMembershipState) String() string { return proto.CompactTextString(m) } -func (*RouteTargetMembershipState) ProtoMessage() {} -func (*RouteTargetMembershipState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{110} } +var xxx_messageInfo_RouteTargetMembershipState proto.InternalMessageInfo func (m *RouteTargetMembershipState) GetDeferralTime() uint32 { if m != nil { @@ -4289,14 +6925,37 @@ func (m *RouteTargetMembershipState) GetDeferralTime() uint32 { } type RouteTargetMembership struct { - Config *RouteTargetMembershipConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *RouteTargetMembershipState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *RouteTargetMembershipConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *RouteTargetMembershipState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RouteTargetMembership) Reset() { *m = RouteTargetMembership{} } +func (m *RouteTargetMembership) String() string { return proto.CompactTextString(m) } +func (*RouteTargetMembership) ProtoMessage() {} +func (*RouteTargetMembership) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{111} +} + +func (m *RouteTargetMembership) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RouteTargetMembership.Unmarshal(m, b) +} +func (m *RouteTargetMembership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RouteTargetMembership.Marshal(b, m, deterministic) +} +func (m *RouteTargetMembership) XXX_Merge(src proto.Message) { + xxx_messageInfo_RouteTargetMembership.Merge(m, src) +} +func (m *RouteTargetMembership) XXX_Size() int { + return xxx_messageInfo_RouteTargetMembership.Size(m) +} +func (m *RouteTargetMembership) XXX_DiscardUnknown() { + xxx_messageInfo_RouteTargetMembership.DiscardUnknown(m) } -func (m *RouteTargetMembership) Reset() { *m = RouteTargetMembership{} } -func (m *RouteTargetMembership) String() string { return proto.CompactTextString(m) } -func (*RouteTargetMembership) ProtoMessage() {} -func (*RouteTargetMembership) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{111} } +var xxx_messageInfo_RouteTargetMembership proto.InternalMessageInfo func (m *RouteTargetMembership) GetConfig() *RouteTargetMembershipConfig { if m != nil { @@ -4313,17 +6972,38 @@ func (m *RouteTargetMembership) GetState() *RouteTargetMembershipState { } type LongLivedGracefulRestartConfig struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - RestartTime uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime" json:"restart_time,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + RestartTime uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime,proto3" json:"restart_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LongLivedGracefulRestartConfig) Reset() { *m = LongLivedGracefulRestartConfig{} } func (m *LongLivedGracefulRestartConfig) String() string { return proto.CompactTextString(m) } func (*LongLivedGracefulRestartConfig) ProtoMessage() {} func (*LongLivedGracefulRestartConfig) Descriptor() ([]byte, []int) { - return fileDescriptor2, []int{112} + return fileDescriptor_7cc8e5cf92decdb2, []int{112} +} + +func (m *LongLivedGracefulRestartConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LongLivedGracefulRestartConfig.Unmarshal(m, b) +} +func (m *LongLivedGracefulRestartConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LongLivedGracefulRestartConfig.Marshal(b, m, deterministic) +} +func (m *LongLivedGracefulRestartConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_LongLivedGracefulRestartConfig.Merge(m, src) +} +func (m *LongLivedGracefulRestartConfig) XXX_Size() int { + return xxx_messageInfo_LongLivedGracefulRestartConfig.Size(m) +} +func (m *LongLivedGracefulRestartConfig) XXX_DiscardUnknown() { + xxx_messageInfo_LongLivedGracefulRestartConfig.DiscardUnknown(m) } +var xxx_messageInfo_LongLivedGracefulRestartConfig proto.InternalMessageInfo + func (m *LongLivedGracefulRestartConfig) GetEnabled() bool { if m != nil { return m.Enabled @@ -4339,19 +7019,40 @@ func (m *LongLivedGracefulRestartConfig) GetRestartTime() uint32 { } type LongLivedGracefulRestartState struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - Received bool `protobuf:"varint,2,opt,name=received" json:"received,omitempty"` - Advertised bool `protobuf:"varint,3,opt,name=advertised" json:"advertised,omitempty"` - PeerRestartTime uint32 `protobuf:"varint,4,opt,name=peer_restart_time,json=peerRestartTime" json:"peer_restart_time,omitempty"` - PeerRestartTimerExpired bool `protobuf:"varint,5,opt,name=peer_restart_timer_expired,json=peerRestartTimerExpired" json:"peer_restart_timer_expired,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Received bool `protobuf:"varint,2,opt,name=received,proto3" json:"received,omitempty"` + Advertised bool `protobuf:"varint,3,opt,name=advertised,proto3" json:"advertised,omitempty"` + PeerRestartTime uint32 `protobuf:"varint,4,opt,name=peer_restart_time,json=peerRestartTime,proto3" json:"peer_restart_time,omitempty"` + PeerRestartTimerExpired bool `protobuf:"varint,5,opt,name=peer_restart_timer_expired,json=peerRestartTimerExpired,proto3" json:"peer_restart_timer_expired,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *LongLivedGracefulRestartState) Reset() { *m = LongLivedGracefulRestartState{} } func (m *LongLivedGracefulRestartState) String() string { return proto.CompactTextString(m) } func (*LongLivedGracefulRestartState) ProtoMessage() {} func (*LongLivedGracefulRestartState) Descriptor() ([]byte, []int) { - return fileDescriptor2, []int{113} + return fileDescriptor_7cc8e5cf92decdb2, []int{113} +} + +func (m *LongLivedGracefulRestartState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LongLivedGracefulRestartState.Unmarshal(m, b) +} +func (m *LongLivedGracefulRestartState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LongLivedGracefulRestartState.Marshal(b, m, deterministic) } +func (m *LongLivedGracefulRestartState) XXX_Merge(src proto.Message) { + xxx_messageInfo_LongLivedGracefulRestartState.Merge(m, src) +} +func (m *LongLivedGracefulRestartState) XXX_Size() int { + return xxx_messageInfo_LongLivedGracefulRestartState.Size(m) +} +func (m *LongLivedGracefulRestartState) XXX_DiscardUnknown() { + xxx_messageInfo_LongLivedGracefulRestartState.DiscardUnknown(m) +} + +var xxx_messageInfo_LongLivedGracefulRestartState proto.InternalMessageInfo func (m *LongLivedGracefulRestartState) GetEnabled() bool { if m != nil { @@ -4389,14 +7090,37 @@ func (m *LongLivedGracefulRestartState) GetPeerRestartTimerExpired() bool { } type LongLivedGracefulRestart struct { - Config *LongLivedGracefulRestartConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *LongLivedGracefulRestartState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *LongLivedGracefulRestartConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *LongLivedGracefulRestartState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *LongLivedGracefulRestart) Reset() { *m = LongLivedGracefulRestart{} } -func (m *LongLivedGracefulRestart) String() string { return proto.CompactTextString(m) } -func (*LongLivedGracefulRestart) ProtoMessage() {} -func (*LongLivedGracefulRestart) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{114} } +func (m *LongLivedGracefulRestart) Reset() { *m = LongLivedGracefulRestart{} } +func (m *LongLivedGracefulRestart) String() string { return proto.CompactTextString(m) } +func (*LongLivedGracefulRestart) ProtoMessage() {} +func (*LongLivedGracefulRestart) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{114} +} + +func (m *LongLivedGracefulRestart) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LongLivedGracefulRestart.Unmarshal(m, b) +} +func (m *LongLivedGracefulRestart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LongLivedGracefulRestart.Marshal(b, m, deterministic) +} +func (m *LongLivedGracefulRestart) XXX_Merge(src proto.Message) { + xxx_messageInfo_LongLivedGracefulRestart.Merge(m, src) +} +func (m *LongLivedGracefulRestart) XXX_Size() int { + return xxx_messageInfo_LongLivedGracefulRestart.Size(m) +} +func (m *LongLivedGracefulRestart) XXX_DiscardUnknown() { + xxx_messageInfo_LongLivedGracefulRestart.DiscardUnknown(m) +} + +var xxx_messageInfo_LongLivedGracefulRestart proto.InternalMessageInfo func (m *LongLivedGracefulRestart) GetConfig() *LongLivedGracefulRestartConfig { if m != nil { @@ -4413,10 +7137,10 @@ func (m *LongLivedGracefulRestart) GetState() *LongLivedGracefulRestartState { } type AfiSafi struct { - MpGracefulRestart *MpGracefulRestart `protobuf:"bytes,1,opt,name=mp_graceful_restart,json=mpGracefulRestart" json:"mp_graceful_restart,omitempty"` - Config *AfiSafiConfig `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"` - State *AfiSafiState `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"` - ApplyPolicy *ApplyPolicy `protobuf:"bytes,4,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"` + MpGracefulRestart *MpGracefulRestart `protobuf:"bytes,1,opt,name=mp_graceful_restart,json=mpGracefulRestart,proto3" json:"mp_graceful_restart,omitempty"` + Config *AfiSafiConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + State *AfiSafiState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + ApplyPolicy *ApplyPolicy `protobuf:"bytes,4,opt,name=apply_policy,json=applyPolicy,proto3" json:"apply_policy,omitempty"` // TODO: // Support the following structures: // - Ipv4Unicast @@ -4429,18 +7153,41 @@ type AfiSafi struct { // - L3vpnIpv6Multicast // - L2vpnVpls // - L2vpnEvpn - RouteSelectionOptions *RouteSelectionOptions `protobuf:"bytes,5,opt,name=route_selection_options,json=routeSelectionOptions" json:"route_selection_options,omitempty"` - UseMultiplePaths *UseMultiplePaths `protobuf:"bytes,6,opt,name=use_multiple_paths,json=useMultiplePaths" json:"use_multiple_paths,omitempty"` - PrefixLimits *PrefixLimit `protobuf:"bytes,7,opt,name=prefix_limits,json=prefixLimits" json:"prefix_limits,omitempty"` - RouteTargetMembership *RouteTargetMembership `protobuf:"bytes,8,opt,name=route_target_membership,json=routeTargetMembership" json:"route_target_membership,omitempty"` - LongLivedGracefulRestart *LongLivedGracefulRestart `protobuf:"bytes,9,opt,name=long_lived_graceful_restart,json=longLivedGracefulRestart" json:"long_lived_graceful_restart,omitempty"` - AddPaths *AddPaths `protobuf:"bytes,10,opt,name=add_paths,json=addPaths" json:"add_paths,omitempty"` + RouteSelectionOptions *RouteSelectionOptions `protobuf:"bytes,5,opt,name=route_selection_options,json=routeSelectionOptions,proto3" json:"route_selection_options,omitempty"` + UseMultiplePaths *UseMultiplePaths `protobuf:"bytes,6,opt,name=use_multiple_paths,json=useMultiplePaths,proto3" json:"use_multiple_paths,omitempty"` + PrefixLimits *PrefixLimit `protobuf:"bytes,7,opt,name=prefix_limits,json=prefixLimits,proto3" json:"prefix_limits,omitempty"` + RouteTargetMembership *RouteTargetMembership `protobuf:"bytes,8,opt,name=route_target_membership,json=routeTargetMembership,proto3" json:"route_target_membership,omitempty"` + LongLivedGracefulRestart *LongLivedGracefulRestart `protobuf:"bytes,9,opt,name=long_lived_graceful_restart,json=longLivedGracefulRestart,proto3" json:"long_lived_graceful_restart,omitempty"` + AddPaths *AddPaths `protobuf:"bytes,10,opt,name=add_paths,json=addPaths,proto3" json:"add_paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AfiSafi) Reset() { *m = AfiSafi{} } +func (m *AfiSafi) String() string { return proto.CompactTextString(m) } +func (*AfiSafi) ProtoMessage() {} +func (*AfiSafi) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{115} +} + +func (m *AfiSafi) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AfiSafi.Unmarshal(m, b) +} +func (m *AfiSafi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AfiSafi.Marshal(b, m, deterministic) +} +func (m *AfiSafi) XXX_Merge(src proto.Message) { + xxx_messageInfo_AfiSafi.Merge(m, src) +} +func (m *AfiSafi) XXX_Size() int { + return xxx_messageInfo_AfiSafi.Size(m) +} +func (m *AfiSafi) XXX_DiscardUnknown() { + xxx_messageInfo_AfiSafi.DiscardUnknown(m) } -func (m *AfiSafi) Reset() { *m = AfiSafi{} } -func (m *AfiSafi) String() string { return proto.CompactTextString(m) } -func (*AfiSafi) ProtoMessage() {} -func (*AfiSafi) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{115} } +var xxx_messageInfo_AfiSafi proto.InternalMessageInfo func (m *AfiSafi) GetMpGracefulRestart() *MpGracefulRestart { if m != nil { @@ -4513,14 +7260,37 @@ func (m *AfiSafi) GetAddPaths() *AddPaths { } type AddPathsConfig struct { - Receive bool `protobuf:"varint,1,opt,name=receive" json:"receive,omitempty"` - SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax" json:"send_max,omitempty"` + Receive bool `protobuf:"varint,1,opt,name=receive,proto3" json:"receive,omitempty"` + SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax,proto3" json:"send_max,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddPathsConfig) Reset() { *m = AddPathsConfig{} } -func (m *AddPathsConfig) String() string { return proto.CompactTextString(m) } -func (*AddPathsConfig) ProtoMessage() {} -func (*AddPathsConfig) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{116} } +func (m *AddPathsConfig) Reset() { *m = AddPathsConfig{} } +func (m *AddPathsConfig) String() string { return proto.CompactTextString(m) } +func (*AddPathsConfig) ProtoMessage() {} +func (*AddPathsConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{116} +} + +func (m *AddPathsConfig) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathsConfig.Unmarshal(m, b) +} +func (m *AddPathsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathsConfig.Marshal(b, m, deterministic) +} +func (m *AddPathsConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathsConfig.Merge(m, src) +} +func (m *AddPathsConfig) XXX_Size() int { + return xxx_messageInfo_AddPathsConfig.Size(m) +} +func (m *AddPathsConfig) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathsConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_AddPathsConfig proto.InternalMessageInfo func (m *AddPathsConfig) GetReceive() bool { if m != nil { @@ -4537,14 +7307,37 @@ func (m *AddPathsConfig) GetSendMax() uint32 { } type AddPathsState struct { - Receive bool `protobuf:"varint,1,opt,name=receive" json:"receive,omitempty"` - SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax" json:"send_max,omitempty"` + Receive bool `protobuf:"varint,1,opt,name=receive,proto3" json:"receive,omitempty"` + SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax,proto3" json:"send_max,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddPathsState) Reset() { *m = AddPathsState{} } +func (m *AddPathsState) String() string { return proto.CompactTextString(m) } +func (*AddPathsState) ProtoMessage() {} +func (*AddPathsState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{117} +} + +func (m *AddPathsState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPathsState.Unmarshal(m, b) +} +func (m *AddPathsState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPathsState.Marshal(b, m, deterministic) +} +func (m *AddPathsState) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPathsState.Merge(m, src) +} +func (m *AddPathsState) XXX_Size() int { + return xxx_messageInfo_AddPathsState.Size(m) +} +func (m *AddPathsState) XXX_DiscardUnknown() { + xxx_messageInfo_AddPathsState.DiscardUnknown(m) } -func (m *AddPathsState) Reset() { *m = AddPathsState{} } -func (m *AddPathsState) String() string { return proto.CompactTextString(m) } -func (*AddPathsState) ProtoMessage() {} -func (*AddPathsState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{117} } +var xxx_messageInfo_AddPathsState proto.InternalMessageInfo func (m *AddPathsState) GetReceive() bool { if m != nil { @@ -4561,14 +7354,37 @@ func (m *AddPathsState) GetSendMax() uint32 { } type AddPaths struct { - Config *AddPathsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` - State *AddPathsState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Config *AddPathsConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + State *AddPathsState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AddPaths) Reset() { *m = AddPaths{} } -func (m *AddPaths) String() string { return proto.CompactTextString(m) } -func (*AddPaths) ProtoMessage() {} -func (*AddPaths) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{118} } +func (m *AddPaths) Reset() { *m = AddPaths{} } +func (m *AddPaths) String() string { return proto.CompactTextString(m) } +func (*AddPaths) ProtoMessage() {} +func (*AddPaths) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{118} +} + +func (m *AddPaths) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddPaths.Unmarshal(m, b) +} +func (m *AddPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddPaths.Marshal(b, m, deterministic) +} +func (m *AddPaths) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddPaths.Merge(m, src) +} +func (m *AddPaths) XXX_Size() int { + return xxx_messageInfo_AddPaths.Size(m) +} +func (m *AddPaths) XXX_DiscardUnknown() { + xxx_messageInfo_AddPaths.DiscardUnknown(m) +} + +var xxx_messageInfo_AddPaths proto.InternalMessageInfo func (m *AddPaths) GetConfig() *AddPathsConfig { if m != nil { @@ -4585,15 +7401,38 @@ func (m *AddPaths) GetState() *AddPathsState { } type Prefix struct { - IpPrefix string `protobuf:"bytes,1,opt,name=ip_prefix,json=ipPrefix" json:"ip_prefix,omitempty"` - MaskLengthMin uint32 `protobuf:"varint,2,opt,name=mask_length_min,json=maskLengthMin" json:"mask_length_min,omitempty"` - MaskLengthMax uint32 `protobuf:"varint,3,opt,name=mask_length_max,json=maskLengthMax" json:"mask_length_max,omitempty"` + IpPrefix string `protobuf:"bytes,1,opt,name=ip_prefix,json=ipPrefix,proto3" json:"ip_prefix,omitempty"` + MaskLengthMin uint32 `protobuf:"varint,2,opt,name=mask_length_min,json=maskLengthMin,proto3" json:"mask_length_min,omitempty"` + MaskLengthMax uint32 `protobuf:"varint,3,opt,name=mask_length_max,json=maskLengthMax,proto3" json:"mask_length_max,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Prefix) Reset() { *m = Prefix{} } +func (m *Prefix) String() string { return proto.CompactTextString(m) } +func (*Prefix) ProtoMessage() {} +func (*Prefix) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{119} +} + +func (m *Prefix) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Prefix.Unmarshal(m, b) +} +func (m *Prefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Prefix.Marshal(b, m, deterministic) +} +func (m *Prefix) XXX_Merge(src proto.Message) { + xxx_messageInfo_Prefix.Merge(m, src) +} +func (m *Prefix) XXX_Size() int { + return xxx_messageInfo_Prefix.Size(m) +} +func (m *Prefix) XXX_DiscardUnknown() { + xxx_messageInfo_Prefix.DiscardUnknown(m) } -func (m *Prefix) Reset() { *m = Prefix{} } -func (m *Prefix) String() string { return proto.CompactTextString(m) } -func (*Prefix) ProtoMessage() {} -func (*Prefix) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{119} } +var xxx_messageInfo_Prefix proto.InternalMessageInfo func (m *Prefix) GetIpPrefix() string { if m != nil { @@ -4617,16 +7456,39 @@ func (m *Prefix) GetMaskLengthMax() uint32 { } type DefinedSet struct { - DefinedType DefinedType `protobuf:"varint,1,opt,name=defined_type,json=definedType,enum=gobgpapi.DefinedType" json:"defined_type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` - List []string `protobuf:"bytes,3,rep,name=list" json:"list,omitempty"` - Prefixes []*Prefix `protobuf:"bytes,4,rep,name=prefixes" json:"prefixes,omitempty"` + DefinedType DefinedType `protobuf:"varint,1,opt,name=defined_type,json=definedType,proto3,enum=gobgpapi.DefinedType" json:"defined_type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + List []string `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` + Prefixes []*Prefix `protobuf:"bytes,4,rep,name=prefixes,proto3" json:"prefixes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *DefinedSet) Reset() { *m = DefinedSet{} } -func (m *DefinedSet) String() string { return proto.CompactTextString(m) } -func (*DefinedSet) ProtoMessage() {} -func (*DefinedSet) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{120} } +func (m *DefinedSet) Reset() { *m = DefinedSet{} } +func (m *DefinedSet) String() string { return proto.CompactTextString(m) } +func (*DefinedSet) ProtoMessage() {} +func (*DefinedSet) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{120} +} + +func (m *DefinedSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DefinedSet.Unmarshal(m, b) +} +func (m *DefinedSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DefinedSet.Marshal(b, m, deterministic) +} +func (m *DefinedSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_DefinedSet.Merge(m, src) +} +func (m *DefinedSet) XXX_Size() int { + return xxx_messageInfo_DefinedSet.Size(m) +} +func (m *DefinedSet) XXX_DiscardUnknown() { + xxx_messageInfo_DefinedSet.DiscardUnknown(m) +} + +var xxx_messageInfo_DefinedSet proto.InternalMessageInfo func (m *DefinedSet) GetDefinedType() DefinedType { if m != nil { @@ -4657,14 +7519,37 @@ func (m *DefinedSet) GetPrefixes() []*Prefix { } type MatchSet struct { - MatchType MatchType `protobuf:"varint,1,opt,name=match_type,json=matchType,enum=gobgpapi.MatchType" json:"match_type,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` + MatchType MatchType `protobuf:"varint,1,opt,name=match_type,json=matchType,proto3,enum=gobgpapi.MatchType" json:"match_type,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MatchSet) Reset() { *m = MatchSet{} } +func (m *MatchSet) String() string { return proto.CompactTextString(m) } +func (*MatchSet) ProtoMessage() {} +func (*MatchSet) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{121} +} + +func (m *MatchSet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MatchSet.Unmarshal(m, b) +} +func (m *MatchSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MatchSet.Marshal(b, m, deterministic) +} +func (m *MatchSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_MatchSet.Merge(m, src) +} +func (m *MatchSet) XXX_Size() int { + return xxx_messageInfo_MatchSet.Size(m) +} +func (m *MatchSet) XXX_DiscardUnknown() { + xxx_messageInfo_MatchSet.DiscardUnknown(m) } -func (m *MatchSet) Reset() { *m = MatchSet{} } -func (m *MatchSet) String() string { return proto.CompactTextString(m) } -func (*MatchSet) ProtoMessage() {} -func (*MatchSet) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{121} } +var xxx_messageInfo_MatchSet proto.InternalMessageInfo func (m *MatchSet) GetMatchType() MatchType { if m != nil { @@ -4681,14 +7566,37 @@ func (m *MatchSet) GetName() string { } type AsPathLength struct { - LengthType AsPathLengthType `protobuf:"varint,1,opt,name=length_type,json=lengthType,enum=gobgpapi.AsPathLengthType" json:"length_type,omitempty"` - Length uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` + LengthType AsPathLengthType `protobuf:"varint,1,opt,name=length_type,json=lengthType,proto3,enum=gobgpapi.AsPathLengthType" json:"length_type,omitempty"` + Length uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } -func (m *AsPathLength) Reset() { *m = AsPathLength{} } -func (m *AsPathLength) String() string { return proto.CompactTextString(m) } -func (*AsPathLength) ProtoMessage() {} -func (*AsPathLength) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{122} } +func (m *AsPathLength) Reset() { *m = AsPathLength{} } +func (m *AsPathLength) String() string { return proto.CompactTextString(m) } +func (*AsPathLength) ProtoMessage() {} +func (*AsPathLength) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{122} +} + +func (m *AsPathLength) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsPathLength.Unmarshal(m, b) +} +func (m *AsPathLength) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsPathLength.Marshal(b, m, deterministic) +} +func (m *AsPathLength) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsPathLength.Merge(m, src) +} +func (m *AsPathLength) XXX_Size() int { + return xxx_messageInfo_AsPathLength.Size(m) +} +func (m *AsPathLength) XXX_DiscardUnknown() { + xxx_messageInfo_AsPathLength.DiscardUnknown(m) +} + +var xxx_messageInfo_AsPathLength proto.InternalMessageInfo func (m *AsPathLength) GetLengthType() AsPathLengthType { if m != nil { @@ -4705,23 +7613,46 @@ func (m *AsPathLength) GetLength() uint32 { } type Conditions struct { - PrefixSet *MatchSet `protobuf:"bytes,1,opt,name=prefix_set,json=prefixSet" json:"prefix_set,omitempty"` - NeighborSet *MatchSet `protobuf:"bytes,2,opt,name=neighbor_set,json=neighborSet" json:"neighbor_set,omitempty"` - AsPathLength *AsPathLength `protobuf:"bytes,3,opt,name=as_path_length,json=asPathLength" json:"as_path_length,omitempty"` - AsPathSet *MatchSet `protobuf:"bytes,4,opt,name=as_path_set,json=asPathSet" json:"as_path_set,omitempty"` - CommunitySet *MatchSet `protobuf:"bytes,5,opt,name=community_set,json=communitySet" json:"community_set,omitempty"` - ExtCommunitySet *MatchSet `protobuf:"bytes,6,opt,name=ext_community_set,json=extCommunitySet" json:"ext_community_set,omitempty"` - RpkiResult int32 `protobuf:"varint,7,opt,name=rpki_result,json=rpkiResult" json:"rpki_result,omitempty"` - RouteType Conditions_RouteType `protobuf:"varint,8,opt,name=route_type,json=routeType,enum=gobgpapi.Conditions_RouteType" json:"route_type,omitempty"` - LargeCommunitySet *MatchSet `protobuf:"bytes,9,opt,name=large_community_set,json=largeCommunitySet" json:"large_community_set,omitempty"` - NextHopInList []string `protobuf:"bytes,10,rep,name=next_hop_in_list,json=nextHopInList" json:"next_hop_in_list,omitempty"` - AfiSafiIn []*Family `protobuf:"bytes,11,rep,name=afi_safi_in,json=afiSafiIn" json:"afi_safi_in,omitempty"` -} - -func (m *Conditions) Reset() { *m = Conditions{} } -func (m *Conditions) String() string { return proto.CompactTextString(m) } -func (*Conditions) ProtoMessage() {} -func (*Conditions) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{123} } + PrefixSet *MatchSet `protobuf:"bytes,1,opt,name=prefix_set,json=prefixSet,proto3" json:"prefix_set,omitempty"` + NeighborSet *MatchSet `protobuf:"bytes,2,opt,name=neighbor_set,json=neighborSet,proto3" json:"neighbor_set,omitempty"` + AsPathLength *AsPathLength `protobuf:"bytes,3,opt,name=as_path_length,json=asPathLength,proto3" json:"as_path_length,omitempty"` + AsPathSet *MatchSet `protobuf:"bytes,4,opt,name=as_path_set,json=asPathSet,proto3" json:"as_path_set,omitempty"` + CommunitySet *MatchSet `protobuf:"bytes,5,opt,name=community_set,json=communitySet,proto3" json:"community_set,omitempty"` + ExtCommunitySet *MatchSet `protobuf:"bytes,6,opt,name=ext_community_set,json=extCommunitySet,proto3" json:"ext_community_set,omitempty"` + RpkiResult int32 `protobuf:"varint,7,opt,name=rpki_result,json=rpkiResult,proto3" json:"rpki_result,omitempty"` + RouteType Conditions_RouteType `protobuf:"varint,8,opt,name=route_type,json=routeType,proto3,enum=gobgpapi.Conditions_RouteType" json:"route_type,omitempty"` + LargeCommunitySet *MatchSet `protobuf:"bytes,9,opt,name=large_community_set,json=largeCommunitySet,proto3" json:"large_community_set,omitempty"` + NextHopInList []string `protobuf:"bytes,10,rep,name=next_hop_in_list,json=nextHopInList,proto3" json:"next_hop_in_list,omitempty"` + AfiSafiIn []*Family `protobuf:"bytes,11,rep,name=afi_safi_in,json=afiSafiIn,proto3" json:"afi_safi_in,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Conditions) Reset() { *m = Conditions{} } +func (m *Conditions) String() string { return proto.CompactTextString(m) } +func (*Conditions) ProtoMessage() {} +func (*Conditions) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{123} +} + +func (m *Conditions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Conditions.Unmarshal(m, b) +} +func (m *Conditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Conditions.Marshal(b, m, deterministic) +} +func (m *Conditions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Conditions.Merge(m, src) +} +func (m *Conditions) XXX_Size() int { + return xxx_messageInfo_Conditions.Size(m) +} +func (m *Conditions) XXX_DiscardUnknown() { + xxx_messageInfo_Conditions.DiscardUnknown(m) +} + +var xxx_messageInfo_Conditions proto.InternalMessageInfo func (m *Conditions) GetPrefixSet() *MatchSet { if m != nil { @@ -4801,14 +7732,37 @@ func (m *Conditions) GetAfiSafiIn() []*Family { } type CommunityAction struct { - ActionType CommunityActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,enum=gobgpapi.CommunityActionType" json:"action_type,omitempty"` - Communities []string `protobuf:"bytes,2,rep,name=communities" json:"communities,omitempty"` + ActionType CommunityActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,proto3,enum=gobgpapi.CommunityActionType" json:"action_type,omitempty"` + Communities []string `protobuf:"bytes,2,rep,name=communities,proto3" json:"communities,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommunityAction) Reset() { *m = CommunityAction{} } +func (m *CommunityAction) String() string { return proto.CompactTextString(m) } +func (*CommunityAction) ProtoMessage() {} +func (*CommunityAction) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{124} +} + +func (m *CommunityAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommunityAction.Unmarshal(m, b) +} +func (m *CommunityAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommunityAction.Marshal(b, m, deterministic) +} +func (m *CommunityAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityAction.Merge(m, src) +} +func (m *CommunityAction) XXX_Size() int { + return xxx_messageInfo_CommunityAction.Size(m) +} +func (m *CommunityAction) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityAction.DiscardUnknown(m) } -func (m *CommunityAction) Reset() { *m = CommunityAction{} } -func (m *CommunityAction) String() string { return proto.CompactTextString(m) } -func (*CommunityAction) ProtoMessage() {} -func (*CommunityAction) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{124} } +var xxx_messageInfo_CommunityAction proto.InternalMessageInfo func (m *CommunityAction) GetActionType() CommunityActionType { if m != nil { @@ -4825,14 +7779,37 @@ func (m *CommunityAction) GetCommunities() []string { } type MedAction struct { - ActionType MedActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,enum=gobgpapi.MedActionType" json:"action_type,omitempty"` - Value int64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` + ActionType MedActionType `protobuf:"varint,1,opt,name=action_type,json=actionType,proto3,enum=gobgpapi.MedActionType" json:"action_type,omitempty"` + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MedAction) Reset() { *m = MedAction{} } +func (m *MedAction) String() string { return proto.CompactTextString(m) } +func (*MedAction) ProtoMessage() {} +func (*MedAction) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{125} +} + +func (m *MedAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MedAction.Unmarshal(m, b) +} +func (m *MedAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MedAction.Marshal(b, m, deterministic) +} +func (m *MedAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_MedAction.Merge(m, src) +} +func (m *MedAction) XXX_Size() int { + return xxx_messageInfo_MedAction.Size(m) +} +func (m *MedAction) XXX_DiscardUnknown() { + xxx_messageInfo_MedAction.DiscardUnknown(m) } -func (m *MedAction) Reset() { *m = MedAction{} } -func (m *MedAction) String() string { return proto.CompactTextString(m) } -func (*MedAction) ProtoMessage() {} -func (*MedAction) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{125} } +var xxx_messageInfo_MedAction proto.InternalMessageInfo func (m *MedAction) GetActionType() MedActionType { if m != nil { @@ -4849,15 +7826,38 @@ func (m *MedAction) GetValue() int64 { } type AsPrependAction struct { - Asn uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"` - Repeat uint32 `protobuf:"varint,2,opt,name=repeat" json:"repeat,omitempty"` - UseLeftMost bool `protobuf:"varint,3,opt,name=use_left_most,json=useLeftMost" json:"use_left_most,omitempty"` + Asn uint32 `protobuf:"varint,1,opt,name=asn,proto3" json:"asn,omitempty"` + Repeat uint32 `protobuf:"varint,2,opt,name=repeat,proto3" json:"repeat,omitempty"` + UseLeftMost bool `protobuf:"varint,3,opt,name=use_left_most,json=useLeftMost,proto3" json:"use_left_most,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AsPrependAction) Reset() { *m = AsPrependAction{} } +func (m *AsPrependAction) String() string { return proto.CompactTextString(m) } +func (*AsPrependAction) ProtoMessage() {} +func (*AsPrependAction) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{126} +} + +func (m *AsPrependAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AsPrependAction.Unmarshal(m, b) +} +func (m *AsPrependAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AsPrependAction.Marshal(b, m, deterministic) +} +func (m *AsPrependAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_AsPrependAction.Merge(m, src) +} +func (m *AsPrependAction) XXX_Size() int { + return xxx_messageInfo_AsPrependAction.Size(m) +} +func (m *AsPrependAction) XXX_DiscardUnknown() { + xxx_messageInfo_AsPrependAction.DiscardUnknown(m) } -func (m *AsPrependAction) Reset() { *m = AsPrependAction{} } -func (m *AsPrependAction) String() string { return proto.CompactTextString(m) } -func (*AsPrependAction) ProtoMessage() {} -func (*AsPrependAction) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{126} } +var xxx_messageInfo_AsPrependAction proto.InternalMessageInfo func (m *AsPrependAction) GetAsn() uint32 { if m != nil { @@ -4881,14 +7881,37 @@ func (m *AsPrependAction) GetUseLeftMost() bool { } type NexthopAction struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - Self bool `protobuf:"varint,2,opt,name=self" json:"self,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Self bool `protobuf:"varint,2,opt,name=self,proto3" json:"self,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NexthopAction) Reset() { *m = NexthopAction{} } +func (m *NexthopAction) String() string { return proto.CompactTextString(m) } +func (*NexthopAction) ProtoMessage() {} +func (*NexthopAction) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{127} +} + +func (m *NexthopAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NexthopAction.Unmarshal(m, b) +} +func (m *NexthopAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NexthopAction.Marshal(b, m, deterministic) +} +func (m *NexthopAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_NexthopAction.Merge(m, src) +} +func (m *NexthopAction) XXX_Size() int { + return xxx_messageInfo_NexthopAction.Size(m) +} +func (m *NexthopAction) XXX_DiscardUnknown() { + xxx_messageInfo_NexthopAction.DiscardUnknown(m) } -func (m *NexthopAction) Reset() { *m = NexthopAction{} } -func (m *NexthopAction) String() string { return proto.CompactTextString(m) } -func (*NexthopAction) ProtoMessage() {} -func (*NexthopAction) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{127} } +var xxx_messageInfo_NexthopAction proto.InternalMessageInfo func (m *NexthopAction) GetAddress() string { if m != nil { @@ -4905,13 +7928,36 @@ func (m *NexthopAction) GetSelf() bool { } type LocalPrefAction struct { - Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"` + Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LocalPrefAction) Reset() { *m = LocalPrefAction{} } +func (m *LocalPrefAction) String() string { return proto.CompactTextString(m) } +func (*LocalPrefAction) ProtoMessage() {} +func (*LocalPrefAction) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{128} +} + +func (m *LocalPrefAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LocalPrefAction.Unmarshal(m, b) +} +func (m *LocalPrefAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LocalPrefAction.Marshal(b, m, deterministic) +} +func (m *LocalPrefAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_LocalPrefAction.Merge(m, src) +} +func (m *LocalPrefAction) XXX_Size() int { + return xxx_messageInfo_LocalPrefAction.Size(m) +} +func (m *LocalPrefAction) XXX_DiscardUnknown() { + xxx_messageInfo_LocalPrefAction.DiscardUnknown(m) } -func (m *LocalPrefAction) Reset() { *m = LocalPrefAction{} } -func (m *LocalPrefAction) String() string { return proto.CompactTextString(m) } -func (*LocalPrefAction) ProtoMessage() {} -func (*LocalPrefAction) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{128} } +var xxx_messageInfo_LocalPrefAction proto.InternalMessageInfo func (m *LocalPrefAction) GetValue() uint32 { if m != nil { @@ -4921,20 +7967,43 @@ func (m *LocalPrefAction) GetValue() uint32 { } type Actions struct { - RouteAction RouteAction `protobuf:"varint,1,opt,name=route_action,json=routeAction,enum=gobgpapi.RouteAction" json:"route_action,omitempty"` - Community *CommunityAction `protobuf:"bytes,2,opt,name=community" json:"community,omitempty"` - Med *MedAction `protobuf:"bytes,3,opt,name=med" json:"med,omitempty"` - AsPrepend *AsPrependAction `protobuf:"bytes,4,opt,name=as_prepend,json=asPrepend" json:"as_prepend,omitempty"` - ExtCommunity *CommunityAction `protobuf:"bytes,5,opt,name=ext_community,json=extCommunity" json:"ext_community,omitempty"` - Nexthop *NexthopAction `protobuf:"bytes,6,opt,name=nexthop" json:"nexthop,omitempty"` - LocalPref *LocalPrefAction `protobuf:"bytes,7,opt,name=local_pref,json=localPref" json:"local_pref,omitempty"` - LargeCommunity *CommunityAction `protobuf:"bytes,8,opt,name=large_community,json=largeCommunity" json:"large_community,omitempty"` + RouteAction RouteAction `protobuf:"varint,1,opt,name=route_action,json=routeAction,proto3,enum=gobgpapi.RouteAction" json:"route_action,omitempty"` + Community *CommunityAction `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"` + Med *MedAction `protobuf:"bytes,3,opt,name=med,proto3" json:"med,omitempty"` + AsPrepend *AsPrependAction `protobuf:"bytes,4,opt,name=as_prepend,json=asPrepend,proto3" json:"as_prepend,omitempty"` + ExtCommunity *CommunityAction `protobuf:"bytes,5,opt,name=ext_community,json=extCommunity,proto3" json:"ext_community,omitempty"` + Nexthop *NexthopAction `protobuf:"bytes,6,opt,name=nexthop,proto3" json:"nexthop,omitempty"` + LocalPref *LocalPrefAction `protobuf:"bytes,7,opt,name=local_pref,json=localPref,proto3" json:"local_pref,omitempty"` + LargeCommunity *CommunityAction `protobuf:"bytes,8,opt,name=large_community,json=largeCommunity,proto3" json:"large_community,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Actions) Reset() { *m = Actions{} } +func (m *Actions) String() string { return proto.CompactTextString(m) } +func (*Actions) ProtoMessage() {} +func (*Actions) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{129} +} + +func (m *Actions) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Actions.Unmarshal(m, b) +} +func (m *Actions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Actions.Marshal(b, m, deterministic) +} +func (m *Actions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Actions.Merge(m, src) +} +func (m *Actions) XXX_Size() int { + return xxx_messageInfo_Actions.Size(m) +} +func (m *Actions) XXX_DiscardUnknown() { + xxx_messageInfo_Actions.DiscardUnknown(m) } -func (m *Actions) Reset() { *m = Actions{} } -func (m *Actions) String() string { return proto.CompactTextString(m) } -func (*Actions) ProtoMessage() {} -func (*Actions) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{129} } +var xxx_messageInfo_Actions proto.InternalMessageInfo func (m *Actions) GetRouteAction() RouteAction { if m != nil { @@ -4993,15 +8062,38 @@ func (m *Actions) GetLargeCommunity() *CommunityAction { } type Statement struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Conditions *Conditions `protobuf:"bytes,2,opt,name=conditions" json:"conditions,omitempty"` - Actions *Actions `protobuf:"bytes,3,opt,name=actions" json:"actions,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Conditions *Conditions `protobuf:"bytes,2,opt,name=conditions,proto3" json:"conditions,omitempty"` + Actions *Actions `protobuf:"bytes,3,opt,name=actions,proto3" json:"actions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Statement) Reset() { *m = Statement{} } +func (m *Statement) String() string { return proto.CompactTextString(m) } +func (*Statement) ProtoMessage() {} +func (*Statement) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{130} +} + +func (m *Statement) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Statement.Unmarshal(m, b) +} +func (m *Statement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Statement.Marshal(b, m, deterministic) +} +func (m *Statement) XXX_Merge(src proto.Message) { + xxx_messageInfo_Statement.Merge(m, src) +} +func (m *Statement) XXX_Size() int { + return xxx_messageInfo_Statement.Size(m) +} +func (m *Statement) XXX_DiscardUnknown() { + xxx_messageInfo_Statement.DiscardUnknown(m) } -func (m *Statement) Reset() { *m = Statement{} } -func (m *Statement) String() string { return proto.CompactTextString(m) } -func (*Statement) ProtoMessage() {} -func (*Statement) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{130} } +var xxx_messageInfo_Statement proto.InternalMessageInfo func (m *Statement) GetName() string { if m != nil { @@ -5025,14 +8117,37 @@ func (m *Statement) GetActions() *Actions { } type Policy struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Statements []*Statement `protobuf:"bytes,2,rep,name=statements" json:"statements,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Statements []*Statement `protobuf:"bytes,2,rep,name=statements,proto3" json:"statements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Policy) Reset() { *m = Policy{} } +func (m *Policy) String() string { return proto.CompactTextString(m) } +func (*Policy) ProtoMessage() {} +func (*Policy) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{131} +} + +func (m *Policy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Policy.Unmarshal(m, b) +} +func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Policy.Marshal(b, m, deterministic) +} +func (m *Policy) XXX_Merge(src proto.Message) { + xxx_messageInfo_Policy.Merge(m, src) +} +func (m *Policy) XXX_Size() int { + return xxx_messageInfo_Policy.Size(m) +} +func (m *Policy) XXX_DiscardUnknown() { + xxx_messageInfo_Policy.DiscardUnknown(m) } -func (m *Policy) Reset() { *m = Policy{} } -func (m *Policy) String() string { return proto.CompactTextString(m) } -func (*Policy) ProtoMessage() {} -func (*Policy) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{131} } +var xxx_messageInfo_Policy proto.InternalMessageInfo func (m *Policy) GetName() string { if m != nil { @@ -5049,16 +8164,39 @@ func (m *Policy) GetStatements() []*Statement { } type PolicyAssignment struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` - Direction PolicyDirection `protobuf:"varint,2,opt,name=direction,enum=gobgpapi.PolicyDirection" json:"direction,omitempty"` - Policies []*Policy `protobuf:"bytes,4,rep,name=policies" json:"policies,omitempty"` - DefaultAction RouteAction `protobuf:"varint,5,opt,name=default_action,json=defaultAction,enum=gobgpapi.RouteAction" json:"default_action,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Direction PolicyDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gobgpapi.PolicyDirection" json:"direction,omitempty"` + Policies []*Policy `protobuf:"bytes,4,rep,name=policies,proto3" json:"policies,omitempty"` + DefaultAction RouteAction `protobuf:"varint,5,opt,name=default_action,json=defaultAction,proto3,enum=gobgpapi.RouteAction" json:"default_action,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PolicyAssignment) Reset() { *m = PolicyAssignment{} } +func (m *PolicyAssignment) String() string { return proto.CompactTextString(m) } +func (*PolicyAssignment) ProtoMessage() {} +func (*PolicyAssignment) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{132} +} + +func (m *PolicyAssignment) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PolicyAssignment.Unmarshal(m, b) +} +func (m *PolicyAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PolicyAssignment.Marshal(b, m, deterministic) +} +func (m *PolicyAssignment) XXX_Merge(src proto.Message) { + xxx_messageInfo_PolicyAssignment.Merge(m, src) +} +func (m *PolicyAssignment) XXX_Size() int { + return xxx_messageInfo_PolicyAssignment.Size(m) +} +func (m *PolicyAssignment) XXX_DiscardUnknown() { + xxx_messageInfo_PolicyAssignment.DiscardUnknown(m) } -func (m *PolicyAssignment) Reset() { *m = PolicyAssignment{} } -func (m *PolicyAssignment) String() string { return proto.CompactTextString(m) } -func (*PolicyAssignment) ProtoMessage() {} -func (*PolicyAssignment) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{132} } +var xxx_messageInfo_PolicyAssignment proto.InternalMessageInfo func (m *PolicyAssignment) GetName() string { if m != nil { @@ -5089,14 +8227,37 @@ func (m *PolicyAssignment) GetDefaultAction() RouteAction { } type RoutingPolicy struct { - DefinedSets []*DefinedSet `protobuf:"bytes,1,rep,name=defined_sets,json=definedSets" json:"defined_sets,omitempty"` - Policies []*Policy `protobuf:"bytes,2,rep,name=policies" json:"policies,omitempty"` + DefinedSets []*DefinedSet `protobuf:"bytes,1,rep,name=defined_sets,json=definedSets,proto3" json:"defined_sets,omitempty"` + Policies []*Policy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RoutingPolicy) Reset() { *m = RoutingPolicy{} } +func (m *RoutingPolicy) String() string { return proto.CompactTextString(m) } +func (*RoutingPolicy) ProtoMessage() {} +func (*RoutingPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{133} +} + +func (m *RoutingPolicy) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RoutingPolicy.Unmarshal(m, b) +} +func (m *RoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RoutingPolicy.Marshal(b, m, deterministic) +} +func (m *RoutingPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_RoutingPolicy.Merge(m, src) +} +func (m *RoutingPolicy) XXX_Size() int { + return xxx_messageInfo_RoutingPolicy.Size(m) +} +func (m *RoutingPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_RoutingPolicy.DiscardUnknown(m) } -func (m *RoutingPolicy) Reset() { *m = RoutingPolicy{} } -func (m *RoutingPolicy) String() string { return proto.CompactTextString(m) } -func (*RoutingPolicy) ProtoMessage() {} -func (*RoutingPolicy) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{133} } +var xxx_messageInfo_RoutingPolicy proto.InternalMessageInfo func (m *RoutingPolicy) GetDefinedSets() []*DefinedSet { if m != nil { @@ -5113,17 +8274,40 @@ func (m *RoutingPolicy) GetPolicies() []*Policy { } type Roa struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` - Prefixlen uint32 `protobuf:"varint,2,opt,name=prefixlen" json:"prefixlen,omitempty"` - Maxlen uint32 `protobuf:"varint,3,opt,name=maxlen" json:"maxlen,omitempty"` - Prefix string `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"` - Conf *RPKIConf `protobuf:"bytes,5,opt,name=conf" json:"conf,omitempty"` + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + Prefixlen uint32 `protobuf:"varint,2,opt,name=prefixlen,proto3" json:"prefixlen,omitempty"` + Maxlen uint32 `protobuf:"varint,3,opt,name=maxlen,proto3" json:"maxlen,omitempty"` + Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"` + Conf *RPKIConf `protobuf:"bytes,5,opt,name=conf,proto3" json:"conf,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Roa) Reset() { *m = Roa{} } +func (m *Roa) String() string { return proto.CompactTextString(m) } +func (*Roa) ProtoMessage() {} +func (*Roa) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{134} +} + +func (m *Roa) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Roa.Unmarshal(m, b) +} +func (m *Roa) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Roa.Marshal(b, m, deterministic) +} +func (m *Roa) XXX_Merge(src proto.Message) { + xxx_messageInfo_Roa.Merge(m, src) +} +func (m *Roa) XXX_Size() int { + return xxx_messageInfo_Roa.Size(m) +} +func (m *Roa) XXX_DiscardUnknown() { + xxx_messageInfo_Roa.DiscardUnknown(m) } -func (m *Roa) Reset() { *m = Roa{} } -func (m *Roa) String() string { return proto.CompactTextString(m) } -func (*Roa) ProtoMessage() {} -func (*Roa) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{134} } +var xxx_messageInfo_Roa proto.InternalMessageInfo func (m *Roa) GetAs() uint32 { if m != nil { @@ -5161,29 +8345,52 @@ func (m *Roa) GetConf() *RPKIConf { } type Vrf struct { - Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Route Distinguisher must be one of // RouteDistinguisherTwoOctetAS, // RouteDistinguisherIPAddressAS, // or RouteDistinguisherFourOctetAS. - Rd *google_protobuf.Any `protobuf:"bytes,2,opt,name=rd" json:"rd,omitempty"` + Rd *any.Any `protobuf:"bytes,2,opt,name=rd,proto3" json:"rd,omitempty"` // List of the Import Route Targets. Each must be one of // TwoOctetAsSpecificExtended, // IPv4AddressSpecificExtended, // or FourOctetAsSpecificExtended. - ImportRt []*google_protobuf.Any `protobuf:"bytes,3,rep,name=import_rt,json=importRt" json:"import_rt,omitempty"` + ImportRt []*any.Any `protobuf:"bytes,3,rep,name=import_rt,json=importRt,proto3" json:"import_rt,omitempty"` // List of the Export Route Targets. Each must be one of // TwoOctetAsSpecificExtended, // IPv4AddressSpecificExtended, // or FourOctetAsSpecificExtended. - ExportRt []*google_protobuf.Any `protobuf:"bytes,4,rep,name=export_rt,json=exportRt" json:"export_rt,omitempty"` - Id uint32 `protobuf:"varint,5,opt,name=id" json:"id,omitempty"` + ExportRt []*any.Any `protobuf:"bytes,4,rep,name=export_rt,json=exportRt,proto3" json:"export_rt,omitempty"` + Id uint32 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Vrf) Reset() { *m = Vrf{} } +func (m *Vrf) String() string { return proto.CompactTextString(m) } +func (*Vrf) ProtoMessage() {} +func (*Vrf) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{135} +} + +func (m *Vrf) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Vrf.Unmarshal(m, b) +} +func (m *Vrf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Vrf.Marshal(b, m, deterministic) +} +func (m *Vrf) XXX_Merge(src proto.Message) { + xxx_messageInfo_Vrf.Merge(m, src) +} +func (m *Vrf) XXX_Size() int { + return xxx_messageInfo_Vrf.Size(m) +} +func (m *Vrf) XXX_DiscardUnknown() { + xxx_messageInfo_Vrf.DiscardUnknown(m) } -func (m *Vrf) Reset() { *m = Vrf{} } -func (m *Vrf) String() string { return proto.CompactTextString(m) } -func (*Vrf) ProtoMessage() {} -func (*Vrf) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{135} } +var xxx_messageInfo_Vrf proto.InternalMessageInfo func (m *Vrf) GetName() string { if m != nil { @@ -5192,21 +8399,21 @@ func (m *Vrf) GetName() string { return "" } -func (m *Vrf) GetRd() *google_protobuf.Any { +func (m *Vrf) GetRd() *any.Any { if m != nil { return m.Rd } return nil } -func (m *Vrf) GetImportRt() []*google_protobuf.Any { +func (m *Vrf) GetImportRt() []*any.Any { if m != nil { return m.ImportRt } return nil } -func (m *Vrf) GetExportRt() []*google_protobuf.Any { +func (m *Vrf) GetExportRt() []*any.Any { if m != nil { return m.ExportRt } @@ -5221,14 +8428,37 @@ func (m *Vrf) GetId() uint32 { } type DefaultRouteDistance struct { - ExternalRouteDistance uint32 `protobuf:"varint,1,opt,name=external_route_distance,json=externalRouteDistance" json:"external_route_distance,omitempty"` - InternalRouteDistance uint32 `protobuf:"varint,2,opt,name=internal_route_distance,json=internalRouteDistance" json:"internal_route_distance,omitempty"` + ExternalRouteDistance uint32 `protobuf:"varint,1,opt,name=external_route_distance,json=externalRouteDistance,proto3" json:"external_route_distance,omitempty"` + InternalRouteDistance uint32 `protobuf:"varint,2,opt,name=internal_route_distance,json=internalRouteDistance,proto3" json:"internal_route_distance,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DefaultRouteDistance) Reset() { *m = DefaultRouteDistance{} } +func (m *DefaultRouteDistance) String() string { return proto.CompactTextString(m) } +func (*DefaultRouteDistance) ProtoMessage() {} +func (*DefaultRouteDistance) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{136} +} + +func (m *DefaultRouteDistance) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DefaultRouteDistance.Unmarshal(m, b) +} +func (m *DefaultRouteDistance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DefaultRouteDistance.Marshal(b, m, deterministic) +} +func (m *DefaultRouteDistance) XXX_Merge(src proto.Message) { + xxx_messageInfo_DefaultRouteDistance.Merge(m, src) +} +func (m *DefaultRouteDistance) XXX_Size() int { + return xxx_messageInfo_DefaultRouteDistance.Size(m) +} +func (m *DefaultRouteDistance) XXX_DiscardUnknown() { + xxx_messageInfo_DefaultRouteDistance.DiscardUnknown(m) } -func (m *DefaultRouteDistance) Reset() { *m = DefaultRouteDistance{} } -func (m *DefaultRouteDistance) String() string { return proto.CompactTextString(m) } -func (*DefaultRouteDistance) ProtoMessage() {} -func (*DefaultRouteDistance) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{136} } +var xxx_messageInfo_DefaultRouteDistance proto.InternalMessageInfo func (m *DefaultRouteDistance) GetExternalRouteDistance() uint32 { if m != nil { @@ -5245,23 +8475,46 @@ func (m *DefaultRouteDistance) GetInternalRouteDistance() uint32 { } type Global struct { - As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"` - RouterId string `protobuf:"bytes,2,opt,name=router_id,json=routerId" json:"router_id,omitempty"` - ListenPort int32 `protobuf:"varint,3,opt,name=listen_port,json=listenPort" json:"listen_port,omitempty"` - ListenAddresses []string `protobuf:"bytes,4,rep,name=listen_addresses,json=listenAddresses" json:"listen_addresses,omitempty"` - Families []uint32 `protobuf:"varint,5,rep,packed,name=families" json:"families,omitempty"` - UseMultiplePaths bool `protobuf:"varint,6,opt,name=use_multiple_paths,json=useMultiplePaths" json:"use_multiple_paths,omitempty"` - RouteSelectionOptions *RouteSelectionOptionsConfig `protobuf:"bytes,7,opt,name=route_selection_options,json=routeSelectionOptions" json:"route_selection_options,omitempty"` - DefaultRouteDistance *DefaultRouteDistance `protobuf:"bytes,8,opt,name=default_route_distance,json=defaultRouteDistance" json:"default_route_distance,omitempty"` - Confederation *Confederation `protobuf:"bytes,9,opt,name=confederation" json:"confederation,omitempty"` - GracefulRestart *GracefulRestart `protobuf:"bytes,10,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"` - ApplyPolicy *ApplyPolicy `protobuf:"bytes,11,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"` -} - -func (m *Global) Reset() { *m = Global{} } -func (m *Global) String() string { return proto.CompactTextString(m) } -func (*Global) ProtoMessage() {} -func (*Global) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{137} } + As uint32 `protobuf:"varint,1,opt,name=as,proto3" json:"as,omitempty"` + RouterId string `protobuf:"bytes,2,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"` + ListenPort int32 `protobuf:"varint,3,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` + ListenAddresses []string `protobuf:"bytes,4,rep,name=listen_addresses,json=listenAddresses,proto3" json:"listen_addresses,omitempty"` + Families []uint32 `protobuf:"varint,5,rep,packed,name=families,proto3" json:"families,omitempty"` + UseMultiplePaths bool `protobuf:"varint,6,opt,name=use_multiple_paths,json=useMultiplePaths,proto3" json:"use_multiple_paths,omitempty"` + RouteSelectionOptions *RouteSelectionOptionsConfig `protobuf:"bytes,7,opt,name=route_selection_options,json=routeSelectionOptions,proto3" json:"route_selection_options,omitempty"` + DefaultRouteDistance *DefaultRouteDistance `protobuf:"bytes,8,opt,name=default_route_distance,json=defaultRouteDistance,proto3" json:"default_route_distance,omitempty"` + Confederation *Confederation `protobuf:"bytes,9,opt,name=confederation,proto3" json:"confederation,omitempty"` + GracefulRestart *GracefulRestart `protobuf:"bytes,10,opt,name=graceful_restart,json=gracefulRestart,proto3" json:"graceful_restart,omitempty"` + ApplyPolicy *ApplyPolicy `protobuf:"bytes,11,opt,name=apply_policy,json=applyPolicy,proto3" json:"apply_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Global) Reset() { *m = Global{} } +func (m *Global) String() string { return proto.CompactTextString(m) } +func (*Global) ProtoMessage() {} +func (*Global) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{137} +} + +func (m *Global) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Global.Unmarshal(m, b) +} +func (m *Global) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Global.Marshal(b, m, deterministic) +} +func (m *Global) XXX_Merge(src proto.Message) { + xxx_messageInfo_Global.Merge(m, src) +} +func (m *Global) XXX_Size() int { + return xxx_messageInfo_Global.Size(m) +} +func (m *Global) XXX_DiscardUnknown() { + xxx_messageInfo_Global.DiscardUnknown(m) +} + +var xxx_messageInfo_Global proto.InternalMessageInfo func (m *Global) GetAs() uint32 { if m != nil { @@ -5341,15 +8594,38 @@ func (m *Global) GetApplyPolicy() *ApplyPolicy { } type Confederation struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` - Identifier uint32 `protobuf:"varint,2,opt,name=identifier" json:"identifier,omitempty"` - MemberAsList []uint32 `protobuf:"varint,3,rep,packed,name=member_as_list,json=memberAsList" json:"member_as_list,omitempty"` + Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` + Identifier uint32 `protobuf:"varint,2,opt,name=identifier,proto3" json:"identifier,omitempty"` + MemberAsList []uint32 `protobuf:"varint,3,rep,packed,name=member_as_list,json=memberAsList,proto3" json:"member_as_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Confederation) Reset() { *m = Confederation{} } +func (m *Confederation) String() string { return proto.CompactTextString(m) } +func (*Confederation) ProtoMessage() {} +func (*Confederation) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{138} +} + +func (m *Confederation) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Confederation.Unmarshal(m, b) +} +func (m *Confederation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Confederation.Marshal(b, m, deterministic) +} +func (m *Confederation) XXX_Merge(src proto.Message) { + xxx_messageInfo_Confederation.Merge(m, src) +} +func (m *Confederation) XXX_Size() int { + return xxx_messageInfo_Confederation.Size(m) +} +func (m *Confederation) XXX_DiscardUnknown() { + xxx_messageInfo_Confederation.DiscardUnknown(m) } -func (m *Confederation) Reset() { *m = Confederation{} } -func (m *Confederation) String() string { return proto.CompactTextString(m) } -func (*Confederation) ProtoMessage() {} -func (*Confederation) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{138} } +var xxx_messageInfo_Confederation proto.InternalMessageInfo func (m *Confederation) GetEnabled() bool { if m != nil { @@ -5373,14 +8649,37 @@ func (m *Confederation) GetMemberAsList() []uint32 { } type RPKIConf struct { - Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` - RemotePort uint32 `protobuf:"varint,2,opt,name=remote_port,json=remotePort" json:"remote_port,omitempty"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + RemotePort uint32 `protobuf:"varint,2,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RPKIConf) Reset() { *m = RPKIConf{} } +func (m *RPKIConf) String() string { return proto.CompactTextString(m) } +func (*RPKIConf) ProtoMessage() {} +func (*RPKIConf) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{139} +} + +func (m *RPKIConf) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RPKIConf.Unmarshal(m, b) +} +func (m *RPKIConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RPKIConf.Marshal(b, m, deterministic) +} +func (m *RPKIConf) XXX_Merge(src proto.Message) { + xxx_messageInfo_RPKIConf.Merge(m, src) +} +func (m *RPKIConf) XXX_Size() int { + return xxx_messageInfo_RPKIConf.Size(m) +} +func (m *RPKIConf) XXX_DiscardUnknown() { + xxx_messageInfo_RPKIConf.DiscardUnknown(m) } -func (m *RPKIConf) Reset() { *m = RPKIConf{} } -func (m *RPKIConf) String() string { return proto.CompactTextString(m) } -func (*RPKIConf) ProtoMessage() {} -func (*RPKIConf) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{139} } +var xxx_messageInfo_RPKIConf proto.InternalMessageInfo func (m *RPKIConf) GetAddress() string { if m != nil { @@ -5397,38 +8696,61 @@ func (m *RPKIConf) GetRemotePort() uint32 { } type RPKIState struct { - Uptime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=uptime" json:"uptime,omitempty"` - Downtime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=downtime" json:"downtime,omitempty"` - Up bool `protobuf:"varint,3,opt,name=up" json:"up,omitempty"` - RecordIpv4 uint32 `protobuf:"varint,4,opt,name=record_ipv4,json=recordIpv4" json:"record_ipv4,omitempty"` - RecordIpv6 uint32 `protobuf:"varint,5,opt,name=record_ipv6,json=recordIpv6" json:"record_ipv6,omitempty"` - PrefixIpv4 uint32 `protobuf:"varint,6,opt,name=prefix_ipv4,json=prefixIpv4" json:"prefix_ipv4,omitempty"` - PrefixIpv6 uint32 `protobuf:"varint,7,opt,name=prefix_ipv6,json=prefixIpv6" json:"prefix_ipv6,omitempty"` - Serial uint32 `protobuf:"varint,8,opt,name=serial" json:"serial,omitempty"` - ReceivedIpv4 int64 `protobuf:"varint,9,opt,name=received_ipv4,json=receivedIpv4" json:"received_ipv4,omitempty"` - ReceivedIpv6 int64 `protobuf:"varint,10,opt,name=received_ipv6,json=receivedIpv6" json:"received_ipv6,omitempty"` - SerialNotify int64 `protobuf:"varint,11,opt,name=serial_notify,json=serialNotify" json:"serial_notify,omitempty"` - CacheReset int64 `protobuf:"varint,12,opt,name=cache_reset,json=cacheReset" json:"cache_reset,omitempty"` - CacheResponse int64 `protobuf:"varint,13,opt,name=cache_response,json=cacheResponse" json:"cache_response,omitempty"` - EndOfData int64 `protobuf:"varint,14,opt,name=end_of_data,json=endOfData" json:"end_of_data,omitempty"` - Error int64 `protobuf:"varint,15,opt,name=error" json:"error,omitempty"` - SerialQuery int64 `protobuf:"varint,16,opt,name=serial_query,json=serialQuery" json:"serial_query,omitempty"` - ResetQuery int64 `protobuf:"varint,17,opt,name=reset_query,json=resetQuery" json:"reset_query,omitempty"` -} - -func (m *RPKIState) Reset() { *m = RPKIState{} } -func (m *RPKIState) String() string { return proto.CompactTextString(m) } -func (*RPKIState) ProtoMessage() {} -func (*RPKIState) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{140} } - -func (m *RPKIState) GetUptime() *google_protobuf2.Timestamp { + Uptime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"` + Downtime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=downtime,proto3" json:"downtime,omitempty"` + Up bool `protobuf:"varint,3,opt,name=up,proto3" json:"up,omitempty"` + RecordIpv4 uint32 `protobuf:"varint,4,opt,name=record_ipv4,json=recordIpv4,proto3" json:"record_ipv4,omitempty"` + RecordIpv6 uint32 `protobuf:"varint,5,opt,name=record_ipv6,json=recordIpv6,proto3" json:"record_ipv6,omitempty"` + PrefixIpv4 uint32 `protobuf:"varint,6,opt,name=prefix_ipv4,json=prefixIpv4,proto3" json:"prefix_ipv4,omitempty"` + PrefixIpv6 uint32 `protobuf:"varint,7,opt,name=prefix_ipv6,json=prefixIpv6,proto3" json:"prefix_ipv6,omitempty"` + Serial uint32 `protobuf:"varint,8,opt,name=serial,proto3" json:"serial,omitempty"` + ReceivedIpv4 int64 `protobuf:"varint,9,opt,name=received_ipv4,json=receivedIpv4,proto3" json:"received_ipv4,omitempty"` + ReceivedIpv6 int64 `protobuf:"varint,10,opt,name=received_ipv6,json=receivedIpv6,proto3" json:"received_ipv6,omitempty"` + SerialNotify int64 `protobuf:"varint,11,opt,name=serial_notify,json=serialNotify,proto3" json:"serial_notify,omitempty"` + CacheReset int64 `protobuf:"varint,12,opt,name=cache_reset,json=cacheReset,proto3" json:"cache_reset,omitempty"` + CacheResponse int64 `protobuf:"varint,13,opt,name=cache_response,json=cacheResponse,proto3" json:"cache_response,omitempty"` + EndOfData int64 `protobuf:"varint,14,opt,name=end_of_data,json=endOfData,proto3" json:"end_of_data,omitempty"` + Error int64 `protobuf:"varint,15,opt,name=error,proto3" json:"error,omitempty"` + SerialQuery int64 `protobuf:"varint,16,opt,name=serial_query,json=serialQuery,proto3" json:"serial_query,omitempty"` + ResetQuery int64 `protobuf:"varint,17,opt,name=reset_query,json=resetQuery,proto3" json:"reset_query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RPKIState) Reset() { *m = RPKIState{} } +func (m *RPKIState) String() string { return proto.CompactTextString(m) } +func (*RPKIState) ProtoMessage() {} +func (*RPKIState) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{140} +} + +func (m *RPKIState) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RPKIState.Unmarshal(m, b) +} +func (m *RPKIState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RPKIState.Marshal(b, m, deterministic) +} +func (m *RPKIState) XXX_Merge(src proto.Message) { + xxx_messageInfo_RPKIState.Merge(m, src) +} +func (m *RPKIState) XXX_Size() int { + return xxx_messageInfo_RPKIState.Size(m) +} +func (m *RPKIState) XXX_DiscardUnknown() { + xxx_messageInfo_RPKIState.DiscardUnknown(m) +} + +var xxx_messageInfo_RPKIState proto.InternalMessageInfo + +func (m *RPKIState) GetUptime() *timestamp.Timestamp { if m != nil { return m.Uptime } return nil } -func (m *RPKIState) GetDowntime() *google_protobuf2.Timestamp { +func (m *RPKIState) GetDowntime() *timestamp.Timestamp { if m != nil { return m.Downtime } @@ -5541,14 +8863,37 @@ func (m *RPKIState) GetResetQuery() int64 { } type Rpki struct { - Conf *RPKIConf `protobuf:"bytes,1,opt,name=conf" json:"conf,omitempty"` - State *RPKIState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` + Conf *RPKIConf `protobuf:"bytes,1,opt,name=conf,proto3" json:"conf,omitempty"` + State *RPKIState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Rpki) Reset() { *m = Rpki{} } +func (m *Rpki) String() string { return proto.CompactTextString(m) } +func (*Rpki) ProtoMessage() {} +func (*Rpki) Descriptor() ([]byte, []int) { + return fileDescriptor_7cc8e5cf92decdb2, []int{141} +} + +func (m *Rpki) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Rpki.Unmarshal(m, b) +} +func (m *Rpki) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Rpki.Marshal(b, m, deterministic) +} +func (m *Rpki) XXX_Merge(src proto.Message) { + xxx_messageInfo_Rpki.Merge(m, src) +} +func (m *Rpki) XXX_Size() int { + return xxx_messageInfo_Rpki.Size(m) +} +func (m *Rpki) XXX_DiscardUnknown() { + xxx_messageInfo_Rpki.DiscardUnknown(m) } -func (m *Rpki) Reset() { *m = Rpki{} } -func (m *Rpki) String() string { return proto.CompactTextString(m) } -func (*Rpki) ProtoMessage() {} -func (*Rpki) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{141} } +var xxx_messageInfo_Rpki proto.InternalMessageInfo func (m *Rpki) GetConf() *RPKIConf { if m != nil { @@ -5565,6 +8910,28 @@ func (m *Rpki) GetState() *RPKIState { } func init() { + proto.RegisterEnum("gobgpapi.TableType", TableType_name, TableType_value) + proto.RegisterEnum("gobgpapi.TableLookupOption", TableLookupOption_name, TableLookupOption_value) + proto.RegisterEnum("gobgpapi.DefinedType", DefinedType_name, DefinedType_value) + proto.RegisterEnum("gobgpapi.MatchType", MatchType_name, MatchType_value) + proto.RegisterEnum("gobgpapi.AsPathLengthType", AsPathLengthType_name, AsPathLengthType_value) + proto.RegisterEnum("gobgpapi.RouteAction", RouteAction_name, RouteAction_value) + proto.RegisterEnum("gobgpapi.CommunityActionType", CommunityActionType_name, CommunityActionType_value) + proto.RegisterEnum("gobgpapi.MedActionType", MedActionType_name, MedActionType_value) + proto.RegisterEnum("gobgpapi.PolicyDirection", PolicyDirection_name, PolicyDirection_value) + proto.RegisterEnum("gobgpapi.ResetPeerRequest_SoftResetDirection", ResetPeerRequest_SoftResetDirection_name, ResetPeerRequest_SoftResetDirection_value) + proto.RegisterEnum("gobgpapi.ListPathRequest_SortType", ListPathRequest_SortType_name, ListPathRequest_SortType_value) + proto.RegisterEnum("gobgpapi.AddBmpRequest_MonitoringPolicy", AddBmpRequest_MonitoringPolicy_name, AddBmpRequest_MonitoringPolicy_value) + proto.RegisterEnum("gobgpapi.Family_Afi", Family_Afi_name, Family_Afi_value) + proto.RegisterEnum("gobgpapi.Family_Safi", Family_Safi_name, Family_Safi_value) + proto.RegisterEnum("gobgpapi.Validation_State", Validation_State_name, Validation_State_value) + proto.RegisterEnum("gobgpapi.Validation_Reason", Validation_Reason_name, Validation_Reason_value) + proto.RegisterEnum("gobgpapi.PeerConf_RemovePrivateAs", PeerConf_RemovePrivateAs_name, PeerConf_RemovePrivateAs_value) + proto.RegisterEnum("gobgpapi.PeerGroupConf_RemovePrivateAs", PeerGroupConf_RemovePrivateAs_name, PeerGroupConf_RemovePrivateAs_value) + proto.RegisterEnum("gobgpapi.PeerGroupState_RemovePrivateAs", PeerGroupState_RemovePrivateAs_name, PeerGroupState_RemovePrivateAs_value) + proto.RegisterEnum("gobgpapi.PeerState_SessionState", PeerState_SessionState_name, PeerState_SessionState_value) + proto.RegisterEnum("gobgpapi.PeerState_AdminState", PeerState_AdminState_name, PeerState_AdminState_value) + proto.RegisterEnum("gobgpapi.Conditions_RouteType", Conditions_RouteType_name, Conditions_RouteType_value) proto.RegisterType((*StartBgpRequest)(nil), "gobgpapi.StartBgpRequest") proto.RegisterType((*StopBgpRequest)(nil), "gobgpapi.StopBgpRequest") proto.RegisterType((*GetBgpRequest)(nil), "gobgpapi.GetBgpRequest") @@ -5707,2087 +9074,11 @@ func init() { proto.RegisterType((*RPKIConf)(nil), "gobgpapi.RPKIConf") proto.RegisterType((*RPKIState)(nil), "gobgpapi.RPKIState") proto.RegisterType((*Rpki)(nil), "gobgpapi.Rpki") - proto.RegisterEnum("gobgpapi.TableType", TableType_name, TableType_value) - proto.RegisterEnum("gobgpapi.TableLookupOption", TableLookupOption_name, TableLookupOption_value) - proto.RegisterEnum("gobgpapi.DefinedType", DefinedType_name, DefinedType_value) - proto.RegisterEnum("gobgpapi.MatchType", MatchType_name, MatchType_value) - proto.RegisterEnum("gobgpapi.AsPathLengthType", AsPathLengthType_name, AsPathLengthType_value) - proto.RegisterEnum("gobgpapi.RouteAction", RouteAction_name, RouteAction_value) - proto.RegisterEnum("gobgpapi.CommunityActionType", CommunityActionType_name, CommunityActionType_value) - proto.RegisterEnum("gobgpapi.MedActionType", MedActionType_name, MedActionType_value) - proto.RegisterEnum("gobgpapi.PolicyDirection", PolicyDirection_name, PolicyDirection_value) - proto.RegisterEnum("gobgpapi.ResetPeerRequest_SoftResetDirection", ResetPeerRequest_SoftResetDirection_name, ResetPeerRequest_SoftResetDirection_value) - proto.RegisterEnum("gobgpapi.ListPathRequest_SortType", ListPathRequest_SortType_name, ListPathRequest_SortType_value) - proto.RegisterEnum("gobgpapi.AddBmpRequest_MonitoringPolicy", AddBmpRequest_MonitoringPolicy_name, AddBmpRequest_MonitoringPolicy_value) - proto.RegisterEnum("gobgpapi.Family_Afi", Family_Afi_name, Family_Afi_value) - proto.RegisterEnum("gobgpapi.Family_Safi", Family_Safi_name, Family_Safi_value) - proto.RegisterEnum("gobgpapi.Validation_State", Validation_State_name, Validation_State_value) - proto.RegisterEnum("gobgpapi.Validation_Reason", Validation_Reason_name, Validation_Reason_value) - proto.RegisterEnum("gobgpapi.PeerConf_RemovePrivateAs", PeerConf_RemovePrivateAs_name, PeerConf_RemovePrivateAs_value) - proto.RegisterEnum("gobgpapi.PeerGroupConf_RemovePrivateAs", PeerGroupConf_RemovePrivateAs_name, PeerGroupConf_RemovePrivateAs_value) - proto.RegisterEnum("gobgpapi.PeerGroupState_RemovePrivateAs", PeerGroupState_RemovePrivateAs_name, PeerGroupState_RemovePrivateAs_value) - proto.RegisterEnum("gobgpapi.PeerState_SessionState", PeerState_SessionState_name, PeerState_SessionState_value) - proto.RegisterEnum("gobgpapi.PeerState_AdminState", PeerState_AdminState_name, PeerState_AdminState_value) - proto.RegisterEnum("gobgpapi.Conditions_RouteType", Conditions_RouteType_name, Conditions_RouteType_value) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// Client API for GobgpApi service +func init() { proto.RegisterFile("gobgp.proto", fileDescriptor_7cc8e5cf92decdb2) } -type GobgpApiClient interface { - StartBgp(ctx context.Context, in *StartBgpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - StopBgp(ctx context.Context, in *StopBgpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - GetBgp(ctx context.Context, in *GetBgpRequest, opts ...grpc.CallOption) (*GetBgpResponse, error) - AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListPeer(ctx context.Context, in *ListPeerRequest, opts ...grpc.CallOption) (GobgpApi_ListPeerClient, error) - UpdatePeer(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*UpdatePeerResponse, error) - ResetPeer(ctx context.Context, in *ResetPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ShutdownPeer(ctx context.Context, in *ShutdownPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - EnablePeer(ctx context.Context, in *EnablePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DisablePeer(ctx context.Context, in *DisablePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - MonitorPeer(ctx context.Context, in *MonitorPeerRequest, opts ...grpc.CallOption) (GobgpApi_MonitorPeerClient, error) - AddPeerGroup(ctx context.Context, in *AddPeerGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeletePeerGroup(ctx context.Context, in *DeletePeerGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - UpdatePeerGroup(ctx context.Context, in *UpdatePeerGroupRequest, opts ...grpc.CallOption) (*UpdatePeerGroupResponse, error) - AddDynamicNeighbor(ctx context.Context, in *AddDynamicNeighborRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error) - DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (GobgpApi_ListPathClient, error) - AddPathStream(ctx context.Context, opts ...grpc.CallOption) (GobgpApi_AddPathStreamClient, error) - GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*GetTableResponse, error) - MonitorTable(ctx context.Context, in *MonitorTableRequest, opts ...grpc.CallOption) (GobgpApi_MonitorTableClient, error) - AddVrf(ctx context.Context, in *AddVrfRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListVrf(ctx context.Context, in *ListVrfRequest, opts ...grpc.CallOption) (GobgpApi_ListVrfClient, error) - AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListPolicy(ctx context.Context, in *ListPolicyRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyClient, error) - SetPolicies(ctx context.Context, in *SetPoliciesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - AddDefinedSet(ctx context.Context, in *AddDefinedSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeleteDefinedSet(ctx context.Context, in *DeleteDefinedSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListDefinedSet(ctx context.Context, in *ListDefinedSetRequest, opts ...grpc.CallOption) (GobgpApi_ListDefinedSetClient, error) - AddStatement(ctx context.Context, in *AddStatementRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeleteStatement(ctx context.Context, in *DeleteStatementRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListStatement(ctx context.Context, in *ListStatementRequest, opts ...grpc.CallOption) (GobgpApi_ListStatementClient, error) - AddPolicyAssignment(ctx context.Context, in *AddPolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeletePolicyAssignment(ctx context.Context, in *DeletePolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListPolicyAssignment(ctx context.Context, in *ListPolicyAssignmentRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyAssignmentClient, error) - SetPolicyAssignment(ctx context.Context, in *SetPolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - AddRpki(ctx context.Context, in *AddRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeleteRpki(ctx context.Context, in *DeleteRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListRpki(ctx context.Context, in *ListRpkiRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiClient, error) - EnableRpki(ctx context.Context, in *EnableRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DisableRpki(ctx context.Context, in *DisableRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ResetRpki(ctx context.Context, in *ResetRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - ListRpkiTable(ctx context.Context, in *ListRpkiTableRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiTableClient, error) - EnableZebra(ctx context.Context, in *EnableZebraRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - EnableMrt(ctx context.Context, in *EnableMrtRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DisableMrt(ctx context.Context, in *DisableMrtRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - AddBmp(ctx context.Context, in *AddBmpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - DeleteBmp(ctx context.Context, in *DeleteBmpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) -} - -type gobgpApiClient struct { - cc *grpc.ClientConn -} - -func NewGobgpApiClient(cc *grpc.ClientConn) GobgpApiClient { - return &gobgpApiClient{cc} -} - -func (c *gobgpApiClient) StartBgp(ctx context.Context, in *StartBgpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/StartBgp", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) StopBgp(ctx context.Context, in *StopBgpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/StopBgp", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) GetBgp(ctx context.Context, in *GetBgpRequest, opts ...grpc.CallOption) (*GetBgpResponse, error) { - out := new(GetBgpResponse) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/GetBgp", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListPeer(ctx context.Context, in *ListPeerRequest, opts ...grpc.CallOption) (GobgpApi_ListPeerClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[0], c.cc, "/gobgpapi.GobgpApi/ListPeer", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListPeerClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListPeerClient interface { - Recv() (*ListPeerResponse, error) - grpc.ClientStream -} - -type gobgpApiListPeerClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListPeerClient) Recv() (*ListPeerResponse, error) { - m := new(ListPeerResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) UpdatePeer(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*UpdatePeerResponse, error) { - out := new(UpdatePeerResponse) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/UpdatePeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ResetPeer(ctx context.Context, in *ResetPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/ResetPeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ShutdownPeer(ctx context.Context, in *ShutdownPeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/ShutdownPeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) EnablePeer(ctx context.Context, in *EnablePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/EnablePeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DisablePeer(ctx context.Context, in *DisablePeerRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DisablePeer", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) MonitorPeer(ctx context.Context, in *MonitorPeerRequest, opts ...grpc.CallOption) (GobgpApi_MonitorPeerClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[1], c.cc, "/gobgpapi.GobgpApi/MonitorPeer", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiMonitorPeerClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_MonitorPeerClient interface { - Recv() (*MonitorPeerResponse, error) - grpc.ClientStream -} - -type gobgpApiMonitorPeerClient struct { - grpc.ClientStream -} - -func (x *gobgpApiMonitorPeerClient) Recv() (*MonitorPeerResponse, error) { - m := new(MonitorPeerResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddPeerGroup(ctx context.Context, in *AddPeerGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPeerGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeletePeerGroup(ctx context.Context, in *DeletePeerGroupRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePeerGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) UpdatePeerGroup(ctx context.Context, in *UpdatePeerGroupRequest, opts ...grpc.CallOption) (*UpdatePeerGroupResponse, error) { - out := new(UpdatePeerGroupResponse) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/UpdatePeerGroup", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddDynamicNeighbor(ctx context.Context, in *AddDynamicNeighborRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddDynamicNeighbor", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error) { - out := new(AddPathResponse) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPath", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePath", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (GobgpApi_ListPathClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[2], c.cc, "/gobgpapi.GobgpApi/ListPath", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListPathClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListPathClient interface { - Recv() (*ListPathResponse, error) - grpc.ClientStream -} - -type gobgpApiListPathClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListPathClient) Recv() (*ListPathResponse, error) { - m := new(ListPathResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddPathStream(ctx context.Context, opts ...grpc.CallOption) (GobgpApi_AddPathStreamClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[3], c.cc, "/gobgpapi.GobgpApi/AddPathStream", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiAddPathStreamClient{stream} - return x, nil -} - -type GobgpApi_AddPathStreamClient interface { - Send(*AddPathStreamRequest) error - CloseAndRecv() (*google_protobuf1.Empty, error) - grpc.ClientStream -} - -type gobgpApiAddPathStreamClient struct { - grpc.ClientStream -} - -func (x *gobgpApiAddPathStreamClient) Send(m *AddPathStreamRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *gobgpApiAddPathStreamClient) CloseAndRecv() (*google_protobuf1.Empty, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(google_protobuf1.Empty) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*GetTableResponse, error) { - out := new(GetTableResponse) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/GetTable", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) MonitorTable(ctx context.Context, in *MonitorTableRequest, opts ...grpc.CallOption) (GobgpApi_MonitorTableClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[4], c.cc, "/gobgpapi.GobgpApi/MonitorTable", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiMonitorTableClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_MonitorTableClient interface { - Recv() (*MonitorTableResponse, error) - grpc.ClientStream -} - -type gobgpApiMonitorTableClient struct { - grpc.ClientStream -} - -func (x *gobgpApiMonitorTableClient) Recv() (*MonitorTableResponse, error) { - m := new(MonitorTableResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddVrf(ctx context.Context, in *AddVrfRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddVrf", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteVrf", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListVrf(ctx context.Context, in *ListVrfRequest, opts ...grpc.CallOption) (GobgpApi_ListVrfClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[5], c.cc, "/gobgpapi.GobgpApi/ListVrf", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListVrfClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListVrfClient interface { - Recv() (*ListVrfResponse, error) - grpc.ClientStream -} - -type gobgpApiListVrfClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListVrfClient) Recv() (*ListVrfResponse, error) { - m := new(ListVrfResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPolicy", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePolicy", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListPolicy(ctx context.Context, in *ListPolicyRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[6], c.cc, "/gobgpapi.GobgpApi/ListPolicy", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListPolicyClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListPolicyClient interface { - Recv() (*ListPolicyResponse, error) - grpc.ClientStream -} - -type gobgpApiListPolicyClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListPolicyClient) Recv() (*ListPolicyResponse, error) { - m := new(ListPolicyResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) SetPolicies(ctx context.Context, in *SetPoliciesRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/SetPolicies", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddDefinedSet(ctx context.Context, in *AddDefinedSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddDefinedSet", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeleteDefinedSet(ctx context.Context, in *DeleteDefinedSetRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteDefinedSet", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListDefinedSet(ctx context.Context, in *ListDefinedSetRequest, opts ...grpc.CallOption) (GobgpApi_ListDefinedSetClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[7], c.cc, "/gobgpapi.GobgpApi/ListDefinedSet", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListDefinedSetClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListDefinedSetClient interface { - Recv() (*ListDefinedSetResponse, error) - grpc.ClientStream -} - -type gobgpApiListDefinedSetClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListDefinedSetClient) Recv() (*ListDefinedSetResponse, error) { - m := new(ListDefinedSetResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddStatement(ctx context.Context, in *AddStatementRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddStatement", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeleteStatement(ctx context.Context, in *DeleteStatementRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteStatement", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListStatement(ctx context.Context, in *ListStatementRequest, opts ...grpc.CallOption) (GobgpApi_ListStatementClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[8], c.cc, "/gobgpapi.GobgpApi/ListStatement", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListStatementClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListStatementClient interface { - Recv() (*ListStatementResponse, error) - grpc.ClientStream -} - -type gobgpApiListStatementClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListStatementClient) Recv() (*ListStatementResponse, error) { - m := new(ListStatementResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) AddPolicyAssignment(ctx context.Context, in *AddPolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPolicyAssignment", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeletePolicyAssignment(ctx context.Context, in *DeletePolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePolicyAssignment", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListPolicyAssignment(ctx context.Context, in *ListPolicyAssignmentRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyAssignmentClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[9], c.cc, "/gobgpapi.GobgpApi/ListPolicyAssignment", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListPolicyAssignmentClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListPolicyAssignmentClient interface { - Recv() (*ListPolicyAssignmentResponse, error) - grpc.ClientStream -} - -type gobgpApiListPolicyAssignmentClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListPolicyAssignmentClient) Recv() (*ListPolicyAssignmentResponse, error) { - m := new(ListPolicyAssignmentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) SetPolicyAssignment(ctx context.Context, in *SetPolicyAssignmentRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/SetPolicyAssignment", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddRpki(ctx context.Context, in *AddRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddRpki", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeleteRpki(ctx context.Context, in *DeleteRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteRpki", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListRpki(ctx context.Context, in *ListRpkiRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[10], c.cc, "/gobgpapi.GobgpApi/ListRpki", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListRpkiClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListRpkiClient interface { - Recv() (*ListRpkiResponse, error) - grpc.ClientStream -} - -type gobgpApiListRpkiClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListRpkiClient) Recv() (*ListRpkiResponse, error) { - m := new(ListRpkiResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) EnableRpki(ctx context.Context, in *EnableRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableRpki", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DisableRpki(ctx context.Context, in *DisableRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DisableRpki", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ResetRpki(ctx context.Context, in *ResetRpkiRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/ResetRpki", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) ListRpkiTable(ctx context.Context, in *ListRpkiTableRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiTableClient, error) { - stream, err := grpc.NewClientStream(ctx, &_GobgpApi_serviceDesc.Streams[11], c.cc, "/gobgpapi.GobgpApi/ListRpkiTable", opts...) - if err != nil { - return nil, err - } - x := &gobgpApiListRpkiTableClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type GobgpApi_ListRpkiTableClient interface { - Recv() (*ListRpkiTableResponse, error) - grpc.ClientStream -} - -type gobgpApiListRpkiTableClient struct { - grpc.ClientStream -} - -func (x *gobgpApiListRpkiTableClient) Recv() (*ListRpkiTableResponse, error) { - m := new(ListRpkiTableResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *gobgpApiClient) EnableZebra(ctx context.Context, in *EnableZebraRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableZebra", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) EnableMrt(ctx context.Context, in *EnableMrtRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableMrt", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DisableMrt(ctx context.Context, in *DisableMrtRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DisableMrt", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) AddBmp(ctx context.Context, in *AddBmpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/AddBmp", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *gobgpApiClient) DeleteBmp(ctx context.Context, in *DeleteBmpRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) { - out := new(google_protobuf1.Empty) - err := grpc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteBmp", in, out, c.cc, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Server API for GobgpApi service - -type GobgpApiServer interface { - StartBgp(context.Context, *StartBgpRequest) (*google_protobuf1.Empty, error) - StopBgp(context.Context, *StopBgpRequest) (*google_protobuf1.Empty, error) - GetBgp(context.Context, *GetBgpRequest) (*GetBgpResponse, error) - AddPeer(context.Context, *AddPeerRequest) (*google_protobuf1.Empty, error) - DeletePeer(context.Context, *DeletePeerRequest) (*google_protobuf1.Empty, error) - ListPeer(*ListPeerRequest, GobgpApi_ListPeerServer) error - UpdatePeer(context.Context, *UpdatePeerRequest) (*UpdatePeerResponse, error) - ResetPeer(context.Context, *ResetPeerRequest) (*google_protobuf1.Empty, error) - ShutdownPeer(context.Context, *ShutdownPeerRequest) (*google_protobuf1.Empty, error) - EnablePeer(context.Context, *EnablePeerRequest) (*google_protobuf1.Empty, error) - DisablePeer(context.Context, *DisablePeerRequest) (*google_protobuf1.Empty, error) - MonitorPeer(*MonitorPeerRequest, GobgpApi_MonitorPeerServer) error - AddPeerGroup(context.Context, *AddPeerGroupRequest) (*google_protobuf1.Empty, error) - DeletePeerGroup(context.Context, *DeletePeerGroupRequest) (*google_protobuf1.Empty, error) - UpdatePeerGroup(context.Context, *UpdatePeerGroupRequest) (*UpdatePeerGroupResponse, error) - AddDynamicNeighbor(context.Context, *AddDynamicNeighborRequest) (*google_protobuf1.Empty, error) - AddPath(context.Context, *AddPathRequest) (*AddPathResponse, error) - DeletePath(context.Context, *DeletePathRequest) (*google_protobuf1.Empty, error) - ListPath(*ListPathRequest, GobgpApi_ListPathServer) error - AddPathStream(GobgpApi_AddPathStreamServer) error - GetTable(context.Context, *GetTableRequest) (*GetTableResponse, error) - MonitorTable(*MonitorTableRequest, GobgpApi_MonitorTableServer) error - AddVrf(context.Context, *AddVrfRequest) (*google_protobuf1.Empty, error) - DeleteVrf(context.Context, *DeleteVrfRequest) (*google_protobuf1.Empty, error) - ListVrf(*ListVrfRequest, GobgpApi_ListVrfServer) error - AddPolicy(context.Context, *AddPolicyRequest) (*google_protobuf1.Empty, error) - DeletePolicy(context.Context, *DeletePolicyRequest) (*google_protobuf1.Empty, error) - ListPolicy(*ListPolicyRequest, GobgpApi_ListPolicyServer) error - SetPolicies(context.Context, *SetPoliciesRequest) (*google_protobuf1.Empty, error) - AddDefinedSet(context.Context, *AddDefinedSetRequest) (*google_protobuf1.Empty, error) - DeleteDefinedSet(context.Context, *DeleteDefinedSetRequest) (*google_protobuf1.Empty, error) - ListDefinedSet(*ListDefinedSetRequest, GobgpApi_ListDefinedSetServer) error - AddStatement(context.Context, *AddStatementRequest) (*google_protobuf1.Empty, error) - DeleteStatement(context.Context, *DeleteStatementRequest) (*google_protobuf1.Empty, error) - ListStatement(*ListStatementRequest, GobgpApi_ListStatementServer) error - AddPolicyAssignment(context.Context, *AddPolicyAssignmentRequest) (*google_protobuf1.Empty, error) - DeletePolicyAssignment(context.Context, *DeletePolicyAssignmentRequest) (*google_protobuf1.Empty, error) - ListPolicyAssignment(*ListPolicyAssignmentRequest, GobgpApi_ListPolicyAssignmentServer) error - SetPolicyAssignment(context.Context, *SetPolicyAssignmentRequest) (*google_protobuf1.Empty, error) - AddRpki(context.Context, *AddRpkiRequest) (*google_protobuf1.Empty, error) - DeleteRpki(context.Context, *DeleteRpkiRequest) (*google_protobuf1.Empty, error) - ListRpki(*ListRpkiRequest, GobgpApi_ListRpkiServer) error - EnableRpki(context.Context, *EnableRpkiRequest) (*google_protobuf1.Empty, error) - DisableRpki(context.Context, *DisableRpkiRequest) (*google_protobuf1.Empty, error) - ResetRpki(context.Context, *ResetRpkiRequest) (*google_protobuf1.Empty, error) - ListRpkiTable(*ListRpkiTableRequest, GobgpApi_ListRpkiTableServer) error - EnableZebra(context.Context, *EnableZebraRequest) (*google_protobuf1.Empty, error) - EnableMrt(context.Context, *EnableMrtRequest) (*google_protobuf1.Empty, error) - DisableMrt(context.Context, *DisableMrtRequest) (*google_protobuf1.Empty, error) - AddBmp(context.Context, *AddBmpRequest) (*google_protobuf1.Empty, error) - DeleteBmp(context.Context, *DeleteBmpRequest) (*google_protobuf1.Empty, error) -} - -func RegisterGobgpApiServer(s *grpc.Server, srv GobgpApiServer) { - s.RegisterService(&_GobgpApi_serviceDesc, srv) -} - -func _GobgpApi_StartBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StartBgpRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).StartBgp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/StartBgp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).StartBgp(ctx, req.(*StartBgpRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_StopBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopBgpRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).StopBgp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/StopBgp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).StopBgp(ctx, req.(*StopBgpRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_GetBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetBgpRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).GetBgp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/GetBgp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).GetBgp(ctx, req.(*GetBgpRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddPeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddPeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddPeer(ctx, req.(*AddPeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeletePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeletePeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeletePeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeletePeer(ctx, req.(*DeletePeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListPeer_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListPeerRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListPeer(m, &gobgpApiListPeerServer{stream}) -} - -type GobgpApi_ListPeerServer interface { - Send(*ListPeerResponse) error - grpc.ServerStream -} - -type gobgpApiListPeerServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListPeerServer) Send(m *ListPeerResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_UpdatePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).UpdatePeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/UpdatePeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).UpdatePeer(ctx, req.(*UpdatePeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ResetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetPeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).ResetPeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/ResetPeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).ResetPeer(ctx, req.(*ResetPeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ShutdownPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ShutdownPeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).ShutdownPeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/ShutdownPeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).ShutdownPeer(ctx, req.(*ShutdownPeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_EnablePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnablePeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).EnablePeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/EnablePeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).EnablePeer(ctx, req.(*EnablePeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DisablePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisablePeerRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DisablePeer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DisablePeer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DisablePeer(ctx, req.(*DisablePeerRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_MonitorPeer_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(MonitorPeerRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).MonitorPeer(m, &gobgpApiMonitorPeerServer{stream}) -} - -type GobgpApi_MonitorPeerServer interface { - Send(*MonitorPeerResponse) error - grpc.ServerStream -} - -type gobgpApiMonitorPeerServer struct { - grpc.ServerStream -} - -func (x *gobgpApiMonitorPeerServer) Send(m *MonitorPeerResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddPeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPeerGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddPeerGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddPeerGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddPeerGroup(ctx, req.(*AddPeerGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeletePeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePeerGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeletePeerGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeletePeerGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeletePeerGroup(ctx, req.(*DeletePeerGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_UpdatePeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdatePeerGroupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).UpdatePeerGroup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/UpdatePeerGroup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).UpdatePeerGroup(ctx, req.(*UpdatePeerGroupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddDynamicNeighbor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddDynamicNeighborRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddDynamicNeighbor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddDynamicNeighbor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddDynamicNeighbor(ctx, req.(*AddDynamicNeighborRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddPath(ctx, req.(*AddPathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeletePath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeletePath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeletePath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeletePath(ctx, req.(*DeletePathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListPath_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListPathRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListPath(m, &gobgpApiListPathServer{stream}) -} - -type GobgpApi_ListPathServer interface { - Send(*ListPathResponse) error - grpc.ServerStream -} - -type gobgpApiListPathServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListPathServer) Send(m *ListPathResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddPathStream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(GobgpApiServer).AddPathStream(&gobgpApiAddPathStreamServer{stream}) -} - -type GobgpApi_AddPathStreamServer interface { - SendAndClose(*google_protobuf1.Empty) error - Recv() (*AddPathStreamRequest, error) - grpc.ServerStream -} - -type gobgpApiAddPathStreamServer struct { - grpc.ServerStream -} - -func (x *gobgpApiAddPathStreamServer) SendAndClose(m *google_protobuf1.Empty) error { - return x.ServerStream.SendMsg(m) -} - -func (x *gobgpApiAddPathStreamServer) Recv() (*AddPathStreamRequest, error) { - m := new(AddPathStreamRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _GobgpApi_GetTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetTableRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).GetTable(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/GetTable", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).GetTable(ctx, req.(*GetTableRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_MonitorTable_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(MonitorTableRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).MonitorTable(m, &gobgpApiMonitorTableServer{stream}) -} - -type GobgpApi_MonitorTableServer interface { - Send(*MonitorTableResponse) error - grpc.ServerStream -} - -type gobgpApiMonitorTableServer struct { - grpc.ServerStream -} - -func (x *gobgpApiMonitorTableServer) Send(m *MonitorTableResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddVrf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddVrfRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddVrf(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddVrf", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddVrf(ctx, req.(*AddVrfRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeleteVrf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteVrfRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeleteVrf(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeleteVrf", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeleteVrf(ctx, req.(*DeleteVrfRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListVrf_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListVrfRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListVrf(m, &gobgpApiListVrfServer{stream}) -} - -type GobgpApi_ListVrfServer interface { - Send(*ListVrfResponse) error - grpc.ServerStream -} - -type gobgpApiListVrfServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListVrfServer) Send(m *ListVrfResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddPolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddPolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddPolicy(ctx, req.(*AddPolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeletePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePolicyRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeletePolicy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeletePolicy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeletePolicy(ctx, req.(*DeletePolicyRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListPolicy_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListPolicyRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListPolicy(m, &gobgpApiListPolicyServer{stream}) -} - -type GobgpApi_ListPolicyServer interface { - Send(*ListPolicyResponse) error - grpc.ServerStream -} - -type gobgpApiListPolicyServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListPolicyServer) Send(m *ListPolicyResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_SetPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetPoliciesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).SetPolicies(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/SetPolicies", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).SetPolicies(ctx, req.(*SetPoliciesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddDefinedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddDefinedSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddDefinedSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddDefinedSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddDefinedSet(ctx, req.(*AddDefinedSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeleteDefinedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteDefinedSetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeleteDefinedSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeleteDefinedSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeleteDefinedSet(ctx, req.(*DeleteDefinedSetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListDefinedSet_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListDefinedSetRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListDefinedSet(m, &gobgpApiListDefinedSetServer{stream}) -} - -type GobgpApi_ListDefinedSetServer interface { - Send(*ListDefinedSetResponse) error - grpc.ServerStream -} - -type gobgpApiListDefinedSetServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListDefinedSetServer) Send(m *ListDefinedSetResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddStatement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddStatementRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddStatement(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddStatement", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddStatement(ctx, req.(*AddStatementRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeleteStatement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteStatementRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeleteStatement(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeleteStatement", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeleteStatement(ctx, req.(*DeleteStatementRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListStatement_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListStatementRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListStatement(m, &gobgpApiListStatementServer{stream}) -} - -type GobgpApi_ListStatementServer interface { - Send(*ListStatementResponse) error - grpc.ServerStream -} - -type gobgpApiListStatementServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListStatementServer) Send(m *ListStatementResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_AddPolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddPolicyAssignmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddPolicyAssignment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddPolicyAssignment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddPolicyAssignment(ctx, req.(*AddPolicyAssignmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeletePolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeletePolicyAssignmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeletePolicyAssignment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeletePolicyAssignment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeletePolicyAssignment(ctx, req.(*DeletePolicyAssignmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListPolicyAssignment_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListPolicyAssignmentRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListPolicyAssignment(m, &gobgpApiListPolicyAssignmentServer{stream}) -} - -type GobgpApi_ListPolicyAssignmentServer interface { - Send(*ListPolicyAssignmentResponse) error - grpc.ServerStream -} - -type gobgpApiListPolicyAssignmentServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListPolicyAssignmentServer) Send(m *ListPolicyAssignmentResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_SetPolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetPolicyAssignmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).SetPolicyAssignment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/SetPolicyAssignment", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).SetPolicyAssignment(ctx, req.(*SetPolicyAssignmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRpkiRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddRpki(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddRpki", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddRpki(ctx, req.(*AddRpkiRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeleteRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRpkiRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeleteRpki(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeleteRpki", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeleteRpki(ctx, req.(*DeleteRpkiRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListRpki_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListRpkiRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListRpki(m, &gobgpApiListRpkiServer{stream}) -} - -type GobgpApi_ListRpkiServer interface { - Send(*ListRpkiResponse) error - grpc.ServerStream -} - -type gobgpApiListRpkiServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListRpkiServer) Send(m *ListRpkiResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_EnableRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableRpkiRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).EnableRpki(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/EnableRpki", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).EnableRpki(ctx, req.(*EnableRpkiRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DisableRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableRpkiRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DisableRpki(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DisableRpki", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DisableRpki(ctx, req.(*DisableRpkiRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ResetRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ResetRpkiRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).ResetRpki(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/ResetRpki", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).ResetRpki(ctx, req.(*ResetRpkiRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_ListRpkiTable_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListRpkiTableRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(GobgpApiServer).ListRpkiTable(m, &gobgpApiListRpkiTableServer{stream}) -} - -type GobgpApi_ListRpkiTableServer interface { - Send(*ListRpkiTableResponse) error - grpc.ServerStream -} - -type gobgpApiListRpkiTableServer struct { - grpc.ServerStream -} - -func (x *gobgpApiListRpkiTableServer) Send(m *ListRpkiTableResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _GobgpApi_EnableZebra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableZebraRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).EnableZebra(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/EnableZebra", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).EnableZebra(ctx, req.(*EnableZebraRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_EnableMrt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EnableMrtRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).EnableMrt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/EnableMrt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).EnableMrt(ctx, req.(*EnableMrtRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DisableMrt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisableMrtRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DisableMrt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DisableMrt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DisableMrt(ctx, req.(*DisableMrtRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_AddBmp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddBmpRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).AddBmp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/AddBmp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).AddBmp(ctx, req.(*AddBmpRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _GobgpApi_DeleteBmp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteBmpRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(GobgpApiServer).DeleteBmp(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gobgpapi.GobgpApi/DeleteBmp", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GobgpApiServer).DeleteBmp(ctx, req.(*DeleteBmpRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _GobgpApi_serviceDesc = grpc.ServiceDesc{ - ServiceName: "gobgpapi.GobgpApi", - HandlerType: (*GobgpApiServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "StartBgp", - Handler: _GobgpApi_StartBgp_Handler, - }, - { - MethodName: "StopBgp", - Handler: _GobgpApi_StopBgp_Handler, - }, - { - MethodName: "GetBgp", - Handler: _GobgpApi_GetBgp_Handler, - }, - { - MethodName: "AddPeer", - Handler: _GobgpApi_AddPeer_Handler, - }, - { - MethodName: "DeletePeer", - Handler: _GobgpApi_DeletePeer_Handler, - }, - { - MethodName: "UpdatePeer", - Handler: _GobgpApi_UpdatePeer_Handler, - }, - { - MethodName: "ResetPeer", - Handler: _GobgpApi_ResetPeer_Handler, - }, - { - MethodName: "ShutdownPeer", - Handler: _GobgpApi_ShutdownPeer_Handler, - }, - { - MethodName: "EnablePeer", - Handler: _GobgpApi_EnablePeer_Handler, - }, - { - MethodName: "DisablePeer", - Handler: _GobgpApi_DisablePeer_Handler, - }, - { - MethodName: "AddPeerGroup", - Handler: _GobgpApi_AddPeerGroup_Handler, - }, - { - MethodName: "DeletePeerGroup", - Handler: _GobgpApi_DeletePeerGroup_Handler, - }, - { - MethodName: "UpdatePeerGroup", - Handler: _GobgpApi_UpdatePeerGroup_Handler, - }, - { - MethodName: "AddDynamicNeighbor", - Handler: _GobgpApi_AddDynamicNeighbor_Handler, - }, - { - MethodName: "AddPath", - Handler: _GobgpApi_AddPath_Handler, - }, - { - MethodName: "DeletePath", - Handler: _GobgpApi_DeletePath_Handler, - }, - { - MethodName: "GetTable", - Handler: _GobgpApi_GetTable_Handler, - }, - { - MethodName: "AddVrf", - Handler: _GobgpApi_AddVrf_Handler, - }, - { - MethodName: "DeleteVrf", - Handler: _GobgpApi_DeleteVrf_Handler, - }, - { - MethodName: "AddPolicy", - Handler: _GobgpApi_AddPolicy_Handler, - }, - { - MethodName: "DeletePolicy", - Handler: _GobgpApi_DeletePolicy_Handler, - }, - { - MethodName: "SetPolicies", - Handler: _GobgpApi_SetPolicies_Handler, - }, - { - MethodName: "AddDefinedSet", - Handler: _GobgpApi_AddDefinedSet_Handler, - }, - { - MethodName: "DeleteDefinedSet", - Handler: _GobgpApi_DeleteDefinedSet_Handler, - }, - { - MethodName: "AddStatement", - Handler: _GobgpApi_AddStatement_Handler, - }, - { - MethodName: "DeleteStatement", - Handler: _GobgpApi_DeleteStatement_Handler, - }, - { - MethodName: "AddPolicyAssignment", - Handler: _GobgpApi_AddPolicyAssignment_Handler, - }, - { - MethodName: "DeletePolicyAssignment", - Handler: _GobgpApi_DeletePolicyAssignment_Handler, - }, - { - MethodName: "SetPolicyAssignment", - Handler: _GobgpApi_SetPolicyAssignment_Handler, - }, - { - MethodName: "AddRpki", - Handler: _GobgpApi_AddRpki_Handler, - }, - { - MethodName: "DeleteRpki", - Handler: _GobgpApi_DeleteRpki_Handler, - }, - { - MethodName: "EnableRpki", - Handler: _GobgpApi_EnableRpki_Handler, - }, - { - MethodName: "DisableRpki", - Handler: _GobgpApi_DisableRpki_Handler, - }, - { - MethodName: "ResetRpki", - Handler: _GobgpApi_ResetRpki_Handler, - }, - { - MethodName: "EnableZebra", - Handler: _GobgpApi_EnableZebra_Handler, - }, - { - MethodName: "EnableMrt", - Handler: _GobgpApi_EnableMrt_Handler, - }, - { - MethodName: "DisableMrt", - Handler: _GobgpApi_DisableMrt_Handler, - }, - { - MethodName: "AddBmp", - Handler: _GobgpApi_AddBmp_Handler, - }, - { - MethodName: "DeleteBmp", - Handler: _GobgpApi_DeleteBmp_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListPeer", - Handler: _GobgpApi_ListPeer_Handler, - ServerStreams: true, - }, - { - StreamName: "MonitorPeer", - Handler: _GobgpApi_MonitorPeer_Handler, - ServerStreams: true, - }, - { - StreamName: "ListPath", - Handler: _GobgpApi_ListPath_Handler, - ServerStreams: true, - }, - { - StreamName: "AddPathStream", - Handler: _GobgpApi_AddPathStream_Handler, - ClientStreams: true, - }, - { - StreamName: "MonitorTable", - Handler: _GobgpApi_MonitorTable_Handler, - ServerStreams: true, - }, - { - StreamName: "ListVrf", - Handler: _GobgpApi_ListVrf_Handler, - ServerStreams: true, - }, - { - StreamName: "ListPolicy", - Handler: _GobgpApi_ListPolicy_Handler, - ServerStreams: true, - }, - { - StreamName: "ListDefinedSet", - Handler: _GobgpApi_ListDefinedSet_Handler, - ServerStreams: true, - }, - { - StreamName: "ListStatement", - Handler: _GobgpApi_ListStatement_Handler, - ServerStreams: true, - }, - { - StreamName: "ListPolicyAssignment", - Handler: _GobgpApi_ListPolicyAssignment_Handler, - ServerStreams: true, - }, - { - StreamName: "ListRpki", - Handler: _GobgpApi_ListRpki_Handler, - ServerStreams: true, - }, - { - StreamName: "ListRpkiTable", - Handler: _GobgpApi_ListRpkiTable_Handler, - ServerStreams: true, - }, - }, - Metadata: "gobgp.proto", -} - -func init() { proto.RegisterFile("gobgp.proto", fileDescriptor2) } - -var fileDescriptor2 = []byte{ +var fileDescriptor_7cc8e5cf92decdb2 = []byte{ // 7955 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x7d, 0x4b, 0x8c, 0x1b, 0x49, 0x96, 0x58, 0xf3, 0x53, 0x2c, 0xf2, 0x91, 0x2c, 0x66, 0x45, 0x95, 0xea, 0xa7, 0x6e, 0x49, 0x9d, @@ -8288,3 +9579,2215 @@ var fileDescriptor2 = []byte{ 0xc3, 0x12, 0x2d, 0x7f, 0xfa, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x8b, 0x68, 0x10, 0x32, 0x6b, 0x00, 0x00, } + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// GobgpApiClient is the client API for GobgpApi service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type GobgpApiClient interface { + StartBgp(ctx context.Context, in *StartBgpRequest, opts ...grpc.CallOption) (*empty.Empty, error) + StopBgp(ctx context.Context, in *StopBgpRequest, opts ...grpc.CallOption) (*empty.Empty, error) + GetBgp(ctx context.Context, in *GetBgpRequest, opts ...grpc.CallOption) (*GetBgpResponse, error) + AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListPeer(ctx context.Context, in *ListPeerRequest, opts ...grpc.CallOption) (GobgpApi_ListPeerClient, error) + UpdatePeer(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*UpdatePeerResponse, error) + ResetPeer(ctx context.Context, in *ResetPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ShutdownPeer(ctx context.Context, in *ShutdownPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + EnablePeer(ctx context.Context, in *EnablePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DisablePeer(ctx context.Context, in *DisablePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) + MonitorPeer(ctx context.Context, in *MonitorPeerRequest, opts ...grpc.CallOption) (GobgpApi_MonitorPeerClient, error) + AddPeerGroup(ctx context.Context, in *AddPeerGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeletePeerGroup(ctx context.Context, in *DeletePeerGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) + UpdatePeerGroup(ctx context.Context, in *UpdatePeerGroupRequest, opts ...grpc.CallOption) (*UpdatePeerGroupResponse, error) + AddDynamicNeighbor(ctx context.Context, in *AddDynamicNeighborRequest, opts ...grpc.CallOption) (*empty.Empty, error) + AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error) + DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (GobgpApi_ListPathClient, error) + AddPathStream(ctx context.Context, opts ...grpc.CallOption) (GobgpApi_AddPathStreamClient, error) + GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*GetTableResponse, error) + MonitorTable(ctx context.Context, in *MonitorTableRequest, opts ...grpc.CallOption) (GobgpApi_MonitorTableClient, error) + AddVrf(ctx context.Context, in *AddVrfRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListVrf(ctx context.Context, in *ListVrfRequest, opts ...grpc.CallOption) (GobgpApi_ListVrfClient, error) + AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListPolicy(ctx context.Context, in *ListPolicyRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyClient, error) + SetPolicies(ctx context.Context, in *SetPoliciesRequest, opts ...grpc.CallOption) (*empty.Empty, error) + AddDefinedSet(ctx context.Context, in *AddDefinedSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteDefinedSet(ctx context.Context, in *DeleteDefinedSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListDefinedSet(ctx context.Context, in *ListDefinedSetRequest, opts ...grpc.CallOption) (GobgpApi_ListDefinedSetClient, error) + AddStatement(ctx context.Context, in *AddStatementRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteStatement(ctx context.Context, in *DeleteStatementRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListStatement(ctx context.Context, in *ListStatementRequest, opts ...grpc.CallOption) (GobgpApi_ListStatementClient, error) + AddPolicyAssignment(ctx context.Context, in *AddPolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeletePolicyAssignment(ctx context.Context, in *DeletePolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListPolicyAssignment(ctx context.Context, in *ListPolicyAssignmentRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyAssignmentClient, error) + SetPolicyAssignment(ctx context.Context, in *SetPolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) + AddRpki(ctx context.Context, in *AddRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteRpki(ctx context.Context, in *DeleteRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListRpki(ctx context.Context, in *ListRpkiRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiClient, error) + EnableRpki(ctx context.Context, in *EnableRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DisableRpki(ctx context.Context, in *DisableRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ResetRpki(ctx context.Context, in *ResetRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) + ListRpkiTable(ctx context.Context, in *ListRpkiTableRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiTableClient, error) + EnableZebra(ctx context.Context, in *EnableZebraRequest, opts ...grpc.CallOption) (*empty.Empty, error) + EnableMrt(ctx context.Context, in *EnableMrtRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DisableMrt(ctx context.Context, in *DisableMrtRequest, opts ...grpc.CallOption) (*empty.Empty, error) + AddBmp(ctx context.Context, in *AddBmpRequest, opts ...grpc.CallOption) (*empty.Empty, error) + DeleteBmp(ctx context.Context, in *DeleteBmpRequest, opts ...grpc.CallOption) (*empty.Empty, error) +} + +type gobgpApiClient struct { + cc *grpc.ClientConn +} + +func NewGobgpApiClient(cc *grpc.ClientConn) GobgpApiClient { + return &gobgpApiClient{cc} +} + +func (c *gobgpApiClient) StartBgp(ctx context.Context, in *StartBgpRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/StartBgp", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) StopBgp(ctx context.Context, in *StopBgpRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/StopBgp", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) GetBgp(ctx context.Context, in *GetBgpRequest, opts ...grpc.CallOption) (*GetBgpResponse, error) { + out := new(GetBgpResponse) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/GetBgp", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddPeer(ctx context.Context, in *AddPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeletePeer(ctx context.Context, in *DeletePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListPeer(ctx context.Context, in *ListPeerRequest, opts ...grpc.CallOption) (GobgpApi_ListPeerClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[0], "/gobgpapi.GobgpApi/ListPeer", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListPeerClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListPeerClient interface { + Recv() (*ListPeerResponse, error) + grpc.ClientStream +} + +type gobgpApiListPeerClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListPeerClient) Recv() (*ListPeerResponse, error) { + m := new(ListPeerResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) UpdatePeer(ctx context.Context, in *UpdatePeerRequest, opts ...grpc.CallOption) (*UpdatePeerResponse, error) { + out := new(UpdatePeerResponse) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/UpdatePeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ResetPeer(ctx context.Context, in *ResetPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/ResetPeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ShutdownPeer(ctx context.Context, in *ShutdownPeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/ShutdownPeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) EnablePeer(ctx context.Context, in *EnablePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/EnablePeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DisablePeer(ctx context.Context, in *DisablePeerRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DisablePeer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) MonitorPeer(ctx context.Context, in *MonitorPeerRequest, opts ...grpc.CallOption) (GobgpApi_MonitorPeerClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[1], "/gobgpapi.GobgpApi/MonitorPeer", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiMonitorPeerClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_MonitorPeerClient interface { + Recv() (*MonitorPeerResponse, error) + grpc.ClientStream +} + +type gobgpApiMonitorPeerClient struct { + grpc.ClientStream +} + +func (x *gobgpApiMonitorPeerClient) Recv() (*MonitorPeerResponse, error) { + m := new(MonitorPeerResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddPeerGroup(ctx context.Context, in *AddPeerGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPeerGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeletePeerGroup(ctx context.Context, in *DeletePeerGroupRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePeerGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) UpdatePeerGroup(ctx context.Context, in *UpdatePeerGroupRequest, opts ...grpc.CallOption) (*UpdatePeerGroupResponse, error) { + out := new(UpdatePeerGroupResponse) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/UpdatePeerGroup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddDynamicNeighbor(ctx context.Context, in *AddDynamicNeighborRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddDynamicNeighbor", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error) { + out := new(AddPathResponse) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPath", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePath", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (GobgpApi_ListPathClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[2], "/gobgpapi.GobgpApi/ListPath", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListPathClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListPathClient interface { + Recv() (*ListPathResponse, error) + grpc.ClientStream +} + +type gobgpApiListPathClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListPathClient) Recv() (*ListPathResponse, error) { + m := new(ListPathResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddPathStream(ctx context.Context, opts ...grpc.CallOption) (GobgpApi_AddPathStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[3], "/gobgpapi.GobgpApi/AddPathStream", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiAddPathStreamClient{stream} + return x, nil +} + +type GobgpApi_AddPathStreamClient interface { + Send(*AddPathStreamRequest) error + CloseAndRecv() (*empty.Empty, error) + grpc.ClientStream +} + +type gobgpApiAddPathStreamClient struct { + grpc.ClientStream +} + +func (x *gobgpApiAddPathStreamClient) Send(m *AddPathStreamRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *gobgpApiAddPathStreamClient) CloseAndRecv() (*empty.Empty, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(empty.Empty) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*GetTableResponse, error) { + out := new(GetTableResponse) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/GetTable", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) MonitorTable(ctx context.Context, in *MonitorTableRequest, opts ...grpc.CallOption) (GobgpApi_MonitorTableClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[4], "/gobgpapi.GobgpApi/MonitorTable", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiMonitorTableClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_MonitorTableClient interface { + Recv() (*MonitorTableResponse, error) + grpc.ClientStream +} + +type gobgpApiMonitorTableClient struct { + grpc.ClientStream +} + +func (x *gobgpApiMonitorTableClient) Recv() (*MonitorTableResponse, error) { + m := new(MonitorTableResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddVrf(ctx context.Context, in *AddVrfRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddVrf", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteVrf", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListVrf(ctx context.Context, in *ListVrfRequest, opts ...grpc.CallOption) (GobgpApi_ListVrfClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[5], "/gobgpapi.GobgpApi/ListVrf", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListVrfClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListVrfClient interface { + Recv() (*ListVrfResponse, error) + grpc.ClientStream +} + +type gobgpApiListVrfClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListVrfClient) Recv() (*ListVrfResponse, error) { + m := new(ListVrfResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePolicy", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListPolicy(ctx context.Context, in *ListPolicyRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[6], "/gobgpapi.GobgpApi/ListPolicy", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListPolicyClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListPolicyClient interface { + Recv() (*ListPolicyResponse, error) + grpc.ClientStream +} + +type gobgpApiListPolicyClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListPolicyClient) Recv() (*ListPolicyResponse, error) { + m := new(ListPolicyResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) SetPolicies(ctx context.Context, in *SetPoliciesRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/SetPolicies", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddDefinedSet(ctx context.Context, in *AddDefinedSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddDefinedSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeleteDefinedSet(ctx context.Context, in *DeleteDefinedSetRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteDefinedSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListDefinedSet(ctx context.Context, in *ListDefinedSetRequest, opts ...grpc.CallOption) (GobgpApi_ListDefinedSetClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[7], "/gobgpapi.GobgpApi/ListDefinedSet", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListDefinedSetClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListDefinedSetClient interface { + Recv() (*ListDefinedSetResponse, error) + grpc.ClientStream +} + +type gobgpApiListDefinedSetClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListDefinedSetClient) Recv() (*ListDefinedSetResponse, error) { + m := new(ListDefinedSetResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddStatement(ctx context.Context, in *AddStatementRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddStatement", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeleteStatement(ctx context.Context, in *DeleteStatementRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteStatement", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListStatement(ctx context.Context, in *ListStatementRequest, opts ...grpc.CallOption) (GobgpApi_ListStatementClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[8], "/gobgpapi.GobgpApi/ListStatement", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListStatementClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListStatementClient interface { + Recv() (*ListStatementResponse, error) + grpc.ClientStream +} + +type gobgpApiListStatementClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListStatementClient) Recv() (*ListStatementResponse, error) { + m := new(ListStatementResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) AddPolicyAssignment(ctx context.Context, in *AddPolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddPolicyAssignment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeletePolicyAssignment(ctx context.Context, in *DeletePolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeletePolicyAssignment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListPolicyAssignment(ctx context.Context, in *ListPolicyAssignmentRequest, opts ...grpc.CallOption) (GobgpApi_ListPolicyAssignmentClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[9], "/gobgpapi.GobgpApi/ListPolicyAssignment", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListPolicyAssignmentClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListPolicyAssignmentClient interface { + Recv() (*ListPolicyAssignmentResponse, error) + grpc.ClientStream +} + +type gobgpApiListPolicyAssignmentClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListPolicyAssignmentClient) Recv() (*ListPolicyAssignmentResponse, error) { + m := new(ListPolicyAssignmentResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) SetPolicyAssignment(ctx context.Context, in *SetPolicyAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/SetPolicyAssignment", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddRpki(ctx context.Context, in *AddRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddRpki", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeleteRpki(ctx context.Context, in *DeleteRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteRpki", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListRpki(ctx context.Context, in *ListRpkiRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[10], "/gobgpapi.GobgpApi/ListRpki", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListRpkiClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListRpkiClient interface { + Recv() (*ListRpkiResponse, error) + grpc.ClientStream +} + +type gobgpApiListRpkiClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListRpkiClient) Recv() (*ListRpkiResponse, error) { + m := new(ListRpkiResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) EnableRpki(ctx context.Context, in *EnableRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableRpki", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DisableRpki(ctx context.Context, in *DisableRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DisableRpki", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ResetRpki(ctx context.Context, in *ResetRpkiRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/ResetRpki", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) ListRpkiTable(ctx context.Context, in *ListRpkiTableRequest, opts ...grpc.CallOption) (GobgpApi_ListRpkiTableClient, error) { + stream, err := c.cc.NewStream(ctx, &_GobgpApi_serviceDesc.Streams[11], "/gobgpapi.GobgpApi/ListRpkiTable", opts...) + if err != nil { + return nil, err + } + x := &gobgpApiListRpkiTableClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type GobgpApi_ListRpkiTableClient interface { + Recv() (*ListRpkiTableResponse, error) + grpc.ClientStream +} + +type gobgpApiListRpkiTableClient struct { + grpc.ClientStream +} + +func (x *gobgpApiListRpkiTableClient) Recv() (*ListRpkiTableResponse, error) { + m := new(ListRpkiTableResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *gobgpApiClient) EnableZebra(ctx context.Context, in *EnableZebraRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableZebra", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) EnableMrt(ctx context.Context, in *EnableMrtRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/EnableMrt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DisableMrt(ctx context.Context, in *DisableMrtRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DisableMrt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) AddBmp(ctx context.Context, in *AddBmpRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/AddBmp", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gobgpApiClient) DeleteBmp(ctx context.Context, in *DeleteBmpRequest, opts ...grpc.CallOption) (*empty.Empty, error) { + out := new(empty.Empty) + err := c.cc.Invoke(ctx, "/gobgpapi.GobgpApi/DeleteBmp", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// GobgpApiServer is the server API for GobgpApi service. +type GobgpApiServer interface { + StartBgp(context.Context, *StartBgpRequest) (*empty.Empty, error) + StopBgp(context.Context, *StopBgpRequest) (*empty.Empty, error) + GetBgp(context.Context, *GetBgpRequest) (*GetBgpResponse, error) + AddPeer(context.Context, *AddPeerRequest) (*empty.Empty, error) + DeletePeer(context.Context, *DeletePeerRequest) (*empty.Empty, error) + ListPeer(*ListPeerRequest, GobgpApi_ListPeerServer) error + UpdatePeer(context.Context, *UpdatePeerRequest) (*UpdatePeerResponse, error) + ResetPeer(context.Context, *ResetPeerRequest) (*empty.Empty, error) + ShutdownPeer(context.Context, *ShutdownPeerRequest) (*empty.Empty, error) + EnablePeer(context.Context, *EnablePeerRequest) (*empty.Empty, error) + DisablePeer(context.Context, *DisablePeerRequest) (*empty.Empty, error) + MonitorPeer(*MonitorPeerRequest, GobgpApi_MonitorPeerServer) error + AddPeerGroup(context.Context, *AddPeerGroupRequest) (*empty.Empty, error) + DeletePeerGroup(context.Context, *DeletePeerGroupRequest) (*empty.Empty, error) + UpdatePeerGroup(context.Context, *UpdatePeerGroupRequest) (*UpdatePeerGroupResponse, error) + AddDynamicNeighbor(context.Context, *AddDynamicNeighborRequest) (*empty.Empty, error) + AddPath(context.Context, *AddPathRequest) (*AddPathResponse, error) + DeletePath(context.Context, *DeletePathRequest) (*empty.Empty, error) + ListPath(*ListPathRequest, GobgpApi_ListPathServer) error + AddPathStream(GobgpApi_AddPathStreamServer) error + GetTable(context.Context, *GetTableRequest) (*GetTableResponse, error) + MonitorTable(*MonitorTableRequest, GobgpApi_MonitorTableServer) error + AddVrf(context.Context, *AddVrfRequest) (*empty.Empty, error) + DeleteVrf(context.Context, *DeleteVrfRequest) (*empty.Empty, error) + ListVrf(*ListVrfRequest, GobgpApi_ListVrfServer) error + AddPolicy(context.Context, *AddPolicyRequest) (*empty.Empty, error) + DeletePolicy(context.Context, *DeletePolicyRequest) (*empty.Empty, error) + ListPolicy(*ListPolicyRequest, GobgpApi_ListPolicyServer) error + SetPolicies(context.Context, *SetPoliciesRequest) (*empty.Empty, error) + AddDefinedSet(context.Context, *AddDefinedSetRequest) (*empty.Empty, error) + DeleteDefinedSet(context.Context, *DeleteDefinedSetRequest) (*empty.Empty, error) + ListDefinedSet(*ListDefinedSetRequest, GobgpApi_ListDefinedSetServer) error + AddStatement(context.Context, *AddStatementRequest) (*empty.Empty, error) + DeleteStatement(context.Context, *DeleteStatementRequest) (*empty.Empty, error) + ListStatement(*ListStatementRequest, GobgpApi_ListStatementServer) error + AddPolicyAssignment(context.Context, *AddPolicyAssignmentRequest) (*empty.Empty, error) + DeletePolicyAssignment(context.Context, *DeletePolicyAssignmentRequest) (*empty.Empty, error) + ListPolicyAssignment(*ListPolicyAssignmentRequest, GobgpApi_ListPolicyAssignmentServer) error + SetPolicyAssignment(context.Context, *SetPolicyAssignmentRequest) (*empty.Empty, error) + AddRpki(context.Context, *AddRpkiRequest) (*empty.Empty, error) + DeleteRpki(context.Context, *DeleteRpkiRequest) (*empty.Empty, error) + ListRpki(*ListRpkiRequest, GobgpApi_ListRpkiServer) error + EnableRpki(context.Context, *EnableRpkiRequest) (*empty.Empty, error) + DisableRpki(context.Context, *DisableRpkiRequest) (*empty.Empty, error) + ResetRpki(context.Context, *ResetRpkiRequest) (*empty.Empty, error) + ListRpkiTable(*ListRpkiTableRequest, GobgpApi_ListRpkiTableServer) error + EnableZebra(context.Context, *EnableZebraRequest) (*empty.Empty, error) + EnableMrt(context.Context, *EnableMrtRequest) (*empty.Empty, error) + DisableMrt(context.Context, *DisableMrtRequest) (*empty.Empty, error) + AddBmp(context.Context, *AddBmpRequest) (*empty.Empty, error) + DeleteBmp(context.Context, *DeleteBmpRequest) (*empty.Empty, error) +} + +// UnimplementedGobgpApiServer can be embedded to have forward compatible implementations. +type UnimplementedGobgpApiServer struct { +} + +func (*UnimplementedGobgpApiServer) StartBgp(ctx context.Context, req *StartBgpRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartBgp not implemented") +} +func (*UnimplementedGobgpApiServer) StopBgp(ctx context.Context, req *StopBgpRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method StopBgp not implemented") +} +func (*UnimplementedGobgpApiServer) GetBgp(ctx context.Context, req *GetBgpRequest) (*GetBgpResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBgp not implemented") +} +func (*UnimplementedGobgpApiServer) AddPeer(ctx context.Context, req *AddPeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddPeer not implemented") +} +func (*UnimplementedGobgpApiServer) DeletePeer(ctx context.Context, req *DeletePeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeletePeer not implemented") +} +func (*UnimplementedGobgpApiServer) ListPeer(req *ListPeerRequest, srv GobgpApi_ListPeerServer) error { + return status.Errorf(codes.Unimplemented, "method ListPeer not implemented") +} +func (*UnimplementedGobgpApiServer) UpdatePeer(ctx context.Context, req *UpdatePeerRequest) (*UpdatePeerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdatePeer not implemented") +} +func (*UnimplementedGobgpApiServer) ResetPeer(ctx context.Context, req *ResetPeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResetPeer not implemented") +} +func (*UnimplementedGobgpApiServer) ShutdownPeer(ctx context.Context, req *ShutdownPeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method ShutdownPeer not implemented") +} +func (*UnimplementedGobgpApiServer) EnablePeer(ctx context.Context, req *EnablePeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnablePeer not implemented") +} +func (*UnimplementedGobgpApiServer) DisablePeer(ctx context.Context, req *DisablePeerRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisablePeer not implemented") +} +func (*UnimplementedGobgpApiServer) MonitorPeer(req *MonitorPeerRequest, srv GobgpApi_MonitorPeerServer) error { + return status.Errorf(codes.Unimplemented, "method MonitorPeer not implemented") +} +func (*UnimplementedGobgpApiServer) AddPeerGroup(ctx context.Context, req *AddPeerGroupRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddPeerGroup not implemented") +} +func (*UnimplementedGobgpApiServer) DeletePeerGroup(ctx context.Context, req *DeletePeerGroupRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeletePeerGroup not implemented") +} +func (*UnimplementedGobgpApiServer) UpdatePeerGroup(ctx context.Context, req *UpdatePeerGroupRequest) (*UpdatePeerGroupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdatePeerGroup not implemented") +} +func (*UnimplementedGobgpApiServer) AddDynamicNeighbor(ctx context.Context, req *AddDynamicNeighborRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddDynamicNeighbor not implemented") +} +func (*UnimplementedGobgpApiServer) AddPath(ctx context.Context, req *AddPathRequest) (*AddPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddPath not implemented") +} +func (*UnimplementedGobgpApiServer) DeletePath(ctx context.Context, req *DeletePathRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeletePath not implemented") +} +func (*UnimplementedGobgpApiServer) ListPath(req *ListPathRequest, srv GobgpApi_ListPathServer) error { + return status.Errorf(codes.Unimplemented, "method ListPath not implemented") +} +func (*UnimplementedGobgpApiServer) AddPathStream(srv GobgpApi_AddPathStreamServer) error { + return status.Errorf(codes.Unimplemented, "method AddPathStream not implemented") +} +func (*UnimplementedGobgpApiServer) GetTable(ctx context.Context, req *GetTableRequest) (*GetTableResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetTable not implemented") +} +func (*UnimplementedGobgpApiServer) MonitorTable(req *MonitorTableRequest, srv GobgpApi_MonitorTableServer) error { + return status.Errorf(codes.Unimplemented, "method MonitorTable not implemented") +} +func (*UnimplementedGobgpApiServer) AddVrf(ctx context.Context, req *AddVrfRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddVrf not implemented") +} +func (*UnimplementedGobgpApiServer) DeleteVrf(ctx context.Context, req *DeleteVrfRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteVrf not implemented") +} +func (*UnimplementedGobgpApiServer) ListVrf(req *ListVrfRequest, srv GobgpApi_ListVrfServer) error { + return status.Errorf(codes.Unimplemented, "method ListVrf not implemented") +} +func (*UnimplementedGobgpApiServer) AddPolicy(ctx context.Context, req *AddPolicyRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddPolicy not implemented") +} +func (*UnimplementedGobgpApiServer) DeletePolicy(ctx context.Context, req *DeletePolicyRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeletePolicy not implemented") +} +func (*UnimplementedGobgpApiServer) ListPolicy(req *ListPolicyRequest, srv GobgpApi_ListPolicyServer) error { + return status.Errorf(codes.Unimplemented, "method ListPolicy not implemented") +} +func (*UnimplementedGobgpApiServer) SetPolicies(ctx context.Context, req *SetPoliciesRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetPolicies not implemented") +} +func (*UnimplementedGobgpApiServer) AddDefinedSet(ctx context.Context, req *AddDefinedSetRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddDefinedSet not implemented") +} +func (*UnimplementedGobgpApiServer) DeleteDefinedSet(ctx context.Context, req *DeleteDefinedSetRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteDefinedSet not implemented") +} +func (*UnimplementedGobgpApiServer) ListDefinedSet(req *ListDefinedSetRequest, srv GobgpApi_ListDefinedSetServer) error { + return status.Errorf(codes.Unimplemented, "method ListDefinedSet not implemented") +} +func (*UnimplementedGobgpApiServer) AddStatement(ctx context.Context, req *AddStatementRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddStatement not implemented") +} +func (*UnimplementedGobgpApiServer) DeleteStatement(ctx context.Context, req *DeleteStatementRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteStatement not implemented") +} +func (*UnimplementedGobgpApiServer) ListStatement(req *ListStatementRequest, srv GobgpApi_ListStatementServer) error { + return status.Errorf(codes.Unimplemented, "method ListStatement not implemented") +} +func (*UnimplementedGobgpApiServer) AddPolicyAssignment(ctx context.Context, req *AddPolicyAssignmentRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddPolicyAssignment not implemented") +} +func (*UnimplementedGobgpApiServer) DeletePolicyAssignment(ctx context.Context, req *DeletePolicyAssignmentRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeletePolicyAssignment not implemented") +} +func (*UnimplementedGobgpApiServer) ListPolicyAssignment(req *ListPolicyAssignmentRequest, srv GobgpApi_ListPolicyAssignmentServer) error { + return status.Errorf(codes.Unimplemented, "method ListPolicyAssignment not implemented") +} +func (*UnimplementedGobgpApiServer) SetPolicyAssignment(ctx context.Context, req *SetPolicyAssignmentRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetPolicyAssignment not implemented") +} +func (*UnimplementedGobgpApiServer) AddRpki(ctx context.Context, req *AddRpkiRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddRpki not implemented") +} +func (*UnimplementedGobgpApiServer) DeleteRpki(ctx context.Context, req *DeleteRpkiRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteRpki not implemented") +} +func (*UnimplementedGobgpApiServer) ListRpki(req *ListRpkiRequest, srv GobgpApi_ListRpkiServer) error { + return status.Errorf(codes.Unimplemented, "method ListRpki not implemented") +} +func (*UnimplementedGobgpApiServer) EnableRpki(ctx context.Context, req *EnableRpkiRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableRpki not implemented") +} +func (*UnimplementedGobgpApiServer) DisableRpki(ctx context.Context, req *DisableRpkiRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisableRpki not implemented") +} +func (*UnimplementedGobgpApiServer) ResetRpki(ctx context.Context, req *ResetRpkiRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResetRpki not implemented") +} +func (*UnimplementedGobgpApiServer) ListRpkiTable(req *ListRpkiTableRequest, srv GobgpApi_ListRpkiTableServer) error { + return status.Errorf(codes.Unimplemented, "method ListRpkiTable not implemented") +} +func (*UnimplementedGobgpApiServer) EnableZebra(ctx context.Context, req *EnableZebraRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableZebra not implemented") +} +func (*UnimplementedGobgpApiServer) EnableMrt(ctx context.Context, req *EnableMrtRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method EnableMrt not implemented") +} +func (*UnimplementedGobgpApiServer) DisableMrt(ctx context.Context, req *DisableMrtRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisableMrt not implemented") +} +func (*UnimplementedGobgpApiServer) AddBmp(ctx context.Context, req *AddBmpRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddBmp not implemented") +} +func (*UnimplementedGobgpApiServer) DeleteBmp(ctx context.Context, req *DeleteBmpRequest) (*empty.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteBmp not implemented") +} + +func RegisterGobgpApiServer(s *grpc.Server, srv GobgpApiServer) { + s.RegisterService(&_GobgpApi_serviceDesc, srv) +} + +func _GobgpApi_StartBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartBgpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).StartBgp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/StartBgp", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).StartBgp(ctx, req.(*StartBgpRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_StopBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StopBgpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).StopBgp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/StopBgp", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).StopBgp(ctx, req.(*StopBgpRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_GetBgp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBgpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).GetBgp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/GetBgp", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).GetBgp(ctx, req.(*GetBgpRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddPeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddPeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddPeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddPeer(ctx, req.(*AddPeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeletePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeletePeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeletePeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeletePeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeletePeer(ctx, req.(*DeletePeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListPeer_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListPeerRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListPeer(m, &gobgpApiListPeerServer{stream}) +} + +type GobgpApi_ListPeerServer interface { + Send(*ListPeerResponse) error + grpc.ServerStream +} + +type gobgpApiListPeerServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListPeerServer) Send(m *ListPeerResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_UpdatePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdatePeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).UpdatePeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/UpdatePeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).UpdatePeer(ctx, req.(*UpdatePeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ResetPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResetPeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).ResetPeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/ResetPeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).ResetPeer(ctx, req.(*ResetPeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ShutdownPeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ShutdownPeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).ShutdownPeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/ShutdownPeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).ShutdownPeer(ctx, req.(*ShutdownPeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_EnablePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnablePeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).EnablePeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/EnablePeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).EnablePeer(ctx, req.(*EnablePeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DisablePeer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisablePeerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DisablePeer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DisablePeer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DisablePeer(ctx, req.(*DisablePeerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_MonitorPeer_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(MonitorPeerRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).MonitorPeer(m, &gobgpApiMonitorPeerServer{stream}) +} + +type GobgpApi_MonitorPeerServer interface { + Send(*MonitorPeerResponse) error + grpc.ServerStream +} + +type gobgpApiMonitorPeerServer struct { + grpc.ServerStream +} + +func (x *gobgpApiMonitorPeerServer) Send(m *MonitorPeerResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddPeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddPeerGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddPeerGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddPeerGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddPeerGroup(ctx, req.(*AddPeerGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeletePeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeletePeerGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeletePeerGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeletePeerGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeletePeerGroup(ctx, req.(*DeletePeerGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_UpdatePeerGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdatePeerGroupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).UpdatePeerGroup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/UpdatePeerGroup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).UpdatePeerGroup(ctx, req.(*UpdatePeerGroupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddDynamicNeighbor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddDynamicNeighborRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddDynamicNeighbor(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddDynamicNeighbor", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddDynamicNeighbor(ctx, req.(*AddDynamicNeighborRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddPathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddPath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddPath", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddPath(ctx, req.(*AddPathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeletePath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeletePathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeletePath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeletePath", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeletePath(ctx, req.(*DeletePathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListPath_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListPathRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListPath(m, &gobgpApiListPathServer{stream}) +} + +type GobgpApi_ListPathServer interface { + Send(*ListPathResponse) error + grpc.ServerStream +} + +type gobgpApiListPathServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListPathServer) Send(m *ListPathResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddPathStream_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(GobgpApiServer).AddPathStream(&gobgpApiAddPathStreamServer{stream}) +} + +type GobgpApi_AddPathStreamServer interface { + SendAndClose(*empty.Empty) error + Recv() (*AddPathStreamRequest, error) + grpc.ServerStream +} + +type gobgpApiAddPathStreamServer struct { + grpc.ServerStream +} + +func (x *gobgpApiAddPathStreamServer) SendAndClose(m *empty.Empty) error { + return x.ServerStream.SendMsg(m) +} + +func (x *gobgpApiAddPathStreamServer) Recv() (*AddPathStreamRequest, error) { + m := new(AddPathStreamRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _GobgpApi_GetTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetTableRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).GetTable(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/GetTable", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).GetTable(ctx, req.(*GetTableRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_MonitorTable_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(MonitorTableRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).MonitorTable(m, &gobgpApiMonitorTableServer{stream}) +} + +type GobgpApi_MonitorTableServer interface { + Send(*MonitorTableResponse) error + grpc.ServerStream +} + +type gobgpApiMonitorTableServer struct { + grpc.ServerStream +} + +func (x *gobgpApiMonitorTableServer) Send(m *MonitorTableResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddVrf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddVrfRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddVrf(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddVrf", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddVrf(ctx, req.(*AddVrfRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeleteVrf_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteVrfRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeleteVrf(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeleteVrf", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeleteVrf(ctx, req.(*DeleteVrfRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListVrf_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListVrfRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListVrf(m, &gobgpApiListVrfServer{stream}) +} + +type GobgpApi_ListVrfServer interface { + Send(*ListVrfResponse) error + grpc.ServerStream +} + +type gobgpApiListVrfServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListVrfServer) Send(m *ListVrfResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddPolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddPolicy(ctx, req.(*AddPolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeletePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeletePolicyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeletePolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeletePolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeletePolicy(ctx, req.(*DeletePolicyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListPolicy_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListPolicyRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListPolicy(m, &gobgpApiListPolicyServer{stream}) +} + +type GobgpApi_ListPolicyServer interface { + Send(*ListPolicyResponse) error + grpc.ServerStream +} + +type gobgpApiListPolicyServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListPolicyServer) Send(m *ListPolicyResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_SetPolicies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetPoliciesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).SetPolicies(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/SetPolicies", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).SetPolicies(ctx, req.(*SetPoliciesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddDefinedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddDefinedSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddDefinedSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddDefinedSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddDefinedSet(ctx, req.(*AddDefinedSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeleteDefinedSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteDefinedSetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeleteDefinedSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeleteDefinedSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeleteDefinedSet(ctx, req.(*DeleteDefinedSetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListDefinedSet_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListDefinedSetRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListDefinedSet(m, &gobgpApiListDefinedSetServer{stream}) +} + +type GobgpApi_ListDefinedSetServer interface { + Send(*ListDefinedSetResponse) error + grpc.ServerStream +} + +type gobgpApiListDefinedSetServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListDefinedSetServer) Send(m *ListDefinedSetResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddStatement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddStatementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddStatement(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddStatement", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddStatement(ctx, req.(*AddStatementRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeleteStatement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteStatementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeleteStatement(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeleteStatement", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeleteStatement(ctx, req.(*DeleteStatementRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListStatement_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListStatementRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListStatement(m, &gobgpApiListStatementServer{stream}) +} + +type GobgpApi_ListStatementServer interface { + Send(*ListStatementResponse) error + grpc.ServerStream +} + +type gobgpApiListStatementServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListStatementServer) Send(m *ListStatementResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_AddPolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddPolicyAssignmentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddPolicyAssignment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddPolicyAssignment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddPolicyAssignment(ctx, req.(*AddPolicyAssignmentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeletePolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeletePolicyAssignmentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeletePolicyAssignment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeletePolicyAssignment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeletePolicyAssignment(ctx, req.(*DeletePolicyAssignmentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListPolicyAssignment_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListPolicyAssignmentRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListPolicyAssignment(m, &gobgpApiListPolicyAssignmentServer{stream}) +} + +type GobgpApi_ListPolicyAssignmentServer interface { + Send(*ListPolicyAssignmentResponse) error + grpc.ServerStream +} + +type gobgpApiListPolicyAssignmentServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListPolicyAssignmentServer) Send(m *ListPolicyAssignmentResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_SetPolicyAssignment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetPolicyAssignmentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).SetPolicyAssignment(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/SetPolicyAssignment", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).SetPolicyAssignment(ctx, req.(*SetPolicyAssignmentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddRpkiRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddRpki(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddRpki", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddRpki(ctx, req.(*AddRpkiRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeleteRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRpkiRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeleteRpki(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeleteRpki", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeleteRpki(ctx, req.(*DeleteRpkiRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListRpki_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRpkiRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListRpki(m, &gobgpApiListRpkiServer{stream}) +} + +type GobgpApi_ListRpkiServer interface { + Send(*ListRpkiResponse) error + grpc.ServerStream +} + +type gobgpApiListRpkiServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListRpkiServer) Send(m *ListRpkiResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_EnableRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableRpkiRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).EnableRpki(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/EnableRpki", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).EnableRpki(ctx, req.(*EnableRpkiRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DisableRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisableRpkiRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DisableRpki(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DisableRpki", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DisableRpki(ctx, req.(*DisableRpkiRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ResetRpki_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResetRpkiRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).ResetRpki(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/ResetRpki", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).ResetRpki(ctx, req.(*ResetRpkiRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_ListRpkiTable_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRpkiTableRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(GobgpApiServer).ListRpkiTable(m, &gobgpApiListRpkiTableServer{stream}) +} + +type GobgpApi_ListRpkiTableServer interface { + Send(*ListRpkiTableResponse) error + grpc.ServerStream +} + +type gobgpApiListRpkiTableServer struct { + grpc.ServerStream +} + +func (x *gobgpApiListRpkiTableServer) Send(m *ListRpkiTableResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _GobgpApi_EnableZebra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableZebraRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).EnableZebra(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/EnableZebra", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).EnableZebra(ctx, req.(*EnableZebraRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_EnableMrt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EnableMrtRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).EnableMrt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/EnableMrt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).EnableMrt(ctx, req.(*EnableMrtRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DisableMrt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisableMrtRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DisableMrt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DisableMrt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DisableMrt(ctx, req.(*DisableMrtRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_AddBmp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddBmpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).AddBmp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/AddBmp", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).AddBmp(ctx, req.(*AddBmpRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _GobgpApi_DeleteBmp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteBmpRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(GobgpApiServer).DeleteBmp(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gobgpapi.GobgpApi/DeleteBmp", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(GobgpApiServer).DeleteBmp(ctx, req.(*DeleteBmpRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _GobgpApi_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gobgpapi.GobgpApi", + HandlerType: (*GobgpApiServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "StartBgp", + Handler: _GobgpApi_StartBgp_Handler, + }, + { + MethodName: "StopBgp", + Handler: _GobgpApi_StopBgp_Handler, + }, + { + MethodName: "GetBgp", + Handler: _GobgpApi_GetBgp_Handler, + }, + { + MethodName: "AddPeer", + Handler: _GobgpApi_AddPeer_Handler, + }, + { + MethodName: "DeletePeer", + Handler: _GobgpApi_DeletePeer_Handler, + }, + { + MethodName: "UpdatePeer", + Handler: _GobgpApi_UpdatePeer_Handler, + }, + { + MethodName: "ResetPeer", + Handler: _GobgpApi_ResetPeer_Handler, + }, + { + MethodName: "ShutdownPeer", + Handler: _GobgpApi_ShutdownPeer_Handler, + }, + { + MethodName: "EnablePeer", + Handler: _GobgpApi_EnablePeer_Handler, + }, + { + MethodName: "DisablePeer", + Handler: _GobgpApi_DisablePeer_Handler, + }, + { + MethodName: "AddPeerGroup", + Handler: _GobgpApi_AddPeerGroup_Handler, + }, + { + MethodName: "DeletePeerGroup", + Handler: _GobgpApi_DeletePeerGroup_Handler, + }, + { + MethodName: "UpdatePeerGroup", + Handler: _GobgpApi_UpdatePeerGroup_Handler, + }, + { + MethodName: "AddDynamicNeighbor", + Handler: _GobgpApi_AddDynamicNeighbor_Handler, + }, + { + MethodName: "AddPath", + Handler: _GobgpApi_AddPath_Handler, + }, + { + MethodName: "DeletePath", + Handler: _GobgpApi_DeletePath_Handler, + }, + { + MethodName: "GetTable", + Handler: _GobgpApi_GetTable_Handler, + }, + { + MethodName: "AddVrf", + Handler: _GobgpApi_AddVrf_Handler, + }, + { + MethodName: "DeleteVrf", + Handler: _GobgpApi_DeleteVrf_Handler, + }, + { + MethodName: "AddPolicy", + Handler: _GobgpApi_AddPolicy_Handler, + }, + { + MethodName: "DeletePolicy", + Handler: _GobgpApi_DeletePolicy_Handler, + }, + { + MethodName: "SetPolicies", + Handler: _GobgpApi_SetPolicies_Handler, + }, + { + MethodName: "AddDefinedSet", + Handler: _GobgpApi_AddDefinedSet_Handler, + }, + { + MethodName: "DeleteDefinedSet", + Handler: _GobgpApi_DeleteDefinedSet_Handler, + }, + { + MethodName: "AddStatement", + Handler: _GobgpApi_AddStatement_Handler, + }, + { + MethodName: "DeleteStatement", + Handler: _GobgpApi_DeleteStatement_Handler, + }, + { + MethodName: "AddPolicyAssignment", + Handler: _GobgpApi_AddPolicyAssignment_Handler, + }, + { + MethodName: "DeletePolicyAssignment", + Handler: _GobgpApi_DeletePolicyAssignment_Handler, + }, + { + MethodName: "SetPolicyAssignment", + Handler: _GobgpApi_SetPolicyAssignment_Handler, + }, + { + MethodName: "AddRpki", + Handler: _GobgpApi_AddRpki_Handler, + }, + { + MethodName: "DeleteRpki", + Handler: _GobgpApi_DeleteRpki_Handler, + }, + { + MethodName: "EnableRpki", + Handler: _GobgpApi_EnableRpki_Handler, + }, + { + MethodName: "DisableRpki", + Handler: _GobgpApi_DisableRpki_Handler, + }, + { + MethodName: "ResetRpki", + Handler: _GobgpApi_ResetRpki_Handler, + }, + { + MethodName: "EnableZebra", + Handler: _GobgpApi_EnableZebra_Handler, + }, + { + MethodName: "EnableMrt", + Handler: _GobgpApi_EnableMrt_Handler, + }, + { + MethodName: "DisableMrt", + Handler: _GobgpApi_DisableMrt_Handler, + }, + { + MethodName: "AddBmp", + Handler: _GobgpApi_AddBmp_Handler, + }, + { + MethodName: "DeleteBmp", + Handler: _GobgpApi_DeleteBmp_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListPeer", + Handler: _GobgpApi_ListPeer_Handler, + ServerStreams: true, + }, + { + StreamName: "MonitorPeer", + Handler: _GobgpApi_MonitorPeer_Handler, + ServerStreams: true, + }, + { + StreamName: "ListPath", + Handler: _GobgpApi_ListPath_Handler, + ServerStreams: true, + }, + { + StreamName: "AddPathStream", + Handler: _GobgpApi_AddPathStream_Handler, + ClientStreams: true, + }, + { + StreamName: "MonitorTable", + Handler: _GobgpApi_MonitorTable_Handler, + ServerStreams: true, + }, + { + StreamName: "ListVrf", + Handler: _GobgpApi_ListVrf_Handler, + ServerStreams: true, + }, + { + StreamName: "ListPolicy", + Handler: _GobgpApi_ListPolicy_Handler, + ServerStreams: true, + }, + { + StreamName: "ListDefinedSet", + Handler: _GobgpApi_ListDefinedSet_Handler, + ServerStreams: true, + }, + { + StreamName: "ListStatement", + Handler: _GobgpApi_ListStatement_Handler, + ServerStreams: true, + }, + { + StreamName: "ListPolicyAssignment", + Handler: _GobgpApi_ListPolicyAssignment_Handler, + ServerStreams: true, + }, + { + StreamName: "ListRpki", + Handler: _GobgpApi_ListRpki_Handler, + ServerStreams: true, + }, + { + StreamName: "ListRpkiTable", + Handler: _GobgpApi_ListRpkiTable_Handler, + ServerStreams: true, + }, + }, + Metadata: "gobgp.proto", +} diff --git a/go.mod b/go.mod index f0c93e6f1..8047015cb 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ require ( github.com/eapache/channels v1.1.0 github.com/eapache/queue v1.0.2 // indirect github.com/fsnotify/fsnotify v1.4.2 // indirect + github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/protobuf v1.0.0 github.com/google/uuid v1.1.1 github.com/hashicorp/hcl v0.0.0-20170509225359-392dba7d905e // indirect diff --git a/go.sum b/go.sum index 81ff1c361..dd8ec379a 100644 --- a/go.sum +++ b/go.sum @@ -12,6 +12,8 @@ github.com/eapache/queue v1.0.2 h1:jRJXCx6uciOfN69MfZCC9EZlGRqqHhwlyb6GBeNow+c= github.com/eapache/queue v1.0.2/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/fsnotify/fsnotify v1.4.2 h1:v5tKwtf2hNhBV24eNYfQ5UmvFOGlOCmRqk7/P1olxtk= github.com/fsnotify/fsnotify v1.4.2/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/protobuf v1.0.0 h1:lsek0oXi8iFE9L+EXARyHIjU5rlWIhhTkjDz3vHhWWQ= github.com/golang/protobuf v1.0.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= diff --git a/pkg/packet/bgp/bgp.go b/pkg/packet/bgp/bgp.go index 98408109b..20d210ab0 100644 --- a/pkg/packet/bgp/bgp.go +++ b/pkg/packet/bgp/bgp.go @@ -28,6 +28,8 @@ import ( "sort" "strconv" "strings" + + "github.com/golang/glog" ) type MarshallingOption struct { @@ -7833,6 +7835,237 @@ type PathAttributeLs struct { TLVs []LsTLVInterface } +func (p *PathAttributeLs) Extract() *LsAttribute { + l := &LsAttribute{} + + for _, tlv := range p.TLVs { + switch v := tlv.(type) { + case *LsTLVNodeFlagBits: + l.Node.Flags = v.Extract() + + case *LsTLVOpaqueNodeAttr: + l.Node.Opaque = &v.Attr + + case *LsTLVNodeName: + l.Node.Name = &v.Name + + case *LsTLVIsisArea: + l.Node.IsisArea = &v.Area + + case *LsTLVLocalIPv4RouterID: + l.Node.LocalRouterID = &v.IP + l.Link.LocalRouterID = &v.IP + + case *LsTLVLocalIPv6RouterID: + l.Node.LocalRouterIDv6 = &v.IP + l.Link.LocalRouterIDv6 = &v.IP + + case *LsTLVSrCapabilities: + l.Node.SrCapabilties = v.Extract() + + case *LsTLVSrAlgorithm: + l.Node.SrAlgorithms = &v.Algorithm + + case *LsTLVSrLocalBlock: + l.Node.SrLocalBlock = v.Extract() + + case *LsTLVRemoteIPv4RouterID: + l.Link.RemoteRouterID = &v.IP + + case *LsTLVRemoteIPv6RouterID: + l.Link.RemoteRouterIDv6 = &v.IP + + case *LsTLVAdminGroup: + l.Link.AdminGroup = &v.AdminGroup + + case *LsTLVMaxLinkBw: + l.Link.Bandwidth = &v.Bandwidth + + case *LsTLVMaxReservableLinkBw: + l.Link.ReservableBandwidth = &v.Bandwidth + + case *LsTLVUnreservedBw: + l.Link.UnreservedBandwidth = &v.Bandwidth + + case *LsTLVSrlg: + l.Link.Srlgs = &v.Srlgs + + case *LsTLVTEDefaultMetric: + l.Link.DefaultTEMetric = &v.Metric + + case *LsTLVIGPMetric: + l.Link.IGPMetric = &v.Metric + + case *LsTLVOpaqueLinkAttr: + l.Link.Opaque = &v.Attr + + case *LsTLVLinkName: + l.Link.Name = &v.Name + + case *LsTLVAdjacencySID: + l.Link.SrAdjacencySID = &v.SID + + case *LsTLVIGPFlags: + l.Prefix.IGPFlags = v.Extract() + + case *LsTLVOpaquePrefixAttr: + l.Prefix.Opaque = &v.Attr + + case *LsTLVPrefixSID: + l.Prefix.SrPrefixSID = &v.SID + } + } + + return l +} + +func (p *PathAttributeLs) DecodeFromBytes(data []byte, options ...*MarshallingOption) error { + tlvs, err := p.PathAttribute.DecodeFromBytes(data) + if err != nil { + return err + } + + for len(tlvs) >= tlvHdrLen { + t := &LsTLV{} + _, err := t.DecodeFromBytes(tlvs) + if err != nil { + return err + } + + var tlv LsTLVInterface + switch t.Type { + // Node NLRI-related TLVs (https://tools.ietf.org/html/rfc7752#section-3.3.1) + case LS_TLV_NODE_FLAG_BITS: + tlv = &LsTLVNodeFlagBits{} + + case LS_TLV_OPAQUE_NODE_ATTR: + tlv = &LsTLVOpaqueNodeAttr{} + + case LS_TLV_NODE_NAME: + tlv = &LsTLVNodeName{} + + case LS_TLV_ISIS_AREA: + tlv = &LsTLVIsisArea{} + + // Used by Link NLRI as well. + case LS_TLV_IPV4_LOCAL_ROUTER_ID: + tlv = &LsTLVLocalIPv4RouterID{} + + // Used by Link NLRI as well. + case LS_TLV_IPV6_LOCAL_ROUTER_ID: + tlv = &LsTLVLocalIPv6RouterID{} + + // SR-related TLVs (draft-ietf-idr-bgp-ls-segment-routing-ext-08) for Node NLRI + case LS_TLV_SR_CAPABILITIES: + tlv = &LsTLVSrCapabilities{} + + case LS_TLV_SR_ALGORITHM: + tlv = &LsTLVSrAlgorithm{} + + case LS_TLV_SR_LOCAL_BLOCK: + tlv = &LsTLVSrLocalBlock{} + + // Link NLRI-related TLVs (https://tools.ietf.org/html/rfc7752#section-3.3.2) + case LS_TLV_IPV4_REMOTE_ROUTER_ID: + tlv = &LsTLVRemoteIPv4RouterID{} + + case LS_TLV_IPV6_REMOTE_ROUTER_ID: + tlv = &LsTLVRemoteIPv6RouterID{} + + case LS_TLV_ADMIN_GROUP: + tlv = &LsTLVAdminGroup{} + + case LS_TLV_MAX_LINK_BANDWIDTH: + tlv = &LsTLVMaxLinkBw{} + + case LS_TLV_MAX_RESERVABLE_BANDWIDTH: + tlv = &LsTLVMaxReservableLinkBw{} + + case LS_TLV_UNRESERVED_BANDWIDTH: + tlv = &LsTLVUnreservedBw{} + + case LS_TLV_SRLG: + tlv = &LsTLVSrlg{} + + case LS_TLV_TE_DEFAULT_METRIC: + tlv = &LsTLVTEDefaultMetric{} + + case LS_TLV_IGP_METRIC: + tlv = &LsTLVIGPMetric{} + + case LS_TLV_OPAQUE_LINK_ATTR: + tlv = &LsTLVOpaqueLinkAttr{} + + case LS_TLV_LINK_NAME: + tlv = &LsTLVLinkName{} + + // SR-related TLVs (draft-ietf-idr-bgp-ls-segment-routing-ext-08) for Link NLRI + case LS_TLV_ADJACENCY_SID: + tlv = &LsTLVAdjacencySID{} + + // Prefix NLRI-related TLVs (https://tools.ietf.org/html/rfc7752#section-3.3.3) + case LS_TLV_IGP_FLAGS: + tlv = &LsTLVIGPFlags{} + + case LS_TLV_OPAQUE_PREFIX_ATTR: + tlv = &LsTLVOpaquePrefixAttr{} + + // SR-related TLVs (draft-ietf-idr-bgp-ls-segment-routing-ext-08) for Prefix NLRI + case LS_TLV_PREFIX_SID: + tlv = &LsTLVPrefixSID{} + + default: + tlvs = tlvs[t.Len():] + continue + } + + if err := tlv.DecodeFromBytes(tlvs); err != nil { + return err + } + tlvs = tlvs[t.Len():] + + p.TLVs = append(p.TLVs, tlv) + } + + return nil +} + +func (p *PathAttributeLs) Serialize(options ...*MarshallingOption) ([]byte, error) { + buf := []byte{} + + for _, tlv := range p.TLVs { + s, err := tlv.Serialize() + if err != nil { + return nil, err + } + buf = append(buf, s...) + } + + return p.PathAttribute.Serialize(buf, options...) +} + +func (p *PathAttributeLs) String() string { + var buf bytes.Buffer + + for _, tlv := range p.TLVs { + buf.WriteString(fmt.Sprintf("%s ", tlv.String())) + } + + return fmt.Sprintf("{LsAttributes: %s}", buf.String()) +} + +func (p *PathAttributeLs) MarshalJSON() ([]byte, error) { + return json.Marshal(struct { + Type BGPAttrType `json:"type"` + Flags BGPAttrFlag `json:"flags"` + LsAttribute + }{ + p.GetType(), + p.GetFlags(), + *p.Extract(), + }) +} + func AfiSafiToRouteFamily(afi uint16, safi uint8) RouteFamily { return RouteFamily(int(afi)<<16 | int(safi)) } @@ -12144,6 +12377,7 @@ func GetPathAttribute(data []byte) (PathAttributeInterface, error) { case BGP_ATTR_TYPE_LS: return &PathAttributeLs{}, nil case BGP_ATTR_TYPE_PREFIX_SID: + glog.Infof("> BGP Prefix SI attribute detected: %+v", data) return &PathAttributePrefixSID{}, nil } return &PathAttributeUnknown{}, nil