Documentation
¶
Index ¶
- Variables
- type ASPathSegment
- func (*ASPathSegment) Descriptor() ([]byte, []int)
- func (m *ASPathSegment) GetAsSequence() bool
- func (m *ASPathSegment) GetAsns() []uint32
- func (*ASPathSegment) ProtoMessage()
- func (m *ASPathSegment) Reset()
- func (m *ASPathSegment) String() string
- func (m *ASPathSegment) XXX_DiscardUnknown()
- func (m *ASPathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ASPathSegment) XXX_Merge(src proto.Message)
- func (m *ASPathSegment) XXX_Size() int
- func (m *ASPathSegment) XXX_Unmarshal(b []byte) error
- type BGPPath
- func (*BGPPath) Descriptor() ([]byte, []int)
- func (m *BGPPath) GetAsPath() []*ASPathSegment
- func (m *BGPPath) GetBgpIdentifier() uint32
- func (m *BGPPath) GetClusterList() []uint32
- func (m *BGPPath) GetCommunities() []uint32
- func (m *BGPPath) GetEbgp() bool
- func (m *BGPPath) GetLargeCommunities() []*LargeCommunity
- func (m *BGPPath) GetLocalPref() uint32
- func (m *BGPPath) GetMed() uint32
- func (m *BGPPath) GetNextHop() *api.IP
- func (m *BGPPath) GetOrigin() uint32
- func (m *BGPPath) GetOriginatorId() uint32
- func (m *BGPPath) GetPathIdentifier() uint32
- func (m *BGPPath) GetSource() *api.IP
- func (m *BGPPath) GetUnknownAttributes() []*UnknownPathAttribute
- func (*BGPPath) ProtoMessage()
- func (m *BGPPath) Reset()
- func (m *BGPPath) String() string
- func (m *BGPPath) XXX_DiscardUnknown()
- func (m *BGPPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BGPPath) XXX_Merge(src proto.Message)
- func (m *BGPPath) XXX_Size() int
- func (m *BGPPath) XXX_Unmarshal(b []byte) error
- type LargeCommunity
- func (*LargeCommunity) Descriptor() ([]byte, []int)
- func (m *LargeCommunity) GetDataPart1() uint32
- func (m *LargeCommunity) GetDataPart2() uint32
- func (m *LargeCommunity) GetGlobalAdministrator() uint32
- func (*LargeCommunity) ProtoMessage()
- func (m *LargeCommunity) Reset()
- func (m *LargeCommunity) String() string
- func (m *LargeCommunity) XXX_DiscardUnknown()
- func (m *LargeCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LargeCommunity) XXX_Merge(src proto.Message)
- func (m *LargeCommunity) XXX_Size() int
- func (m *LargeCommunity) XXX_Unmarshal(b []byte) error
- type Path
- func (*Path) Descriptor() ([]byte, []int)
- func (m *Path) GetBgpPath() *BGPPath
- func (m *Path) GetStaticPath() *StaticPath
- func (m *Path) GetType() Path_Type
- func (*Path) ProtoMessage()
- func (m *Path) Reset()
- func (m *Path) String() string
- func (m *Path) XXX_DiscardUnknown()
- func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Path) XXX_Merge(src proto.Message)
- func (m *Path) XXX_Size() int
- func (m *Path) XXX_Unmarshal(b []byte) error
- type Path_Type
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetPaths() []*Path
- func (m *Route) GetPfx() *api.Prefix
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type StaticPath
- func (*StaticPath) Descriptor() ([]byte, []int)
- func (m *StaticPath) GetNextHop() *api.IP
- func (*StaticPath) ProtoMessage()
- func (m *StaticPath) Reset()
- func (m *StaticPath) String() string
- func (m *StaticPath) XXX_DiscardUnknown()
- func (m *StaticPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StaticPath) XXX_Merge(src proto.Message)
- func (m *StaticPath) XXX_Size() int
- func (m *StaticPath) XXX_Unmarshal(b []byte) error
- type UnknownPathAttribute
- func (*UnknownPathAttribute) Descriptor() ([]byte, []int)
- func (m *UnknownPathAttribute) GetOptional() bool
- func (m *UnknownPathAttribute) GetPartial() bool
- func (m *UnknownPathAttribute) GetTransitive() bool
- func (m *UnknownPathAttribute) GetTypeCode() uint32
- func (m *UnknownPathAttribute) GetValue() []byte
- func (*UnknownPathAttribute) ProtoMessage()
- func (m *UnknownPathAttribute) Reset()
- func (m *UnknownPathAttribute) String() string
- func (m *UnknownPathAttribute) XXX_DiscardUnknown()
- func (m *UnknownPathAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnknownPathAttribute) XXX_Merge(src proto.Message)
- func (m *UnknownPathAttribute) XXX_Size() int
- func (m *UnknownPathAttribute) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Path_Type_name = map[int32]string{
0: "Static",
1: "BGP",
}
View Source
var Path_Type_value = map[string]int32{
"Static": 0,
"BGP": 1,
}
Functions ¶
This section is empty.
Types ¶
type ASPathSegment ¶
type ASPathSegment struct { AsSequence bool `protobuf:"varint,1,opt,name=as_sequence,json=asSequence,proto3" json:"as_sequence,omitempty"` Asns []uint32 `protobuf:"varint,2,rep,packed,name=asns,proto3" json:"asns,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ASPathSegment) Descriptor ¶
func (*ASPathSegment) Descriptor() ([]byte, []int)
func (*ASPathSegment) GetAsSequence ¶
func (m *ASPathSegment) GetAsSequence() bool
func (*ASPathSegment) GetAsns ¶
func (m *ASPathSegment) GetAsns() []uint32
func (*ASPathSegment) ProtoMessage ¶
func (*ASPathSegment) ProtoMessage()
func (*ASPathSegment) Reset ¶
func (m *ASPathSegment) Reset()
func (*ASPathSegment) String ¶
func (m *ASPathSegment) String() string
func (*ASPathSegment) XXX_DiscardUnknown ¶
func (m *ASPathSegment) XXX_DiscardUnknown()
func (*ASPathSegment) XXX_Marshal ¶
func (m *ASPathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ASPathSegment) XXX_Merge ¶
func (m *ASPathSegment) XXX_Merge(src proto.Message)
func (*ASPathSegment) XXX_Size ¶
func (m *ASPathSegment) XXX_Size() int
func (*ASPathSegment) XXX_Unmarshal ¶
func (m *ASPathSegment) XXX_Unmarshal(b []byte) error
type BGPPath ¶
type BGPPath struct { PathIdentifier uint32 `protobuf:"varint,1,opt,name=path_identifier,json=pathIdentifier,proto3" json:"path_identifier,omitempty"` NextHop *api.IP `protobuf:"bytes,2,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` LocalPref uint32 `protobuf:"varint,3,opt,name=local_pref,json=localPref,proto3" json:"local_pref,omitempty"` AsPath []*ASPathSegment `protobuf:"bytes,4,rep,name=as_path,json=asPath,proto3" json:"as_path,omitempty"` Origin uint32 `protobuf:"varint,5,opt,name=origin,proto3" json:"origin,omitempty"` Med uint32 `protobuf:"varint,6,opt,name=med,proto3" json:"med,omitempty"` Ebgp bool `protobuf:"varint,7,opt,name=ebgp,proto3" json:"ebgp,omitempty"` BgpIdentifier uint32 `protobuf:"varint,8,opt,name=bgp_identifier,json=bgpIdentifier,proto3" json:"bgp_identifier,omitempty"` Source *api.IP `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"` Communities []uint32 `protobuf:"varint,10,rep,packed,name=communities,proto3" json:"communities,omitempty"` LargeCommunities []*LargeCommunity `protobuf:"bytes,11,rep,name=large_communities,json=largeCommunities,proto3" json:"large_communities,omitempty"` OriginatorId uint32 `protobuf:"varint,12,opt,name=originator_id,json=originatorId,proto3" json:"originator_id,omitempty"` ClusterList []uint32 `protobuf:"varint,13,rep,packed,name=cluster_list,json=clusterList,proto3" json:"cluster_list,omitempty"` UnknownAttributes []*UnknownPathAttribute `protobuf:"bytes,14,rep,name=unknown_attributes,json=unknownAttributes,proto3" json:"unknown_attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BGPPath) Descriptor ¶
func (*BGPPath) GetAsPath ¶
func (m *BGPPath) GetAsPath() []*ASPathSegment
func (*BGPPath) GetBgpIdentifier ¶
func (*BGPPath) GetClusterList ¶
func (*BGPPath) GetCommunities ¶
func (*BGPPath) GetLargeCommunities ¶
func (m *BGPPath) GetLargeCommunities() []*LargeCommunity
func (*BGPPath) GetLocalPref ¶
func (*BGPPath) GetNextHop ¶
func (*BGPPath) GetOriginatorId ¶
func (*BGPPath) GetPathIdentifier ¶
func (*BGPPath) GetUnknownAttributes ¶
func (m *BGPPath) GetUnknownAttributes() []*UnknownPathAttribute
func (*BGPPath) ProtoMessage ¶
func (*BGPPath) ProtoMessage()
func (*BGPPath) XXX_DiscardUnknown ¶
func (m *BGPPath) XXX_DiscardUnknown()
func (*BGPPath) XXX_Marshal ¶
func (*BGPPath) XXX_Unmarshal ¶
type LargeCommunity ¶
type LargeCommunity struct { GlobalAdministrator uint32 `protobuf:"varint,1,opt,name=global_administrator,json=globalAdministrator,proto3" json:"global_administrator,omitempty"` DataPart1 uint32 `protobuf:"varint,2,opt,name=data_part1,json=dataPart1,proto3" json:"data_part1,omitempty"` DataPart2 uint32 `protobuf:"varint,3,opt,name=data_part2,json=dataPart2,proto3" json:"data_part2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LargeCommunity) Descriptor ¶
func (*LargeCommunity) Descriptor() ([]byte, []int)
func (*LargeCommunity) GetDataPart1 ¶
func (m *LargeCommunity) GetDataPart1() uint32
func (*LargeCommunity) GetDataPart2 ¶
func (m *LargeCommunity) GetDataPart2() uint32
func (*LargeCommunity) GetGlobalAdministrator ¶
func (m *LargeCommunity) GetGlobalAdministrator() uint32
func (*LargeCommunity) ProtoMessage ¶
func (*LargeCommunity) ProtoMessage()
func (*LargeCommunity) Reset ¶
func (m *LargeCommunity) Reset()
func (*LargeCommunity) String ¶
func (m *LargeCommunity) String() string
func (*LargeCommunity) XXX_DiscardUnknown ¶
func (m *LargeCommunity) XXX_DiscardUnknown()
func (*LargeCommunity) XXX_Marshal ¶
func (m *LargeCommunity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LargeCommunity) XXX_Merge ¶
func (m *LargeCommunity) XXX_Merge(src proto.Message)
func (*LargeCommunity) XXX_Size ¶
func (m *LargeCommunity) XXX_Size() int
func (*LargeCommunity) XXX_Unmarshal ¶
func (m *LargeCommunity) XXX_Unmarshal(b []byte) error
type Path ¶
type Path struct { Type Path_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bio.route.Path_Type" json:"type,omitempty"` StaticPath *StaticPath `protobuf:"bytes,2,opt,name=static_path,json=staticPath,proto3" json:"static_path,omitempty"` BgpPath *BGPPath `protobuf:"bytes,3,opt,name=bgp_path,json=bgpPath,proto3" json:"bgp_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Path) Descriptor ¶
func (*Path) GetBgpPath ¶
func (*Path) GetStaticPath ¶
func (m *Path) GetStaticPath() *StaticPath
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) XXX_DiscardUnknown ¶
func (m *Path) XXX_DiscardUnknown()
func (*Path) XXX_Unmarshal ¶
type Route ¶
type Route struct { Pfx *api.Prefix `protobuf:"bytes,1,opt,name=pfx,proto3" json:"pfx,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 (*Route) Descriptor ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type StaticPath ¶
type StaticPath struct { NextHop *api.IP `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 (*StaticPath) Descriptor ¶
func (*StaticPath) Descriptor() ([]byte, []int)
func (*StaticPath) GetNextHop ¶
func (m *StaticPath) GetNextHop() *api.IP
func (*StaticPath) ProtoMessage ¶
func (*StaticPath) ProtoMessage()
func (*StaticPath) Reset ¶
func (m *StaticPath) Reset()
func (*StaticPath) String ¶
func (m *StaticPath) String() string
func (*StaticPath) XXX_DiscardUnknown ¶
func (m *StaticPath) XXX_DiscardUnknown()
func (*StaticPath) XXX_Marshal ¶
func (m *StaticPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StaticPath) XXX_Merge ¶
func (m *StaticPath) XXX_Merge(src proto.Message)
func (*StaticPath) XXX_Size ¶
func (m *StaticPath) XXX_Size() int
func (*StaticPath) XXX_Unmarshal ¶
func (m *StaticPath) XXX_Unmarshal(b []byte) error
type UnknownPathAttribute ¶
type UnknownPathAttribute struct { Optional bool `protobuf:"varint,1,opt,name=optional,proto3" json:"optional,omitempty"` Transitive bool `protobuf:"varint,2,opt,name=transitive,proto3" json:"transitive,omitempty"` Partial bool `protobuf:"varint,3,opt,name=partial,proto3" json:"partial,omitempty"` TypeCode uint32 `protobuf:"varint,4,opt,name=type_code,json=typeCode,proto3" json:"type_code,omitempty"` Value []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnknownPathAttribute) Descriptor ¶
func (*UnknownPathAttribute) Descriptor() ([]byte, []int)
func (*UnknownPathAttribute) GetOptional ¶
func (m *UnknownPathAttribute) GetOptional() bool
func (*UnknownPathAttribute) GetPartial ¶
func (m *UnknownPathAttribute) GetPartial() bool
func (*UnknownPathAttribute) GetTransitive ¶
func (m *UnknownPathAttribute) GetTransitive() bool
func (*UnknownPathAttribute) GetTypeCode ¶
func (m *UnknownPathAttribute) GetTypeCode() uint32
func (*UnknownPathAttribute) GetValue ¶
func (m *UnknownPathAttribute) GetValue() []byte
func (*UnknownPathAttribute) ProtoMessage ¶
func (*UnknownPathAttribute) ProtoMessage()
func (*UnknownPathAttribute) Reset ¶
func (m *UnknownPathAttribute) Reset()
func (*UnknownPathAttribute) String ¶
func (m *UnknownPathAttribute) String() string
func (*UnknownPathAttribute) XXX_DiscardUnknown ¶
func (m *UnknownPathAttribute) XXX_DiscardUnknown()
func (*UnknownPathAttribute) XXX_Marshal ¶
func (m *UnknownPathAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnknownPathAttribute) XXX_Merge ¶
func (m *UnknownPathAttribute) XXX_Merge(src proto.Message)
func (*UnknownPathAttribute) XXX_Size ¶
func (m *UnknownPathAttribute) XXX_Size() int
func (*UnknownPathAttribute) XXX_Unmarshal ¶
func (m *UnknownPathAttribute) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.