update gobgp pkg
This commit is contained in:
5313
vendor/github.com/osrg/gobgp/api/attribute.pb.go
generated
vendored
5313
vendor/github.com/osrg/gobgp/api/attribute.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
165
vendor/github.com/osrg/gobgp/api/attribute.proto
generated
vendored
165
vendor/github.com/osrg/gobgp/api/attribute.proto
generated
vendored
@@ -176,6 +176,26 @@ message EVPNIPMSIRoute {
|
||||
google.protobuf.Any rt = 3;
|
||||
}
|
||||
|
||||
// SRPolicyNLRI represents the NLRI for:
|
||||
// - AFI=1, SAFI=73
|
||||
// - AFI=2, SAFI=73
|
||||
message SRPolicyNLRI {
|
||||
// length field carries the length of NLRI portion expressed in bits
|
||||
uint32 length = 1;
|
||||
// distinguisher field carries 4-octet value uniquely identifying the policy
|
||||
// in the context of <color, endpoint> tuple.
|
||||
uint32 distinguisher = 2;
|
||||
// color field carries 4-octet value identifying (with the endpoint) the
|
||||
// policy. The color is used to match the color of the destination
|
||||
// prefixes to steer traffic into the SR Policy
|
||||
uint32 color = 3;
|
||||
// endpoint field identifies the endpoint of a policy. The Endpoint may
|
||||
// represent a single node or a set of nodes (e.g., an anycast
|
||||
// address). The Endpoint is an IPv4 (4-octet) address or an IPv6
|
||||
// (16-octet) address according to the AFI of the NLRI.
|
||||
bytes endpoint = 4;
|
||||
}
|
||||
|
||||
// LabeledVPNIPAddressPrefix represents the NLRI for:
|
||||
// - AFI=1, SAFI=128
|
||||
// - AFI=2, SAFI=128
|
||||
@@ -302,13 +322,19 @@ message LsPrefixV6NLRI {
|
||||
|
||||
// Based om RFC 7752, Table 1.
|
||||
enum LsNLRIType {
|
||||
LS_NLRI_UNKNOWN = 0;
|
||||
LS_NLRI_NODE = 1;
|
||||
LS_NLRI_LINK = 2;
|
||||
LS_NLRI_UNKNOWN = 0; LS_NLRI_NODE = 1; LS_NLRI_LINK = 2;
|
||||
LS_NLRI_PREFIX_V4 = 3;
|
||||
LS_NLRI_PREFIX_V6 = 4;
|
||||
}
|
||||
|
||||
enum LsProtocolID {
|
||||
LS_PROTOCOL_UNKNOWN = 0; LS_PROTOCOL_ISIS_L1 = 1; LS_PROTOCOL_ISIS_L2 = 2;
|
||||
LS_PROTOCOL_OSPF_V2 = 3;
|
||||
LS_PROTOCOL_DIRECT = 4;
|
||||
LS_PROTOCOL_STATIC = 5;
|
||||
LS_PROTOCOL_OSPF_V3 = 6;
|
||||
}
|
||||
|
||||
// LsAddrPrefix represents the NLRI for:
|
||||
// - AFI=16388, SAFI=71
|
||||
message LsAddrPrefix {
|
||||
@@ -319,6 +345,9 @@ message LsAddrPrefix {
|
||||
// - LsPrefixV4NLRI
|
||||
// - LsPrefixV6NLRI
|
||||
google.protobuf.Any nlri = 2;
|
||||
uint32 length = 3;
|
||||
LsProtocolID protocol_id = 4;
|
||||
uint64 identifier = 5;
|
||||
}
|
||||
|
||||
message MpReachNLRIAttribute {
|
||||
@@ -340,6 +369,7 @@ message MpReachNLRIAttribute {
|
||||
// - VPNFlowSpecNLRI
|
||||
// - OpaqueNLRI
|
||||
// - LsAddrPrefix
|
||||
// - SR Policy NLRI
|
||||
repeated google.protobuf.Any nlris = 3;
|
||||
}
|
||||
|
||||
@@ -370,6 +400,11 @@ message FourOctetAsSpecificExtended {
|
||||
uint32 local_admin = 4;
|
||||
}
|
||||
|
||||
message LinkBandiwdthExtended {
|
||||
uint32 as = 1;
|
||||
float bandwidth = 2;
|
||||
}
|
||||
|
||||
message ValidationExtended { uint32 state = 1; }
|
||||
|
||||
message ColorExtended { uint32 color = 1; }
|
||||
@@ -471,6 +506,127 @@ message TunnelEncapSubTLVProtocol { uint32 protocol = 1; }
|
||||
|
||||
message TunnelEncapSubTLVColor { uint32 color = 1; }
|
||||
|
||||
message TunnelEncapSubTLVSRPreference {
|
||||
uint32 flags = 1;
|
||||
uint32 preference = 2;
|
||||
}
|
||||
|
||||
message TunnelEncapSubTLVSRCandidatePathName { string candidate_path_name = 1; }
|
||||
|
||||
message TunnelEncapSubTLVSRPriority { uint32 priority = 1; }
|
||||
|
||||
message TunnelEncapSubTLVSRBindingSID {
|
||||
// bsid must be one of:
|
||||
// - SRBindingSID
|
||||
// - SRv6BindingSID
|
||||
google.protobuf.Any bsid = 1;
|
||||
}
|
||||
|
||||
message SRBindingSID {
|
||||
bool s_flag = 1;
|
||||
bool i_flag = 2;
|
||||
bytes sid = 3;
|
||||
}
|
||||
|
||||
enum SRv6Behavior {
|
||||
RESERVED = 0; END = 1; END_WITH_PSP = 2; END_WITH_USP = 3;
|
||||
END_WITH_PSP_USP = 4;
|
||||
ENDX = 5;
|
||||
ENDX_WITH_PSP = 6;
|
||||
ENDX_WITH_USP = 7;
|
||||
ENDX_WITH_PSP_USP = 8;
|
||||
ENDT = 9;
|
||||
ENDT_WITH_PSP = 10;
|
||||
ENDT_WITH_USP = 11;
|
||||
ENDT_WITH_PSP_USP = 12;
|
||||
END_B6_ENCAPS = 14;
|
||||
END_BM = 15;
|
||||
END_DX6 = 16;
|
||||
END_DX4 = 17;
|
||||
END_DT6 = 18;
|
||||
END_DT4 = 19;
|
||||
END_DT46 = 20;
|
||||
END_DX2 = 21;
|
||||
END_DX2V = 22;
|
||||
END_DT2U = 23;
|
||||
END_DT2M = 24;
|
||||
END_B6_ENCAPS_Red = 27;
|
||||
END_WITH_USD = 28;
|
||||
END_WITH_PSP_USD = 29;
|
||||
END_WITH_USP_USD = 30;
|
||||
END_WITH_PSP_USP_USD = 31;
|
||||
ENDX_WITH_USD = 32;
|
||||
ENDX_WITH_PSP_USD = 33;
|
||||
ENDX_WITH_USP_USD = 34;
|
||||
ENDX_WITH_PSP_USP_USD = 35;
|
||||
ENDT_WITH_USD = 36;
|
||||
ENDT_WITH_PSP_USD = 37;
|
||||
ENDT_WITH_USP_USD = 38;
|
||||
ENDT_WITH_PSP_USP_USD = 39;
|
||||
}
|
||||
|
||||
message SRv6EndPointBehavior {
|
||||
SRv6Behavior behavior = 1;
|
||||
uint32 block_len = 2;
|
||||
uint32 node_len = 3;
|
||||
uint32 func_len = 4;
|
||||
uint32 arg_len = 5;
|
||||
}
|
||||
|
||||
message SRv6BindingSID {
|
||||
bool s_flag = 1;
|
||||
bool i_flag = 2;
|
||||
bool b_flag = 3;
|
||||
bytes sid = 4;
|
||||
SRv6EndPointBehavior endpoint_behavior_structure = 5;
|
||||
}
|
||||
|
||||
enum ENLPType { Reserved = 0; Type1 = 1; Type2 = 2; Type3 = 3; Type4 = 4; }
|
||||
|
||||
message TunnelEncapSubTLVSRENLP {
|
||||
uint32 flags = 1;
|
||||
ENLPType enlp = 2;
|
||||
}
|
||||
|
||||
message SRWeight {
|
||||
uint32 flags = 1;
|
||||
uint32 weight = 2;
|
||||
}
|
||||
|
||||
message SegmentFlags {
|
||||
bool v_flag = 1;
|
||||
bool a_flag = 2;
|
||||
bool s_flag = 3;
|
||||
bool b_flag = 4;
|
||||
}
|
||||
|
||||
message SegmentTypeA {
|
||||
SegmentFlags flags = 1;
|
||||
uint32 label = 2;
|
||||
}
|
||||
|
||||
message SegmentTypeB {
|
||||
SegmentFlags flags = 1;
|
||||
bytes sid = 2;
|
||||
SRv6EndPointBehavior endpoint_behavior_structure = 3;
|
||||
}
|
||||
|
||||
message TunnelEncapSubTLVSRSegmentList {
|
||||
SRWeight weight = 1;
|
||||
// segments must be one of:
|
||||
// - SegmentTypeA
|
||||
// - SegmentTypeB
|
||||
repeated google.protobuf.Any segments = 2;
|
||||
}
|
||||
|
||||
message TunnelEncapSubTLVEgressEndpoint {
|
||||
string address = 1;
|
||||
}
|
||||
|
||||
message TunnelEncapSubTLVUDPDestPort {
|
||||
uint32 port = 1;
|
||||
}
|
||||
|
||||
message TunnelEncapSubTLVUnknown {
|
||||
uint32 type = 1;
|
||||
bytes value = 2;
|
||||
@@ -482,6 +638,7 @@ message TunnelEncapTLV {
|
||||
// - TunnelEncapSubTLVEncapsulation
|
||||
// - TunnelEncapSubTLVProtocol
|
||||
// - TunnelEncapSubTLVColor
|
||||
// - TunnelEncapSubTLVSRPolicy
|
||||
// - TunnelEncapSubTLVUnknown
|
||||
repeated google.protobuf.Any tlvs = 2;
|
||||
}
|
||||
@@ -651,4 +808,4 @@ message PrefixSID {
|
||||
// - SRv6L3ServiceTLV Type 5
|
||||
// - SRv6L2ServiceTLV Type 6 (not yet implemented)
|
||||
repeated google.protobuf.Any tlvs = 1;
|
||||
}
|
||||
}
|
||||
|
||||
643
vendor/github.com/osrg/gobgp/api/capability.pb.go
generated
vendored
643
vendor/github.com/osrg/gobgp/api/capability.pb.go
generated
vendored
@@ -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} }
|
||||
|
||||
type MultiProtocolCapability struct {
|
||||
Family *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"`
|
||||
func (AddPathMode) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f2310f95efbbe3ac, []int{0}
|
||||
}
|
||||
|
||||
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} }
|
||||
type MultiProtocolCapability struct {
|
||||
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)
|
||||
}
|
||||
|
||||
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 fileDescriptor1, []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 fileDescriptor_f2310f95efbbe3ac, []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 fileDescriptor1, []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 fileDescriptor_f2310f95efbbe3ac, []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 fileDescriptor1, []int{7} }
|
||||
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)
|
||||
}
|
||||
|
||||
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 fileDescriptor1, []int{8} }
|
||||
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)
|
||||
}
|
||||
|
||||
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,9 +514,27 @@ 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 {
|
||||
return m.Family
|
||||
@@ -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,131 @@ 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 FQDNCapability struct {
|
||||
HostNameLen uint32 `protobuf:"varint,1,opt,name=host_name_len,json=hostNameLen,proto3" json:"host_name_len,omitempty"`
|
||||
HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
|
||||
DomainNameLen uint32 `protobuf:"varint,3,opt,name=domain_name_len,json=domainNameLen,proto3" json:"domain_name_len,omitempty"`
|
||||
DomainName string `protobuf:"bytes,4,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FQDNCapability) Reset() { *m = FQDNCapability{} }
|
||||
func (m *FQDNCapability) String() string { return proto.CompactTextString(m) }
|
||||
func (*FQDNCapability) ProtoMessage() {}
|
||||
func (*FQDNCapability) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f2310f95efbbe3ac, []int{14}
|
||||
}
|
||||
|
||||
func (m *FQDNCapability) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FQDNCapability.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FQDNCapability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FQDNCapability.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *FQDNCapability) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FQDNCapability.Merge(m, src)
|
||||
}
|
||||
func (m *FQDNCapability) XXX_Size() int {
|
||||
return xxx_messageInfo_FQDNCapability.Size(m)
|
||||
}
|
||||
func (m *FQDNCapability) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FQDNCapability.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FQDNCapability proto.InternalMessageInfo
|
||||
|
||||
func (m *FQDNCapability) GetHostNameLen() uint32 {
|
||||
if m != nil {
|
||||
return m.HostNameLen
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *FQDNCapability) GetHostName() string {
|
||||
if m != nil {
|
||||
return m.HostName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *FQDNCapability) GetDomainNameLen() uint32 {
|
||||
if m != nil {
|
||||
return m.DomainNameLen
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *FQDNCapability) GetDomainName() string {
|
||||
if m != nil {
|
||||
return m.DomainName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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{15}
|
||||
}
|
||||
|
||||
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 +737,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")
|
||||
@@ -337,45 +752,49 @@ func init() {
|
||||
proto.RegisterType((*LongLivedGracefulRestartCapabilityTuple)(nil), "gobgpapi.LongLivedGracefulRestartCapabilityTuple")
|
||||
proto.RegisterType((*LongLivedGracefulRestartCapability)(nil), "gobgpapi.LongLivedGracefulRestartCapability")
|
||||
proto.RegisterType((*RouteRefreshCiscoCapability)(nil), "gobgpapi.RouteRefreshCiscoCapability")
|
||||
proto.RegisterType((*FQDNCapability)(nil), "gobgpapi.FQDNCapability")
|
||||
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{
|
||||
// 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,
|
||||
0x89, 0x48, 0x0d, 0x07, 0xb8, 0x20, 0x51, 0x52, 0x17, 0x22, 0xe5, 0xa3, 0x72, 0x0b, 0x37, 0x54,
|
||||
0x36, 0xf6, 0xc6, 0x59, 0xb1, 0xde, 0xb5, 0xec, 0x75, 0x69, 0x0e, 0x9c, 0xb9, 0xf0, 0xa3, 0x91,
|
||||
0x3f, 0x62, 0x9b, 0x54, 0x6e, 0x2b, 0xa4, 0xde, 0x66, 0xbc, 0x33, 0x6f, 0xde, 0x9b, 0xb7, 0x6b,
|
||||
0xd0, 0x2d, 0xe2, 0x91, 0x05, 0xe3, 0x4c, 0xad, 0x07, 0x9e, 0x2f, 0x95, 0x44, 0x8f, 0x1c, 0xb9,
|
||||
0x70, 0x3c, 0xe2, 0xb1, 0xe7, 0x8d, 0x38, 0x4a, 0x3e, 0xe3, 0x11, 0x3c, 0x9b, 0x86, 0x5c, 0xb1,
|
||||
0xd3, 0x28, 0xb3, 0x24, 0x1f, 0x65, 0x7d, 0xa8, 0x0f, 0xf5, 0x25, 0x71, 0x19, 0x5f, 0xb7, 0xb5,
|
||||
0x9e, 0xd6, 0x6f, 0x0c, 0xf5, 0xc1, 0x06, 0x62, 0x70, 0x12, 0x7f, 0x37, 0xd3, 0x73, 0xdc, 0x86,
|
||||
0x3d, 0x53, 0x86, 0x8a, 0x9a, 0x74, 0xe9, 0xd3, 0x60, 0x95, 0x63, 0xe0, 0x03, 0xe8, 0x8c, 0x88,
|
||||
0xef, 0xaf, 0x99, 0x70, 0x26, 0x64, 0x41, 0xf9, 0x58, 0x2c, 0x65, 0xe1, 0xf8, 0x8f, 0x06, 0x5d,
|
||||
0xe3, 0x4a, 0x51, 0x61, 0x53, 0x7b, 0x46, 0xaf, 0xd4, 0x4a, 0x7a, 0xf9, 0xe9, 0x79, 0xe8, 0x71,
|
||||
0x8a, 0x0e, 0xa1, 0x21, 0xb8, 0xcf, 0x2e, 0x6e, 0xa1, 0x02, 0x51, 0x51, 0x12, 0xa3, 0xb7, 0xd0,
|
||||
0x12, 0x09, 0xd8, 0xa6, 0xab, 0x52, 0xd2, 0xd5, 0x4c, 0xeb, 0x92, 0x14, 0x7f, 0x83, 0xfd, 0x52,
|
||||
0x36, 0xe8, 0x03, 0xd4, 0x55, 0xc4, 0x28, 0x68, 0x6b, 0xbd, 0x6a, 0xbf, 0x31, 0xec, 0xe7, 0x68,
|
||||
0x37, 0x4b, 0x30, 0xd3, 0x3e, 0xfc, 0x1d, 0xba, 0x9f, 0x7c, 0x62, 0xd1, 0x65, 0xc8, 0x4d, 0x1a,
|
||||
0x28, 0xe2, 0xab, 0x6d, 0xb1, 0x77, 0x5e, 0x39, 0x7a, 0x02, 0x0f, 0x97, 0x9c, 0x38, 0x41, 0x2c,
|
||||
0xad, 0x69, 0x26, 0x09, 0xfe, 0xad, 0xc1, 0x7e, 0xe9, 0x88, 0xbc, 0x47, 0x2b, 0xf4, 0x20, 0x04,
|
||||
0x35, 0xc5, 0x5c, 0x9a, 0x02, 0xc5, 0x71, 0x41, 0x6b, 0x75, 0x5b, 0xeb, 0xcd, 0x0a, 0x32, 0xad,
|
||||
0xaf, 0xa1, 0x73, 0x22, 0x43, 0x7f, 0x6e, 0x29, 0xaa, 0x8e, 0xce, 0x66, 0xa1, 0xbb, 0xa0, 0x7e,
|
||||
0x81, 0x4a, 0x0b, 0x2a, 0x64, 0xc3, 0xa3, 0x42, 0x02, 0xec, 0xc2, 0xde, 0x91, 0x6d, 0x9f, 0x12,
|
||||
0xb5, 0xfa, 0xff, 0x95, 0xbc, 0x84, 0x9a, 0x2b, 0xed, 0x44, 0x48, 0x6b, 0xf8, 0x34, 0xaf, 0x4b,
|
||||
0x91, 0xa7, 0xd2, 0xa6, 0x66, 0x5c, 0x82, 0xa7, 0xb0, 0x7b, 0x6d, 0x1c, 0x7a, 0xb7, 0x65, 0x70,
|
||||
0xef, 0x1a, 0x42, 0x99, 0xd8, 0x1e, 0x74, 0x0d, 0xb1, 0x22, 0xc2, 0xa2, 0x76, 0xc9, 0x3b, 0xf8,
|
||||
0x05, 0x2f, 0x26, 0x52, 0x38, 0x13, 0x76, 0x49, 0xed, 0xfb, 0xbd, 0x03, 0x99, 0x9f, 0xd5, 0xdc,
|
||||
0x4f, 0x2c, 0x01, 0xdf, 0x3e, 0x1e, 0x8d, 0xb7, 0x16, 0x70, 0x98, 0x4f, 0xbe, 0x23, 0xf9, 0x6c,
|
||||
0x23, 0x07, 0xd0, 0xf9, 0x67, 0x13, 0x2c, 0xb0, 0x8a, 0xef, 0xfe, 0x3d, 0xec, 0x7e, 0x11, 0x3f,
|
||||
0x84, 0xfc, 0x29, 0x0a, 0xe3, 0x11, 0xd4, 0xac, 0xc8, 0xbf, 0xe4, 0x56, 0xc4, 0x71, 0x24, 0xf1,
|
||||
0x92, 0xf0, 0x30, 0x31, 0x75, 0xc7, 0x4c, 0x92, 0x57, 0x13, 0x68, 0x14, 0x3c, 0x45, 0x4d, 0x78,
|
||||
0x3c, 0x9d, 0x1f, 0x1b, 0x17, 0xb3, 0xf9, 0xcc, 0xd0, 0x1f, 0x20, 0x1d, 0x76, 0xe2, 0xd4, 0x34,
|
||||
0x46, 0xc6, 0xf8, 0xab, 0xa1, 0x6b, 0x59, 0xc1, 0x99, 0x31, 0x3b, 0xd6, 0x2b, 0x59, 0xfa, 0x71,
|
||||
0x7e, 0xfe, 0x59, 0xaf, 0x2e, 0xea, 0xf1, 0x9f, 0xf0, 0xcd, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0x3b, 0xec, 0xd3, 0x4d, 0x34, 0x05, 0x00, 0x00,
|
||||
var fileDescriptor_f2310f95efbbe3ac = []byte{
|
||||
// 590 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0xc5, 0x49, 0xa8, 0xda, 0x71, 0x13, 0xdc, 0x15, 0x94, 0x94, 0xa8, 0x25, 0xda, 0x03, 0x04,
|
||||
0x24, 0x22, 0x35, 0x1c, 0xe0, 0x82, 0x44, 0x49, 0x1c, 0x88, 0x94, 0x38, 0xc5, 0x2d, 0xdc, 0x50,
|
||||
0xd8, 0xd8, 0x9b, 0xc4, 0xc2, 0xde, 0xb5, 0xec, 0x75, 0x69, 0x0e, 0x9c, 0xb9, 0xf0, 0x05, 0x7c,
|
||||
0x2d, 0xb2, 0xd7, 0xb1, 0x4d, 0xaa, 0xb4, 0x15, 0x12, 0xb7, 0x9d, 0x9d, 0x37, 0x6f, 0xde, 0x9b,
|
||||
0x1d, 0x1b, 0x34, 0x8b, 0xf8, 0x64, 0xea, 0xb8, 0x8e, 0x58, 0xb6, 0xfd, 0x80, 0x0b, 0x8e, 0xb6,
|
||||
0xe7, 0x7c, 0x3a, 0xf7, 0x89, 0xef, 0x3c, 0x52, 0x93, 0x93, 0xbc, 0xc6, 0x5d, 0x78, 0x38, 0x8a,
|
||||
0x5c, 0xe1, 0x9c, 0xc6, 0x91, 0xc5, 0xdd, 0x6e, 0x56, 0x87, 0x5a, 0xb0, 0x35, 0x23, 0x9e, 0xe3,
|
||||
0x2e, 0xeb, 0x4a, 0x53, 0x69, 0xa9, 0x1d, 0xad, 0xbd, 0xa2, 0x68, 0xf7, 0x93, 0x7b, 0x33, 0xcd,
|
||||
0xe3, 0x3a, 0xec, 0x9b, 0x3c, 0x12, 0xd4, 0xa4, 0xb3, 0x80, 0x86, 0x8b, 0x9c, 0x03, 0x1f, 0x42,
|
||||
0xa3, 0x4b, 0x82, 0x60, 0xe9, 0xb0, 0xf9, 0x90, 0x4c, 0xa9, 0x3b, 0x60, 0x33, 0x5e, 0x48, 0xff,
|
||||
0x52, 0xe0, 0x48, 0xbf, 0x14, 0x94, 0xd9, 0xd4, 0x36, 0xe8, 0xa5, 0x58, 0x70, 0x3f, 0xcf, 0x9e,
|
||||
0x47, 0xbe, 0x4b, 0xd1, 0x31, 0xa8, 0xcc, 0x0d, 0x9c, 0xc9, 0x0d, 0x52, 0x20, 0x06, 0xc9, 0x33,
|
||||
0x7a, 0x05, 0x35, 0x26, 0xc9, 0x56, 0x55, 0xa5, 0x0d, 0x55, 0xd5, 0x14, 0x27, 0x43, 0xfc, 0x05,
|
||||
0x0e, 0x36, 0xaa, 0x41, 0x6f, 0x61, 0x4b, 0xc4, 0x8a, 0xc2, 0xba, 0xd2, 0x2c, 0xb7, 0xd4, 0x4e,
|
||||
0x2b, 0x67, 0xbb, 0xde, 0x82, 0x99, 0xd6, 0xe1, 0xaf, 0x70, 0xf4, 0x3e, 0x20, 0x16, 0x9d, 0x45,
|
||||
0xae, 0x49, 0x43, 0x41, 0x02, 0xb1, 0x6e, 0xf6, 0xd6, 0x23, 0x47, 0xf7, 0xe1, 0xee, 0xcc, 0x25,
|
||||
0xf3, 0x30, 0xb1, 0x56, 0x35, 0x65, 0x80, 0x7f, 0x2a, 0x70, 0xb0, 0xb1, 0x45, 0x5e, 0xa3, 0x14,
|
||||
0x6a, 0x10, 0x82, 0x8a, 0x70, 0x3c, 0x9a, 0x12, 0x25, 0xe7, 0x82, 0xd7, 0xf2, 0xba, 0xd7, 0xeb,
|
||||
0x1d, 0x64, 0x5e, 0x5f, 0x40, 0xa3, 0xcf, 0xa3, 0x60, 0x6c, 0x09, 0x2a, 0x4e, 0xce, 0x8c, 0xc8,
|
||||
0x9b, 0xd2, 0xa0, 0x20, 0xa5, 0x06, 0x25, 0xb2, 0xd2, 0x51, 0x22, 0x21, 0xf6, 0x60, 0xff, 0xc4,
|
||||
0xb6, 0x4f, 0x89, 0x58, 0xfc, 0xfb, 0x48, 0x9e, 0x41, 0xc5, 0xe3, 0xb6, 0x34, 0x52, 0xeb, 0x3c,
|
||||
0xc8, 0x71, 0x29, 0xf3, 0x88, 0xdb, 0xd4, 0x4c, 0x20, 0x78, 0x04, 0x7b, 0x57, 0xda, 0xa1, 0xd7,
|
||||
0x6b, 0x0f, 0xdc, 0xbc, 0xc2, 0xb0, 0xc9, 0x6c, 0x13, 0x8e, 0x74, 0xb6, 0x20, 0xcc, 0xa2, 0xf6,
|
||||
0x86, 0xef, 0xe0, 0x07, 0x3c, 0x1d, 0x72, 0x36, 0x1f, 0x3a, 0x17, 0xd4, 0xfe, 0xbf, 0x3b, 0x90,
|
||||
0xbd, 0x67, 0x39, 0x7f, 0x4f, 0xcc, 0x01, 0xdf, 0xdc, 0x1e, 0x0d, 0xd6, 0x06, 0x70, 0x9c, 0x77,
|
||||
0xbe, 0xa5, 0xf8, 0x6c, 0x22, 0x87, 0xd0, 0xf8, 0x6b, 0x12, 0x4e, 0x68, 0x15, 0xbf, 0xfb, 0xdf,
|
||||
0x0a, 0xd4, 0xfa, 0x1f, 0x7b, 0x46, 0xa1, 0x39, 0x86, 0xea, 0x82, 0x87, 0x62, 0xc2, 0x88, 0x47,
|
||||
0x27, 0x2e, 0x65, 0xe9, 0x72, 0xa8, 0xf1, 0xa5, 0x41, 0x3c, 0x3a, 0xa4, 0x0c, 0x35, 0x60, 0x27,
|
||||
0xc3, 0x24, 0xa6, 0x77, 0xcc, 0xed, 0x55, 0x1e, 0x3d, 0x81, 0x7b, 0x36, 0xf7, 0x88, 0xc3, 0x72,
|
||||
0x0a, 0x39, 0x82, 0xaa, 0xbc, 0x5e, 0x91, 0x3c, 0x06, 0xb5, 0x80, 0xab, 0x57, 0x12, 0x1a, 0xc8,
|
||||
0x31, 0xf8, 0x0d, 0xec, 0x7d, 0x62, 0xdf, 0x18, 0xff, 0xce, 0x0a, 0xf2, 0x10, 0x54, 0xac, 0x78,
|
||||
0xb9, 0xa4, 0xaa, 0xe4, 0x1c, 0xcf, 0xff, 0x82, 0xb8, 0x91, 0x94, 0xb2, 0x6b, 0xca, 0xe0, 0xf9,
|
||||
0x10, 0xd4, 0xc2, 0xc2, 0xa1, 0x2a, 0xec, 0x8c, 0xc6, 0x3d, 0x7d, 0x62, 0x8c, 0x0d, 0x5d, 0xbb,
|
||||
0x83, 0x34, 0xd8, 0x4d, 0x42, 0x53, 0xef, 0xea, 0x83, 0xcf, 0xba, 0xa6, 0x64, 0x80, 0x33, 0xdd,
|
||||
0xe8, 0x69, 0xa5, 0x2c, 0x7c, 0x37, 0x3e, 0xff, 0xa0, 0x95, 0xa7, 0x5b, 0xc9, 0x6f, 0xfa, 0xe5,
|
||||
0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x77, 0x70, 0x63, 0xd1, 0x05, 0x00, 0x00,
|
||||
}
|
||||
|
||||
9
vendor/github.com/osrg/gobgp/api/capability.proto
generated
vendored
9
vendor/github.com/osrg/gobgp/api/capability.proto
generated
vendored
@@ -94,7 +94,14 @@ message LongLivedGracefulRestartCapability {
|
||||
message RouteRefreshCiscoCapability {
|
||||
}
|
||||
|
||||
message FQDNCapability {
|
||||
uint32 host_name_len = 1;
|
||||
string host_name = 2;
|
||||
uint32 domain_name_len = 3;
|
||||
string domain_name = 4;
|
||||
}
|
||||
|
||||
message UnknownCapability {
|
||||
uint32 code = 1;
|
||||
bytes value = 2;
|
||||
}
|
||||
}
|
||||
|
||||
7722
vendor/github.com/osrg/gobgp/api/gobgp.pb.go
generated
vendored
7722
vendor/github.com/osrg/gobgp/api/gobgp.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
447
vendor/github.com/osrg/gobgp/api/gobgp.proto
generated
vendored
447
vendor/github.com/osrg/gobgp/api/gobgp.proto
generated
vendored
@@ -30,90 +30,92 @@ package gobgpapi;
|
||||
// Interface exported by the server.
|
||||
|
||||
service GobgpApi {
|
||||
rpc StartBgp(StartBgpRequest) returns (google.protobuf.Empty);
|
||||
rpc StopBgp(StopBgpRequest) returns (google.protobuf.Empty);
|
||||
rpc GetBgp(GetBgpRequest) returns (GetBgpResponse);
|
||||
rpc StartBgp(StartBgpRequest) returns(google.protobuf.Empty);
|
||||
rpc StopBgp(StopBgpRequest) returns(google.protobuf.Empty);
|
||||
rpc GetBgp(GetBgpRequest) returns(GetBgpResponse);
|
||||
|
||||
rpc AddPeer(AddPeerRequest) returns (google.protobuf.Empty);
|
||||
rpc DeletePeer(DeletePeerRequest) returns (google.protobuf.Empty);
|
||||
rpc ListPeer(ListPeerRequest) returns (stream ListPeerResponse);
|
||||
rpc UpdatePeer(UpdatePeerRequest) returns (UpdatePeerResponse);
|
||||
rpc ResetPeer(ResetPeerRequest) returns (google.protobuf.Empty);
|
||||
rpc ShutdownPeer(ShutdownPeerRequest) returns (google.protobuf.Empty);
|
||||
rpc EnablePeer(EnablePeerRequest) returns (google.protobuf.Empty);
|
||||
rpc DisablePeer(DisablePeerRequest) returns (google.protobuf.Empty);
|
||||
rpc MonitorPeer(MonitorPeerRequest) returns (stream MonitorPeerResponse);
|
||||
rpc AddPeer(AddPeerRequest) returns(google.protobuf.Empty);
|
||||
rpc DeletePeer(DeletePeerRequest) returns(google.protobuf.Empty);
|
||||
rpc ListPeer(ListPeerRequest) returns(stream ListPeerResponse);
|
||||
rpc UpdatePeer(UpdatePeerRequest) returns(UpdatePeerResponse);
|
||||
rpc ResetPeer(ResetPeerRequest) returns(google.protobuf.Empty);
|
||||
rpc ShutdownPeer(ShutdownPeerRequest) returns(google.protobuf.Empty);
|
||||
rpc EnablePeer(EnablePeerRequest) returns(google.protobuf.Empty);
|
||||
rpc DisablePeer(DisablePeerRequest) returns(google.protobuf.Empty);
|
||||
rpc MonitorPeer(MonitorPeerRequest) returns(stream MonitorPeerResponse);
|
||||
|
||||
rpc AddPeerGroup(AddPeerGroupRequest) returns (google.protobuf.Empty);
|
||||
rpc DeletePeerGroup(DeletePeerGroupRequest) returns (google.protobuf.Empty);
|
||||
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns (UpdatePeerGroupResponse);
|
||||
rpc AddPeerGroup(AddPeerGroupRequest) returns(google.protobuf.Empty);
|
||||
rpc DeletePeerGroup(DeletePeerGroupRequest) returns(google.protobuf.Empty);
|
||||
rpc ListPeerGroup(ListPeerGroupRequest) returns(stream ListPeerGroupResponse);
|
||||
rpc UpdatePeerGroup(UpdatePeerGroupRequest) returns(UpdatePeerGroupResponse);
|
||||
|
||||
rpc AddDynamicNeighbor(AddDynamicNeighborRequest) returns (google.protobuf.Empty);
|
||||
rpc AddDynamicNeighbor(AddDynamicNeighborRequest) returns(google.protobuf.Empty);
|
||||
rpc ListDynamicNeighbor(ListDynamicNeighborRequest) returns(stream ListDynamicNeighborResponse);
|
||||
rpc DeleteDynamicNeighbor(DeleteDynamicNeighborRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc AddPath(AddPathRequest) returns (AddPathResponse);
|
||||
rpc DeletePath(DeletePathRequest) returns (google.protobuf.Empty);
|
||||
rpc ListPath(ListPathRequest) returns (stream ListPathResponse);
|
||||
rpc AddPathStream(stream AddPathStreamRequest) returns (google.protobuf.Empty);
|
||||
rpc AddPath(AddPathRequest) returns(AddPathResponse);
|
||||
rpc DeletePath(DeletePathRequest) returns(google.protobuf.Empty);
|
||||
rpc ListPath(ListPathRequest) returns(stream ListPathResponse);
|
||||
rpc AddPathStream(stream AddPathStreamRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc GetTable(GetTableRequest) returns (GetTableResponse);
|
||||
rpc MonitorTable(MonitorTableRequest) returns (stream MonitorTableResponse);
|
||||
rpc GetTable(GetTableRequest) returns(GetTableResponse);
|
||||
rpc MonitorTable(MonitorTableRequest) returns(stream MonitorTableResponse);
|
||||
|
||||
rpc AddVrf(AddVrfRequest) returns (google.protobuf.Empty);
|
||||
rpc DeleteVrf(DeleteVrfRequest) returns (google.protobuf.Empty);
|
||||
rpc ListVrf(ListVrfRequest) returns (stream ListVrfResponse);
|
||||
rpc AddVrf(AddVrfRequest) returns(google.protobuf.Empty);
|
||||
rpc DeleteVrf(DeleteVrfRequest) returns(google.protobuf.Empty);
|
||||
rpc ListVrf(ListVrfRequest) returns(stream ListVrfResponse);
|
||||
|
||||
rpc AddPolicy(AddPolicyRequest) returns (google.protobuf.Empty);
|
||||
rpc DeletePolicy(DeletePolicyRequest) returns (google.protobuf.Empty);
|
||||
rpc ListPolicy(ListPolicyRequest) returns (stream ListPolicyResponse);
|
||||
rpc SetPolicies(SetPoliciesRequest) returns (google.protobuf.Empty);
|
||||
rpc AddPolicy(AddPolicyRequest) returns(google.protobuf.Empty);
|
||||
rpc DeletePolicy(DeletePolicyRequest) returns(google.protobuf.Empty);
|
||||
rpc ListPolicy(ListPolicyRequest) returns(stream ListPolicyResponse);
|
||||
rpc SetPolicies(SetPoliciesRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc AddDefinedSet(AddDefinedSetRequest) returns (google.protobuf.Empty);
|
||||
rpc DeleteDefinedSet(DeleteDefinedSetRequest) returns (google.protobuf.Empty);
|
||||
rpc ListDefinedSet(ListDefinedSetRequest) returns (stream ListDefinedSetResponse);
|
||||
rpc AddDefinedSet(AddDefinedSetRequest) returns(google.protobuf.Empty);
|
||||
rpc DeleteDefinedSet(DeleteDefinedSetRequest) returns(google.protobuf.Empty);
|
||||
rpc ListDefinedSet(ListDefinedSetRequest)
|
||||
returns(stream ListDefinedSetResponse);
|
||||
|
||||
rpc AddStatement(AddStatementRequest) returns (google.protobuf.Empty);
|
||||
rpc DeleteStatement(DeleteStatementRequest) returns (google.protobuf.Empty);
|
||||
rpc ListStatement(ListStatementRequest) returns (stream ListStatementResponse);
|
||||
rpc AddStatement(AddStatementRequest) returns(google.protobuf.Empty);
|
||||
rpc DeleteStatement(DeleteStatementRequest) returns(google.protobuf.Empty);
|
||||
rpc ListStatement(ListStatementRequest) returns(stream ListStatementResponse);
|
||||
|
||||
rpc AddPolicyAssignment(AddPolicyAssignmentRequest) returns (google.protobuf.Empty);
|
||||
rpc DeletePolicyAssignment(DeletePolicyAssignmentRequest) returns (google.protobuf.Empty);
|
||||
rpc ListPolicyAssignment(ListPolicyAssignmentRequest) returns (stream ListPolicyAssignmentResponse);
|
||||
rpc SetPolicyAssignment(SetPolicyAssignmentRequest) returns (google.protobuf.Empty);
|
||||
rpc AddPolicyAssignment(AddPolicyAssignmentRequest)
|
||||
returns(google.protobuf.Empty);
|
||||
rpc DeletePolicyAssignment(DeletePolicyAssignmentRequest)
|
||||
returns(google.protobuf.Empty);
|
||||
rpc ListPolicyAssignment(ListPolicyAssignmentRequest)
|
||||
returns(stream ListPolicyAssignmentResponse);
|
||||
rpc SetPolicyAssignment(SetPolicyAssignmentRequest)
|
||||
returns(google.protobuf.Empty);
|
||||
|
||||
rpc AddRpki(AddRpkiRequest) returns (google.protobuf.Empty);
|
||||
rpc DeleteRpki(DeleteRpkiRequest) returns (google.protobuf.Empty);
|
||||
rpc ListRpki(ListRpkiRequest) returns (stream ListRpkiResponse);
|
||||
rpc EnableRpki(EnableRpkiRequest) returns (google.protobuf.Empty);
|
||||
rpc DisableRpki(DisableRpkiRequest) returns (google.protobuf.Empty);
|
||||
rpc ResetRpki(ResetRpkiRequest) returns (google.protobuf.Empty);
|
||||
rpc ListRpkiTable(ListRpkiTableRequest) returns (stream ListRpkiTableResponse);
|
||||
rpc AddRpki(AddRpkiRequest) returns(google.protobuf.Empty);
|
||||
rpc DeleteRpki(DeleteRpkiRequest) returns(google.protobuf.Empty);
|
||||
rpc ListRpki(ListRpkiRequest) returns(stream ListRpkiResponse);
|
||||
rpc EnableRpki(EnableRpkiRequest) returns(google.protobuf.Empty);
|
||||
rpc DisableRpki(DisableRpkiRequest) returns(google.protobuf.Empty);
|
||||
rpc ResetRpki(ResetRpkiRequest) returns(google.protobuf.Empty);
|
||||
rpc ListRpkiTable(ListRpkiTableRequest) returns(stream ListRpkiTableResponse);
|
||||
|
||||
rpc EnableZebra(EnableZebraRequest) returns (google.protobuf.Empty);
|
||||
rpc EnableZebra(EnableZebraRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc EnableMrt(EnableMrtRequest) returns (google.protobuf.Empty);
|
||||
rpc DisableMrt(DisableMrtRequest) returns (google.protobuf.Empty);
|
||||
rpc EnableMrt(EnableMrtRequest) returns(google.protobuf.Empty);
|
||||
rpc DisableMrt(DisableMrtRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc AddBmp(AddBmpRequest) returns (google.protobuf.Empty);
|
||||
rpc DeleteBmp(DeleteBmpRequest) returns (google.protobuf.Empty);
|
||||
rpc AddBmp(AddBmpRequest) returns(google.protobuf.Empty);
|
||||
rpc DeleteBmp(DeleteBmpRequest) returns(google.protobuf.Empty);
|
||||
|
||||
rpc SetLogLevel(SetLogLevelRequest) returns(google.protobuf.Empty);
|
||||
}
|
||||
|
||||
message StartBgpRequest {
|
||||
Global global = 1;
|
||||
}
|
||||
message StartBgpRequest { Global global = 1; }
|
||||
|
||||
message StopBgpRequest {
|
||||
}
|
||||
message StopBgpRequest {}
|
||||
|
||||
message GetBgpRequest {
|
||||
}
|
||||
message GetBgpRequest {}
|
||||
|
||||
message GetBgpResponse {
|
||||
Global global = 1;
|
||||
}
|
||||
message GetBgpResponse { Global global = 1; }
|
||||
|
||||
message AddPeerRequest {
|
||||
Peer peer = 1;
|
||||
}
|
||||
message AddPeerRequest { Peer peer = 1; }
|
||||
|
||||
message DeletePeerRequest {
|
||||
string address = 1;
|
||||
@@ -121,13 +123,11 @@ message DeletePeerRequest {
|
||||
}
|
||||
|
||||
message ListPeerRequest {
|
||||
string address = 1;
|
||||
string address = 1;
|
||||
bool enableAdvertised = 2;
|
||||
}
|
||||
|
||||
message ListPeerResponse {
|
||||
Peer peer = 1;
|
||||
}
|
||||
message ListPeerResponse { Peer peer = 1; }
|
||||
|
||||
message UpdatePeerRequest {
|
||||
Peer peer = 1;
|
||||
@@ -147,11 +147,7 @@ message ResetPeerRequest {
|
||||
string address = 1;
|
||||
string communication = 2;
|
||||
bool soft = 3;
|
||||
enum SoftResetDirection {
|
||||
IN = 0;
|
||||
OUT = 1;
|
||||
BOTH = 2;
|
||||
}
|
||||
enum SoftResetDirection { IN = 0; OUT = 1; BOTH = 2; }
|
||||
SoftResetDirection direction = 4;
|
||||
}
|
||||
|
||||
@@ -160,9 +156,7 @@ message ShutdownPeerRequest {
|
||||
string communication = 2;
|
||||
}
|
||||
|
||||
message EnablePeerRequest {
|
||||
string address = 1;
|
||||
}
|
||||
message EnablePeerRequest { string address = 1; }
|
||||
|
||||
message DisablePeerRequest {
|
||||
string address = 1;
|
||||
@@ -171,33 +165,37 @@ message DisablePeerRequest {
|
||||
|
||||
message MonitorPeerRequest {
|
||||
string address = 1;
|
||||
bool current = 2;
|
||||
bool current = 2; // Prefer initial_state.
|
||||
bool initial_state = 3;
|
||||
}
|
||||
|
||||
message MonitorPeerResponse {
|
||||
Peer peer = 1;
|
||||
}
|
||||
message MonitorPeerResponse { Peer peer = 1; }
|
||||
|
||||
message AddPeerGroupRequest {
|
||||
PeerGroup peer_group = 1;
|
||||
}
|
||||
message AddPeerGroupRequest { PeerGroup peer_group = 1; }
|
||||
|
||||
message DeletePeerGroupRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message DeletePeerGroupRequest { string name = 1; }
|
||||
|
||||
message UpdatePeerGroupRequest {
|
||||
PeerGroup peer_group = 1;
|
||||
bool do_soft_reset_in = 2;
|
||||
}
|
||||
|
||||
message UpdatePeerGroupResponse {
|
||||
bool needs_soft_reset_in = 1;
|
||||
message UpdatePeerGroupResponse { bool needs_soft_reset_in = 1; }
|
||||
|
||||
message ListPeerGroupRequest { string peer_group_name = 1; }
|
||||
|
||||
message ListPeerGroupResponse { PeerGroup peer_group = 1; }
|
||||
|
||||
message AddDynamicNeighborRequest { DynamicNeighbor dynamic_neighbor = 1; }
|
||||
|
||||
message DeleteDynamicNeighborRequest {
|
||||
string prefix = 1;
|
||||
string peer_group = 2;
|
||||
}
|
||||
|
||||
message AddDynamicNeighborRequest {
|
||||
DynamicNeighbor dynamic_neighbor = 1;
|
||||
}
|
||||
message ListDynamicNeighborRequest { string peer_group = 1; }
|
||||
|
||||
message ListDynamicNeighborResponse { DynamicNeighbor dynamic_neighbor = 1; }
|
||||
|
||||
message AddPathRequest {
|
||||
TableType table_type = 1;
|
||||
@@ -205,9 +203,7 @@ message AddPathRequest {
|
||||
Path path = 3;
|
||||
}
|
||||
|
||||
message AddPathResponse {
|
||||
bytes uuid = 1;
|
||||
}
|
||||
message AddPathResponse { bytes uuid = 1; }
|
||||
|
||||
message DeletePathRequest {
|
||||
TableType table_type = 1;
|
||||
@@ -222,17 +218,14 @@ message ListPathRequest {
|
||||
string name = 2;
|
||||
Family family = 3;
|
||||
repeated TableLookupPrefix prefixes = 4;
|
||||
enum SortType {
|
||||
NONE = 0;
|
||||
PREFIX = 1;
|
||||
}
|
||||
enum SortType { NONE = 0; PREFIX = 1; }
|
||||
SortType sort_type = 5;
|
||||
bool enable_filtered = 6;
|
||||
bool enable_nlri_binary = 7;
|
||||
bool enable_attribute_binary = 8;
|
||||
}
|
||||
|
||||
message ListPathResponse {
|
||||
Destination destination = 1;
|
||||
}
|
||||
message ListPathResponse { Destination destination = 1; }
|
||||
|
||||
message AddPathStreamRequest {
|
||||
TableType table_type = 1;
|
||||
@@ -260,25 +253,15 @@ message MonitorTableRequest {
|
||||
bool post_policy = 5;
|
||||
}
|
||||
|
||||
message MonitorTableResponse {
|
||||
Path path = 1;
|
||||
}
|
||||
message MonitorTableResponse { Path path = 1; }
|
||||
|
||||
message AddVrfRequest {
|
||||
Vrf vrf = 1;
|
||||
}
|
||||
message AddVrfRequest { Vrf vrf = 1; }
|
||||
|
||||
message DeleteVrfRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message DeleteVrfRequest { string name = 1; }
|
||||
|
||||
message ListVrfRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message ListVrfRequest { string name = 1; }
|
||||
|
||||
message ListVrfResponse {
|
||||
Vrf vrf = 1;
|
||||
}
|
||||
message ListVrfResponse { Vrf vrf = 1; }
|
||||
|
||||
message AddPolicyRequest {
|
||||
Policy policy = 1;
|
||||
@@ -295,13 +278,9 @@ message DeletePolicyRequest {
|
||||
bool all = 3;
|
||||
}
|
||||
|
||||
message ListPolicyRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message ListPolicyRequest { string name = 1; }
|
||||
|
||||
message ListPolicyResponse {
|
||||
Policy policy = 1;
|
||||
}
|
||||
message ListPolicyResponse { Policy policy = 1; }
|
||||
|
||||
message SetPoliciesRequest {
|
||||
repeated DefinedSet defined_sets = 1;
|
||||
@@ -309,9 +288,7 @@ message SetPoliciesRequest {
|
||||
repeated PolicyAssignment assignments = 3;
|
||||
}
|
||||
|
||||
message AddDefinedSetRequest {
|
||||
DefinedSet defined_set = 1;
|
||||
}
|
||||
message AddDefinedSetRequest { DefinedSet defined_set = 1; }
|
||||
|
||||
message DeleteDefinedSetRequest {
|
||||
DefinedSet defined_set = 1;
|
||||
@@ -323,30 +300,20 @@ message ListDefinedSetRequest {
|
||||
string name = 2;
|
||||
}
|
||||
|
||||
message ListDefinedSetResponse {
|
||||
DefinedSet defined_set = 1;
|
||||
}
|
||||
message ListDefinedSetResponse { DefinedSet defined_set = 1; }
|
||||
|
||||
message AddStatementRequest {
|
||||
Statement statement = 1;
|
||||
}
|
||||
message AddStatementRequest { Statement statement = 1; }
|
||||
|
||||
message DeleteStatementRequest {
|
||||
Statement statement = 1;
|
||||
bool all = 2;
|
||||
}
|
||||
|
||||
message ListStatementRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message ListStatementRequest { string name = 1; }
|
||||
|
||||
message ListStatementResponse {
|
||||
Statement statement = 1;
|
||||
}
|
||||
message ListStatementResponse { Statement statement = 1; }
|
||||
|
||||
message AddPolicyAssignmentRequest {
|
||||
PolicyAssignment assignment = 1;
|
||||
}
|
||||
message AddPolicyAssignmentRequest { PolicyAssignment assignment = 1; }
|
||||
|
||||
message DeletePolicyAssignmentRequest {
|
||||
PolicyAssignment assignment = 1;
|
||||
@@ -358,13 +325,9 @@ message ListPolicyAssignmentRequest {
|
||||
PolicyDirection direction = 2;
|
||||
}
|
||||
|
||||
message ListPolicyAssignmentResponse {
|
||||
PolicyAssignment assignment = 1;
|
||||
}
|
||||
message ListPolicyAssignmentResponse { PolicyAssignment assignment = 1; }
|
||||
|
||||
message SetPolicyAssignmentRequest {
|
||||
PolicyAssignment assignment = 1;
|
||||
}
|
||||
message SetPolicyAssignmentRequest { PolicyAssignment assignment = 1; }
|
||||
|
||||
message AddRpkiRequest {
|
||||
string address = 1;
|
||||
@@ -377,13 +340,9 @@ message DeleteRpkiRequest {
|
||||
uint32 port = 2;
|
||||
}
|
||||
|
||||
message ListRpkiRequest {
|
||||
Family family = 1;
|
||||
}
|
||||
message ListRpkiRequest { Family family = 1; }
|
||||
|
||||
message ListRpkiResponse {
|
||||
Rpki server = 1;
|
||||
}
|
||||
message ListRpkiResponse { Rpki server = 1; }
|
||||
|
||||
message EnableRpkiRequest {
|
||||
string address = 1;
|
||||
@@ -401,13 +360,9 @@ message ResetRpkiRequest {
|
||||
bool soft = 3;
|
||||
}
|
||||
|
||||
message ListRpkiTableRequest {
|
||||
Family family = 1;
|
||||
}
|
||||
message ListRpkiTableRequest { Family family = 1; }
|
||||
|
||||
message ListRpkiTableResponse {
|
||||
Roa roa = 1;
|
||||
}
|
||||
message ListRpkiTableResponse { Roa roa = 1; }
|
||||
|
||||
message EnableZebraRequest {
|
||||
string url = 1;
|
||||
@@ -426,19 +381,12 @@ message EnableMrtRequest {
|
||||
uint64 rotation_interval = 4;
|
||||
}
|
||||
|
||||
message DisableMrtRequest {
|
||||
}
|
||||
message DisableMrtRequest {}
|
||||
|
||||
message AddBmpRequest {
|
||||
string address = 1;
|
||||
uint32 port = 2;
|
||||
enum MonitoringPolicy {
|
||||
PRE = 0;
|
||||
POST = 1;
|
||||
BOTH = 2;
|
||||
LOCAL = 3;
|
||||
ALL = 4;
|
||||
}
|
||||
enum MonitoringPolicy { PRE = 0; POST = 1; BOTH = 2; LOCAL = 3; ALL = 4; }
|
||||
MonitoringPolicy policy = 3;
|
||||
int32 StatisticsTimeout = 4;
|
||||
string SysName = 5;
|
||||
@@ -452,23 +400,17 @@ message DeleteBmpRequest {
|
||||
|
||||
message Family {
|
||||
enum Afi {
|
||||
AFI_UNKNOWN = 0;
|
||||
AFI_IP = 1;
|
||||
AFI_IP6 = 2;
|
||||
AFI_L2VPN = 25;
|
||||
AFI_LS = 16388;
|
||||
AFI_UNKNOWN = 0; AFI_IP = 1; AFI_IP6 = 2; AFI_L2VPN = 25; AFI_LS = 16388;
|
||||
AFI_OPAQUE = 16397;
|
||||
}
|
||||
|
||||
enum Safi {
|
||||
SAFI_UNKNOWN = 0;
|
||||
SAFI_UNICAST = 1;
|
||||
SAFI_MULTICAST = 2;
|
||||
SAFI_MPLS_LABEL = 4;
|
||||
SAFI_UNKNOWN = 0; SAFI_UNICAST = 1; SAFI_MULTICAST = 2; SAFI_MPLS_LABEL = 4;
|
||||
SAFI_ENCAPSULATION = 7;
|
||||
SAFI_VPLS = 65;
|
||||
SAFI_EVPN = 70;
|
||||
SAFI_LS = 71;
|
||||
SAFI_SR_POLICY = 73;
|
||||
SAFI_MPLS_VPN = 128;
|
||||
SAFI_MPLS_VPN_MULTICAST = 129;
|
||||
SAFI_ROUTE_TARGET_CONSTRAINTS = 132;
|
||||
@@ -481,27 +423,14 @@ message Family {
|
||||
Safi safi = 2;
|
||||
}
|
||||
|
||||
enum TableType {
|
||||
GLOBAL = 0;
|
||||
LOCAL = 1;
|
||||
ADJ_IN = 2;
|
||||
ADJ_OUT = 3;
|
||||
VRF = 4;
|
||||
}
|
||||
enum TableType { GLOBAL = 0; LOCAL = 1; ADJ_IN = 2; ADJ_OUT = 3; VRF = 4; }
|
||||
|
||||
message Validation {
|
||||
enum State {
|
||||
STATE_NONE = 0;
|
||||
STATE_NOT_FOUND = 1;
|
||||
STATE_VALID = 2;
|
||||
STATE_INVALID = 3;
|
||||
STATE_NONE = 0; STATE_NOT_FOUND = 1; STATE_VALID = 2; STATE_INVALID = 3;
|
||||
}
|
||||
|
||||
enum Reason {
|
||||
REASOT_NONE = 0;
|
||||
REASON_AS = 1;
|
||||
REASON_LENGTH = 2;
|
||||
}
|
||||
enum Reason { REASOT_NONE = 0; REASON_AS = 1; REASON_LENGTH = 2; }
|
||||
|
||||
State state = 1;
|
||||
Reason reason = 2;
|
||||
@@ -527,6 +456,7 @@ message Path {
|
||||
// - VPNFlowSpecNLRI
|
||||
// - OpaqueNLRI
|
||||
// - LsAddrPrefix
|
||||
// - SRPolicyNLRI
|
||||
google.protobuf.Any nlri = 1;
|
||||
// Each attribute must be one of *Attribute defined in
|
||||
// "api/attribute.proto".
|
||||
@@ -558,9 +488,7 @@ message Destination {
|
||||
|
||||
// API representation of table.LookupOption
|
||||
enum TableLookupOption {
|
||||
LOOKUP_EXACT = 0;
|
||||
LOOKUP_LONGER = 1;
|
||||
LOOKUP_SHORTER = 2;
|
||||
LOOKUP_EXACT = 0; LOOKUP_LONGER = 1; LOOKUP_SHORTER = 2;
|
||||
}
|
||||
|
||||
// API representation of table.LookupPrefix
|
||||
@@ -580,6 +508,7 @@ message Peer {
|
||||
RouteServer route_server = 8;
|
||||
GracefulRestart graceful_restart = 9;
|
||||
repeated AfiSafi afi_safis = 10;
|
||||
TtlSecurity ttl_security = 11;
|
||||
}
|
||||
|
||||
message PeerGroup {
|
||||
@@ -593,6 +522,7 @@ message PeerGroup {
|
||||
RouteServer route_server = 8;
|
||||
GracefulRestart graceful_restart = 9;
|
||||
repeated AfiSafi afi_safis = 10;
|
||||
TtlSecurity ttl_security = 11;
|
||||
}
|
||||
|
||||
message DynamicNeighbor {
|
||||
@@ -620,11 +550,7 @@ message PeerConf {
|
||||
uint32 peer_as = 5;
|
||||
string peer_group = 6;
|
||||
uint32 peer_type = 7;
|
||||
enum RemovePrivateAs {
|
||||
NONE = 0;
|
||||
ALL = 1;
|
||||
REPLACE = 2;
|
||||
}
|
||||
enum RemovePrivateAs { NONE = 0; ALL = 1; REPLACE = 2; }
|
||||
RemovePrivateAs remove_private_as = 8;
|
||||
bool route_flap_damping = 9;
|
||||
uint32 send_community = 10;
|
||||
@@ -642,11 +568,7 @@ message PeerGroupConf {
|
||||
uint32 peer_as = 4;
|
||||
string peer_group_name = 5;
|
||||
uint32 peer_type = 6;
|
||||
enum RemovePrivateAs {
|
||||
NONE = 0;
|
||||
ALL = 1;
|
||||
REPLACE = 2;
|
||||
}
|
||||
enum RemovePrivateAs { NONE = 0; ALL = 1; REPLACE = 2; }
|
||||
RemovePrivateAs remove_private_as = 7;
|
||||
bool route_flap_damping = 8;
|
||||
uint32 send_community = 9;
|
||||
@@ -659,11 +581,7 @@ message PeerGroupState {
|
||||
uint32 peer_as = 4;
|
||||
string peer_group_name = 5;
|
||||
uint32 peer_type = 6;
|
||||
enum RemovePrivateAs {
|
||||
NONE = 0;
|
||||
ALL = 1;
|
||||
REPLACE = 2;
|
||||
}
|
||||
enum RemovePrivateAs { NONE = 0; ALL = 1; REPLACE = 2; }
|
||||
RemovePrivateAs remove_private_as = 7;
|
||||
bool route_flap_damping = 8;
|
||||
uint32 send_community = 9;
|
||||
@@ -671,6 +589,11 @@ message PeerGroupState {
|
||||
uint32 total_prefixes = 11;
|
||||
}
|
||||
|
||||
message TtlSecurity {
|
||||
bool enabled = 1;
|
||||
uint32 ttl_min = 2;
|
||||
}
|
||||
|
||||
message EbgpMultihop {
|
||||
bool enabled = 1;
|
||||
uint32 multihop_ttl = 2;
|
||||
@@ -695,19 +618,13 @@ message PeerState {
|
||||
bool route_flap_damping = 11;
|
||||
uint32 send_community = 12;
|
||||
enum SessionState {
|
||||
UNKNOWN = 0;
|
||||
IDLE = 1;
|
||||
CONNECT = 2;
|
||||
ACTIVE = 3;
|
||||
OPENSENT = 4;
|
||||
UNKNOWN = 0; IDLE = 1; CONNECT = 2; ACTIVE = 3; OPENSENT = 4;
|
||||
OPENCONFIRM = 5;
|
||||
ESTABLISHED = 6;
|
||||
}
|
||||
SessionState session_state = 13;
|
||||
enum AdminState {
|
||||
UP = 0;
|
||||
DOWN = 1;
|
||||
PFX_CT = 2; // prefix counter over limit
|
||||
UP = 0; DOWN = 1; PFX_CT = 2; // prefix counter over limit
|
||||
}
|
||||
AdminState admin_state = 15;
|
||||
uint32 out_q = 16;
|
||||
@@ -742,11 +659,11 @@ message Queues {
|
||||
}
|
||||
|
||||
message Timers {
|
||||
TimersConfig config =1;
|
||||
TimersConfig config = 1;
|
||||
TimersState state = 2;
|
||||
}
|
||||
|
||||
message TimersConfig{
|
||||
message TimersConfig {
|
||||
uint64 connect_retry = 1;
|
||||
uint64 hold_time = 2;
|
||||
uint64 keepalive_interval = 3;
|
||||
@@ -754,7 +671,7 @@ message TimersConfig{
|
||||
uint64 idle_hold_time_after_reset = 5;
|
||||
}
|
||||
|
||||
message TimersState{
|
||||
message TimersState {
|
||||
uint64 connect_retry = 1;
|
||||
uint64 hold_time = 2;
|
||||
uint64 keepalive_interval = 3;
|
||||
@@ -794,9 +711,7 @@ message GracefulRestart {
|
||||
string mode = 11;
|
||||
}
|
||||
|
||||
message MpGracefulRestartConfig {
|
||||
bool enabled = 1;
|
||||
}
|
||||
message MpGracefulRestartConfig { bool enabled = 1; }
|
||||
|
||||
message MpGracefulRestartState {
|
||||
bool enabled = 1;
|
||||
@@ -848,13 +763,9 @@ message RouteSelectionOptions {
|
||||
RouteSelectionOptionsState state = 2;
|
||||
}
|
||||
|
||||
message UseMultiplePathsConfig {
|
||||
bool enabled = 1;
|
||||
}
|
||||
message UseMultiplePathsConfig { bool enabled = 1; }
|
||||
|
||||
message UseMultiplePathsState {
|
||||
bool enabled = 1;
|
||||
}
|
||||
message UseMultiplePathsState { bool enabled = 1; }
|
||||
|
||||
message EbgpConfig {
|
||||
bool allow_multiple_as = 1;
|
||||
@@ -871,13 +782,9 @@ message Ebgp {
|
||||
EbgpState state = 2;
|
||||
}
|
||||
|
||||
message IbgpConfig {
|
||||
uint32 maximum_paths = 1;
|
||||
}
|
||||
message IbgpConfig { uint32 maximum_paths = 1; }
|
||||
|
||||
message IbgpState {
|
||||
uint32 maximum_paths = 1;
|
||||
}
|
||||
message IbgpState { uint32 maximum_paths = 1; }
|
||||
|
||||
message Ibgp {
|
||||
IbgpConfig config = 1;
|
||||
@@ -891,13 +798,9 @@ message UseMultiplePaths {
|
||||
Ibgp ibgp = 4;
|
||||
}
|
||||
|
||||
message RouteTargetMembershipConfig {
|
||||
uint32 deferral_time = 1;
|
||||
}
|
||||
message RouteTargetMembershipConfig { uint32 deferral_time = 1; }
|
||||
|
||||
message RouteTargetMembershipState {
|
||||
uint32 deferral_time = 1;
|
||||
}
|
||||
message RouteTargetMembershipState { uint32 deferral_time = 1; }
|
||||
|
||||
message RouteTargetMembership {
|
||||
RouteTargetMembershipConfig config = 1;
|
||||
@@ -963,17 +866,13 @@ message AddPaths {
|
||||
}
|
||||
|
||||
message Prefix {
|
||||
string ip_prefix = 1;
|
||||
string ip_prefix = 1;
|
||||
uint32 mask_length_min = 2;
|
||||
uint32 mask_length_max = 3;
|
||||
}
|
||||
|
||||
enum DefinedType {
|
||||
PREFIX = 0;
|
||||
NEIGHBOR = 1;
|
||||
TAG = 2;
|
||||
AS_PATH = 3;
|
||||
COMMUNITY = 4;
|
||||
PREFIX = 0; NEIGHBOR = 1; TAG = 2; AS_PATH = 3; COMMUNITY = 4;
|
||||
EXT_COMMUNITY = 5;
|
||||
LARGE_COMMUNITY = 6;
|
||||
NEXT_HOP = 7;
|
||||
@@ -986,22 +885,14 @@ message DefinedSet {
|
||||
repeated Prefix prefixes = 4;
|
||||
}
|
||||
|
||||
enum MatchType {
|
||||
ANY = 0;
|
||||
ALL = 1;
|
||||
INVERT = 2;
|
||||
}
|
||||
enum MatchType { ANY = 0; ALL = 1; INVERT = 2; }
|
||||
|
||||
message MatchSet {
|
||||
MatchType match_type = 1;
|
||||
string name = 2;
|
||||
}
|
||||
|
||||
enum AsPathLengthType {
|
||||
EQ = 0;
|
||||
GE = 1;
|
||||
LE = 2;
|
||||
}
|
||||
enum AsPathLengthType { EQ = 0; GE = 1; LE = 2; }
|
||||
|
||||
message AsPathLength {
|
||||
AsPathLengthType length_type = 1;
|
||||
@@ -1017,9 +908,7 @@ message Conditions {
|
||||
MatchSet ext_community_set = 6;
|
||||
int32 rpki_result = 7;
|
||||
enum RouteType {
|
||||
ROUTE_TYPE_NONE = 0;
|
||||
ROUTE_TYPE_INTERNAL = 1;
|
||||
ROUTE_TYPE_EXTERNAL = 2;
|
||||
ROUTE_TYPE_NONE = 0; ROUTE_TYPE_INTERNAL = 1; ROUTE_TYPE_EXTERNAL = 2;
|
||||
ROUTE_TYPE_LOCAL = 3;
|
||||
}
|
||||
RouteType route_type = 8;
|
||||
@@ -1028,16 +917,10 @@ message Conditions {
|
||||
repeated Family afi_safi_in = 11;
|
||||
}
|
||||
|
||||
enum RouteAction {
|
||||
NONE = 0;
|
||||
ACCEPT = 1;
|
||||
REJECT = 2;
|
||||
}
|
||||
enum RouteAction { NONE = 0; ACCEPT = 1; REJECT = 2; }
|
||||
|
||||
enum CommunityActionType {
|
||||
COMMUNITY_ADD = 0;
|
||||
COMMUNITY_REMOVE = 1;
|
||||
COMMUNITY_REPLACE = 2;
|
||||
COMMUNITY_ADD = 0; COMMUNITY_REMOVE = 1; COMMUNITY_REPLACE = 2;
|
||||
}
|
||||
|
||||
message CommunityAction {
|
||||
@@ -1045,10 +928,7 @@ message CommunityAction {
|
||||
repeated string communities = 2;
|
||||
}
|
||||
|
||||
enum MedActionType {
|
||||
MED_MOD = 0;
|
||||
MED_REPLACE = 1;
|
||||
}
|
||||
enum MedActionType { MED_MOD = 0; MED_REPLACE = 1; }
|
||||
|
||||
message MedAction {
|
||||
MedActionType action_type = 1;
|
||||
@@ -1064,11 +944,10 @@ message AsPrependAction {
|
||||
message NexthopAction {
|
||||
string address = 1;
|
||||
bool self = 2;
|
||||
bool unchanged = 3;
|
||||
}
|
||||
|
||||
message LocalPrefAction {
|
||||
uint32 value = 1;
|
||||
}
|
||||
message LocalPrefAction { uint32 value = 1; }
|
||||
|
||||
message Actions {
|
||||
RouteAction route_action = 1;
|
||||
@@ -1092,11 +971,7 @@ message Policy {
|
||||
repeated Statement statements = 2;
|
||||
}
|
||||
|
||||
enum PolicyDirection {
|
||||
UNKNOWN = 0;
|
||||
IMPORT = 1;
|
||||
EXPORT = 2;
|
||||
}
|
||||
enum PolicyDirection { UNKNOWN = 0; IMPORT = 1; EXPORT = 2; }
|
||||
|
||||
message PolicyAssignment {
|
||||
string name = 1;
|
||||
@@ -1155,6 +1030,7 @@ message Global {
|
||||
Confederation confederation = 9;
|
||||
GracefulRestart graceful_restart = 10;
|
||||
ApplyPolicy apply_policy = 11;
|
||||
string bind_to_device = 12;
|
||||
}
|
||||
|
||||
message Confederation {
|
||||
@@ -1171,7 +1047,7 @@ message RPKIConf {
|
||||
message RPKIState {
|
||||
google.protobuf.Timestamp uptime = 1;
|
||||
google.protobuf.Timestamp downtime = 2;
|
||||
bool up = 3;
|
||||
bool up = 3;
|
||||
uint32 record_ipv4 = 4;
|
||||
uint32 record_ipv6 = 5;
|
||||
uint32 prefix_ipv4 = 6;
|
||||
@@ -1192,3 +1068,10 @@ message Rpki {
|
||||
RPKIConf conf = 1;
|
||||
RPKIState state = 2;
|
||||
}
|
||||
|
||||
message SetLogLevelRequest {
|
||||
enum Level {
|
||||
PANIC = 0; FATAL = 1; ERROR = 2; WARN = 3; INFO = 4; DEBUG = 5; TRACE = 6;
|
||||
}
|
||||
Level level = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user