gobgpapi

package
v1.0.0-...-8e6bd4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package gobgpapi is a generated protocol buffer package.

It is generated from these files:

gobgp.proto
attribute.proto
capability.proto

It has these top-level messages:

GetNeighborRequest
GetNeighborResponse
Arguments
AddPathRequest
AddPathResponse
DeletePathRequest
DeletePathResponse
AddNeighborRequest
AddNeighborResponse
DeleteNeighborRequest
DeleteNeighborResponse
UpdateNeighborRequest
UpdateNeighborResponse
AddPeerGroupRequest
AddPeerGroupResponse
DeletePeerGroupRequest
DeletePeerGroupResponse
UpdatePeerGroupRequest
UpdatePeerGroupResponse
AddDynamicNeighborRequest
AddDynamicNeighborResponse
ResetNeighborRequest
ResetNeighborResponse
SoftResetNeighborRequest
SoftResetNeighborResponse
ShutdownNeighborRequest
ShutdownNeighborResponse
EnableNeighborRequest
EnableNeighborResponse
DisableNeighborRequest
DisableNeighborResponse
UpdatePolicyRequest
UpdatePolicyResponse
EnableMrtRequest
EnableMrtResponse
DisableMrtRequest
DisableMrtResponse
InjectMrtRequest
InjectMrtResponse
AddBmpRequest
AddBmpResponse
DeleteBmpRequest
DeleteBmpResponse
MonitorRibRequest
RPKIConf
RPKIState
Rpki
GetRpkiRequest
GetRpkiResponse
AddRpkiRequest
AddRpkiResponse
DeleteRpkiRequest
DeleteRpkiResponse
EnableRpkiRequest
EnableRpkiResponse
DisableRpkiRequest
DisableRpkiResponse
ResetRpkiRequest
ResetRpkiResponse
SoftResetRpkiRequest
SoftResetRpkiResponse
EnableZebraRequest
EnableZebraResponse
GetVrfRequest
GetVrfResponse
AddVrfRequest
AddVrfResponse
DeleteVrfRequest
DeleteVrfResponse
GetDefinedSetRequest
GetDefinedSetResponse
AddDefinedSetRequest
AddDefinedSetResponse
DeleteDefinedSetRequest
DeleteDefinedSetResponse
ReplaceDefinedSetRequest
ReplaceDefinedSetResponse
GetStatementRequest
GetStatementResponse
AddStatementRequest
AddStatementResponse
DeleteStatementRequest
DeleteStatementResponse
ReplaceStatementRequest
ReplaceStatementResponse
GetPolicyRequest
GetPolicyResponse
AddPolicyRequest
AddPolicyResponse
DeletePolicyRequest
DeletePolicyResponse
ReplacePolicyRequest
ReplacePolicyResponse
GetPolicyAssignmentRequest
GetPolicyAssignmentResponse
AddPolicyAssignmentRequest
AddPolicyAssignmentResponse
DeletePolicyAssignmentRequest
DeletePolicyAssignmentResponse
ReplacePolicyAssignmentRequest
ReplacePolicyAssignmentResponse
GetServerRequest
GetServerResponse
StartServerRequest
StartServerResponse
StopServerRequest
StopServerResponse
RPKIValidation
Path
Destination
Table
GetRibRequest
GetRibResponse
TableLookupPrefix
GetPathRequest
ValidateRibRequest
ValidateRibResponse
Peer
PeerGroup
DynamicNeighbor
ApplyPolicy
PrefixLimit
PeerConf
PeerGroupConf
PeerGroupState
EbgpMultihop
RouteReflector
PeerState
Messages
Message
Queues
Timers
TimersConfig
TimersState
Transport
RouteServer
GracefulRestart
MpGracefulRestartConfig
MpGracefulRestartState
MpGracefulRestart
AfiSafiConfig
AfiSafiState
RouteSelectionOptionsConfig
RouteSelectionOptionsState
RouteSelectionOptions
UseMultiplePathsConfig
UseMultiplePathsState
EbgpConfig
EbgpState
Ebgp
IbgpConfig
IbgpState
Ibgp
UseMultiplePaths
RouteTargetMembershipConfig
RouteTargetMembershipState
RouteTargetMembership
LongLivedGracefulRestartConfig
LongLivedGracefulRestartState
LongLivedGracefulRestart
AfiSafi
AddPathsConfig
AddPathsState
AddPaths
Prefix
DefinedSet
MatchSet
AsPathLength
Conditions
CommunityAction
MedAction
AsPrependAction
NexthopAction
LocalPrefAction
Actions
Statement
Policy
PolicyAssignment
RoutingPolicy
Roa
GetRoaRequest
GetRoaResponse
Vrf
DefaultRouteDistance
Global
Confederation
TableInfo
GetRibInfoRequest
GetRibInfoResponse
AddCollectorRequest
AddCollectorResponse
ShutdownRequest
ShutdownResponse
OriginAttribute
AsSegment
AsPathAttribute
NextHopAttribute
MultiExitDiscAttribute
LocalPrefAttribute
AtomicAggregateAttribute
AggregatorAttribute
CommunitiesAttribute
OriginatorIdAttribute
ClusterListAttribute
IPAddressPrefix
LabeledIPAddressPrefix
EncapsulationNLRI
RouteDistinguisherTwoOctetAS
RouteDistinguisherIPAddress
RouteDistinguisherFourOctetAS
EthernetSegmentIdentifier
EVPNEthernetAutoDiscoveryRoute
EVPNMACIPAdvertisementRoute
EVPNInclusiveMulticastEthernetTagRoute
EVPNEthernetSegmentRoute
EVPNIPPrefixRoute
LabeledVPNIPAddressPrefix
RouteTargetMembershipNLRI
FlowSpecIPPrefix
FlowSpecMAC
FlowSpecComponentItem
FlowSpecComponent
FlowSpecNLRI
VPNFlowSpecNLRI
OpaqueNLRI
MpReachNLRIAttribute
MpUnreachNLRIAttribute
TwoOctetAsSpecificExtended
IPv4AddressSpecificExtended
FourOctetAsSpecificExtended
ValidationExtended
ColorExtended
EncapExtended
DefaultGatewayExtended
OpaqueExtended
ESILabelExtended
ESImportRouteTarget
MacMobilityExtended
RouterMacExtended
TrafficRateExtended
TrafficActionExtended
RedirectTwoOctetAsSpecificExtended
RedirectIPv4AddressSpecificExtended
RedirectFourOctetAsSpecificExtended
TrafficRemarkExtended
UnknownExtended
ExtendedCommunitiesAttribute
As4PathAttribute
As4AggregatorAttribute
PmsiTunnelAttribute
TunnelEncapSubTLVEncapsulation
TunnelEncapSubTLVProtocol
TunnelEncapSubTLVColor
TunnelEncapSubTLVUnknown
TunnelEncapTLV
TunnelEncapAttribute
IPv6AddressSpecificExtended
RedirectIPv6AddressSpecificExtended
IP6ExtendedCommunitiesAttribute
AigpTLVIGPMetric
AigpTLVUnknown
AigpAttribute
LargeCommunity
LargeCommunitiesAttribute
UnknownAttribute
MultiProtocolCapability
RouteRefreshCapability
CarryingLabelInfoCapability
ExtendedNexthopCapabilityTuple
ExtendedNexthopCapability
GracefulRestartCapabilityTuple
GracefulRestartCapability
FourOctetASNumberCapability
AddPathCapabilityTuple
AddPathCapability
EnhancedRouteRefreshCapability
LongLivedGracefulRestartCapabilityTuple
LongLivedGracefulRestartCapability
RouteRefreshCiscoCapability
UnknownCapability

Index

Constants

This section is empty.

Variables

View Source
var AddBmpRequest_MonitoringPolicy_name = map[int32]string{
	0: "PRE",
	1: "POST",
	2: "BOTH",
	3: "LOCAL",
	4: "ALL",
}
View Source
var AddBmpRequest_MonitoringPolicy_value = map[string]int32{
	"PRE":   0,
	"POST":  1,
	"BOTH":  2,
	"LOCAL": 3,
	"ALL":   4,
}
View Source
var AddPathMode_name = map[int32]string{
	0: "MODE_NONE",
	1: "MODE_RECEIVE",
	2: "MODE_SEND",
	3: "MODE_BOTH",
}
View Source
var AddPathMode_value = map[string]int32{
	"MODE_NONE":    0,
	"MODE_RECEIVE": 1,
	"MODE_SEND":    2,
	"MODE_BOTH":    3,
}
View Source
var AsPathLengthType_name = map[int32]string{
	0: "EQ",
	1: "GE",
	2: "LE",
}
View Source
var AsPathLengthType_value = map[string]int32{
	"EQ": 0,
	"GE": 1,
	"LE": 2,
}
View Source
var CommunityActionType_name = map[int32]string{
	0: "COMMUNITY_ADD",
	1: "COMMUNITY_REMOVE",
	2: "COMMUNITY_REPLACE",
}
View Source
var CommunityActionType_value = map[string]int32{
	"COMMUNITY_ADD":     0,
	"COMMUNITY_REMOVE":  1,
	"COMMUNITY_REPLACE": 2,
}
View Source
var Conditions_RouteType_name = map[int32]string{
	0: "ROUTE_TYPE_NONE",
	1: "ROUTE_TYPE_INTERNAL",
	2: "ROUTE_TYPE_EXTERNAL",
	3: "ROUTE_TYPE_LOCAL",
}
View Source
var Conditions_RouteType_value = map[string]int32{
	"ROUTE_TYPE_NONE":     0,
	"ROUTE_TYPE_INTERNAL": 1,
	"ROUTE_TYPE_EXTERNAL": 2,
	"ROUTE_TYPE_LOCAL":    3,
}
View Source
var DefinedType_name = map[int32]string{
	0: "PREFIX",
	1: "NEIGHBOR",
	2: "TAG",
	3: "AS_PATH",
	4: "COMMUNITY",
	5: "EXT_COMMUNITY",
	6: "LARGE_COMMUNITY",
	7: "NEXT_HOP",
}
View Source
var DefinedType_value = map[string]int32{
	"PREFIX":          0,
	"NEIGHBOR":        1,
	"TAG":             2,
	"AS_PATH":         3,
	"COMMUNITY":       4,
	"EXT_COMMUNITY":   5,
	"LARGE_COMMUNITY": 6,
	"NEXT_HOP":        7,
}
View Source
var Family_name = map[int32]string{
	0:          "RESERVED",
	65537:      "IPv4",
	131073:     "IPv6",
	65538:      "IPv4_MC",
	131074:     "IPv6_MC",
	65540:      "IPv4_MPLS",
	131076:     "IPv6_MPLS",
	65664:      "IPv4_VPN",
	131200:     "IPv6_VPN",
	65665:      "IPv4_VPN_MC",
	131201:     "IPv6_VPN_MC",
	1638465:    "VPLS",
	1638470:    "EVPN",
	65668:      "RTC",
	65543:      "IPv4_ENCAP",
	131079:     "IPv6_ENCAP",
	65669:      "FLOW_SPEC_IPv4",
	131205:     "FLOW_SPEC_IPv6",
	65670:      "FLOW_SPEC_IPv4_VPN",
	131206:     "FLOW_SPEC_IPv6_VPN",
	1638534:    "FLOW_SPEC_L2_VPN",
	1074594033: "OPAQUE",
}
View Source
var Family_value = map[string]int32{
	"RESERVED":           0,
	"IPv4":               65537,
	"IPv6":               131073,
	"IPv4_MC":            65538,
	"IPv6_MC":            131074,
	"IPv4_MPLS":          65540,
	"IPv6_MPLS":          131076,
	"IPv4_VPN":           65664,
	"IPv6_VPN":           131200,
	"IPv4_VPN_MC":        65665,
	"IPv6_VPN_MC":        131201,
	"VPLS":               1638465,
	"EVPN":               1638470,
	"RTC":                65668,
	"IPv4_ENCAP":         65543,
	"IPv6_ENCAP":         131079,
	"FLOW_SPEC_IPv4":     65669,
	"FLOW_SPEC_IPv6":     131205,
	"FLOW_SPEC_IPv4_VPN": 65670,
	"FLOW_SPEC_IPv6_VPN": 131206,
	"FLOW_SPEC_L2_VPN":   1638534,
	"OPAQUE":             1074594033,
}
View Source
var MatchType_name = map[int32]string{
	0: "ANY",
	1: "ALL",
	2: "INVERT",
}
View Source
var MatchType_value = map[string]int32{
	"ANY":    0,
	"ALL":    1,
	"INVERT": 2,
}
View Source
var MedActionType_name = map[int32]string{
	0: "MED_MOD",
	1: "MED_REPLACE",
}
View Source
var MedActionType_value = map[string]int32{
	"MED_MOD":     0,
	"MED_REPLACE": 1,
}
View Source
var PeerConf_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerConf_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerGroupConf_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerGroupConf_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerGroupState_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerGroupState_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerState_AdminState_name = map[int32]string{
	0: "UP",
	1: "DOWN",
	2: "PFX_CT",
}
View Source
var PeerState_AdminState_value = map[string]int32{
	"UP":     0,
	"DOWN":   1,
	"PFX_CT": 2,
}
View Source
var PolicyType_name = map[int32]string{
	0: "IN",
	1: "IMPORT",
	2: "EXPORT",
}
View Source
var PolicyType_value = map[string]int32{
	"IN":     0,
	"IMPORT": 1,
	"EXPORT": 2,
}
View Source
var RPKIValidation_Reason_name = map[int32]string{
	0: "REASOT_NONE",
	1: "REASON_AS",
	2: "REASON_LENGTH",
}
View Source
var RPKIValidation_Reason_value = map[string]int32{
	"REASOT_NONE":   0,
	"REASON_AS":     1,
	"REASON_LENGTH": 2,
}
View Source
var RPKIValidation_State_name = map[int32]string{
	0: "STATE_NONE",
	1: "STATE_NOT_FOUND",
	2: "STATE_VALID",
	3: "STATE_INVALID",
}
View Source
var RPKIValidation_State_value = map[string]int32{
	"STATE_NONE":      0,
	"STATE_NOT_FOUND": 1,
	"STATE_VALID":     2,
	"STATE_INVALID":   3,
}
View Source
var Resource_name = map[int32]string{
	0: "GLOBAL",
	1: "LOCAL",
	2: "ADJ_IN",
	3: "ADJ_OUT",
	4: "VRF",
}
View Source
var Resource_value = map[string]int32{
	"GLOBAL":  0,
	"LOCAL":   1,
	"ADJ_IN":  2,
	"ADJ_OUT": 3,
	"VRF":     4,
}
View Source
var RouteAction_name = map[int32]string{
	0: "NONE",
	1: "ACCEPT",
	2: "REJECT",
}
View Source
var RouteAction_value = map[string]int32{
	"NONE":   0,
	"ACCEPT": 1,
	"REJECT": 2,
}
View Source
var SoftResetNeighborRequest_SoftResetDirection_name = map[int32]string{
	0: "IN",
	1: "OUT",
	2: "BOTH",
}
View Source
var SoftResetNeighborRequest_SoftResetDirection_value = map[string]int32{
	"IN":   0,
	"OUT":  1,
	"BOTH": 2,
}
View Source
var TableLookupOption_name = map[int32]string{
	0: "LOOKUP_EXACT",
	1: "LOOKUP_LONGER",
	2: "LOOKUP_SHORTER",
}
View Source
var TableLookupOption_value = map[string]int32{
	"LOOKUP_EXACT":   0,
	"LOOKUP_LONGER":  1,
	"LOOKUP_SHORTER": 2,
}

Functions

func MarshalCapabilities

func MarshalCapabilities(values []bgp.ParameterCapabilityInterface) ([]*any.Any, error)

func MarshalCapability

func MarshalCapability(value bgp.ParameterCapabilityInterface) (*any.Any, error)

func MarshalFlowSpecRules

func MarshalFlowSpecRules(values []bgp.FlowSpecComponentInterface) []*any.Any

func MarshalNLRI

func MarshalNLRI(value bgp.AddrPrefixInterface) *any.Any

func MarshalNLRIs

func MarshalNLRIs(values []bgp.AddrPrefixInterface) []*any.Any

func MarshalPathAttributes

func MarshalPathAttributes(attrList []bgp.PathAttributeInterface) []*any.Any

func MarshalRD

func MarshalRD(rd bgp.RouteDistinguisherInterface) *any.Any

func MarshalRT

func MarshalRT(rt bgp.ExtendedCommunityInterface) *any.Any

func MarshalRTs

func MarshalRTs(values []bgp.ExtendedCommunityInterface) []*any.Any

func NewAfiSafiInConditionFromApiStruct

func NewAfiSafiInConditionFromApiStruct(a []Family) (*table.AfiSafiInCondition, error)

func NewAsPathConditionFromApiStruct

func NewAsPathConditionFromApiStruct(a *MatchSet) (*table.AsPathCondition, error)

func NewAsPathLengthConditionFromApiStruct

func NewAsPathLengthConditionFromApiStruct(a *AsPathLength) (*table.AsPathLengthCondition, error)

func NewAsPathPrependActionFromApiStruct

func NewAsPathPrependActionFromApiStruct(a *AsPrependAction) (*table.AsPathPrependAction, error)

func NewCommunityActionFromApiStruct

func NewCommunityActionFromApiStruct(a *CommunityAction) (*table.CommunityAction, error)

func NewCommunityConditionFromApiStruct

func NewCommunityConditionFromApiStruct(a *MatchSet) (*table.CommunityCondition, error)

func NewConfigDefinedSetsFromApiStruct

func NewConfigDefinedSetsFromApiStruct(a []*DefinedSet) (*config.DefinedSets, error)

func NewConfigPolicyFromApiStruct

func NewConfigPolicyFromApiStruct(a *Policy) (*config.PolicyDefinition, error)

func NewConfigPrefixFromAPIStruct

func NewConfigPrefixFromAPIStruct(a *Prefix) (*config.Prefix, error)

func NewDefinedSetFromApiStruct

func NewDefinedSetFromApiStruct(a *DefinedSet) (table.DefinedSet, error)

func NewExtCommunityActionFromApiStruct

func NewExtCommunityActionFromApiStruct(a *CommunityAction) (*table.ExtCommunityAction, error)

func NewExtCommunityConditionFromApiStruct

func NewExtCommunityConditionFromApiStruct(a *MatchSet) (*table.ExtCommunityCondition, error)

func NewGlobalFromAPIStruct

func NewGlobalFromAPIStruct(a *Global) *config.Global

func NewLargeCommunityActionFromApiStruct

func NewLargeCommunityActionFromApiStruct(a *CommunityAction) (*table.LargeCommunityAction, error)

func NewLargeCommunityConditionFromApiStruct

func NewLargeCommunityConditionFromApiStruct(a *MatchSet) (*table.LargeCommunityCondition, error)

func NewLocalPrefActionFromApiStruct

func NewLocalPrefActionFromApiStruct(a *LocalPrefAction) (*table.LocalPrefAction, error)

func NewMedActionFromApiStruct

func NewMedActionFromApiStruct(a *MedAction) (*table.MedAction, error)

func NewNeighborConditionFromApiStruct

func NewNeighborConditionFromApiStruct(a *MatchSet) (*table.NeighborCondition, error)

func NewNeighborFromAPIStruct

func NewNeighborFromAPIStruct(a *Peer) (*config.Neighbor, error)

func NewNextHopConditionFromApiStruct

func NewNextHopConditionFromApiStruct(a []string) (*table.NextHopCondition, error)

func NewNexthopActionFromApiStruct

func NewNexthopActionFromApiStruct(a *NexthopAction) (*table.NexthopAction, error)

func NewPeerGroupFromAPIStruct

func NewPeerGroupFromAPIStruct(a *PeerGroup) (*config.PeerGroup, error)

func NewPolicyFromApiStruct

func NewPolicyFromApiStruct(a *Policy) (*table.Policy, error)

func NewPrefixConditionFromApiStruct

func NewPrefixConditionFromApiStruct(a *MatchSet) (*table.PrefixCondition, error)

func NewPrefixFromApiStruct

func NewPrefixFromApiStruct(a *Prefix) (*table.Prefix, error)

func NewROAListFromApiStructList

func NewROAListFromApiStructList(l []*Roa) ([]*table.ROA, error)

func NewRouteTypeConditionFromApiStruct

func NewRouteTypeConditionFromApiStruct(a Conditions_RouteType) (*table.RouteTypeCondition, error)

func NewRoutingActionFromApiStruct

func NewRoutingActionFromApiStruct(a RouteAction) (*table.RoutingAction, error)

func NewRoutingPolicyFromApiStruct

func NewRoutingPolicyFromApiStruct(arg *UpdatePolicyRequest) (*config.RoutingPolicy, error)

func NewRpkiValidationConditionFromApiStruct

func NewRpkiValidationConditionFromApiStruct(a int32) (*table.RpkiValidationCondition, error)

func NewStatementFromApiStruct

func NewStatementFromApiStruct(a *Statement) (*table.Statement, error)

func ReadAddPathsFromAPIStruct

func ReadAddPathsFromAPIStruct(c *config.AddPaths, a *AddPaths)

func ReadAfiSafiConfigFromAPIStruct

func ReadAfiSafiConfigFromAPIStruct(c *config.AfiSafiConfig, a *AfiSafiConfig)

func ReadAfiSafiStateFromAPIStruct

func ReadAfiSafiStateFromAPIStruct(s *config.AfiSafiState, a *AfiSafiConfig)

func ReadApplyPolicyFromAPIStruct

func ReadApplyPolicyFromAPIStruct(c *config.ApplyPolicy, a *ApplyPolicy)

func ReadLongLivedGracefulRestartFromAPIStruct

func ReadLongLivedGracefulRestartFromAPIStruct(c *config.LongLivedGracefulRestart, a *LongLivedGracefulRestart)

func ReadMpGracefulRestartFromAPIStruct

func ReadMpGracefulRestartFromAPIStruct(c *config.MpGracefulRestart, a *MpGracefulRestart)

func ReadPrefixLimitFromAPIStruct

func ReadPrefixLimitFromAPIStruct(c *config.PrefixLimit, a *PrefixLimit)

func ReadRouteSelectionOptionsFromAPIStruct

func ReadRouteSelectionOptionsFromAPIStruct(c *config.RouteSelectionOptions, a *RouteSelectionOptions)

func ReadRouteTargetMembershipFromAPIStruct

func ReadRouteTargetMembershipFromAPIStruct(c *config.RouteTargetMembership, a *RouteTargetMembership)

func ReadUseMultiplePathsFromAPIStruct

func ReadUseMultiplePathsFromAPIStruct(c *config.UseMultiplePaths, a *UseMultiplePaths)

func RegisterGobgpApiServer

func RegisterGobgpApiServer(s *grpc.Server, srv GobgpApiServer)

func UnmarshalCapabilities

func UnmarshalCapabilities(values []*any.Any) ([]bgp.ParameterCapabilityInterface, error)

func UnmarshalCapability

func UnmarshalCapability(a *any.Any) (bgp.ParameterCapabilityInterface, error)

func UnmarshalFlowSpecRules

func UnmarshalFlowSpecRules(values []*any.Any) ([]bgp.FlowSpecComponentInterface, error)

func UnmarshalNLRI

func UnmarshalNLRI(rf bgp.RouteFamily, an *any.Any) (bgp.AddrPrefixInterface, error)

func UnmarshalNLRIs

func UnmarshalNLRIs(rf bgp.RouteFamily, values []*any.Any) ([]bgp.AddrPrefixInterface, error)

func UnmarshalPathAttributes

func UnmarshalPathAttributes(values []*any.Any) ([]bgp.PathAttributeInterface, error)

func UnmarshalRD

func UnmarshalRD(a *any.Any) (bgp.RouteDistinguisherInterface, error)

func UnmarshalRT

func UnmarshalRT(a *any.Any) (bgp.ExtendedCommunityInterface, error)

func UnmarshalRTs

func UnmarshalRTs(values []*any.Any) ([]bgp.ExtendedCommunityInterface, error)

Types

type Actions

type Actions struct {
	RouteAction    RouteAction      `protobuf:"varint,1,opt,name=route_action,json=routeAction,enum=gobgpapi.RouteAction" json:"route_action,omitempty"`
	Community      *CommunityAction `protobuf:"bytes,2,opt,name=community" json:"community,omitempty"`
	Med            *MedAction       `protobuf:"bytes,3,opt,name=med" json:"med,omitempty"`
	AsPrepend      *AsPrependAction `protobuf:"bytes,4,opt,name=as_prepend,json=asPrepend" json:"as_prepend,omitempty"`
	ExtCommunity   *CommunityAction `protobuf:"bytes,5,opt,name=ext_community,json=extCommunity" json:"ext_community,omitempty"`
	Nexthop        *NexthopAction   `protobuf:"bytes,6,opt,name=nexthop" json:"nexthop,omitempty"`
	LocalPref      *LocalPrefAction `protobuf:"bytes,7,opt,name=local_pref,json=localPref" json:"local_pref,omitempty"`
	LargeCommunity *CommunityAction `protobuf:"bytes,8,opt,name=large_community,json=largeCommunity" json:"large_community,omitempty"`
}

func (*Actions) Descriptor

func (*Actions) Descriptor() ([]byte, []int)

func (*Actions) GetAsPrepend

func (m *Actions) GetAsPrepend() *AsPrependAction

func (*Actions) GetCommunity

func (m *Actions) GetCommunity() *CommunityAction

func (*Actions) GetExtCommunity

func (m *Actions) GetExtCommunity() *CommunityAction

func (*Actions) GetLargeCommunity

func (m *Actions) GetLargeCommunity() *CommunityAction

func (*Actions) GetLocalPref

func (m *Actions) GetLocalPref() *LocalPrefAction

func (*Actions) GetMed

func (m *Actions) GetMed() *MedAction

func (*Actions) GetNexthop

func (m *Actions) GetNexthop() *NexthopAction

func (*Actions) GetRouteAction

func (m *Actions) GetRouteAction() RouteAction

func (*Actions) ProtoMessage

func (*Actions) ProtoMessage()

func (*Actions) Reset

func (m *Actions) Reset()

func (*Actions) String

func (m *Actions) String() string

type AddBmpRequest

type AddBmpRequest struct {
	Address string                         `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Port    uint32                         `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	Type    AddBmpRequest_MonitoringPolicy `protobuf:"varint,3,opt,name=type,enum=gobgpapi.AddBmpRequest_MonitoringPolicy" json:"type,omitempty"`
}

func (*AddBmpRequest) Descriptor

func (*AddBmpRequest) Descriptor() ([]byte, []int)

func (*AddBmpRequest) GetAddress

func (m *AddBmpRequest) GetAddress() string

func (*AddBmpRequest) GetPort

func (m *AddBmpRequest) GetPort() uint32

func (*AddBmpRequest) GetType

func (*AddBmpRequest) ProtoMessage

func (*AddBmpRequest) ProtoMessage()

func (*AddBmpRequest) Reset

func (m *AddBmpRequest) Reset()

func (*AddBmpRequest) String

func (m *AddBmpRequest) String() string

type AddBmpRequest_MonitoringPolicy

type AddBmpRequest_MonitoringPolicy int32
const (
	AddBmpRequest_PRE   AddBmpRequest_MonitoringPolicy = 0
	AddBmpRequest_POST  AddBmpRequest_MonitoringPolicy = 1
	AddBmpRequest_BOTH  AddBmpRequest_MonitoringPolicy = 2
	AddBmpRequest_LOCAL AddBmpRequest_MonitoringPolicy = 3
	AddBmpRequest_ALL   AddBmpRequest_MonitoringPolicy = 4
)

func (AddBmpRequest_MonitoringPolicy) EnumDescriptor

func (AddBmpRequest_MonitoringPolicy) EnumDescriptor() ([]byte, []int)

func (AddBmpRequest_MonitoringPolicy) String

type AddBmpResponse

type AddBmpResponse struct {
}

func (*AddBmpResponse) Descriptor

func (*AddBmpResponse) Descriptor() ([]byte, []int)

func (*AddBmpResponse) ProtoMessage

func (*AddBmpResponse) ProtoMessage()

func (*AddBmpResponse) Reset

func (m *AddBmpResponse) Reset()

func (*AddBmpResponse) String

func (m *AddBmpResponse) String() string

type AddCollectorRequest

type AddCollectorRequest struct {
	Url               string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	DbName            string `protobuf:"bytes,2,opt,name=db_name,json=dbName" json:"db_name,omitempty"`
	TableDumpInterval uint64 `protobuf:"varint,3,opt,name=table_dump_interval,json=tableDumpInterval" json:"table_dump_interval,omitempty"`
}

func (*AddCollectorRequest) Descriptor

func (*AddCollectorRequest) Descriptor() ([]byte, []int)

func (*AddCollectorRequest) GetDbName

func (m *AddCollectorRequest) GetDbName() string

func (*AddCollectorRequest) GetTableDumpInterval

func (m *AddCollectorRequest) GetTableDumpInterval() uint64

func (*AddCollectorRequest) GetUrl

func (m *AddCollectorRequest) GetUrl() string

func (*AddCollectorRequest) ProtoMessage

func (*AddCollectorRequest) ProtoMessage()

func (*AddCollectorRequest) Reset

func (m *AddCollectorRequest) Reset()

func (*AddCollectorRequest) String

func (m *AddCollectorRequest) String() string

type AddCollectorResponse

type AddCollectorResponse struct {
}

func (*AddCollectorResponse) Descriptor

func (*AddCollectorResponse) Descriptor() ([]byte, []int)

func (*AddCollectorResponse) ProtoMessage

func (*AddCollectorResponse) ProtoMessage()

func (*AddCollectorResponse) Reset

func (m *AddCollectorResponse) Reset()

func (*AddCollectorResponse) String

func (m *AddCollectorResponse) String() string

type AddDefinedSetRequest

type AddDefinedSetRequest struct {
	Set *DefinedSet `protobuf:"bytes,1,opt,name=set" json:"set,omitempty"`
}

func (*AddDefinedSetRequest) Descriptor

func (*AddDefinedSetRequest) Descriptor() ([]byte, []int)

func (*AddDefinedSetRequest) GetSet

func (m *AddDefinedSetRequest) GetSet() *DefinedSet

func (*AddDefinedSetRequest) ProtoMessage

func (*AddDefinedSetRequest) ProtoMessage()

func (*AddDefinedSetRequest) Reset

func (m *AddDefinedSetRequest) Reset()

func (*AddDefinedSetRequest) String

func (m *AddDefinedSetRequest) String() string

type AddDefinedSetResponse

type AddDefinedSetResponse struct {
}

func (*AddDefinedSetResponse) Descriptor

func (*AddDefinedSetResponse) Descriptor() ([]byte, []int)

func (*AddDefinedSetResponse) ProtoMessage

func (*AddDefinedSetResponse) ProtoMessage()

func (*AddDefinedSetResponse) Reset

func (m *AddDefinedSetResponse) Reset()

func (*AddDefinedSetResponse) String

func (m *AddDefinedSetResponse) String() string

type AddDynamicNeighborRequest

type AddDynamicNeighborRequest struct {
	DynamicNeighbor *DynamicNeighbor `protobuf:"bytes,1,opt,name=dynamic_neighbor,json=dynamicNeighbor" json:"dynamic_neighbor,omitempty"`
}

func (*AddDynamicNeighborRequest) Descriptor

func (*AddDynamicNeighborRequest) Descriptor() ([]byte, []int)

func (*AddDynamicNeighborRequest) GetDynamicNeighbor

func (m *AddDynamicNeighborRequest) GetDynamicNeighbor() *DynamicNeighbor

func (*AddDynamicNeighborRequest) ProtoMessage

func (*AddDynamicNeighborRequest) ProtoMessage()

func (*AddDynamicNeighborRequest) Reset

func (m *AddDynamicNeighborRequest) Reset()

func (*AddDynamicNeighborRequest) String

func (m *AddDynamicNeighborRequest) String() string

type AddDynamicNeighborResponse

type AddDynamicNeighborResponse struct {
}

func (*AddDynamicNeighborResponse) Descriptor

func (*AddDynamicNeighborResponse) Descriptor() ([]byte, []int)

func (*AddDynamicNeighborResponse) ProtoMessage

func (*AddDynamicNeighborResponse) ProtoMessage()

func (*AddDynamicNeighborResponse) Reset

func (m *AddDynamicNeighborResponse) Reset()

func (*AddDynamicNeighborResponse) String

func (m *AddDynamicNeighborResponse) String() string

type AddNeighborRequest

type AddNeighborRequest struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

func (*AddNeighborRequest) Descriptor

func (*AddNeighborRequest) Descriptor() ([]byte, []int)

func (*AddNeighborRequest) GetPeer

func (m *AddNeighborRequest) GetPeer() *Peer

func (*AddNeighborRequest) ProtoMessage

func (*AddNeighborRequest) ProtoMessage()

func (*AddNeighborRequest) Reset

func (m *AddNeighborRequest) Reset()

func (*AddNeighborRequest) String

func (m *AddNeighborRequest) String() string

type AddNeighborResponse

type AddNeighborResponse struct {
}

func (*AddNeighborResponse) Descriptor

func (*AddNeighborResponse) Descriptor() ([]byte, []int)

func (*AddNeighborResponse) ProtoMessage

func (*AddNeighborResponse) ProtoMessage()

func (*AddNeighborResponse) Reset

func (m *AddNeighborResponse) Reset()

func (*AddNeighborResponse) String

func (m *AddNeighborResponse) String() string

type AddPathCapability

type AddPathCapability struct {
	Tuples []*AddPathCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"`
}

func NewAddPathCapability

func NewAddPathCapability(a *bgp.CapAddPath) *AddPathCapability

func (*AddPathCapability) Descriptor

func (*AddPathCapability) Descriptor() ([]byte, []int)

func (*AddPathCapability) GetTuples

func (m *AddPathCapability) GetTuples() []*AddPathCapabilityTuple

func (*AddPathCapability) ProtoMessage

func (*AddPathCapability) ProtoMessage()

func (*AddPathCapability) Reset

func (m *AddPathCapability) Reset()

func (*AddPathCapability) String

func (m *AddPathCapability) String() string

func (*AddPathCapability) ToNative

func (a *AddPathCapability) ToNative() (*bgp.CapAddPath, error)

type AddPathCapabilityTuple

type AddPathCapabilityTuple struct {
	Family Family      `protobuf:"varint,1,opt,name=family,enum=gobgpapi.Family" json:"family,omitempty"`
	Mode   AddPathMode `protobuf:"varint,2,opt,name=mode,enum=gobgpapi.AddPathMode" json:"mode,omitempty"`
}

func (*AddPathCapabilityTuple) Descriptor

func (*AddPathCapabilityTuple) Descriptor() ([]byte, []int)

func (*AddPathCapabilityTuple) GetFamily

func (m *AddPathCapabilityTuple) GetFamily() Family

func (*AddPathCapabilityTuple) GetMode

func (m *AddPathCapabilityTuple) GetMode() AddPathMode

func (*AddPathCapabilityTuple) ProtoMessage

func (*AddPathCapabilityTuple) ProtoMessage()

func (*AddPathCapabilityTuple) Reset

func (m *AddPathCapabilityTuple) Reset()

func (*AddPathCapabilityTuple) String

func (m *AddPathCapabilityTuple) String() string

type AddPathMode

type AddPathMode int32
const (
	AddPathMode_MODE_NONE    AddPathMode = 0
	AddPathMode_MODE_RECEIVE AddPathMode = 1
	AddPathMode_MODE_SEND    AddPathMode = 2
	AddPathMode_MODE_BOTH    AddPathMode = 3
)

func (AddPathMode) EnumDescriptor

func (AddPathMode) EnumDescriptor() ([]byte, []int)

func (AddPathMode) String

func (x AddPathMode) String() string

type AddPathRequest

type AddPathRequest struct {
	Resource Resource `protobuf:"varint,1,opt,name=resource,enum=gobgpapi.Resource" json:"resource,omitempty"`
	VrfId    string   `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"`
	Path     *Path    `protobuf:"bytes,3,opt,name=path" json:"path,omitempty"`
}

func (*AddPathRequest) Descriptor

func (*AddPathRequest) Descriptor() ([]byte, []int)

func (*AddPathRequest) GetPath

func (m *AddPathRequest) GetPath() *Path

func (*AddPathRequest) GetResource

func (m *AddPathRequest) GetResource() Resource

func (*AddPathRequest) GetVrfId

func (m *AddPathRequest) GetVrfId() string

func (*AddPathRequest) ProtoMessage

func (*AddPathRequest) ProtoMessage()

func (*AddPathRequest) Reset

func (m *AddPathRequest) Reset()

func (*AddPathRequest) String

func (m *AddPathRequest) String() string

type AddPathResponse

type AddPathResponse struct {
	Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (*AddPathResponse) Descriptor

func (*AddPathResponse) Descriptor() ([]byte, []int)

func (*AddPathResponse) GetUuid

func (m *AddPathResponse) GetUuid() []byte

func (*AddPathResponse) ProtoMessage

func (*AddPathResponse) ProtoMessage()

func (*AddPathResponse) Reset

func (m *AddPathResponse) Reset()

func (*AddPathResponse) String

func (m *AddPathResponse) String() string

type AddPaths

type AddPaths struct {
	Config *AddPathsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *AddPathsState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func NewAddPathsFromConfigStruct

func NewAddPathsFromConfigStruct(c *config.AddPaths) *AddPaths

func (*AddPaths) Descriptor

func (*AddPaths) Descriptor() ([]byte, []int)

func (*AddPaths) GetConfig

func (m *AddPaths) GetConfig() *AddPathsConfig

func (*AddPaths) GetState

func (m *AddPaths) GetState() *AddPathsState

func (*AddPaths) ProtoMessage

func (*AddPaths) ProtoMessage()

func (*AddPaths) Reset

func (m *AddPaths) Reset()

func (*AddPaths) String

func (m *AddPaths) String() string

type AddPathsConfig

type AddPathsConfig struct {
	Receive bool   `protobuf:"varint,1,opt,name=receive" json:"receive,omitempty"`
	SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax" json:"send_max,omitempty"`
}

func (*AddPathsConfig) Descriptor

func (*AddPathsConfig) Descriptor() ([]byte, []int)

func (*AddPathsConfig) GetReceive

func (m *AddPathsConfig) GetReceive() bool

func (*AddPathsConfig) GetSendMax

func (m *AddPathsConfig) GetSendMax() uint32

func (*AddPathsConfig) ProtoMessage

func (*AddPathsConfig) ProtoMessage()

func (*AddPathsConfig) Reset

func (m *AddPathsConfig) Reset()

func (*AddPathsConfig) String

func (m *AddPathsConfig) String() string

type AddPathsState

type AddPathsState struct {
	Receive bool   `protobuf:"varint,1,opt,name=receive" json:"receive,omitempty"`
	SendMax uint32 `protobuf:"varint,2,opt,name=send_max,json=sendMax" json:"send_max,omitempty"`
}

func (*AddPathsState) Descriptor

func (*AddPathsState) Descriptor() ([]byte, []int)

func (*AddPathsState) GetReceive

func (m *AddPathsState) GetReceive() bool

func (*AddPathsState) GetSendMax

func (m *AddPathsState) GetSendMax() uint32

func (*AddPathsState) ProtoMessage

func (*AddPathsState) ProtoMessage()

func (*AddPathsState) Reset

func (m *AddPathsState) Reset()

func (*AddPathsState) String

func (m *AddPathsState) String() string

type AddPeerGroupRequest

type AddPeerGroupRequest struct {
	PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
}

func (*AddPeerGroupRequest) Descriptor

func (*AddPeerGroupRequest) Descriptor() ([]byte, []int)

func (*AddPeerGroupRequest) GetPeerGroup

func (m *AddPeerGroupRequest) GetPeerGroup() *PeerGroup

func (*AddPeerGroupRequest) ProtoMessage

func (*AddPeerGroupRequest) ProtoMessage()

func (*AddPeerGroupRequest) Reset

func (m *AddPeerGroupRequest) Reset()

func (*AddPeerGroupRequest) String

func (m *AddPeerGroupRequest) String() string

type AddPeerGroupResponse

type AddPeerGroupResponse struct {
}

func (*AddPeerGroupResponse) Descriptor

func (*AddPeerGroupResponse) Descriptor() ([]byte, []int)

func (*AddPeerGroupResponse) ProtoMessage

func (*AddPeerGroupResponse) ProtoMessage()

func (*AddPeerGroupResponse) Reset

func (m *AddPeerGroupResponse) Reset()

func (*AddPeerGroupResponse) String

func (m *AddPeerGroupResponse) String() string

type AddPolicyAssignmentRequest

type AddPolicyAssignmentRequest struct {
	Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"`
}

func (*AddPolicyAssignmentRequest) Descriptor

func (*AddPolicyAssignmentRequest) Descriptor() ([]byte, []int)

func (*AddPolicyAssignmentRequest) GetAssignment

func (m *AddPolicyAssignmentRequest) GetAssignment() *PolicyAssignment

func (*AddPolicyAssignmentRequest) ProtoMessage

func (*AddPolicyAssignmentRequest) ProtoMessage()

func (*AddPolicyAssignmentRequest) Reset

func (m *AddPolicyAssignmentRequest) Reset()

func (*AddPolicyAssignmentRequest) String

func (m *AddPolicyAssignmentRequest) String() string

type AddPolicyAssignmentResponse

type AddPolicyAssignmentResponse struct {
}

func (*AddPolicyAssignmentResponse) Descriptor

func (*AddPolicyAssignmentResponse) Descriptor() ([]byte, []int)

func (*AddPolicyAssignmentResponse) ProtoMessage

func (*AddPolicyAssignmentResponse) ProtoMessage()

func (*AddPolicyAssignmentResponse) Reset

func (m *AddPolicyAssignmentResponse) Reset()

func (*AddPolicyAssignmentResponse) String

func (m *AddPolicyAssignmentResponse) String() string

type AddPolicyRequest

type AddPolicyRequest struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	// if this flag is set, gobgpd won't define new statements
	// but refer existing statements using statement's names in this arguments.
	ReferExistingStatements bool `` /* 126-byte string literal not displayed */
}

func (*AddPolicyRequest) Descriptor

func (*AddPolicyRequest) Descriptor() ([]byte, []int)

func (*AddPolicyRequest) GetPolicy

func (m *AddPolicyRequest) GetPolicy() *Policy

func (*AddPolicyRequest) GetReferExistingStatements

func (m *AddPolicyRequest) GetReferExistingStatements() bool

func (*AddPolicyRequest) ProtoMessage

func (*AddPolicyRequest) ProtoMessage()

func (*AddPolicyRequest) Reset

func (m *AddPolicyRequest) Reset()

func (*AddPolicyRequest) String

func (m *AddPolicyRequest) String() string

type AddPolicyResponse

type AddPolicyResponse struct {
}

func (*AddPolicyResponse) Descriptor

func (*AddPolicyResponse) Descriptor() ([]byte, []int)

func (*AddPolicyResponse) ProtoMessage

func (*AddPolicyResponse) ProtoMessage()

func (*AddPolicyResponse) Reset

func (m *AddPolicyResponse) Reset()

func (*AddPolicyResponse) String

func (m *AddPolicyResponse) String() string

type AddRpkiRequest

type AddRpkiRequest struct {
	Address  string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Port     uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	Lifetime int64  `protobuf:"varint,3,opt,name=lifetime" json:"lifetime,omitempty"`
}

func (*AddRpkiRequest) Descriptor

func (*AddRpkiRequest) Descriptor() ([]byte, []int)

func (*AddRpkiRequest) GetAddress

func (m *AddRpkiRequest) GetAddress() string

func (*AddRpkiRequest) GetLifetime

func (m *AddRpkiRequest) GetLifetime() int64

func (*AddRpkiRequest) GetPort

func (m *AddRpkiRequest) GetPort() uint32

func (*AddRpkiRequest) ProtoMessage

func (*AddRpkiRequest) ProtoMessage()

func (*AddRpkiRequest) Reset

func (m *AddRpkiRequest) Reset()

func (*AddRpkiRequest) String

func (m *AddRpkiRequest) String() string

type AddRpkiResponse

type AddRpkiResponse struct {
}

func (*AddRpkiResponse) Descriptor

func (*AddRpkiResponse) Descriptor() ([]byte, []int)

func (*AddRpkiResponse) ProtoMessage

func (*AddRpkiResponse) ProtoMessage()

func (*AddRpkiResponse) Reset

func (m *AddRpkiResponse) Reset()

func (*AddRpkiResponse) String

func (m *AddRpkiResponse) String() string

type AddStatementRequest

type AddStatementRequest struct {
	Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"`
}

func (*AddStatementRequest) Descriptor

func (*AddStatementRequest) Descriptor() ([]byte, []int)

func (*AddStatementRequest) GetStatement

func (m *AddStatementRequest) GetStatement() *Statement

func (*AddStatementRequest) ProtoMessage

func (*AddStatementRequest) ProtoMessage()

func (*AddStatementRequest) Reset

func (m *AddStatementRequest) Reset()

func (*AddStatementRequest) String

func (m *AddStatementRequest) String() string

type AddStatementResponse

type AddStatementResponse struct {
}

func (*AddStatementResponse) Descriptor

func (*AddStatementResponse) Descriptor() ([]byte, []int)

func (*AddStatementResponse) ProtoMessage

func (*AddStatementResponse) ProtoMessage()

func (*AddStatementResponse) Reset

func (m *AddStatementResponse) Reset()

func (*AddStatementResponse) String

func (m *AddStatementResponse) String() string

type AddVrfRequest

type AddVrfRequest struct {
	Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf" json:"vrf,omitempty"`
}

func (*AddVrfRequest) Descriptor

func (*AddVrfRequest) Descriptor() ([]byte, []int)

func (*AddVrfRequest) GetVrf

func (m *AddVrfRequest) GetVrf() *Vrf

func (*AddVrfRequest) ProtoMessage

func (*AddVrfRequest) ProtoMessage()

func (*AddVrfRequest) Reset

func (m *AddVrfRequest) Reset()

func (*AddVrfRequest) String

func (m *AddVrfRequest) String() string

type AddVrfResponse

type AddVrfResponse struct {
}

func (*AddVrfResponse) Descriptor

func (*AddVrfResponse) Descriptor() ([]byte, []int)

func (*AddVrfResponse) ProtoMessage

func (*AddVrfResponse) ProtoMessage()

func (*AddVrfResponse) Reset

func (m *AddVrfResponse) Reset()

func (*AddVrfResponse) String

func (m *AddVrfResponse) String() string

type AfiSafi

type AfiSafi struct {
	MpGracefulRestart *MpGracefulRestart `protobuf:"bytes,1,opt,name=mp_graceful_restart,json=mpGracefulRestart" json:"mp_graceful_restart,omitempty"`
	Config            *AfiSafiConfig     `protobuf:"bytes,2,opt,name=config" json:"config,omitempty"`
	ApplyPolicy       *ApplyPolicy       `protobuf:"bytes,3,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"`
	// TODO:
	// Support the following structures:
	// - Ipv4Unicast
	// - Ipv6Unicast
	// - Ipv4LabelledUnicast
	// - Ipv6LabelledUnicast
	// - L3vpnIpv4Unicast
	// - L3vpnIpv6Unicast
	// - L3vpnIpv4Multicast
	// - L3vpnIpv6Multicast
	// - L2vpnVpls
	// - L2vpnEvpn
	RouteSelectionOptions    *RouteSelectionOptions    `protobuf:"bytes,4,opt,name=route_selection_options,json=routeSelectionOptions" json:"route_selection_options,omitempty"`
	UseMultiplePaths         *UseMultiplePaths         `protobuf:"bytes,5,opt,name=use_multiple_paths,json=useMultiplePaths" json:"use_multiple_paths,omitempty"`
	PrefixLimits             *PrefixLimit              `protobuf:"bytes,6,opt,name=prefix_limits,json=prefixLimits" json:"prefix_limits,omitempty"`
	RouteTargetMembership    *RouteTargetMembership    `protobuf:"bytes,7,opt,name=route_target_membership,json=routeTargetMembership" json:"route_target_membership,omitempty"`
	LongLivedGracefulRestart *LongLivedGracefulRestart `` /* 130-byte string literal not displayed */
	AddPaths                 *AddPaths                 `protobuf:"bytes,9,opt,name=add_paths,json=addPaths" json:"add_paths,omitempty"`
}

func NewAfiSafiFromConfigStruct

func NewAfiSafiFromConfigStruct(c *config.AfiSafi) *AfiSafi

func (*AfiSafi) Descriptor

func (*AfiSafi) Descriptor() ([]byte, []int)

func (*AfiSafi) GetAddPaths

func (m *AfiSafi) GetAddPaths() *AddPaths

func (*AfiSafi) GetApplyPolicy

func (m *AfiSafi) GetApplyPolicy() *ApplyPolicy

func (*AfiSafi) GetConfig

func (m *AfiSafi) GetConfig() *AfiSafiConfig

func (*AfiSafi) GetLongLivedGracefulRestart

func (m *AfiSafi) GetLongLivedGracefulRestart() *LongLivedGracefulRestart

func (*AfiSafi) GetMpGracefulRestart

func (m *AfiSafi) GetMpGracefulRestart() *MpGracefulRestart

func (*AfiSafi) GetPrefixLimits

func (m *AfiSafi) GetPrefixLimits() *PrefixLimit

func (*AfiSafi) GetRouteSelectionOptions

func (m *AfiSafi) GetRouteSelectionOptions() *RouteSelectionOptions

func (*AfiSafi) GetRouteTargetMembership

func (m *AfiSafi) GetRouteTargetMembership() *RouteTargetMembership

func (*AfiSafi) GetUseMultiplePaths

func (m *AfiSafi) GetUseMultiplePaths() *UseMultiplePaths

func (*AfiSafi) ProtoMessage

func (*AfiSafi) ProtoMessage()

func (*AfiSafi) Reset

func (m *AfiSafi) Reset()

func (*AfiSafi) String

func (m *AfiSafi) String() string

type AfiSafiConfig

type AfiSafiConfig struct {
	Family  uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
	Enabled bool   `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
}

func NewAfiSafiConfigFromConfigStruct

func NewAfiSafiConfigFromConfigStruct(c *config.AfiSafi) *AfiSafiConfig

func (*AfiSafiConfig) Descriptor

func (*AfiSafiConfig) Descriptor() ([]byte, []int)

func (*AfiSafiConfig) GetEnabled

func (m *AfiSafiConfig) GetEnabled() bool

func (*AfiSafiConfig) GetFamily

func (m *AfiSafiConfig) GetFamily() uint32

func (*AfiSafiConfig) ProtoMessage

func (*AfiSafiConfig) ProtoMessage()

func (*AfiSafiConfig) Reset

func (m *AfiSafiConfig) Reset()

func (*AfiSafiConfig) String

func (m *AfiSafiConfig) String() string

type AfiSafiState

type AfiSafiState struct {
	Family        uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
	Enabled       bool   `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
	TotalPaths    uint32 `protobuf:"varint,3,opt,name=total_paths,json=totalPaths" json:"total_paths,omitempty"`
	TotalPrefixes uint32 `protobuf:"varint,4,opt,name=total_prefixes,json=totalPrefixes" json:"total_prefixes,omitempty"`
}

func (*AfiSafiState) Descriptor

func (*AfiSafiState) Descriptor() ([]byte, []int)

func (*AfiSafiState) GetEnabled

func (m *AfiSafiState) GetEnabled() bool

func (*AfiSafiState) GetFamily

func (m *AfiSafiState) GetFamily() uint32

func (*AfiSafiState) GetTotalPaths

func (m *AfiSafiState) GetTotalPaths() uint32

func (*AfiSafiState) GetTotalPrefixes

func (m *AfiSafiState) GetTotalPrefixes() uint32

func (*AfiSafiState) ProtoMessage

func (*AfiSafiState) ProtoMessage()

func (*AfiSafiState) Reset

func (m *AfiSafiState) Reset()

func (*AfiSafiState) String

func (m *AfiSafiState) String() string

type AggregatorAttribute

type AggregatorAttribute struct {
	As      uint32 `protobuf:"varint,2,opt,name=as" json:"as,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
}

func NewAggregatorAttributeFromNative

func NewAggregatorAttributeFromNative(a *bgp.PathAttributeAggregator) *AggregatorAttribute

func (*AggregatorAttribute) Descriptor

func (*AggregatorAttribute) Descriptor() ([]byte, []int)

func (*AggregatorAttribute) GetAddress

func (m *AggregatorAttribute) GetAddress() string

func (*AggregatorAttribute) GetAs

func (m *AggregatorAttribute) GetAs() uint32

func (*AggregatorAttribute) ProtoMessage

func (*AggregatorAttribute) ProtoMessage()

func (*AggregatorAttribute) Reset

func (m *AggregatorAttribute) Reset()

func (*AggregatorAttribute) String

func (m *AggregatorAttribute) String() string

func (*AggregatorAttribute) ToNative

type AigpAttribute

type AigpAttribute struct {
	// Each TLV must be one of:
	// - AigpTLVIGPMetric
	// - AigpTLVUnknown
	Tlvs []*google_protobuf.Any `protobuf:"bytes,1,rep,name=tlvs" json:"tlvs,omitempty"`
}

func NewAigpAttributeFromNative

func NewAigpAttributeFromNative(a *bgp.PathAttributeAigp) *AigpAttribute

func (*AigpAttribute) Descriptor

func (*AigpAttribute) Descriptor() ([]byte, []int)

func (*AigpAttribute) GetTlvs

func (m *AigpAttribute) GetTlvs() []*google_protobuf.Any

func (*AigpAttribute) ProtoMessage

func (*AigpAttribute) ProtoMessage()

func (*AigpAttribute) Reset

func (m *AigpAttribute) Reset()

func (*AigpAttribute) String

func (m *AigpAttribute) String() string

func (*AigpAttribute) ToNative

func (a *AigpAttribute) ToNative() (*bgp.PathAttributeAigp, error)

type AigpTLVIGPMetric

type AigpTLVIGPMetric struct {
	Metric uint64 `protobuf:"varint,1,opt,name=metric" json:"metric,omitempty"`
}

func (*AigpTLVIGPMetric) Descriptor

func (*AigpTLVIGPMetric) Descriptor() ([]byte, []int)

func (*AigpTLVIGPMetric) GetMetric

func (m *AigpTLVIGPMetric) GetMetric() uint64

func (*AigpTLVIGPMetric) ProtoMessage

func (*AigpTLVIGPMetric) ProtoMessage()

func (*AigpTLVIGPMetric) Reset

func (m *AigpTLVIGPMetric) Reset()

func (*AigpTLVIGPMetric) String

func (m *AigpTLVIGPMetric) String() string

type AigpTLVUnknown

type AigpTLVUnknown struct {
	Type  uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*AigpTLVUnknown) Descriptor

func (*AigpTLVUnknown) Descriptor() ([]byte, []int)

func (*AigpTLVUnknown) GetType

func (m *AigpTLVUnknown) GetType() uint32

func (*AigpTLVUnknown) GetValue

func (m *AigpTLVUnknown) GetValue() []byte

func (*AigpTLVUnknown) ProtoMessage

func (*AigpTLVUnknown) ProtoMessage()

func (*AigpTLVUnknown) Reset

func (m *AigpTLVUnknown) Reset()

func (*AigpTLVUnknown) String

func (m *AigpTLVUnknown) String() string

type ApplyPolicy

type ApplyPolicy struct {
	InPolicy     *PolicyAssignment `protobuf:"bytes,1,opt,name=in_policy,json=inPolicy" json:"in_policy,omitempty"`
	ExportPolicy *PolicyAssignment `protobuf:"bytes,2,opt,name=export_policy,json=exportPolicy" json:"export_policy,omitempty"`
	ImportPolicy *PolicyAssignment `protobuf:"bytes,3,opt,name=import_policy,json=importPolicy" json:"import_policy,omitempty"`
}

func NewApplyPolicyFromConfigStruct

func NewApplyPolicyFromConfigStruct(c *config.ApplyPolicy) *ApplyPolicy

func (*ApplyPolicy) Descriptor

func (*ApplyPolicy) Descriptor() ([]byte, []int)

func (*ApplyPolicy) GetExportPolicy

func (m *ApplyPolicy) GetExportPolicy() *PolicyAssignment

func (*ApplyPolicy) GetImportPolicy

func (m *ApplyPolicy) GetImportPolicy() *PolicyAssignment

func (*ApplyPolicy) GetInPolicy

func (m *ApplyPolicy) GetInPolicy() *PolicyAssignment

func (*ApplyPolicy) ProtoMessage

func (*ApplyPolicy) ProtoMessage()

func (*ApplyPolicy) Reset

func (m *ApplyPolicy) Reset()

func (*ApplyPolicy) String

func (m *ApplyPolicy) String() string

type Arguments

type Arguments struct {
	Resource Resource `protobuf:"varint,1,opt,name=resource,enum=gobgpapi.Resource" json:"resource,omitempty"`
	Family   uint32   `protobuf:"varint,2,opt,name=family" json:"family,omitempty"`
	Name     string   `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Current  bool     `protobuf:"varint,4,opt,name=current" json:"current,omitempty"`
}

func (*Arguments) Descriptor

func (*Arguments) Descriptor() ([]byte, []int)

func (*Arguments) GetCurrent

func (m *Arguments) GetCurrent() bool

func (*Arguments) GetFamily

func (m *Arguments) GetFamily() uint32

func (*Arguments) GetName

func (m *Arguments) GetName() string

func (*Arguments) GetResource

func (m *Arguments) GetResource() Resource

func (*Arguments) ProtoMessage

func (*Arguments) ProtoMessage()

func (*Arguments) Reset

func (m *Arguments) Reset()

func (*Arguments) String

func (m *Arguments) String() string

type As4AggregatorAttribute

type As4AggregatorAttribute struct {
	As      uint32 `protobuf:"varint,2,opt,name=as" json:"as,omitempty"`
	Address string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
}

func (*As4AggregatorAttribute) Descriptor

func (*As4AggregatorAttribute) Descriptor() ([]byte, []int)

func (*As4AggregatorAttribute) GetAddress

func (m *As4AggregatorAttribute) GetAddress() string

func (*As4AggregatorAttribute) GetAs

func (m *As4AggregatorAttribute) GetAs() uint32

func (*As4AggregatorAttribute) ProtoMessage

func (*As4AggregatorAttribute) ProtoMessage()

func (*As4AggregatorAttribute) Reset

func (m *As4AggregatorAttribute) Reset()

func (*As4AggregatorAttribute) String

func (m *As4AggregatorAttribute) String() string

func (*As4AggregatorAttribute) ToNative

type As4PathAttribute

type As4PathAttribute struct {
	Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"`
}

func NewAs4PathAttributeFromNative

func NewAs4PathAttributeFromNative(a *bgp.PathAttributeAs4Path) *As4PathAttribute

func (*As4PathAttribute) Descriptor

func (*As4PathAttribute) Descriptor() ([]byte, []int)

func (*As4PathAttribute) GetSegments

func (m *As4PathAttribute) GetSegments() []*AsSegment

func (*As4PathAttribute) ProtoMessage

func (*As4PathAttribute) ProtoMessage()

func (*As4PathAttribute) Reset

func (m *As4PathAttribute) Reset()

func (*As4PathAttribute) String

func (m *As4PathAttribute) String() string

func (*As4PathAttribute) ToNative

func (a *As4PathAttribute) ToNative() (*bgp.PathAttributeAs4Path, error)

type AsPathAttribute

type AsPathAttribute struct {
	Segments []*AsSegment `protobuf:"bytes,1,rep,name=segments" json:"segments,omitempty"`
}

func NewAsPathAttributeFromNative

func NewAsPathAttributeFromNative(a *bgp.PathAttributeAsPath) *AsPathAttribute

func (*AsPathAttribute) Descriptor

func (*AsPathAttribute) Descriptor() ([]byte, []int)

func (*AsPathAttribute) GetSegments

func (m *AsPathAttribute) GetSegments() []*AsSegment

func (*AsPathAttribute) ProtoMessage

func (*AsPathAttribute) ProtoMessage()

func (*AsPathAttribute) Reset

func (m *AsPathAttribute) Reset()

func (*AsPathAttribute) String

func (m *AsPathAttribute) String() string

func (*AsPathAttribute) ToNative

func (a *AsPathAttribute) ToNative() (*bgp.PathAttributeAsPath, error)

type AsPathLength

type AsPathLength struct {
	Type   AsPathLengthType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.AsPathLengthType" json:"type,omitempty"`
	Length uint32           `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
}

func (*AsPathLength) Descriptor

func (*AsPathLength) Descriptor() ([]byte, []int)

func (*AsPathLength) GetLength

func (m *AsPathLength) GetLength() uint32

func (*AsPathLength) GetType

func (m *AsPathLength) GetType() AsPathLengthType

func (*AsPathLength) ProtoMessage

func (*AsPathLength) ProtoMessage()

func (*AsPathLength) Reset

func (m *AsPathLength) Reset()

func (*AsPathLength) String

func (m *AsPathLength) String() string

type AsPathLengthType

type AsPathLengthType int32
const (
	AsPathLengthType_EQ AsPathLengthType = 0
	AsPathLengthType_GE AsPathLengthType = 1
	AsPathLengthType_LE AsPathLengthType = 2
)

func (AsPathLengthType) EnumDescriptor

func (AsPathLengthType) EnumDescriptor() ([]byte, []int)

func (AsPathLengthType) String

func (x AsPathLengthType) String() string

type AsPrependAction

type AsPrependAction struct {
	Asn         uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"`
	Repeat      uint32 `protobuf:"varint,2,opt,name=repeat" json:"repeat,omitempty"`
	UseLeftMost bool   `protobuf:"varint,3,opt,name=use_left_most,json=useLeftMost" json:"use_left_most,omitempty"`
}

func (*AsPrependAction) Descriptor

func (*AsPrependAction) Descriptor() ([]byte, []int)

func (*AsPrependAction) GetAsn

func (m *AsPrependAction) GetAsn() uint32

func (*AsPrependAction) GetRepeat

func (m *AsPrependAction) GetRepeat() uint32

func (*AsPrependAction) GetUseLeftMost

func (m *AsPrependAction) GetUseLeftMost() bool

func (*AsPrependAction) ProtoMessage

func (*AsPrependAction) ProtoMessage()

func (*AsPrependAction) Reset

func (m *AsPrependAction) Reset()

func (*AsPrependAction) String

func (m *AsPrependAction) String() string

type AsSegment

type AsSegment struct {
	Type    uint32   `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Numbers []uint32 `protobuf:"varint,2,rep,packed,name=numbers" json:"numbers,omitempty"`
}

func (*AsSegment) Descriptor

func (*AsSegment) Descriptor() ([]byte, []int)

func (*AsSegment) GetNumbers

func (m *AsSegment) GetNumbers() []uint32

func (*AsSegment) GetType

func (m *AsSegment) GetType() uint32

func (*AsSegment) ProtoMessage

func (*AsSegment) ProtoMessage()

func (*AsSegment) Reset

func (m *AsSegment) Reset()

func (*AsSegment) String

func (m *AsSegment) String() string

type AtomicAggregateAttribute

type AtomicAggregateAttribute struct {
}

func (*AtomicAggregateAttribute) Descriptor

func (*AtomicAggregateAttribute) Descriptor() ([]byte, []int)

func (*AtomicAggregateAttribute) ProtoMessage

func (*AtomicAggregateAttribute) ProtoMessage()

func (*AtomicAggregateAttribute) Reset

func (m *AtomicAggregateAttribute) Reset()

func (*AtomicAggregateAttribute) String

func (m *AtomicAggregateAttribute) String() string

func (*AtomicAggregateAttribute) ToNative

type CarryingLabelInfoCapability

type CarryingLabelInfoCapability struct {
}

func (*CarryingLabelInfoCapability) Descriptor

func (*CarryingLabelInfoCapability) Descriptor() ([]byte, []int)

func (*CarryingLabelInfoCapability) ProtoMessage

func (*CarryingLabelInfoCapability) ProtoMessage()

func (*CarryingLabelInfoCapability) Reset

func (m *CarryingLabelInfoCapability) Reset()

func (*CarryingLabelInfoCapability) String

func (m *CarryingLabelInfoCapability) String() string

func (*CarryingLabelInfoCapability) ToNative

type ClusterListAttribute

type ClusterListAttribute struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids" json:"ids,omitempty"`
}

func NewClusterListAttributeFromNative

func NewClusterListAttributeFromNative(a *bgp.PathAttributeClusterList) *ClusterListAttribute

func (*ClusterListAttribute) Descriptor

func (*ClusterListAttribute) Descriptor() ([]byte, []int)

func (*ClusterListAttribute) GetIds

func (m *ClusterListAttribute) GetIds() []string

func (*ClusterListAttribute) ProtoMessage

func (*ClusterListAttribute) ProtoMessage()

func (*ClusterListAttribute) Reset

func (m *ClusterListAttribute) Reset()

func (*ClusterListAttribute) String

func (m *ClusterListAttribute) String() string

func (*ClusterListAttribute) ToNative

type ColorExtended

type ColorExtended struct {
	Color uint32 `protobuf:"varint,1,opt,name=color" json:"color,omitempty"`
}

func (*ColorExtended) Descriptor

func (*ColorExtended) Descriptor() ([]byte, []int)

func (*ColorExtended) GetColor

func (m *ColorExtended) GetColor() uint32

func (*ColorExtended) ProtoMessage

func (*ColorExtended) ProtoMessage()

func (*ColorExtended) Reset

func (m *ColorExtended) Reset()

func (*ColorExtended) String

func (m *ColorExtended) String() string

type CommunitiesAttribute

type CommunitiesAttribute struct {
	Communities []uint32 `protobuf:"varint,1,rep,packed,name=communities" json:"communities,omitempty"`
}

func NewCommunitiesAttributeFromNative

func NewCommunitiesAttributeFromNative(a *bgp.PathAttributeCommunities) *CommunitiesAttribute

func (*CommunitiesAttribute) Descriptor

func (*CommunitiesAttribute) Descriptor() ([]byte, []int)

func (*CommunitiesAttribute) GetCommunities

func (m *CommunitiesAttribute) GetCommunities() []uint32

func (*CommunitiesAttribute) ProtoMessage

func (*CommunitiesAttribute) ProtoMessage()

func (*CommunitiesAttribute) Reset

func (m *CommunitiesAttribute) Reset()

func (*CommunitiesAttribute) String

func (m *CommunitiesAttribute) String() string

func (*CommunitiesAttribute) ToNative

type CommunityAction

type CommunityAction struct {
	Type        CommunityActionType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.CommunityActionType" json:"type,omitempty"`
	Communities []string            `protobuf:"bytes,2,rep,name=communities" json:"communities,omitempty"`
}

func (*CommunityAction) Descriptor

func (*CommunityAction) Descriptor() ([]byte, []int)

func (*CommunityAction) GetCommunities

func (m *CommunityAction) GetCommunities() []string

func (*CommunityAction) GetType

func (m *CommunityAction) GetType() CommunityActionType

func (*CommunityAction) ProtoMessage

func (*CommunityAction) ProtoMessage()

func (*CommunityAction) Reset

func (m *CommunityAction) Reset()

func (*CommunityAction) String

func (m *CommunityAction) String() string

type CommunityActionType

type CommunityActionType int32
const (
	CommunityActionType_COMMUNITY_ADD     CommunityActionType = 0
	CommunityActionType_COMMUNITY_REMOVE  CommunityActionType = 1
	CommunityActionType_COMMUNITY_REPLACE CommunityActionType = 2
)

func (CommunityActionType) EnumDescriptor

func (CommunityActionType) EnumDescriptor() ([]byte, []int)

func (CommunityActionType) String

func (x CommunityActionType) String() string

type Conditions

type Conditions struct {
	PrefixSet         *MatchSet            `protobuf:"bytes,1,opt,name=prefix_set,json=prefixSet" json:"prefix_set,omitempty"`
	NeighborSet       *MatchSet            `protobuf:"bytes,2,opt,name=neighbor_set,json=neighborSet" json:"neighbor_set,omitempty"`
	AsPathLength      *AsPathLength        `protobuf:"bytes,3,opt,name=as_path_length,json=asPathLength" json:"as_path_length,omitempty"`
	AsPathSet         *MatchSet            `protobuf:"bytes,4,opt,name=as_path_set,json=asPathSet" json:"as_path_set,omitempty"`
	CommunitySet      *MatchSet            `protobuf:"bytes,5,opt,name=community_set,json=communitySet" json:"community_set,omitempty"`
	ExtCommunitySet   *MatchSet            `protobuf:"bytes,6,opt,name=ext_community_set,json=extCommunitySet" json:"ext_community_set,omitempty"`
	RpkiResult        int32                `protobuf:"varint,7,opt,name=rpki_result,json=rpkiResult" json:"rpki_result,omitempty"`
	RouteType         Conditions_RouteType `protobuf:"varint,8,opt,name=route_type,json=routeType,enum=gobgpapi.Conditions_RouteType" json:"route_type,omitempty"`
	LargeCommunitySet *MatchSet            `protobuf:"bytes,9,opt,name=large_community_set,json=largeCommunitySet" json:"large_community_set,omitempty"`
	NextHopInList     []string             `protobuf:"bytes,10,rep,name=next_hop_in_list,json=nextHopInList" json:"next_hop_in_list,omitempty"`
	AfiSafiIn         []Family             `protobuf:"varint,11,rep,packed,name=afi_safi_in,json=afiSafiIn,enum=gobgpapi.Family" json:"afi_safi_in,omitempty"`
}

func (*Conditions) Descriptor

func (*Conditions) Descriptor() ([]byte, []int)

func (*Conditions) GetAfiSafiIn

func (m *Conditions) GetAfiSafiIn() []Family

func (*Conditions) GetAsPathLength

func (m *Conditions) GetAsPathLength() *AsPathLength

func (*Conditions) GetAsPathSet

func (m *Conditions) GetAsPathSet() *MatchSet

func (*Conditions) GetCommunitySet

func (m *Conditions) GetCommunitySet() *MatchSet

func (*Conditions) GetExtCommunitySet

func (m *Conditions) GetExtCommunitySet() *MatchSet

func (*Conditions) GetLargeCommunitySet

func (m *Conditions) GetLargeCommunitySet() *MatchSet

func (*Conditions) GetNeighborSet

func (m *Conditions) GetNeighborSet() *MatchSet

func (*Conditions) GetNextHopInList

func (m *Conditions) GetNextHopInList() []string

func (*Conditions) GetPrefixSet

func (m *Conditions) GetPrefixSet() *MatchSet

func (*Conditions) GetRouteType

func (m *Conditions) GetRouteType() Conditions_RouteType

func (*Conditions) GetRpkiResult

func (m *Conditions) GetRpkiResult() int32

func (*Conditions) ProtoMessage

func (*Conditions) ProtoMessage()

func (*Conditions) Reset

func (m *Conditions) Reset()

func (*Conditions) String

func (m *Conditions) String() string

type Conditions_RouteType

type Conditions_RouteType int32
const (
	Conditions_ROUTE_TYPE_NONE     Conditions_RouteType = 0
	Conditions_ROUTE_TYPE_INTERNAL Conditions_RouteType = 1
	Conditions_ROUTE_TYPE_EXTERNAL Conditions_RouteType = 2
	Conditions_ROUTE_TYPE_LOCAL    Conditions_RouteType = 3
)

func (Conditions_RouteType) EnumDescriptor

func (Conditions_RouteType) EnumDescriptor() ([]byte, []int)

func (Conditions_RouteType) String

func (x Conditions_RouteType) String() string

type Confederation

type Confederation struct {
	Enabled      bool     `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	Identifier   uint32   `protobuf:"varint,2,opt,name=identifier" json:"identifier,omitempty"`
	MemberAsList []uint32 `protobuf:"varint,3,rep,packed,name=member_as_list,json=memberAsList" json:"member_as_list,omitempty"`
}

func (*Confederation) Descriptor

func (*Confederation) Descriptor() ([]byte, []int)

func (*Confederation) GetEnabled

func (m *Confederation) GetEnabled() bool

func (*Confederation) GetIdentifier

func (m *Confederation) GetIdentifier() uint32

func (*Confederation) GetMemberAsList

func (m *Confederation) GetMemberAsList() []uint32

func (*Confederation) ProtoMessage

func (*Confederation) ProtoMessage()

func (*Confederation) Reset

func (m *Confederation) Reset()

func (*Confederation) String

func (m *Confederation) String() string

type DefaultGatewayExtended

type DefaultGatewayExtended struct {
}

func (*DefaultGatewayExtended) Descriptor

func (*DefaultGatewayExtended) Descriptor() ([]byte, []int)

func (*DefaultGatewayExtended) ProtoMessage

func (*DefaultGatewayExtended) ProtoMessage()

func (*DefaultGatewayExtended) Reset

func (m *DefaultGatewayExtended) Reset()

func (*DefaultGatewayExtended) String

func (m *DefaultGatewayExtended) String() string

type DefaultRouteDistance

type DefaultRouteDistance struct {
	ExternalRouteDistance uint32 `protobuf:"varint,1,opt,name=external_route_distance,json=externalRouteDistance" json:"external_route_distance,omitempty"`
	InternalRouteDistance uint32 `protobuf:"varint,2,opt,name=internal_route_distance,json=internalRouteDistance" json:"internal_route_distance,omitempty"`
}

func (*DefaultRouteDistance) Descriptor

func (*DefaultRouteDistance) Descriptor() ([]byte, []int)

func (*DefaultRouteDistance) GetExternalRouteDistance

func (m *DefaultRouteDistance) GetExternalRouteDistance() uint32

func (*DefaultRouteDistance) GetInternalRouteDistance

func (m *DefaultRouteDistance) GetInternalRouteDistance() uint32

func (*DefaultRouteDistance) ProtoMessage

func (*DefaultRouteDistance) ProtoMessage()

func (*DefaultRouteDistance) Reset

func (m *DefaultRouteDistance) Reset()

func (*DefaultRouteDistance) String

func (m *DefaultRouteDistance) String() string

type DefinedSet

type DefinedSet struct {
	Type     DefinedType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.DefinedType" json:"type,omitempty"`
	Name     string      `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	List     []string    `protobuf:"bytes,3,rep,name=list" json:"list,omitempty"`
	Prefixes []*Prefix   `protobuf:"bytes,4,rep,name=prefixes" json:"prefixes,omitempty"`
}

func NewAPIDefinedSetFromTableStruct

func NewAPIDefinedSetFromTableStruct(t table.DefinedSet) (*DefinedSet, error)

func NewAPIDefinedSetsFromConfigStruct

func NewAPIDefinedSetsFromConfigStruct(t *config.DefinedSets) ([]*DefinedSet, error)

func (*DefinedSet) Descriptor

func (*DefinedSet) Descriptor() ([]byte, []int)

func (*DefinedSet) GetList

func (m *DefinedSet) GetList() []string

func (*DefinedSet) GetName

func (m *DefinedSet) GetName() string

func (*DefinedSet) GetPrefixes

func (m *DefinedSet) GetPrefixes() []*Prefix

func (*DefinedSet) GetType

func (m *DefinedSet) GetType() DefinedType

func (*DefinedSet) ProtoMessage

func (*DefinedSet) ProtoMessage()

func (*DefinedSet) Reset

func (m *DefinedSet) Reset()

func (*DefinedSet) String

func (m *DefinedSet) String() string

type DefinedType

type DefinedType int32
const (
	DefinedType_PREFIX          DefinedType = 0
	DefinedType_NEIGHBOR        DefinedType = 1
	DefinedType_TAG             DefinedType = 2
	DefinedType_AS_PATH         DefinedType = 3
	DefinedType_COMMUNITY       DefinedType = 4
	DefinedType_EXT_COMMUNITY   DefinedType = 5
	DefinedType_LARGE_COMMUNITY DefinedType = 6
	DefinedType_NEXT_HOP        DefinedType = 7
)

func (DefinedType) EnumDescriptor

func (DefinedType) EnumDescriptor() ([]byte, []int)

func (DefinedType) String

func (x DefinedType) String() string

type DeleteBmpRequest

type DeleteBmpRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Port    uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
}

func (*DeleteBmpRequest) Descriptor

func (*DeleteBmpRequest) Descriptor() ([]byte, []int)

func (*DeleteBmpRequest) GetAddress

func (m *DeleteBmpRequest) GetAddress() string

func (*DeleteBmpRequest) GetPort

func (m *DeleteBmpRequest) GetPort() uint32

func (*DeleteBmpRequest) ProtoMessage

func (*DeleteBmpRequest) ProtoMessage()

func (*DeleteBmpRequest) Reset

func (m *DeleteBmpRequest) Reset()

func (*DeleteBmpRequest) String

func (m *DeleteBmpRequest) String() string

type DeleteBmpResponse

type DeleteBmpResponse struct {
}

func (*DeleteBmpResponse) Descriptor

func (*DeleteBmpResponse) Descriptor() ([]byte, []int)

func (*DeleteBmpResponse) ProtoMessage

func (*DeleteBmpResponse) ProtoMessage()

func (*DeleteBmpResponse) Reset

func (m *DeleteBmpResponse) Reset()

func (*DeleteBmpResponse) String

func (m *DeleteBmpResponse) String() string

type DeleteDefinedSetRequest

type DeleteDefinedSetRequest struct {
	Set *DefinedSet `protobuf:"bytes,1,opt,name=set" json:"set,omitempty"`
	All bool        `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
}

func (*DeleteDefinedSetRequest) Descriptor

func (*DeleteDefinedSetRequest) Descriptor() ([]byte, []int)

func (*DeleteDefinedSetRequest) GetAll

func (m *DeleteDefinedSetRequest) GetAll() bool

func (*DeleteDefinedSetRequest) GetSet

func (m *DeleteDefinedSetRequest) GetSet() *DefinedSet

func (*DeleteDefinedSetRequest) ProtoMessage

func (*DeleteDefinedSetRequest) ProtoMessage()

func (*DeleteDefinedSetRequest) Reset

func (m *DeleteDefinedSetRequest) Reset()

func (*DeleteDefinedSetRequest) String

func (m *DeleteDefinedSetRequest) String() string

type DeleteDefinedSetResponse

type DeleteDefinedSetResponse struct {
}

func (*DeleteDefinedSetResponse) Descriptor

func (*DeleteDefinedSetResponse) Descriptor() ([]byte, []int)

func (*DeleteDefinedSetResponse) ProtoMessage

func (*DeleteDefinedSetResponse) ProtoMessage()

func (*DeleteDefinedSetResponse) Reset

func (m *DeleteDefinedSetResponse) Reset()

func (*DeleteDefinedSetResponse) String

func (m *DeleteDefinedSetResponse) String() string

type DeleteNeighborRequest

type DeleteNeighborRequest struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

func (*DeleteNeighborRequest) Descriptor

func (*DeleteNeighborRequest) Descriptor() ([]byte, []int)

func (*DeleteNeighborRequest) GetPeer

func (m *DeleteNeighborRequest) GetPeer() *Peer

func (*DeleteNeighborRequest) ProtoMessage

func (*DeleteNeighborRequest) ProtoMessage()

func (*DeleteNeighborRequest) Reset

func (m *DeleteNeighborRequest) Reset()

func (*DeleteNeighborRequest) String

func (m *DeleteNeighborRequest) String() string

type DeleteNeighborResponse

type DeleteNeighborResponse struct {
}

func (*DeleteNeighborResponse) Descriptor

func (*DeleteNeighborResponse) Descriptor() ([]byte, []int)

func (*DeleteNeighborResponse) ProtoMessage

func (*DeleteNeighborResponse) ProtoMessage()

func (*DeleteNeighborResponse) Reset

func (m *DeleteNeighborResponse) Reset()

func (*DeleteNeighborResponse) String

func (m *DeleteNeighborResponse) String() string

type DeletePathRequest

type DeletePathRequest struct {
	Resource Resource `protobuf:"varint,1,opt,name=resource,enum=gobgpapi.Resource" json:"resource,omitempty"`
	VrfId    string   `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"`
	Family   uint32   `protobuf:"varint,3,opt,name=family" json:"family,omitempty"`
	Path     *Path    `protobuf:"bytes,4,opt,name=path" json:"path,omitempty"`
	Uuid     []byte   `protobuf:"bytes,5,opt,name=uuid,proto3" json:"uuid,omitempty"`
}

func (*DeletePathRequest) Descriptor

func (*DeletePathRequest) Descriptor() ([]byte, []int)

func (*DeletePathRequest) GetFamily

func (m *DeletePathRequest) GetFamily() uint32

func (*DeletePathRequest) GetPath

func (m *DeletePathRequest) GetPath() *Path

func (*DeletePathRequest) GetResource

func (m *DeletePathRequest) GetResource() Resource

func (*DeletePathRequest) GetUuid

func (m *DeletePathRequest) GetUuid() []byte

func (*DeletePathRequest) GetVrfId

func (m *DeletePathRequest) GetVrfId() string

func (*DeletePathRequest) ProtoMessage

func (*DeletePathRequest) ProtoMessage()

func (*DeletePathRequest) Reset

func (m *DeletePathRequest) Reset()

func (*DeletePathRequest) String

func (m *DeletePathRequest) String() string

type DeletePathResponse

type DeletePathResponse struct {
}

func (*DeletePathResponse) Descriptor

func (*DeletePathResponse) Descriptor() ([]byte, []int)

func (*DeletePathResponse) ProtoMessage

func (*DeletePathResponse) ProtoMessage()

func (*DeletePathResponse) Reset

func (m *DeletePathResponse) Reset()

func (*DeletePathResponse) String

func (m *DeletePathResponse) String() string

type DeletePeerGroupRequest

type DeletePeerGroupRequest struct {
	PeerGroup *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
}

func (*DeletePeerGroupRequest) Descriptor

func (*DeletePeerGroupRequest) Descriptor() ([]byte, []int)

func (*DeletePeerGroupRequest) GetPeerGroup

func (m *DeletePeerGroupRequest) GetPeerGroup() *PeerGroup

func (*DeletePeerGroupRequest) ProtoMessage

func (*DeletePeerGroupRequest) ProtoMessage()

func (*DeletePeerGroupRequest) Reset

func (m *DeletePeerGroupRequest) Reset()

func (*DeletePeerGroupRequest) String

func (m *DeletePeerGroupRequest) String() string

type DeletePeerGroupResponse

type DeletePeerGroupResponse struct {
}

func (*DeletePeerGroupResponse) Descriptor

func (*DeletePeerGroupResponse) Descriptor() ([]byte, []int)

func (*DeletePeerGroupResponse) ProtoMessage

func (*DeletePeerGroupResponse) ProtoMessage()

func (*DeletePeerGroupResponse) Reset

func (m *DeletePeerGroupResponse) Reset()

func (*DeletePeerGroupResponse) String

func (m *DeletePeerGroupResponse) String() string

type DeletePolicyAssignmentRequest

type DeletePolicyAssignmentRequest struct {
	Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"`
	All        bool              `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
}

func (*DeletePolicyAssignmentRequest) Descriptor

func (*DeletePolicyAssignmentRequest) Descriptor() ([]byte, []int)

func (*DeletePolicyAssignmentRequest) GetAll

func (m *DeletePolicyAssignmentRequest) GetAll() bool

func (*DeletePolicyAssignmentRequest) GetAssignment

func (m *DeletePolicyAssignmentRequest) GetAssignment() *PolicyAssignment

func (*DeletePolicyAssignmentRequest) ProtoMessage

func (*DeletePolicyAssignmentRequest) ProtoMessage()

func (*DeletePolicyAssignmentRequest) Reset

func (m *DeletePolicyAssignmentRequest) Reset()

func (*DeletePolicyAssignmentRequest) String

type DeletePolicyAssignmentResponse

type DeletePolicyAssignmentResponse struct {
}

func (*DeletePolicyAssignmentResponse) Descriptor

func (*DeletePolicyAssignmentResponse) Descriptor() ([]byte, []int)

func (*DeletePolicyAssignmentResponse) ProtoMessage

func (*DeletePolicyAssignmentResponse) ProtoMessage()

func (*DeletePolicyAssignmentResponse) Reset

func (m *DeletePolicyAssignmentResponse) Reset()

func (*DeletePolicyAssignmentResponse) String

type DeletePolicyRequest

type DeletePolicyRequest struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	// if this flag is set, gobgpd won't delete any statements
	// even if some statements get not used by any policy by this operation.
	PreserveStatements bool `protobuf:"varint,2,opt,name=preserve_statements,json=preserveStatements" json:"preserve_statements,omitempty"`
	All                bool `protobuf:"varint,3,opt,name=all" json:"all,omitempty"`
}

func (*DeletePolicyRequest) Descriptor

func (*DeletePolicyRequest) Descriptor() ([]byte, []int)

func (*DeletePolicyRequest) GetAll

func (m *DeletePolicyRequest) GetAll() bool

func (*DeletePolicyRequest) GetPolicy

func (m *DeletePolicyRequest) GetPolicy() *Policy

func (*DeletePolicyRequest) GetPreserveStatements

func (m *DeletePolicyRequest) GetPreserveStatements() bool

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) Reset

func (m *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) String

func (m *DeletePolicyRequest) String() string

type DeletePolicyResponse

type DeletePolicyResponse struct {
}

func (*DeletePolicyResponse) Descriptor

func (*DeletePolicyResponse) Descriptor() ([]byte, []int)

func (*DeletePolicyResponse) ProtoMessage

func (*DeletePolicyResponse) ProtoMessage()

func (*DeletePolicyResponse) Reset

func (m *DeletePolicyResponse) Reset()

func (*DeletePolicyResponse) String

func (m *DeletePolicyResponse) String() string

type DeleteRpkiRequest

type DeleteRpkiRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Port    uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
}

func (*DeleteRpkiRequest) Descriptor

func (*DeleteRpkiRequest) Descriptor() ([]byte, []int)

func (*DeleteRpkiRequest) GetAddress

func (m *DeleteRpkiRequest) GetAddress() string

func (*DeleteRpkiRequest) GetPort

func (m *DeleteRpkiRequest) GetPort() uint32

func (*DeleteRpkiRequest) ProtoMessage

func (*DeleteRpkiRequest) ProtoMessage()

func (*DeleteRpkiRequest) Reset

func (m *DeleteRpkiRequest) Reset()

func (*DeleteRpkiRequest) String

func (m *DeleteRpkiRequest) String() string

type DeleteRpkiResponse

type DeleteRpkiResponse struct {
}

func (*DeleteRpkiResponse) Descriptor

func (*DeleteRpkiResponse) Descriptor() ([]byte, []int)

func (*DeleteRpkiResponse) ProtoMessage

func (*DeleteRpkiResponse) ProtoMessage()

func (*DeleteRpkiResponse) Reset

func (m *DeleteRpkiResponse) Reset()

func (*DeleteRpkiResponse) String

func (m *DeleteRpkiResponse) String() string

type DeleteStatementRequest

type DeleteStatementRequest struct {
	Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"`
	All       bool       `protobuf:"varint,2,opt,name=all" json:"all,omitempty"`
}

func (*DeleteStatementRequest) Descriptor

func (*DeleteStatementRequest) Descriptor() ([]byte, []int)

func (*DeleteStatementRequest) GetAll

func (m *DeleteStatementRequest) GetAll() bool

func (*DeleteStatementRequest) GetStatement

func (m *DeleteStatementRequest) GetStatement() *Statement

func (*DeleteStatementRequest) ProtoMessage

func (*DeleteStatementRequest) ProtoMessage()

func (*DeleteStatementRequest) Reset

func (m *DeleteStatementRequest) Reset()

func (*DeleteStatementRequest) String

func (m *DeleteStatementRequest) String() string

type DeleteStatementResponse

type DeleteStatementResponse struct {
}

func (*DeleteStatementResponse) Descriptor

func (*DeleteStatementResponse) Descriptor() ([]byte, []int)

func (*DeleteStatementResponse) ProtoMessage

func (*DeleteStatementResponse) ProtoMessage()

func (*DeleteStatementResponse) Reset

func (m *DeleteStatementResponse) Reset()

func (*DeleteStatementResponse) String

func (m *DeleteStatementResponse) String() string

type DeleteVrfRequest

type DeleteVrfRequest struct {
	Vrf *Vrf `protobuf:"bytes,1,opt,name=vrf" json:"vrf,omitempty"`
}

func (*DeleteVrfRequest) Descriptor

func (*DeleteVrfRequest) Descriptor() ([]byte, []int)

func (*DeleteVrfRequest) GetVrf

func (m *DeleteVrfRequest) GetVrf() *Vrf

func (*DeleteVrfRequest) ProtoMessage

func (*DeleteVrfRequest) ProtoMessage()

func (*DeleteVrfRequest) Reset

func (m *DeleteVrfRequest) Reset()

func (*DeleteVrfRequest) String

func (m *DeleteVrfRequest) String() string

type DeleteVrfResponse

type DeleteVrfResponse struct {
}

func (*DeleteVrfResponse) Descriptor

func (*DeleteVrfResponse) Descriptor() ([]byte, []int)

func (*DeleteVrfResponse) ProtoMessage

func (*DeleteVrfResponse) ProtoMessage()

func (*DeleteVrfResponse) Reset

func (m *DeleteVrfResponse) Reset()

func (*DeleteVrfResponse) String

func (m *DeleteVrfResponse) String() string

type Destination

type Destination struct {
	Prefix          string  `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
	Paths           []*Path `protobuf:"bytes,2,rep,name=paths" json:"paths,omitempty"`
	LongerPrefixes  bool    `protobuf:"varint,3,opt,name=longer_prefixes,json=longerPrefixes" json:"longer_prefixes,omitempty"`
	ShorterPrefixes bool    `protobuf:"varint,4,opt,name=shorter_prefixes,json=shorterPrefixes" json:"shorter_prefixes,omitempty"`
}

func (*Destination) Descriptor

func (*Destination) Descriptor() ([]byte, []int)

func (*Destination) GetLongerPrefixes

func (m *Destination) GetLongerPrefixes() bool

func (*Destination) GetPaths

func (m *Destination) GetPaths() []*Path

func (*Destination) GetPrefix

func (m *Destination) GetPrefix() string

func (*Destination) GetShorterPrefixes

func (m *Destination) GetShorterPrefixes() bool

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) Reset

func (m *Destination) Reset()

func (*Destination) String

func (m *Destination) String() string

func (*Destination) ToNativeDestination

func (d *Destination) ToNativeDestination(option ...ToNativeOption) (*table.Destination, error)

type DisableMrtRequest

type DisableMrtRequest struct {
}

func (*DisableMrtRequest) Descriptor

func (*DisableMrtRequest) Descriptor() ([]byte, []int)

func (*DisableMrtRequest) ProtoMessage

func (*DisableMrtRequest) ProtoMessage()

func (*DisableMrtRequest) Reset

func (m *DisableMrtRequest) Reset()

func (*DisableMrtRequest) String

func (m *DisableMrtRequest) String() string

type DisableMrtResponse

type DisableMrtResponse struct {
}

func (*DisableMrtResponse) Descriptor

func (*DisableMrtResponse) Descriptor() ([]byte, []int)

func (*DisableMrtResponse) ProtoMessage

func (*DisableMrtResponse) ProtoMessage()

func (*DisableMrtResponse) Reset

func (m *DisableMrtResponse) Reset()

func (*DisableMrtResponse) String

func (m *DisableMrtResponse) String() string

type DisableNeighborRequest

type DisableNeighborRequest struct {
	Address       string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"`
}

func (*DisableNeighborRequest) Descriptor

func (*DisableNeighborRequest) Descriptor() ([]byte, []int)

func (*DisableNeighborRequest) GetAddress

func (m *DisableNeighborRequest) GetAddress() string

func (*DisableNeighborRequest) GetCommunication

func (m *DisableNeighborRequest) GetCommunication() string

func (*DisableNeighborRequest) ProtoMessage

func (*DisableNeighborRequest) ProtoMessage()

func (*DisableNeighborRequest) Reset

func (m *DisableNeighborRequest) Reset()

func (*DisableNeighborRequest) String

func (m *DisableNeighborRequest) String() string

type DisableNeighborResponse

type DisableNeighborResponse struct {
}

func (*DisableNeighborResponse) Descriptor

func (*DisableNeighborResponse) Descriptor() ([]byte, []int)

func (*DisableNeighborResponse) ProtoMessage

func (*DisableNeighborResponse) ProtoMessage()

func (*DisableNeighborResponse) Reset

func (m *DisableNeighborResponse) Reset()

func (*DisableNeighborResponse) String

func (m *DisableNeighborResponse) String() string

type DisableRpkiRequest

type DisableRpkiRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*DisableRpkiRequest) Descriptor

func (*DisableRpkiRequest) Descriptor() ([]byte, []int)

func (*DisableRpkiRequest) GetAddress

func (m *DisableRpkiRequest) GetAddress() string

func (*DisableRpkiRequest) ProtoMessage

func (*DisableRpkiRequest) ProtoMessage()

func (*DisableRpkiRequest) Reset

func (m *DisableRpkiRequest) Reset()

func (*DisableRpkiRequest) String

func (m *DisableRpkiRequest) String() string

type DisableRpkiResponse

type DisableRpkiResponse struct {
}

func (*DisableRpkiResponse) Descriptor

func (*DisableRpkiResponse) Descriptor() ([]byte, []int)

func (*DisableRpkiResponse) ProtoMessage

func (*DisableRpkiResponse) ProtoMessage()

func (*DisableRpkiResponse) Reset

func (m *DisableRpkiResponse) Reset()

func (*DisableRpkiResponse) String

func (m *DisableRpkiResponse) String() string

type DynamicNeighbor

type DynamicNeighbor struct {
	Prefix    string `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
	PeerGroup string `protobuf:"bytes,2,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
}

func (*DynamicNeighbor) Descriptor

func (*DynamicNeighbor) Descriptor() ([]byte, []int)

func (*DynamicNeighbor) GetPeerGroup

func (m *DynamicNeighbor) GetPeerGroup() string

func (*DynamicNeighbor) GetPrefix

func (m *DynamicNeighbor) GetPrefix() string

func (*DynamicNeighbor) ProtoMessage

func (*DynamicNeighbor) ProtoMessage()

func (*DynamicNeighbor) Reset

func (m *DynamicNeighbor) Reset()

func (*DynamicNeighbor) String

func (m *DynamicNeighbor) String() string

type ESILabelExtended

type ESILabelExtended struct {
	IsSingleActive bool   `protobuf:"varint,1,opt,name=is_single_active,json=isSingleActive" json:"is_single_active,omitempty"`
	Label          uint32 `protobuf:"varint,2,opt,name=label" json:"label,omitempty"`
}

func (*ESILabelExtended) Descriptor

func (*ESILabelExtended) Descriptor() ([]byte, []int)

func (*ESILabelExtended) GetIsSingleActive

func (m *ESILabelExtended) GetIsSingleActive() bool

func (*ESILabelExtended) GetLabel

func (m *ESILabelExtended) GetLabel() uint32

func (*ESILabelExtended) ProtoMessage

func (*ESILabelExtended) ProtoMessage()

func (*ESILabelExtended) Reset

func (m *ESILabelExtended) Reset()

func (*ESILabelExtended) String

func (m *ESILabelExtended) String() string

type ESImportRouteTarget

type ESImportRouteTarget struct {
	EsImport string `protobuf:"bytes,1,opt,name=es_import,json=esImport" json:"es_import,omitempty"`
}

func (*ESImportRouteTarget) Descriptor

func (*ESImportRouteTarget) Descriptor() ([]byte, []int)

func (*ESImportRouteTarget) GetEsImport

func (m *ESImportRouteTarget) GetEsImport() string

func (*ESImportRouteTarget) ProtoMessage

func (*ESImportRouteTarget) ProtoMessage()

func (*ESImportRouteTarget) Reset

func (m *ESImportRouteTarget) Reset()

func (*ESImportRouteTarget) String

func (m *ESImportRouteTarget) String() string

type EVPNEthernetAutoDiscoveryRoute

type EVPNEthernetAutoDiscoveryRoute struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd          *google_protobuf.Any       `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	Esi         *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"`
	EthernetTag uint32                     `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"`
	Label       uint32                     `protobuf:"varint,4,opt,name=label" json:"label,omitempty"`
}

EVPNEthernetAutoDiscoveryRoute represents the NLRI for: - AFI=25, SAFI=70, RouteType=1

func (*EVPNEthernetAutoDiscoveryRoute) Descriptor

func (*EVPNEthernetAutoDiscoveryRoute) Descriptor() ([]byte, []int)

func (*EVPNEthernetAutoDiscoveryRoute) GetEsi

func (*EVPNEthernetAutoDiscoveryRoute) GetEthernetTag

func (m *EVPNEthernetAutoDiscoveryRoute) GetEthernetTag() uint32

func (*EVPNEthernetAutoDiscoveryRoute) GetLabel

func (m *EVPNEthernetAutoDiscoveryRoute) GetLabel() uint32

func (*EVPNEthernetAutoDiscoveryRoute) GetRd

func (*EVPNEthernetAutoDiscoveryRoute) ProtoMessage

func (*EVPNEthernetAutoDiscoveryRoute) ProtoMessage()

func (*EVPNEthernetAutoDiscoveryRoute) Reset

func (m *EVPNEthernetAutoDiscoveryRoute) Reset()

func (*EVPNEthernetAutoDiscoveryRoute) String

type EVPNEthernetSegmentRoute

type EVPNEthernetSegmentRoute struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd        *google_protobuf.Any       `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	Esi       *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"`
	IpAddress string                     `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
}

EVPNEthernetSegmentRoute represents the NLRI for: - AFI=25, SAFI=70, RouteType=4

func (*EVPNEthernetSegmentRoute) Descriptor

func (*EVPNEthernetSegmentRoute) Descriptor() ([]byte, []int)

func (*EVPNEthernetSegmentRoute) GetEsi

func (*EVPNEthernetSegmentRoute) GetIpAddress

func (m *EVPNEthernetSegmentRoute) GetIpAddress() string

func (*EVPNEthernetSegmentRoute) GetRd

func (*EVPNEthernetSegmentRoute) ProtoMessage

func (*EVPNEthernetSegmentRoute) ProtoMessage()

func (*EVPNEthernetSegmentRoute) Reset

func (m *EVPNEthernetSegmentRoute) Reset()

func (*EVPNEthernetSegmentRoute) String

func (m *EVPNEthernetSegmentRoute) String() string

type EVPNIPPrefixRoute

type EVPNIPPrefixRoute struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd          *google_protobuf.Any       `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	Esi         *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"`
	EthernetTag uint32                     `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"`
	IpPrefix    string                     `protobuf:"bytes,4,opt,name=ip_prefix,json=ipPrefix" json:"ip_prefix,omitempty"`
	IpPrefixLen uint32                     `protobuf:"varint,5,opt,name=ip_prefix_len,json=ipPrefixLen" json:"ip_prefix_len,omitempty"`
	GwAddress   string                     `protobuf:"bytes,6,opt,name=gw_address,json=gwAddress" json:"gw_address,omitempty"`
	Label       uint32                     `protobuf:"varint,7,opt,name=label" json:"label,omitempty"`
}

EVPNIPPrefixRoute represents the NLRI for: - AFI=25, SAFI=70, RouteType=5

func (*EVPNIPPrefixRoute) Descriptor

func (*EVPNIPPrefixRoute) Descriptor() ([]byte, []int)

func (*EVPNIPPrefixRoute) GetEsi

func (*EVPNIPPrefixRoute) GetEthernetTag

func (m *EVPNIPPrefixRoute) GetEthernetTag() uint32

func (*EVPNIPPrefixRoute) GetGwAddress

func (m *EVPNIPPrefixRoute) GetGwAddress() string

func (*EVPNIPPrefixRoute) GetIpPrefix

func (m *EVPNIPPrefixRoute) GetIpPrefix() string

func (*EVPNIPPrefixRoute) GetIpPrefixLen

func (m *EVPNIPPrefixRoute) GetIpPrefixLen() uint32

func (*EVPNIPPrefixRoute) GetLabel

func (m *EVPNIPPrefixRoute) GetLabel() uint32

func (*EVPNIPPrefixRoute) GetRd

func (*EVPNIPPrefixRoute) ProtoMessage

func (*EVPNIPPrefixRoute) ProtoMessage()

func (*EVPNIPPrefixRoute) Reset

func (m *EVPNIPPrefixRoute) Reset()

func (*EVPNIPPrefixRoute) String

func (m *EVPNIPPrefixRoute) String() string

type EVPNInclusiveMulticastEthernetTagRoute

type EVPNInclusiveMulticastEthernetTagRoute struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd          *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	EthernetTag uint32               `protobuf:"varint,2,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"`
	IpAddress   string               `protobuf:"bytes,3,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
}

EVPNInclusiveMulticastEthernetTagRoute represents the NLRI for: - AFI=25, SAFI=70, RouteType=3

func (*EVPNInclusiveMulticastEthernetTagRoute) Descriptor

func (*EVPNInclusiveMulticastEthernetTagRoute) Descriptor() ([]byte, []int)

func (*EVPNInclusiveMulticastEthernetTagRoute) GetEthernetTag

func (m *EVPNInclusiveMulticastEthernetTagRoute) GetEthernetTag() uint32

func (*EVPNInclusiveMulticastEthernetTagRoute) GetIpAddress

func (*EVPNInclusiveMulticastEthernetTagRoute) GetRd

func (*EVPNInclusiveMulticastEthernetTagRoute) ProtoMessage

func (*EVPNInclusiveMulticastEthernetTagRoute) Reset

func (*EVPNInclusiveMulticastEthernetTagRoute) String

type EVPNMACIPAdvertisementRoute

type EVPNMACIPAdvertisementRoute struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd          *google_protobuf.Any       `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	Esi         *EthernetSegmentIdentifier `protobuf:"bytes,2,opt,name=esi" json:"esi,omitempty"`
	EthernetTag uint32                     `protobuf:"varint,3,opt,name=ethernet_tag,json=ethernetTag" json:"ethernet_tag,omitempty"`
	MacAddress  string                     `protobuf:"bytes,4,opt,name=mac_address,json=macAddress" json:"mac_address,omitempty"`
	IpAddress   string                     `protobuf:"bytes,5,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
	Labels      []uint32                   `protobuf:"varint,6,rep,packed,name=labels" json:"labels,omitempty"`
}

EVPNMACIPAdvertisementRoute represents the NLRI for: - AFI=25, SAFI=70, RouteType=2

func (*EVPNMACIPAdvertisementRoute) Descriptor

func (*EVPNMACIPAdvertisementRoute) Descriptor() ([]byte, []int)

func (*EVPNMACIPAdvertisementRoute) GetEsi

func (*EVPNMACIPAdvertisementRoute) GetEthernetTag

func (m *EVPNMACIPAdvertisementRoute) GetEthernetTag() uint32

func (*EVPNMACIPAdvertisementRoute) GetIpAddress

func (m *EVPNMACIPAdvertisementRoute) GetIpAddress() string

func (*EVPNMACIPAdvertisementRoute) GetLabels

func (m *EVPNMACIPAdvertisementRoute) GetLabels() []uint32

func (*EVPNMACIPAdvertisementRoute) GetMacAddress

func (m *EVPNMACIPAdvertisementRoute) GetMacAddress() string

func (*EVPNMACIPAdvertisementRoute) GetRd

func (*EVPNMACIPAdvertisementRoute) ProtoMessage

func (*EVPNMACIPAdvertisementRoute) ProtoMessage()

func (*EVPNMACIPAdvertisementRoute) Reset

func (m *EVPNMACIPAdvertisementRoute) Reset()

func (*EVPNMACIPAdvertisementRoute) String

func (m *EVPNMACIPAdvertisementRoute) String() string

type Ebgp

type Ebgp struct {
	Config *EbgpConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *EbgpState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func (*Ebgp) Descriptor

func (*Ebgp) Descriptor() ([]byte, []int)

func (*Ebgp) GetConfig

func (m *Ebgp) GetConfig() *EbgpConfig

func (*Ebgp) GetState

func (m *Ebgp) GetState() *EbgpState

func (*Ebgp) ProtoMessage

func (*Ebgp) ProtoMessage()

func (*Ebgp) Reset

func (m *Ebgp) Reset()

func (*Ebgp) String

func (m *Ebgp) String() string

type EbgpConfig

type EbgpConfig struct {
	AllowMultipleAs bool   `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs" json:"allow_multiple_as,omitempty"`
	MaximumPaths    uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"`
}

func (*EbgpConfig) Descriptor

func (*EbgpConfig) Descriptor() ([]byte, []int)

func (*EbgpConfig) GetAllowMultipleAs

func (m *EbgpConfig) GetAllowMultipleAs() bool

func (*EbgpConfig) GetMaximumPaths

func (m *EbgpConfig) GetMaximumPaths() uint32

func (*EbgpConfig) ProtoMessage

func (*EbgpConfig) ProtoMessage()

func (*EbgpConfig) Reset

func (m *EbgpConfig) Reset()

func (*EbgpConfig) String

func (m *EbgpConfig) String() string

type EbgpMultihop

type EbgpMultihop struct {
	Enabled     bool   `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	MultihopTtl uint32 `protobuf:"varint,2,opt,name=multihop_ttl,json=multihopTtl" json:"multihop_ttl,omitempty"`
}

func (*EbgpMultihop) Descriptor

func (*EbgpMultihop) Descriptor() ([]byte, []int)

func (*EbgpMultihop) GetEnabled

func (m *EbgpMultihop) GetEnabled() bool

func (*EbgpMultihop) GetMultihopTtl

func (m *EbgpMultihop) GetMultihopTtl() uint32

func (*EbgpMultihop) ProtoMessage

func (*EbgpMultihop) ProtoMessage()

func (*EbgpMultihop) Reset

func (m *EbgpMultihop) Reset()

func (*EbgpMultihop) String

func (m *EbgpMultihop) String() string

type EbgpState

type EbgpState struct {
	AllowMultipleAs bool   `protobuf:"varint,1,opt,name=allow_multiple_as,json=allowMultipleAs" json:"allow_multiple_as,omitempty"`
	MaximumPaths    uint32 `protobuf:"varint,2,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"`
}

func (*EbgpState) Descriptor

func (*EbgpState) Descriptor() ([]byte, []int)

func (*EbgpState) GetAllowMultipleAs

func (m *EbgpState) GetAllowMultipleAs() bool

func (*EbgpState) GetMaximumPaths

func (m *EbgpState) GetMaximumPaths() uint32

func (*EbgpState) ProtoMessage

func (*EbgpState) ProtoMessage()

func (*EbgpState) Reset

func (m *EbgpState) Reset()

func (*EbgpState) String

func (m *EbgpState) String() string

type EnableMrtRequest

type EnableMrtRequest struct {
	DumpType int32  `protobuf:"varint,1,opt,name=dump_type,json=dumpType" json:"dump_type,omitempty"`
	Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"`
	Interval uint64 `protobuf:"varint,3,opt,name=interval" json:"interval,omitempty"`
}

func (*EnableMrtRequest) Descriptor

func (*EnableMrtRequest) Descriptor() ([]byte, []int)

func (*EnableMrtRequest) GetDumpType

func (m *EnableMrtRequest) GetDumpType() int32

func (*EnableMrtRequest) GetFilename

func (m *EnableMrtRequest) GetFilename() string

func (*EnableMrtRequest) GetInterval

func (m *EnableMrtRequest) GetInterval() uint64

func (*EnableMrtRequest) ProtoMessage

func (*EnableMrtRequest) ProtoMessage()

func (*EnableMrtRequest) Reset

func (m *EnableMrtRequest) Reset()

func (*EnableMrtRequest) String

func (m *EnableMrtRequest) String() string

type EnableMrtResponse

type EnableMrtResponse struct {
}

func (*EnableMrtResponse) Descriptor

func (*EnableMrtResponse) Descriptor() ([]byte, []int)

func (*EnableMrtResponse) ProtoMessage

func (*EnableMrtResponse) ProtoMessage()

func (*EnableMrtResponse) Reset

func (m *EnableMrtResponse) Reset()

func (*EnableMrtResponse) String

func (m *EnableMrtResponse) String() string

type EnableNeighborRequest

type EnableNeighborRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*EnableNeighborRequest) Descriptor

func (*EnableNeighborRequest) Descriptor() ([]byte, []int)

func (*EnableNeighborRequest) GetAddress

func (m *EnableNeighborRequest) GetAddress() string

func (*EnableNeighborRequest) ProtoMessage

func (*EnableNeighborRequest) ProtoMessage()

func (*EnableNeighborRequest) Reset

func (m *EnableNeighborRequest) Reset()

func (*EnableNeighborRequest) String

func (m *EnableNeighborRequest) String() string

type EnableNeighborResponse

type EnableNeighborResponse struct {
}

func (*EnableNeighborResponse) Descriptor

func (*EnableNeighborResponse) Descriptor() ([]byte, []int)

func (*EnableNeighborResponse) ProtoMessage

func (*EnableNeighborResponse) ProtoMessage()

func (*EnableNeighborResponse) Reset

func (m *EnableNeighborResponse) Reset()

func (*EnableNeighborResponse) String

func (m *EnableNeighborResponse) String() string

type EnableRpkiRequest

type EnableRpkiRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*EnableRpkiRequest) Descriptor

func (*EnableRpkiRequest) Descriptor() ([]byte, []int)

func (*EnableRpkiRequest) GetAddress

func (m *EnableRpkiRequest) GetAddress() string

func (*EnableRpkiRequest) ProtoMessage

func (*EnableRpkiRequest) ProtoMessage()

func (*EnableRpkiRequest) Reset

func (m *EnableRpkiRequest) Reset()

func (*EnableRpkiRequest) String

func (m *EnableRpkiRequest) String() string

type EnableRpkiResponse

type EnableRpkiResponse struct {
}

func (*EnableRpkiResponse) Descriptor

func (*EnableRpkiResponse) Descriptor() ([]byte, []int)

func (*EnableRpkiResponse) ProtoMessage

func (*EnableRpkiResponse) ProtoMessage()

func (*EnableRpkiResponse) Reset

func (m *EnableRpkiResponse) Reset()

func (*EnableRpkiResponse) String

func (m *EnableRpkiResponse) String() string

type EnableZebraRequest

type EnableZebraRequest struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	RouteTypes           []string `protobuf:"bytes,2,rep,name=route_types,json=routeTypes" json:"route_types,omitempty"`
	Version              uint32   `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
	NexthopTriggerEnable bool     `protobuf:"varint,4,opt,name=nexthop_trigger_enable,json=nexthopTriggerEnable" json:"nexthop_trigger_enable,omitempty"`
	NexthopTriggerDelay  uint32   `protobuf:"varint,5,opt,name=nexthop_trigger_delay,json=nexthopTriggerDelay" json:"nexthop_trigger_delay,omitempty"`
}

func (*EnableZebraRequest) Descriptor

func (*EnableZebraRequest) Descriptor() ([]byte, []int)

func (*EnableZebraRequest) GetNexthopTriggerDelay

func (m *EnableZebraRequest) GetNexthopTriggerDelay() uint32

func (*EnableZebraRequest) GetNexthopTriggerEnable

func (m *EnableZebraRequest) GetNexthopTriggerEnable() bool

func (*EnableZebraRequest) GetRouteTypes

func (m *EnableZebraRequest) GetRouteTypes() []string

func (*EnableZebraRequest) GetUrl

func (m *EnableZebraRequest) GetUrl() string

func (*EnableZebraRequest) GetVersion

func (m *EnableZebraRequest) GetVersion() uint32

func (*EnableZebraRequest) ProtoMessage

func (*EnableZebraRequest) ProtoMessage()

func (*EnableZebraRequest) Reset

func (m *EnableZebraRequest) Reset()

func (*EnableZebraRequest) String

func (m *EnableZebraRequest) String() string

type EnableZebraResponse

type EnableZebraResponse struct {
}

func (*EnableZebraResponse) Descriptor

func (*EnableZebraResponse) Descriptor() ([]byte, []int)

func (*EnableZebraResponse) ProtoMessage

func (*EnableZebraResponse) ProtoMessage()

func (*EnableZebraResponse) Reset

func (m *EnableZebraResponse) Reset()

func (*EnableZebraResponse) String

func (m *EnableZebraResponse) String() string

type EncapExtended

type EncapExtended struct {
	TunnelType uint32 `protobuf:"varint,1,opt,name=tunnel_type,json=tunnelType" json:"tunnel_type,omitempty"`
}

func (*EncapExtended) Descriptor

func (*EncapExtended) Descriptor() ([]byte, []int)

func (*EncapExtended) GetTunnelType

func (m *EncapExtended) GetTunnelType() uint32

func (*EncapExtended) ProtoMessage

func (*EncapExtended) ProtoMessage()

func (*EncapExtended) Reset

func (m *EncapExtended) Reset()

func (*EncapExtended) String

func (m *EncapExtended) String() string

type EncapsulationNLRI

type EncapsulationNLRI struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

EncapsulationNLRI represents the NLRI for: - AFI=1, SAFI=7 - AFI=2, SAFI=7

func (*EncapsulationNLRI) Descriptor

func (*EncapsulationNLRI) Descriptor() ([]byte, []int)

func (*EncapsulationNLRI) GetAddress

func (m *EncapsulationNLRI) GetAddress() string

func (*EncapsulationNLRI) ProtoMessage

func (*EncapsulationNLRI) ProtoMessage()

func (*EncapsulationNLRI) Reset

func (m *EncapsulationNLRI) Reset()

func (*EncapsulationNLRI) String

func (m *EncapsulationNLRI) String() string

type EnhancedRouteRefreshCapability

type EnhancedRouteRefreshCapability struct {
}

func (*EnhancedRouteRefreshCapability) Descriptor

func (*EnhancedRouteRefreshCapability) Descriptor() ([]byte, []int)

func (*EnhancedRouteRefreshCapability) ProtoMessage

func (*EnhancedRouteRefreshCapability) ProtoMessage()

func (*EnhancedRouteRefreshCapability) Reset

func (m *EnhancedRouteRefreshCapability) Reset()

func (*EnhancedRouteRefreshCapability) String

func (*EnhancedRouteRefreshCapability) ToNative

type EthernetSegmentIdentifier

type EthernetSegmentIdentifier struct {
	Type  uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*EthernetSegmentIdentifier) Descriptor

func (*EthernetSegmentIdentifier) Descriptor() ([]byte, []int)

func (*EthernetSegmentIdentifier) GetType

func (m *EthernetSegmentIdentifier) GetType() uint32

func (*EthernetSegmentIdentifier) GetValue

func (m *EthernetSegmentIdentifier) GetValue() []byte

func (*EthernetSegmentIdentifier) ProtoMessage

func (*EthernetSegmentIdentifier) ProtoMessage()

func (*EthernetSegmentIdentifier) Reset

func (m *EthernetSegmentIdentifier) Reset()

func (*EthernetSegmentIdentifier) String

func (m *EthernetSegmentIdentifier) String() string

func (*EthernetSegmentIdentifier) ToNative

type ExtendedCommunitiesAttribute

type ExtendedCommunitiesAttribute struct {
	// Each Community must be one of:
	// - TwoOctetAsSpecificExtended
	// - IPv4AddressSpecificExtended
	// - FourOctetAsSpecificExtended
	// - OpaqueExtended
	// - ESILabelExtended
	// - MacMobilityExtended
	// - RouterMacExtended
	// - TrafficRateExtended
	// - TrafficActionExtended
	// - RedirectTwoOctetAsSpecificExtended
	// - RedirectIPv4AddressSpecificExtended
	// - RedirectFourOctetAsSpecificExtended
	// - TrafficRemarkExtended
	// - UnknownExtended
	Communities []*google_protobuf.Any `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"`
}

func (*ExtendedCommunitiesAttribute) Descriptor

func (*ExtendedCommunitiesAttribute) Descriptor() ([]byte, []int)

func (*ExtendedCommunitiesAttribute) GetCommunities

func (m *ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.Any

func (*ExtendedCommunitiesAttribute) ProtoMessage

func (*ExtendedCommunitiesAttribute) ProtoMessage()

func (*ExtendedCommunitiesAttribute) Reset

func (m *ExtendedCommunitiesAttribute) Reset()

func (*ExtendedCommunitiesAttribute) String

func (*ExtendedCommunitiesAttribute) ToNative

type ExtendedNexthopCapability

type ExtendedNexthopCapability struct {
	Tuples []*ExtendedNexthopCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"`
}

func (*ExtendedNexthopCapability) Descriptor

func (*ExtendedNexthopCapability) Descriptor() ([]byte, []int)

func (*ExtendedNexthopCapability) GetTuples

func (*ExtendedNexthopCapability) ProtoMessage

func (*ExtendedNexthopCapability) ProtoMessage()

func (*ExtendedNexthopCapability) Reset

func (m *ExtendedNexthopCapability) Reset()

func (*ExtendedNexthopCapability) String

func (m *ExtendedNexthopCapability) String() string

func (*ExtendedNexthopCapability) ToNative

type ExtendedNexthopCapabilityTuple

type ExtendedNexthopCapabilityTuple struct {
	NlriFamily Family `protobuf:"varint,1,opt,name=nlri_family,json=nlriFamily,enum=gobgpapi.Family" json:"nlri_family,omitempty"`
	// Nexthop AFI must be either
	// gobgp.IPv4 or
	// gobgp.IPv6.
	NexthopFamily Family `protobuf:"varint,2,opt,name=nexthop_family,json=nexthopFamily,enum=gobgpapi.Family" json:"nexthop_family,omitempty"`
}

func (*ExtendedNexthopCapabilityTuple) Descriptor

func (*ExtendedNexthopCapabilityTuple) Descriptor() ([]byte, []int)

func (*ExtendedNexthopCapabilityTuple) GetNexthopFamily

func (m *ExtendedNexthopCapabilityTuple) GetNexthopFamily() Family

func (*ExtendedNexthopCapabilityTuple) GetNlriFamily

func (m *ExtendedNexthopCapabilityTuple) GetNlriFamily() Family

func (*ExtendedNexthopCapabilityTuple) ProtoMessage

func (*ExtendedNexthopCapabilityTuple) ProtoMessage()

func (*ExtendedNexthopCapabilityTuple) Reset

func (m *ExtendedNexthopCapabilityTuple) Reset()

func (*ExtendedNexthopCapabilityTuple) String

type Family

type Family int32

Constants for address families

const (
	Family_RESERVED           Family = 0
	Family_IPv4               Family = 65537
	Family_IPv6               Family = 131073
	Family_IPv4_MC            Family = 65538
	Family_IPv6_MC            Family = 131074
	Family_IPv4_MPLS          Family = 65540
	Family_IPv6_MPLS          Family = 131076
	Family_IPv4_VPN           Family = 65664
	Family_IPv6_VPN           Family = 131200
	Family_IPv4_VPN_MC        Family = 65665
	Family_IPv6_VPN_MC        Family = 131201
	Family_VPLS               Family = 1638465
	Family_EVPN               Family = 1638470
	Family_RTC                Family = 65668
	Family_IPv4_ENCAP         Family = 65543
	Family_IPv6_ENCAP         Family = 131079
	Family_FLOW_SPEC_IPv4     Family = 65669
	Family_FLOW_SPEC_IPv6     Family = 131205
	Family_FLOW_SPEC_IPv4_VPN Family = 65670
	Family_FLOW_SPEC_IPv6_VPN Family = 131206
	Family_FLOW_SPEC_L2_VPN   Family = 1638534
	Family_OPAQUE             Family = 1074594033
)

func (Family) EnumDescriptor

func (Family) EnumDescriptor() ([]byte, []int)

func (Family) String

func (x Family) String() string

type FlowSpecComponent

type FlowSpecComponent struct {
	Type  uint32                   `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Items []*FlowSpecComponentItem `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

func (*FlowSpecComponent) Descriptor

func (*FlowSpecComponent) Descriptor() ([]byte, []int)

func (*FlowSpecComponent) GetItems

func (m *FlowSpecComponent) GetItems() []*FlowSpecComponentItem

func (*FlowSpecComponent) GetType

func (m *FlowSpecComponent) GetType() uint32

func (*FlowSpecComponent) ProtoMessage

func (*FlowSpecComponent) ProtoMessage()

func (*FlowSpecComponent) Reset

func (m *FlowSpecComponent) Reset()

func (*FlowSpecComponent) String

func (m *FlowSpecComponent) String() string

type FlowSpecComponentItem

type FlowSpecComponentItem struct {
	// Operator for Numeric type, Operand for Bitmask type
	Op    uint32 `protobuf:"varint,1,opt,name=op" json:"op,omitempty"`
	Value uint64 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
}

func (*FlowSpecComponentItem) Descriptor

func (*FlowSpecComponentItem) Descriptor() ([]byte, []int)

func (*FlowSpecComponentItem) GetOp

func (m *FlowSpecComponentItem) GetOp() uint32

func (*FlowSpecComponentItem) GetValue

func (m *FlowSpecComponentItem) GetValue() uint64

func (*FlowSpecComponentItem) ProtoMessage

func (*FlowSpecComponentItem) ProtoMessage()

func (*FlowSpecComponentItem) Reset

func (m *FlowSpecComponentItem) Reset()

func (*FlowSpecComponentItem) String

func (m *FlowSpecComponentItem) String() string

type FlowSpecIPPrefix

type FlowSpecIPPrefix struct {
	Type      uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	PrefixLen uint32 `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"`
	Prefix    string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
	// IPv6 only
	Offset uint32 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"`
}

func (*FlowSpecIPPrefix) Descriptor

func (*FlowSpecIPPrefix) Descriptor() ([]byte, []int)

func (*FlowSpecIPPrefix) GetOffset

func (m *FlowSpecIPPrefix) GetOffset() uint32

func (*FlowSpecIPPrefix) GetPrefix

func (m *FlowSpecIPPrefix) GetPrefix() string

func (*FlowSpecIPPrefix) GetPrefixLen

func (m *FlowSpecIPPrefix) GetPrefixLen() uint32

func (*FlowSpecIPPrefix) GetType

func (m *FlowSpecIPPrefix) GetType() uint32

func (*FlowSpecIPPrefix) ProtoMessage

func (*FlowSpecIPPrefix) ProtoMessage()

func (*FlowSpecIPPrefix) Reset

func (m *FlowSpecIPPrefix) Reset()

func (*FlowSpecIPPrefix) String

func (m *FlowSpecIPPrefix) String() string

type FlowSpecMAC

type FlowSpecMAC struct {
	Type    uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
}

func (*FlowSpecMAC) Descriptor

func (*FlowSpecMAC) Descriptor() ([]byte, []int)

func (*FlowSpecMAC) GetAddress

func (m *FlowSpecMAC) GetAddress() string

func (*FlowSpecMAC) GetType

func (m *FlowSpecMAC) GetType() uint32

func (*FlowSpecMAC) ProtoMessage

func (*FlowSpecMAC) ProtoMessage()

func (*FlowSpecMAC) Reset

func (m *FlowSpecMAC) Reset()

func (*FlowSpecMAC) String

func (m *FlowSpecMAC) String() string

type FlowSpecNLRI

type FlowSpecNLRI struct {
	// One of:
	// - FlowSpecIPPrefix
	// - FlowSpecMAC
	// - FlowSpecComponent
	Rules []*google_protobuf.Any `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
}

FlowSpecNLRI represents the NLRI for: - AFI=1, SAFI=133 - AFI=2, SAFI=133

func (*FlowSpecNLRI) Descriptor

func (*FlowSpecNLRI) Descriptor() ([]byte, []int)

func (*FlowSpecNLRI) GetRules

func (m *FlowSpecNLRI) GetRules() []*google_protobuf.Any

func (*FlowSpecNLRI) ProtoMessage

func (*FlowSpecNLRI) ProtoMessage()

func (*FlowSpecNLRI) Reset

func (m *FlowSpecNLRI) Reset()

func (*FlowSpecNLRI) String

func (m *FlowSpecNLRI) String() string

type FourOctetASNumberCapability

type FourOctetASNumberCapability struct {
	As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
}

func (*FourOctetASNumberCapability) Descriptor

func (*FourOctetASNumberCapability) Descriptor() ([]byte, []int)

func (*FourOctetASNumberCapability) GetAs

func (*FourOctetASNumberCapability) ProtoMessage

func (*FourOctetASNumberCapability) ProtoMessage()

func (*FourOctetASNumberCapability) Reset

func (m *FourOctetASNumberCapability) Reset()

func (*FourOctetASNumberCapability) String

func (m *FourOctetASNumberCapability) String() string

func (*FourOctetASNumberCapability) ToNative

type FourOctetAsSpecificExtended

type FourOctetAsSpecificExtended struct {
	IsTransitive bool   `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"`
	SubType      uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"`
	As           uint32 `protobuf:"varint,3,opt,name=as" json:"as,omitempty"`
	LocalAdmin   uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*FourOctetAsSpecificExtended) Descriptor

func (*FourOctetAsSpecificExtended) Descriptor() ([]byte, []int)

func (*FourOctetAsSpecificExtended) GetAs

func (*FourOctetAsSpecificExtended) GetIsTransitive

func (m *FourOctetAsSpecificExtended) GetIsTransitive() bool

func (*FourOctetAsSpecificExtended) GetLocalAdmin

func (m *FourOctetAsSpecificExtended) GetLocalAdmin() uint32

func (*FourOctetAsSpecificExtended) GetSubType

func (m *FourOctetAsSpecificExtended) GetSubType() uint32

func (*FourOctetAsSpecificExtended) ProtoMessage

func (*FourOctetAsSpecificExtended) ProtoMessage()

func (*FourOctetAsSpecificExtended) Reset

func (m *FourOctetAsSpecificExtended) Reset()

func (*FourOctetAsSpecificExtended) String

func (m *FourOctetAsSpecificExtended) String() string

type GetDefinedSetRequest

type GetDefinedSetRequest struct {
	Type DefinedType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.DefinedType" json:"type,omitempty"`
	Name string      `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*GetDefinedSetRequest) Descriptor

func (*GetDefinedSetRequest) Descriptor() ([]byte, []int)

func (*GetDefinedSetRequest) GetName

func (m *GetDefinedSetRequest) GetName() string

func (*GetDefinedSetRequest) GetType

func (m *GetDefinedSetRequest) GetType() DefinedType

func (*GetDefinedSetRequest) ProtoMessage

func (*GetDefinedSetRequest) ProtoMessage()

func (*GetDefinedSetRequest) Reset

func (m *GetDefinedSetRequest) Reset()

func (*GetDefinedSetRequest) String

func (m *GetDefinedSetRequest) String() string

type GetDefinedSetResponse

type GetDefinedSetResponse struct {
	Sets []*DefinedSet `protobuf:"bytes,1,rep,name=sets" json:"sets,omitempty"`
}

func (*GetDefinedSetResponse) Descriptor

func (*GetDefinedSetResponse) Descriptor() ([]byte, []int)

func (*GetDefinedSetResponse) GetSets

func (m *GetDefinedSetResponse) GetSets() []*DefinedSet

func (*GetDefinedSetResponse) ProtoMessage

func (*GetDefinedSetResponse) ProtoMessage()

func (*GetDefinedSetResponse) Reset

func (m *GetDefinedSetResponse) Reset()

func (*GetDefinedSetResponse) String

func (m *GetDefinedSetResponse) String() string

type GetNeighborRequest

type GetNeighborRequest struct {
	EnableAdvertised bool   `protobuf:"varint,1,opt,name=enableAdvertised" json:"enableAdvertised,omitempty"`
	Address          string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"`
}

func (*GetNeighborRequest) Descriptor

func (*GetNeighborRequest) Descriptor() ([]byte, []int)

func (*GetNeighborRequest) GetAddress

func (m *GetNeighborRequest) GetAddress() string

func (*GetNeighborRequest) GetEnableAdvertised

func (m *GetNeighborRequest) GetEnableAdvertised() bool

func (*GetNeighborRequest) ProtoMessage

func (*GetNeighborRequest) ProtoMessage()

func (*GetNeighborRequest) Reset

func (m *GetNeighborRequest) Reset()

func (*GetNeighborRequest) String

func (m *GetNeighborRequest) String() string

type GetNeighborResponse

type GetNeighborResponse struct {
	Peers []*Peer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"`
}

func (*GetNeighborResponse) Descriptor

func (*GetNeighborResponse) Descriptor() ([]byte, []int)

func (*GetNeighborResponse) GetPeers

func (m *GetNeighborResponse) GetPeers() []*Peer

func (*GetNeighborResponse) ProtoMessage

func (*GetNeighborResponse) ProtoMessage()

func (*GetNeighborResponse) Reset

func (m *GetNeighborResponse) Reset()

func (*GetNeighborResponse) String

func (m *GetNeighborResponse) String() string

type GetPathRequest

type GetPathRequest struct {
	Type     Resource             `protobuf:"varint,1,opt,name=type,enum=gobgpapi.Resource" json:"type,omitempty"`
	Name     string               `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Family   uint32               `protobuf:"varint,3,opt,name=family" json:"family,omitempty"`
	Prefixes []*TableLookupPrefix `protobuf:"bytes,4,rep,name=prefixes" json:"prefixes,omitempty"`
}

func (*GetPathRequest) Descriptor

func (*GetPathRequest) Descriptor() ([]byte, []int)

func (*GetPathRequest) GetFamily

func (m *GetPathRequest) GetFamily() uint32

func (*GetPathRequest) GetName

func (m *GetPathRequest) GetName() string

func (*GetPathRequest) GetPrefixes

func (m *GetPathRequest) GetPrefixes() []*TableLookupPrefix

func (*GetPathRequest) GetType

func (m *GetPathRequest) GetType() Resource

func (*GetPathRequest) ProtoMessage

func (*GetPathRequest) ProtoMessage()

func (*GetPathRequest) Reset

func (m *GetPathRequest) Reset()

func (*GetPathRequest) String

func (m *GetPathRequest) String() string

type GetPolicyAssignmentRequest

type GetPolicyAssignmentRequest struct {
	Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"`
}

func (*GetPolicyAssignmentRequest) Descriptor

func (*GetPolicyAssignmentRequest) Descriptor() ([]byte, []int)

func (*GetPolicyAssignmentRequest) GetAssignment

func (m *GetPolicyAssignmentRequest) GetAssignment() *PolicyAssignment

func (*GetPolicyAssignmentRequest) ProtoMessage

func (*GetPolicyAssignmentRequest) ProtoMessage()

func (*GetPolicyAssignmentRequest) Reset

func (m *GetPolicyAssignmentRequest) Reset()

func (*GetPolicyAssignmentRequest) String

func (m *GetPolicyAssignmentRequest) String() string

type GetPolicyAssignmentResponse

type GetPolicyAssignmentResponse struct {
	Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"`
}

func (*GetPolicyAssignmentResponse) Descriptor

func (*GetPolicyAssignmentResponse) Descriptor() ([]byte, []int)

func (*GetPolicyAssignmentResponse) GetAssignment

func (m *GetPolicyAssignmentResponse) GetAssignment() *PolicyAssignment

func (*GetPolicyAssignmentResponse) ProtoMessage

func (*GetPolicyAssignmentResponse) ProtoMessage()

func (*GetPolicyAssignmentResponse) Reset

func (m *GetPolicyAssignmentResponse) Reset()

func (*GetPolicyAssignmentResponse) String

func (m *GetPolicyAssignmentResponse) String() string

type GetPolicyRequest

type GetPolicyRequest struct {
}

func (*GetPolicyRequest) Descriptor

func (*GetPolicyRequest) Descriptor() ([]byte, []int)

func (*GetPolicyRequest) ProtoMessage

func (*GetPolicyRequest) ProtoMessage()

func (*GetPolicyRequest) Reset

func (m *GetPolicyRequest) Reset()

func (*GetPolicyRequest) String

func (m *GetPolicyRequest) String() string

type GetPolicyResponse

type GetPolicyResponse struct {
	Policies []*Policy `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"`
}

func (*GetPolicyResponse) Descriptor

func (*GetPolicyResponse) Descriptor() ([]byte, []int)

func (*GetPolicyResponse) GetPolicies

func (m *GetPolicyResponse) GetPolicies() []*Policy

func (*GetPolicyResponse) ProtoMessage

func (*GetPolicyResponse) ProtoMessage()

func (*GetPolicyResponse) Reset

func (m *GetPolicyResponse) Reset()

func (*GetPolicyResponse) String

func (m *GetPolicyResponse) String() string

type GetRibInfoRequest

type GetRibInfoRequest struct {
	Info *TableInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}

func (*GetRibInfoRequest) Descriptor

func (*GetRibInfoRequest) Descriptor() ([]byte, []int)

func (*GetRibInfoRequest) GetInfo

func (m *GetRibInfoRequest) GetInfo() *TableInfo

func (*GetRibInfoRequest) ProtoMessage

func (*GetRibInfoRequest) ProtoMessage()

func (*GetRibInfoRequest) Reset

func (m *GetRibInfoRequest) Reset()

func (*GetRibInfoRequest) String

func (m *GetRibInfoRequest) String() string

type GetRibInfoResponse

type GetRibInfoResponse struct {
	Info *TableInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
}

func (*GetRibInfoResponse) Descriptor

func (*GetRibInfoResponse) Descriptor() ([]byte, []int)

func (*GetRibInfoResponse) GetInfo

func (m *GetRibInfoResponse) GetInfo() *TableInfo

func (*GetRibInfoResponse) ProtoMessage

func (*GetRibInfoResponse) ProtoMessage()

func (*GetRibInfoResponse) Reset

func (m *GetRibInfoResponse) Reset()

func (*GetRibInfoResponse) String

func (m *GetRibInfoResponse) String() string

type GetRibRequest

type GetRibRequest struct {
	Table *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
}

func (*GetRibRequest) Descriptor

func (*GetRibRequest) Descriptor() ([]byte, []int)

func (*GetRibRequest) GetTable

func (m *GetRibRequest) GetTable() *Table

func (*GetRibRequest) ProtoMessage

func (*GetRibRequest) ProtoMessage()

func (*GetRibRequest) Reset

func (m *GetRibRequest) Reset()

func (*GetRibRequest) String

func (m *GetRibRequest) String() string

type GetRibResponse

type GetRibResponse struct {
	Table *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
}

func (*GetRibResponse) Descriptor

func (*GetRibResponse) Descriptor() ([]byte, []int)

func (*GetRibResponse) GetTable

func (m *GetRibResponse) GetTable() *Table

func (*GetRibResponse) ProtoMessage

func (*GetRibResponse) ProtoMessage()

func (*GetRibResponse) Reset

func (m *GetRibResponse) Reset()

func (*GetRibResponse) String

func (m *GetRibResponse) String() string

type GetRoaRequest

type GetRoaRequest struct {
	Family uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
}

func (*GetRoaRequest) Descriptor

func (*GetRoaRequest) Descriptor() ([]byte, []int)

func (*GetRoaRequest) GetFamily

func (m *GetRoaRequest) GetFamily() uint32

func (*GetRoaRequest) ProtoMessage

func (*GetRoaRequest) ProtoMessage()

func (*GetRoaRequest) Reset

func (m *GetRoaRequest) Reset()

func (*GetRoaRequest) String

func (m *GetRoaRequest) String() string

type GetRoaResponse

type GetRoaResponse struct {
	Roas []*Roa `protobuf:"bytes,1,rep,name=roas" json:"roas,omitempty"`
}

func (*GetRoaResponse) Descriptor

func (*GetRoaResponse) Descriptor() ([]byte, []int)

func (*GetRoaResponse) GetRoas

func (m *GetRoaResponse) GetRoas() []*Roa

func (*GetRoaResponse) ProtoMessage

func (*GetRoaResponse) ProtoMessage()

func (*GetRoaResponse) Reset

func (m *GetRoaResponse) Reset()

func (*GetRoaResponse) String

func (m *GetRoaResponse) String() string

type GetRpkiRequest

type GetRpkiRequest struct {
	Family uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
}

func (*GetRpkiRequest) Descriptor

func (*GetRpkiRequest) Descriptor() ([]byte, []int)

func (*GetRpkiRequest) GetFamily

func (m *GetRpkiRequest) GetFamily() uint32

func (*GetRpkiRequest) ProtoMessage

func (*GetRpkiRequest) ProtoMessage()

func (*GetRpkiRequest) Reset

func (m *GetRpkiRequest) Reset()

func (*GetRpkiRequest) String

func (m *GetRpkiRequest) String() string

type GetRpkiResponse

type GetRpkiResponse struct {
	Servers []*Rpki `protobuf:"bytes,1,rep,name=servers" json:"servers,omitempty"`
}

func (*GetRpkiResponse) Descriptor

func (*GetRpkiResponse) Descriptor() ([]byte, []int)

func (*GetRpkiResponse) GetServers

func (m *GetRpkiResponse) GetServers() []*Rpki

func (*GetRpkiResponse) ProtoMessage

func (*GetRpkiResponse) ProtoMessage()

func (*GetRpkiResponse) Reset

func (m *GetRpkiResponse) Reset()

func (*GetRpkiResponse) String

func (m *GetRpkiResponse) String() string

type GetServerRequest

type GetServerRequest struct {
}

func (*GetServerRequest) Descriptor

func (*GetServerRequest) Descriptor() ([]byte, []int)

func (*GetServerRequest) ProtoMessage

func (*GetServerRequest) ProtoMessage()

func (*GetServerRequest) Reset

func (m *GetServerRequest) Reset()

func (*GetServerRequest) String

func (m *GetServerRequest) String() string

type GetServerResponse

type GetServerResponse struct {
	Global *Global `protobuf:"bytes,1,opt,name=global" json:"global,omitempty"`
}

func (*GetServerResponse) Descriptor

func (*GetServerResponse) Descriptor() ([]byte, []int)

func (*GetServerResponse) GetGlobal

func (m *GetServerResponse) GetGlobal() *Global

func (*GetServerResponse) ProtoMessage

func (*GetServerResponse) ProtoMessage()

func (*GetServerResponse) Reset

func (m *GetServerResponse) Reset()

func (*GetServerResponse) String

func (m *GetServerResponse) String() string

type GetStatementRequest

type GetStatementRequest struct {
}

func (*GetStatementRequest) Descriptor

func (*GetStatementRequest) Descriptor() ([]byte, []int)

func (*GetStatementRequest) ProtoMessage

func (*GetStatementRequest) ProtoMessage()

func (*GetStatementRequest) Reset

func (m *GetStatementRequest) Reset()

func (*GetStatementRequest) String

func (m *GetStatementRequest) String() string

type GetStatementResponse

type GetStatementResponse struct {
	Statements []*Statement `protobuf:"bytes,1,rep,name=statements" json:"statements,omitempty"`
}

func (*GetStatementResponse) Descriptor

func (*GetStatementResponse) Descriptor() ([]byte, []int)

func (*GetStatementResponse) GetStatements

func (m *GetStatementResponse) GetStatements() []*Statement

func (*GetStatementResponse) ProtoMessage

func (*GetStatementResponse) ProtoMessage()

func (*GetStatementResponse) Reset

func (m *GetStatementResponse) Reset()

func (*GetStatementResponse) String

func (m *GetStatementResponse) String() string

type GetVrfRequest

type GetVrfRequest struct {
}

func (*GetVrfRequest) Descriptor

func (*GetVrfRequest) Descriptor() ([]byte, []int)

func (*GetVrfRequest) ProtoMessage

func (*GetVrfRequest) ProtoMessage()

func (*GetVrfRequest) Reset

func (m *GetVrfRequest) Reset()

func (*GetVrfRequest) String

func (m *GetVrfRequest) String() string

type GetVrfResponse

type GetVrfResponse struct {
	Vrfs []*Vrf `protobuf:"bytes,1,rep,name=vrfs" json:"vrfs,omitempty"`
}

func (*GetVrfResponse) Descriptor

func (*GetVrfResponse) Descriptor() ([]byte, []int)

func (*GetVrfResponse) GetVrfs

func (m *GetVrfResponse) GetVrfs() []*Vrf

func (*GetVrfResponse) ProtoMessage

func (*GetVrfResponse) ProtoMessage()

func (*GetVrfResponse) Reset

func (m *GetVrfResponse) Reset()

func (*GetVrfResponse) String

func (m *GetVrfResponse) String() string

type Global

type Global struct {
	As                    uint32                       `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	RouterId              string                       `protobuf:"bytes,2,opt,name=router_id,json=routerId" json:"router_id,omitempty"`
	ListenPort            int32                        `protobuf:"varint,3,opt,name=listen_port,json=listenPort" json:"listen_port,omitempty"`
	ListenAddresses       []string                     `protobuf:"bytes,4,rep,name=listen_addresses,json=listenAddresses" json:"listen_addresses,omitempty"`
	Families              []uint32                     `protobuf:"varint,5,rep,packed,name=families" json:"families,omitempty"`
	UseMultiplePaths      bool                         `protobuf:"varint,6,opt,name=use_multiple_paths,json=useMultiplePaths" json:"use_multiple_paths,omitempty"`
	RouteSelectionOptions *RouteSelectionOptionsConfig `protobuf:"bytes,7,opt,name=route_selection_options,json=routeSelectionOptions" json:"route_selection_options,omitempty"`
	DefaultRouteDistance  *DefaultRouteDistance        `protobuf:"bytes,8,opt,name=default_route_distance,json=defaultRouteDistance" json:"default_route_distance,omitempty"`
	Confederation         *Confederation               `protobuf:"bytes,9,opt,name=confederation" json:"confederation,omitempty"`
	GracefulRestart       *GracefulRestart             `protobuf:"bytes,10,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"`
	ApplyPolicy           *ApplyPolicy                 `protobuf:"bytes,11,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"`
}

func NewGlobalFromConfigStruct

func NewGlobalFromConfigStruct(c *config.Global) *Global

func (*Global) Descriptor

func (*Global) Descriptor() ([]byte, []int)

func (*Global) GetApplyPolicy

func (m *Global) GetApplyPolicy() *ApplyPolicy

func (*Global) GetAs

func (m *Global) GetAs() uint32

func (*Global) GetConfederation

func (m *Global) GetConfederation() *Confederation

func (*Global) GetDefaultRouteDistance

func (m *Global) GetDefaultRouteDistance() *DefaultRouteDistance

func (*Global) GetFamilies

func (m *Global) GetFamilies() []uint32

func (*Global) GetGracefulRestart

func (m *Global) GetGracefulRestart() *GracefulRestart

func (*Global) GetListenAddresses

func (m *Global) GetListenAddresses() []string

func (*Global) GetListenPort

func (m *Global) GetListenPort() int32

func (*Global) GetRouteSelectionOptions

func (m *Global) GetRouteSelectionOptions() *RouteSelectionOptionsConfig

func (*Global) GetRouterId

func (m *Global) GetRouterId() string

func (*Global) GetUseMultiplePaths

func (m *Global) GetUseMultiplePaths() bool

func (*Global) ProtoMessage

func (*Global) ProtoMessage()

func (*Global) Reset

func (m *Global) Reset()

func (*Global) String

func (m *Global) String() string

type GobgpApiClient

type GobgpApiClient interface {
	StartServer(ctx context.Context, in *StartServerRequest, opts ...grpc.CallOption) (*StartServerResponse, error)
	StopServer(ctx context.Context, in *StopServerRequest, opts ...grpc.CallOption) (*StopServerResponse, error)
	GetServer(ctx context.Context, in *GetServerRequest, opts ...grpc.CallOption) (*GetServerResponse, error)
	AddNeighbor(ctx context.Context, in *AddNeighborRequest, opts ...grpc.CallOption) (*AddNeighborResponse, error)
	DeleteNeighbor(ctx context.Context, in *DeleteNeighborRequest, opts ...grpc.CallOption) (*DeleteNeighborResponse, error)
	UpdateNeighbor(ctx context.Context, in *UpdateNeighborRequest, opts ...grpc.CallOption) (*UpdateNeighborResponse, error)
	GetNeighbor(ctx context.Context, in *GetNeighborRequest, opts ...grpc.CallOption) (*GetNeighborResponse, error)
	ResetNeighbor(ctx context.Context, in *ResetNeighborRequest, opts ...grpc.CallOption) (*ResetNeighborResponse, error)
	SoftResetNeighbor(ctx context.Context, in *SoftResetNeighborRequest, opts ...grpc.CallOption) (*SoftResetNeighborResponse, error)
	ShutdownNeighbor(ctx context.Context, in *ShutdownNeighborRequest, opts ...grpc.CallOption) (*ShutdownNeighborResponse, error)
	EnableNeighbor(ctx context.Context, in *EnableNeighborRequest, opts ...grpc.CallOption) (*EnableNeighborResponse, error)
	DisableNeighbor(ctx context.Context, in *DisableNeighborRequest, opts ...grpc.CallOption) (*DisableNeighborResponse, error)
	GetRib(ctx context.Context, in *GetRibRequest, opts ...grpc.CallOption) (*GetRibResponse, error)
	GetPath(ctx context.Context, in *GetPathRequest, opts ...grpc.CallOption) (GobgpApi_GetPathClient, error)
	ValidateRib(ctx context.Context, in *ValidateRibRequest, opts ...grpc.CallOption) (*ValidateRibResponse, error)
	AddPath(ctx context.Context, in *AddPathRequest, opts ...grpc.CallOption) (*AddPathResponse, error)
	DeletePath(ctx context.Context, in *DeletePathRequest, opts ...grpc.CallOption) (*DeletePathResponse, error)
	MonitorRib(ctx context.Context, in *MonitorRibRequest, opts ...grpc.CallOption) (GobgpApi_MonitorRibClient, error)
	MonitorPeerState(ctx context.Context, in *Arguments, opts ...grpc.CallOption) (GobgpApi_MonitorPeerStateClient, error)
	EnableMrt(ctx context.Context, in *EnableMrtRequest, opts ...grpc.CallOption) (*EnableMrtResponse, error)
	DisableMrt(ctx context.Context, in *DisableMrtRequest, opts ...grpc.CallOption) (*DisableMrtResponse, error)
	InjectMrt(ctx context.Context, opts ...grpc.CallOption) (GobgpApi_InjectMrtClient, error)
	AddBmp(ctx context.Context, in *AddBmpRequest, opts ...grpc.CallOption) (*AddBmpResponse, error)
	DeleteBmp(ctx context.Context, in *DeleteBmpRequest, opts ...grpc.CallOption) (*DeleteBmpResponse, error)
	GetRpki(ctx context.Context, in *GetRpkiRequest, opts ...grpc.CallOption) (*GetRpkiResponse, error)
	AddRpki(ctx context.Context, in *AddRpkiRequest, opts ...grpc.CallOption) (*AddRpkiResponse, error)
	DeleteRpki(ctx context.Context, in *DeleteRpkiRequest, opts ...grpc.CallOption) (*DeleteRpkiResponse, error)
	EnableRpki(ctx context.Context, in *EnableRpkiRequest, opts ...grpc.CallOption) (*EnableRpkiResponse, error)
	DisableRpki(ctx context.Context, in *DisableRpkiRequest, opts ...grpc.CallOption) (*DisableRpkiResponse, error)
	ResetRpki(ctx context.Context, in *ResetRpkiRequest, opts ...grpc.CallOption) (*ResetRpkiResponse, error)
	SoftResetRpki(ctx context.Context, in *SoftResetRpkiRequest, opts ...grpc.CallOption) (*SoftResetRpkiResponse, error)
	GetRoa(ctx context.Context, in *GetRoaRequest, opts ...grpc.CallOption) (*GetRoaResponse, error)
	EnableZebra(ctx context.Context, in *EnableZebraRequest, opts ...grpc.CallOption) (*EnableZebraResponse, error)
	AddVrf(ctx context.Context, in *AddVrfRequest, opts ...grpc.CallOption) (*AddVrfResponse, error)
	DeleteVrf(ctx context.Context, in *DeleteVrfRequest, opts ...grpc.CallOption) (*DeleteVrfResponse, error)
	GetVrf(ctx context.Context, in *GetVrfRequest, opts ...grpc.CallOption) (*GetVrfResponse, error)
	GetDefinedSet(ctx context.Context, in *GetDefinedSetRequest, opts ...grpc.CallOption) (*GetDefinedSetResponse, error)
	AddDefinedSet(ctx context.Context, in *AddDefinedSetRequest, opts ...grpc.CallOption) (*AddDefinedSetResponse, error)
	DeleteDefinedSet(ctx context.Context, in *DeleteDefinedSetRequest, opts ...grpc.CallOption) (*DeleteDefinedSetResponse, error)
	ReplaceDefinedSet(ctx context.Context, in *ReplaceDefinedSetRequest, opts ...grpc.CallOption) (*ReplaceDefinedSetResponse, error)
	GetStatement(ctx context.Context, in *GetStatementRequest, opts ...grpc.CallOption) (*GetStatementResponse, error)
	AddStatement(ctx context.Context, in *AddStatementRequest, opts ...grpc.CallOption) (*AddStatementResponse, error)
	DeleteStatement(ctx context.Context, in *DeleteStatementRequest, opts ...grpc.CallOption) (*DeleteStatementResponse, error)
	ReplaceStatement(ctx context.Context, in *ReplaceStatementRequest, opts ...grpc.CallOption) (*ReplaceStatementResponse, error)
	GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*GetPolicyResponse, error)
	AddPolicy(ctx context.Context, in *AddPolicyRequest, opts ...grpc.CallOption) (*AddPolicyResponse, error)
	DeletePolicy(ctx context.Context, in *DeletePolicyRequest, opts ...grpc.CallOption) (*DeletePolicyResponse, error)
	ReplacePolicy(ctx context.Context, in *ReplacePolicyRequest, opts ...grpc.CallOption) (*ReplacePolicyResponse, error)
	UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*UpdatePolicyResponse, error)
	GetPolicyAssignment(ctx context.Context, in *GetPolicyAssignmentRequest, opts ...grpc.CallOption) (*GetPolicyAssignmentResponse, error)
	AddPolicyAssignment(ctx context.Context, in *AddPolicyAssignmentRequest, opts ...grpc.CallOption) (*AddPolicyAssignmentResponse, error)
	DeletePolicyAssignment(ctx context.Context, in *DeletePolicyAssignmentRequest, opts ...grpc.CallOption) (*DeletePolicyAssignmentResponse, error)
	ReplacePolicyAssignment(ctx context.Context, in *ReplacePolicyAssignmentRequest, opts ...grpc.CallOption) (*ReplacePolicyAssignmentResponse, error)
	GetRibInfo(ctx context.Context, in *GetRibInfoRequest, opts ...grpc.CallOption) (*GetRibInfoResponse, error)
	AddPeerGroup(ctx context.Context, in *AddPeerGroupRequest, opts ...grpc.CallOption) (*AddPeerGroupResponse, error)
	DeletePeerGroup(ctx context.Context, in *DeletePeerGroupRequest, opts ...grpc.CallOption) (*DeletePeerGroupResponse, error)
	UpdatePeerGroup(ctx context.Context, in *UpdatePeerGroupRequest, opts ...grpc.CallOption) (*UpdatePeerGroupResponse, error)
	AddDynamicNeighbor(ctx context.Context, in *AddDynamicNeighborRequest, opts ...grpc.CallOption) (*AddDynamicNeighborResponse, error)
	AddCollector(ctx context.Context, in *AddCollectorRequest, opts ...grpc.CallOption) (*AddCollectorResponse, error)
	Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
}

func NewGobgpApiClient

func NewGobgpApiClient(cc *grpc.ClientConn) GobgpApiClient

type GobgpApiServer

type GobgpApiServer interface {
	StartServer(context.Context, *StartServerRequest) (*StartServerResponse, error)
	StopServer(context.Context, *StopServerRequest) (*StopServerResponse, error)
	GetServer(context.Context, *GetServerRequest) (*GetServerResponse, error)
	AddNeighbor(context.Context, *AddNeighborRequest) (*AddNeighborResponse, error)
	DeleteNeighbor(context.Context, *DeleteNeighborRequest) (*DeleteNeighborResponse, error)
	UpdateNeighbor(context.Context, *UpdateNeighborRequest) (*UpdateNeighborResponse, error)
	GetNeighbor(context.Context, *GetNeighborRequest) (*GetNeighborResponse, error)
	ResetNeighbor(context.Context, *ResetNeighborRequest) (*ResetNeighborResponse, error)
	SoftResetNeighbor(context.Context, *SoftResetNeighborRequest) (*SoftResetNeighborResponse, error)
	ShutdownNeighbor(context.Context, *ShutdownNeighborRequest) (*ShutdownNeighborResponse, error)
	EnableNeighbor(context.Context, *EnableNeighborRequest) (*EnableNeighborResponse, error)
	DisableNeighbor(context.Context, *DisableNeighborRequest) (*DisableNeighborResponse, error)
	GetRib(context.Context, *GetRibRequest) (*GetRibResponse, error)
	GetPath(*GetPathRequest, GobgpApi_GetPathServer) error
	ValidateRib(context.Context, *ValidateRibRequest) (*ValidateRibResponse, error)
	AddPath(context.Context, *AddPathRequest) (*AddPathResponse, error)
	DeletePath(context.Context, *DeletePathRequest) (*DeletePathResponse, error)
	MonitorRib(*MonitorRibRequest, GobgpApi_MonitorRibServer) error
	MonitorPeerState(*Arguments, GobgpApi_MonitorPeerStateServer) error
	EnableMrt(context.Context, *EnableMrtRequest) (*EnableMrtResponse, error)
	DisableMrt(context.Context, *DisableMrtRequest) (*DisableMrtResponse, error)
	InjectMrt(GobgpApi_InjectMrtServer) error
	AddBmp(context.Context, *AddBmpRequest) (*AddBmpResponse, error)
	DeleteBmp(context.Context, *DeleteBmpRequest) (*DeleteBmpResponse, error)
	GetRpki(context.Context, *GetRpkiRequest) (*GetRpkiResponse, error)
	AddRpki(context.Context, *AddRpkiRequest) (*AddRpkiResponse, error)
	DeleteRpki(context.Context, *DeleteRpkiRequest) (*DeleteRpkiResponse, error)
	EnableRpki(context.Context, *EnableRpkiRequest) (*EnableRpkiResponse, error)
	DisableRpki(context.Context, *DisableRpkiRequest) (*DisableRpkiResponse, error)
	ResetRpki(context.Context, *ResetRpkiRequest) (*ResetRpkiResponse, error)
	SoftResetRpki(context.Context, *SoftResetRpkiRequest) (*SoftResetRpkiResponse, error)
	GetRoa(context.Context, *GetRoaRequest) (*GetRoaResponse, error)
	EnableZebra(context.Context, *EnableZebraRequest) (*EnableZebraResponse, error)
	AddVrf(context.Context, *AddVrfRequest) (*AddVrfResponse, error)
	DeleteVrf(context.Context, *DeleteVrfRequest) (*DeleteVrfResponse, error)
	GetVrf(context.Context, *GetVrfRequest) (*GetVrfResponse, error)
	GetDefinedSet(context.Context, *GetDefinedSetRequest) (*GetDefinedSetResponse, error)
	AddDefinedSet(context.Context, *AddDefinedSetRequest) (*AddDefinedSetResponse, error)
	DeleteDefinedSet(context.Context, *DeleteDefinedSetRequest) (*DeleteDefinedSetResponse, error)
	ReplaceDefinedSet(context.Context, *ReplaceDefinedSetRequest) (*ReplaceDefinedSetResponse, error)
	GetStatement(context.Context, *GetStatementRequest) (*GetStatementResponse, error)
	AddStatement(context.Context, *AddStatementRequest) (*AddStatementResponse, error)
	DeleteStatement(context.Context, *DeleteStatementRequest) (*DeleteStatementResponse, error)
	ReplaceStatement(context.Context, *ReplaceStatementRequest) (*ReplaceStatementResponse, error)
	GetPolicy(context.Context, *GetPolicyRequest) (*GetPolicyResponse, error)
	AddPolicy(context.Context, *AddPolicyRequest) (*AddPolicyResponse, error)
	DeletePolicy(context.Context, *DeletePolicyRequest) (*DeletePolicyResponse, error)
	ReplacePolicy(context.Context, *ReplacePolicyRequest) (*ReplacePolicyResponse, error)
	UpdatePolicy(context.Context, *UpdatePolicyRequest) (*UpdatePolicyResponse, error)
	GetPolicyAssignment(context.Context, *GetPolicyAssignmentRequest) (*GetPolicyAssignmentResponse, error)
	AddPolicyAssignment(context.Context, *AddPolicyAssignmentRequest) (*AddPolicyAssignmentResponse, error)
	DeletePolicyAssignment(context.Context, *DeletePolicyAssignmentRequest) (*DeletePolicyAssignmentResponse, error)
	ReplacePolicyAssignment(context.Context, *ReplacePolicyAssignmentRequest) (*ReplacePolicyAssignmentResponse, error)
	GetRibInfo(context.Context, *GetRibInfoRequest) (*GetRibInfoResponse, error)
	AddPeerGroup(context.Context, *AddPeerGroupRequest) (*AddPeerGroupResponse, error)
	DeletePeerGroup(context.Context, *DeletePeerGroupRequest) (*DeletePeerGroupResponse, error)
	UpdatePeerGroup(context.Context, *UpdatePeerGroupRequest) (*UpdatePeerGroupResponse, error)
	AddDynamicNeighbor(context.Context, *AddDynamicNeighborRequest) (*AddDynamicNeighborResponse, error)
	AddCollector(context.Context, *AddCollectorRequest) (*AddCollectorResponse, error)
	Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
}

type GobgpApi_GetPathClient

type GobgpApi_GetPathClient interface {
	Recv() (*Path, error)
	grpc.ClientStream
}

type GobgpApi_GetPathServer

type GobgpApi_GetPathServer interface {
	Send(*Path) error
	grpc.ServerStream
}

type GobgpApi_InjectMrtClient

type GobgpApi_InjectMrtClient interface {
	Send(*InjectMrtRequest) error
	CloseAndRecv() (*InjectMrtResponse, error)
	grpc.ClientStream
}

type GobgpApi_InjectMrtServer

type GobgpApi_InjectMrtServer interface {
	SendAndClose(*InjectMrtResponse) error
	Recv() (*InjectMrtRequest, error)
	grpc.ServerStream
}

type GobgpApi_MonitorPeerStateClient

type GobgpApi_MonitorPeerStateClient interface {
	Recv() (*Peer, error)
	grpc.ClientStream
}

type GobgpApi_MonitorPeerStateServer

type GobgpApi_MonitorPeerStateServer interface {
	Send(*Peer) error
	grpc.ServerStream
}

type GobgpApi_MonitorRibClient

type GobgpApi_MonitorRibClient interface {
	Recv() (*Destination, error)
	grpc.ClientStream
}

type GobgpApi_MonitorRibServer

type GobgpApi_MonitorRibServer interface {
	Send(*Destination) error
	grpc.ServerStream
}

type GracefulRestart

type GracefulRestart struct {
	Enabled             bool   `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	RestartTime         uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime" json:"restart_time,omitempty"`
	HelperOnly          bool   `protobuf:"varint,3,opt,name=helper_only,json=helperOnly" json:"helper_only,omitempty"`
	DeferralTime        uint32 `protobuf:"varint,4,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"`
	NotificationEnabled bool   `protobuf:"varint,5,opt,name=notification_enabled,json=notificationEnabled" json:"notification_enabled,omitempty"`
	LonglivedEnabled    bool   `protobuf:"varint,6,opt,name=longlived_enabled,json=longlivedEnabled" json:"longlived_enabled,omitempty"`
	StaleRoutesTime     uint32 `protobuf:"varint,7,opt,name=stale_routes_time,json=staleRoutesTime" json:"stale_routes_time,omitempty"`
	PeerRestartTime     uint32 `protobuf:"varint,8,opt,name=peer_restart_time,json=peerRestartTime" json:"peer_restart_time,omitempty"`
	PeerRestarting      bool   `protobuf:"varint,9,opt,name=peer_restarting,json=peerRestarting" json:"peer_restarting,omitempty"`
	LocalRestarting     bool   `protobuf:"varint,10,opt,name=local_restarting,json=localRestarting" json:"local_restarting,omitempty"`
	Mode                string `protobuf:"bytes,11,opt,name=mode" json:"mode,omitempty"`
}

func (*GracefulRestart) Descriptor

func (*GracefulRestart) Descriptor() ([]byte, []int)

func (*GracefulRestart) GetDeferralTime

func (m *GracefulRestart) GetDeferralTime() uint32

func (*GracefulRestart) GetEnabled

func (m *GracefulRestart) GetEnabled() bool

func (*GracefulRestart) GetHelperOnly

func (m *GracefulRestart) GetHelperOnly() bool

func (*GracefulRestart) GetLocalRestarting

func (m *GracefulRestart) GetLocalRestarting() bool

func (*GracefulRestart) GetLonglivedEnabled

func (m *GracefulRestart) GetLonglivedEnabled() bool

func (*GracefulRestart) GetMode

func (m *GracefulRestart) GetMode() string

func (*GracefulRestart) GetNotificationEnabled

func (m *GracefulRestart) GetNotificationEnabled() bool

func (*GracefulRestart) GetPeerRestartTime

func (m *GracefulRestart) GetPeerRestartTime() uint32

func (*GracefulRestart) GetPeerRestarting

func (m *GracefulRestart) GetPeerRestarting() bool

func (*GracefulRestart) GetRestartTime

func (m *GracefulRestart) GetRestartTime() uint32

func (*GracefulRestart) GetStaleRoutesTime

func (m *GracefulRestart) GetStaleRoutesTime() uint32

func (*GracefulRestart) ProtoMessage

func (*GracefulRestart) ProtoMessage()

func (*GracefulRestart) Reset

func (m *GracefulRestart) Reset()

func (*GracefulRestart) String

func (m *GracefulRestart) String() string

type GracefulRestartCapability

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"`
}

func (*GracefulRestartCapability) Descriptor

func (*GracefulRestartCapability) Descriptor() ([]byte, []int)

func (*GracefulRestartCapability) GetFlags

func (m *GracefulRestartCapability) GetFlags() uint32

func (*GracefulRestartCapability) GetTime

func (m *GracefulRestartCapability) GetTime() uint32

func (*GracefulRestartCapability) GetTuples

func (*GracefulRestartCapability) ProtoMessage

func (*GracefulRestartCapability) ProtoMessage()

func (*GracefulRestartCapability) Reset

func (m *GracefulRestartCapability) Reset()

func (*GracefulRestartCapability) String

func (m *GracefulRestartCapability) String() string

func (*GracefulRestartCapability) ToNative

type GracefulRestartCapabilityTuple

type GracefulRestartCapabilityTuple struct {
	Family Family `protobuf:"varint,1,opt,name=family,enum=gobgpapi.Family" json:"family,omitempty"`
	Flags  uint32 `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
}

func (*GracefulRestartCapabilityTuple) Descriptor

func (*GracefulRestartCapabilityTuple) Descriptor() ([]byte, []int)

func (*GracefulRestartCapabilityTuple) GetFamily

func (m *GracefulRestartCapabilityTuple) GetFamily() Family

func (*GracefulRestartCapabilityTuple) GetFlags

func (m *GracefulRestartCapabilityTuple) GetFlags() uint32

func (*GracefulRestartCapabilityTuple) ProtoMessage

func (*GracefulRestartCapabilityTuple) ProtoMessage()

func (*GracefulRestartCapabilityTuple) Reset

func (m *GracefulRestartCapabilityTuple) Reset()

func (*GracefulRestartCapabilityTuple) String

type IP6ExtendedCommunitiesAttribute

type IP6ExtendedCommunitiesAttribute struct {
	// Each Community must be one of:
	// - IPv6AddressSpecificExtended
	// - RedirectIPv6AddressSpecificExtended
	Communities []*google_protobuf.Any `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"`
}

func (*IP6ExtendedCommunitiesAttribute) Descriptor

func (*IP6ExtendedCommunitiesAttribute) Descriptor() ([]byte, []int)

func (*IP6ExtendedCommunitiesAttribute) GetCommunities

func (m *IP6ExtendedCommunitiesAttribute) GetCommunities() []*google_protobuf.Any

func (*IP6ExtendedCommunitiesAttribute) ProtoMessage

func (*IP6ExtendedCommunitiesAttribute) ProtoMessage()

func (*IP6ExtendedCommunitiesAttribute) Reset

func (*IP6ExtendedCommunitiesAttribute) String

func (*IP6ExtendedCommunitiesAttribute) ToNative

type IPAddressPrefix

type IPAddressPrefix struct {
	PrefixLen uint32 `protobuf:"varint,1,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"`
	Prefix    string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty"`
}

IPAddressPrefix represents the NLRI for: - AFI=1, SAFI=1 - AFI=2, SAFI=1

func (*IPAddressPrefix) Descriptor

func (*IPAddressPrefix) Descriptor() ([]byte, []int)

func (*IPAddressPrefix) GetPrefix

func (m *IPAddressPrefix) GetPrefix() string

func (*IPAddressPrefix) GetPrefixLen

func (m *IPAddressPrefix) GetPrefixLen() uint32

func (*IPAddressPrefix) ProtoMessage

func (*IPAddressPrefix) ProtoMessage()

func (*IPAddressPrefix) Reset

func (m *IPAddressPrefix) Reset()

func (*IPAddressPrefix) String

func (m *IPAddressPrefix) String() string

type IPv4AddressSpecificExtended

type IPv4AddressSpecificExtended struct {
	IsTransitive bool   `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"`
	SubType      uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"`
	Address      string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
	LocalAdmin   uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*IPv4AddressSpecificExtended) Descriptor

func (*IPv4AddressSpecificExtended) Descriptor() ([]byte, []int)

func (*IPv4AddressSpecificExtended) GetAddress

func (m *IPv4AddressSpecificExtended) GetAddress() string

func (*IPv4AddressSpecificExtended) GetIsTransitive

func (m *IPv4AddressSpecificExtended) GetIsTransitive() bool

func (*IPv4AddressSpecificExtended) GetLocalAdmin

func (m *IPv4AddressSpecificExtended) GetLocalAdmin() uint32

func (*IPv4AddressSpecificExtended) GetSubType

func (m *IPv4AddressSpecificExtended) GetSubType() uint32

func (*IPv4AddressSpecificExtended) ProtoMessage

func (*IPv4AddressSpecificExtended) ProtoMessage()

func (*IPv4AddressSpecificExtended) Reset

func (m *IPv4AddressSpecificExtended) Reset()

func (*IPv4AddressSpecificExtended) String

func (m *IPv4AddressSpecificExtended) String() string

type IPv6AddressSpecificExtended

type IPv6AddressSpecificExtended struct {
	IsTransitive bool   `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"`
	SubType      uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"`
	Address      string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
	LocalAdmin   uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*IPv6AddressSpecificExtended) Descriptor

func (*IPv6AddressSpecificExtended) Descriptor() ([]byte, []int)

func (*IPv6AddressSpecificExtended) GetAddress

func (m *IPv6AddressSpecificExtended) GetAddress() string

func (*IPv6AddressSpecificExtended) GetIsTransitive

func (m *IPv6AddressSpecificExtended) GetIsTransitive() bool

func (*IPv6AddressSpecificExtended) GetLocalAdmin

func (m *IPv6AddressSpecificExtended) GetLocalAdmin() uint32

func (*IPv6AddressSpecificExtended) GetSubType

func (m *IPv6AddressSpecificExtended) GetSubType() uint32

func (*IPv6AddressSpecificExtended) ProtoMessage

func (*IPv6AddressSpecificExtended) ProtoMessage()

func (*IPv6AddressSpecificExtended) Reset

func (m *IPv6AddressSpecificExtended) Reset()

func (*IPv6AddressSpecificExtended) String

func (m *IPv6AddressSpecificExtended) String() string

type Ibgp

type Ibgp struct {
	Config *IbgpConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *IbgpState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func (*Ibgp) Descriptor

func (*Ibgp) Descriptor() ([]byte, []int)

func (*Ibgp) GetConfig

func (m *Ibgp) GetConfig() *IbgpConfig

func (*Ibgp) GetState

func (m *Ibgp) GetState() *IbgpState

func (*Ibgp) ProtoMessage

func (*Ibgp) ProtoMessage()

func (*Ibgp) Reset

func (m *Ibgp) Reset()

func (*Ibgp) String

func (m *Ibgp) String() string

type IbgpConfig

type IbgpConfig struct {
	MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"`
}

func (*IbgpConfig) Descriptor

func (*IbgpConfig) Descriptor() ([]byte, []int)

func (*IbgpConfig) GetMaximumPaths

func (m *IbgpConfig) GetMaximumPaths() uint32

func (*IbgpConfig) ProtoMessage

func (*IbgpConfig) ProtoMessage()

func (*IbgpConfig) Reset

func (m *IbgpConfig) Reset()

func (*IbgpConfig) String

func (m *IbgpConfig) String() string

type IbgpState

type IbgpState struct {
	MaximumPaths uint32 `protobuf:"varint,1,opt,name=maximum_paths,json=maximumPaths" json:"maximum_paths,omitempty"`
}

func (*IbgpState) Descriptor

func (*IbgpState) Descriptor() ([]byte, []int)

func (*IbgpState) GetMaximumPaths

func (m *IbgpState) GetMaximumPaths() uint32

func (*IbgpState) ProtoMessage

func (*IbgpState) ProtoMessage()

func (*IbgpState) Reset

func (m *IbgpState) Reset()

func (*IbgpState) String

func (m *IbgpState) String() string

type InjectMrtRequest

type InjectMrtRequest struct {
	Resource Resource `protobuf:"varint,1,opt,name=resource,enum=gobgpapi.Resource" json:"resource,omitempty"`
	VrfId    string   `protobuf:"bytes,2,opt,name=vrf_id,json=vrfId" json:"vrf_id,omitempty"`
	Paths    []*Path  `protobuf:"bytes,3,rep,name=paths" json:"paths,omitempty"`
}

func (*InjectMrtRequest) Descriptor

func (*InjectMrtRequest) Descriptor() ([]byte, []int)

func (*InjectMrtRequest) GetPaths

func (m *InjectMrtRequest) GetPaths() []*Path

func (*InjectMrtRequest) GetResource

func (m *InjectMrtRequest) GetResource() Resource

func (*InjectMrtRequest) GetVrfId

func (m *InjectMrtRequest) GetVrfId() string

func (*InjectMrtRequest) ProtoMessage

func (*InjectMrtRequest) ProtoMessage()

func (*InjectMrtRequest) Reset

func (m *InjectMrtRequest) Reset()

func (*InjectMrtRequest) String

func (m *InjectMrtRequest) String() string

type InjectMrtResponse

type InjectMrtResponse struct {
}

func (*InjectMrtResponse) Descriptor

func (*InjectMrtResponse) Descriptor() ([]byte, []int)

func (*InjectMrtResponse) ProtoMessage

func (*InjectMrtResponse) ProtoMessage()

func (*InjectMrtResponse) Reset

func (m *InjectMrtResponse) Reset()

func (*InjectMrtResponse) String

func (m *InjectMrtResponse) String() string

type LabeledIPAddressPrefix

type LabeledIPAddressPrefix struct {
	Labels    []uint32 `protobuf:"varint,1,rep,packed,name=labels" json:"labels,omitempty"`
	PrefixLen uint32   `protobuf:"varint,2,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"`
	Prefix    string   `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
}

LabeledIPAddressPrefix represents the NLRI for: - AFI=1, SAFI=4 - AFI=2, SAFI=4

func (*LabeledIPAddressPrefix) Descriptor

func (*LabeledIPAddressPrefix) Descriptor() ([]byte, []int)

func (*LabeledIPAddressPrefix) GetLabels

func (m *LabeledIPAddressPrefix) GetLabels() []uint32

func (*LabeledIPAddressPrefix) GetPrefix

func (m *LabeledIPAddressPrefix) GetPrefix() string

func (*LabeledIPAddressPrefix) GetPrefixLen

func (m *LabeledIPAddressPrefix) GetPrefixLen() uint32

func (*LabeledIPAddressPrefix) ProtoMessage

func (*LabeledIPAddressPrefix) ProtoMessage()

func (*LabeledIPAddressPrefix) Reset

func (m *LabeledIPAddressPrefix) Reset()

func (*LabeledIPAddressPrefix) String

func (m *LabeledIPAddressPrefix) String() string

type LabeledVPNIPAddressPrefix

type LabeledVPNIPAddressPrefix struct {
	Labels []uint32 `protobuf:"varint,1,rep,packed,name=labels" json:"labels,omitempty"`
	// One of:
	// - TwoOctetAsSpecificExtended
	// - IPv4AddressSpecificExtended
	// - FourOctetAsSpecificExtended
	Rd        *google_protobuf.Any `protobuf:"bytes,2,opt,name=rd" json:"rd,omitempty"`
	PrefixLen uint32               `protobuf:"varint,3,opt,name=prefix_len,json=prefixLen" json:"prefix_len,omitempty"`
	Prefix    string               `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"`
}

LabeledVPNIPAddressPrefix represents the NLRI for: - AFI=1, SAFI=128 - AFI=2, SAFI=128

func (*LabeledVPNIPAddressPrefix) Descriptor

func (*LabeledVPNIPAddressPrefix) Descriptor() ([]byte, []int)

func (*LabeledVPNIPAddressPrefix) GetLabels

func (m *LabeledVPNIPAddressPrefix) GetLabels() []uint32

func (*LabeledVPNIPAddressPrefix) GetPrefix

func (m *LabeledVPNIPAddressPrefix) GetPrefix() string

func (*LabeledVPNIPAddressPrefix) GetPrefixLen

func (m *LabeledVPNIPAddressPrefix) GetPrefixLen() uint32

func (*LabeledVPNIPAddressPrefix) GetRd

func (*LabeledVPNIPAddressPrefix) ProtoMessage

func (*LabeledVPNIPAddressPrefix) ProtoMessage()

func (*LabeledVPNIPAddressPrefix) Reset

func (m *LabeledVPNIPAddressPrefix) Reset()

func (*LabeledVPNIPAddressPrefix) String

func (m *LabeledVPNIPAddressPrefix) String() string

type LargeCommunitiesAttribute

type LargeCommunitiesAttribute struct {
	Communities []*LargeCommunity `protobuf:"bytes,1,rep,name=communities" json:"communities,omitempty"`
}

func (*LargeCommunitiesAttribute) Descriptor

func (*LargeCommunitiesAttribute) Descriptor() ([]byte, []int)

func (*LargeCommunitiesAttribute) GetCommunities

func (m *LargeCommunitiesAttribute) GetCommunities() []*LargeCommunity

func (*LargeCommunitiesAttribute) ProtoMessage

func (*LargeCommunitiesAttribute) ProtoMessage()

func (*LargeCommunitiesAttribute) Reset

func (m *LargeCommunitiesAttribute) Reset()

func (*LargeCommunitiesAttribute) String

func (m *LargeCommunitiesAttribute) String() string

func (*LargeCommunitiesAttribute) ToNative

type LargeCommunity

type LargeCommunity struct {
	GlobalAdmin uint32 `protobuf:"varint,1,opt,name=global_admin,json=globalAdmin" json:"global_admin,omitempty"`
	LocalData1  uint32 `protobuf:"varint,2,opt,name=local_data1,json=localData1" json:"local_data1,omitempty"`
	LocalData2  uint32 `protobuf:"varint,3,opt,name=local_data2,json=localData2" json:"local_data2,omitempty"`
}

func (*LargeCommunity) Descriptor

func (*LargeCommunity) Descriptor() ([]byte, []int)

func (*LargeCommunity) GetGlobalAdmin

func (m *LargeCommunity) GetGlobalAdmin() uint32

func (*LargeCommunity) GetLocalData1

func (m *LargeCommunity) GetLocalData1() uint32

func (*LargeCommunity) GetLocalData2

func (m *LargeCommunity) GetLocalData2() uint32

func (*LargeCommunity) ProtoMessage

func (*LargeCommunity) ProtoMessage()

func (*LargeCommunity) Reset

func (m *LargeCommunity) Reset()

func (*LargeCommunity) String

func (m *LargeCommunity) String() string

type LocalPrefAction

type LocalPrefAction struct {
	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}

func (*LocalPrefAction) Descriptor

func (*LocalPrefAction) Descriptor() ([]byte, []int)

func (*LocalPrefAction) GetValue

func (m *LocalPrefAction) GetValue() uint32

func (*LocalPrefAction) ProtoMessage

func (*LocalPrefAction) ProtoMessage()

func (*LocalPrefAction) Reset

func (m *LocalPrefAction) Reset()

func (*LocalPrefAction) String

func (m *LocalPrefAction) String() string

type LocalPrefAttribute

type LocalPrefAttribute struct {
	LocalPref uint32 `protobuf:"varint,1,opt,name=local_pref,json=localPref" json:"local_pref,omitempty"`
}

func NewLocalPrefAttributeFromNative

func NewLocalPrefAttributeFromNative(a *bgp.PathAttributeLocalPref) *LocalPrefAttribute

func (*LocalPrefAttribute) Descriptor

func (*LocalPrefAttribute) Descriptor() ([]byte, []int)

func (*LocalPrefAttribute) GetLocalPref

func (m *LocalPrefAttribute) GetLocalPref() uint32

func (*LocalPrefAttribute) ProtoMessage

func (*LocalPrefAttribute) ProtoMessage()

func (*LocalPrefAttribute) Reset

func (m *LocalPrefAttribute) Reset()

func (*LocalPrefAttribute) String

func (m *LocalPrefAttribute) String() string

func (*LocalPrefAttribute) ToNative

type LongLivedGracefulRestart

type LongLivedGracefulRestart struct {
	Config *LongLivedGracefulRestartConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *LongLivedGracefulRestartState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func (*LongLivedGracefulRestart) Descriptor

func (*LongLivedGracefulRestart) Descriptor() ([]byte, []int)

func (*LongLivedGracefulRestart) GetConfig

func (*LongLivedGracefulRestart) GetState

func (*LongLivedGracefulRestart) ProtoMessage

func (*LongLivedGracefulRestart) ProtoMessage()

func (*LongLivedGracefulRestart) Reset

func (m *LongLivedGracefulRestart) Reset()

func (*LongLivedGracefulRestart) String

func (m *LongLivedGracefulRestart) String() string

type LongLivedGracefulRestartCapability

type LongLivedGracefulRestartCapability struct {
	Tuples []*LongLivedGracefulRestartCapabilityTuple `protobuf:"bytes,1,rep,name=tuples" json:"tuples,omitempty"`
}

func (*LongLivedGracefulRestartCapability) Descriptor

func (*LongLivedGracefulRestartCapability) Descriptor() ([]byte, []int)

func (*LongLivedGracefulRestartCapability) GetTuples

func (*LongLivedGracefulRestartCapability) ProtoMessage

func (*LongLivedGracefulRestartCapability) ProtoMessage()

func (*LongLivedGracefulRestartCapability) Reset

func (*LongLivedGracefulRestartCapability) String

func (*LongLivedGracefulRestartCapability) ToNative

type LongLivedGracefulRestartCapabilityTuple

type LongLivedGracefulRestartCapabilityTuple struct {
	Family Family `protobuf:"varint,1,opt,name=family,enum=gobgpapi.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"`
}

func (*LongLivedGracefulRestartCapabilityTuple) Descriptor

func (*LongLivedGracefulRestartCapabilityTuple) Descriptor() ([]byte, []int)

func (*LongLivedGracefulRestartCapabilityTuple) GetFamily

func (*LongLivedGracefulRestartCapabilityTuple) GetFlags

func (*LongLivedGracefulRestartCapabilityTuple) GetTime

func (*LongLivedGracefulRestartCapabilityTuple) ProtoMessage

func (*LongLivedGracefulRestartCapabilityTuple) Reset

func (*LongLivedGracefulRestartCapabilityTuple) String

type LongLivedGracefulRestartConfig

type LongLivedGracefulRestartConfig struct {
	Enabled     bool   `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	RestartTime uint32 `protobuf:"varint,2,opt,name=restart_time,json=restartTime" json:"restart_time,omitempty"`
}

func (*LongLivedGracefulRestartConfig) Descriptor

func (*LongLivedGracefulRestartConfig) Descriptor() ([]byte, []int)

func (*LongLivedGracefulRestartConfig) GetEnabled

func (m *LongLivedGracefulRestartConfig) GetEnabled() bool

func (*LongLivedGracefulRestartConfig) GetRestartTime

func (m *LongLivedGracefulRestartConfig) GetRestartTime() uint32

func (*LongLivedGracefulRestartConfig) ProtoMessage

func (*LongLivedGracefulRestartConfig) ProtoMessage()

func (*LongLivedGracefulRestartConfig) Reset

func (m *LongLivedGracefulRestartConfig) Reset()

func (*LongLivedGracefulRestartConfig) String

type LongLivedGracefulRestartState

type LongLivedGracefulRestartState struct {
	Enabled                 bool   `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	Received                bool   `protobuf:"varint,2,opt,name=received" json:"received,omitempty"`
	Advertised              bool   `protobuf:"varint,3,opt,name=advertised" json:"advertised,omitempty"`
	PeerRestartTime         uint32 `protobuf:"varint,4,opt,name=peer_restart_time,json=peerRestartTime" json:"peer_restart_time,omitempty"`
	PeerRestartTimerExpired bool   `` /* 128-byte string literal not displayed */
}

func (*LongLivedGracefulRestartState) Descriptor

func (*LongLivedGracefulRestartState) Descriptor() ([]byte, []int)

func (*LongLivedGracefulRestartState) GetAdvertised

func (m *LongLivedGracefulRestartState) GetAdvertised() bool

func (*LongLivedGracefulRestartState) GetEnabled

func (m *LongLivedGracefulRestartState) GetEnabled() bool

func (*LongLivedGracefulRestartState) GetPeerRestartTime

func (m *LongLivedGracefulRestartState) GetPeerRestartTime() uint32

func (*LongLivedGracefulRestartState) GetPeerRestartTimerExpired

func (m *LongLivedGracefulRestartState) GetPeerRestartTimerExpired() bool

func (*LongLivedGracefulRestartState) GetReceived

func (m *LongLivedGracefulRestartState) GetReceived() bool

func (*LongLivedGracefulRestartState) ProtoMessage

func (*LongLivedGracefulRestartState) ProtoMessage()

func (*LongLivedGracefulRestartState) Reset

func (m *LongLivedGracefulRestartState) Reset()

func (*LongLivedGracefulRestartState) String

type MacMobilityExtended

type MacMobilityExtended struct {
	IsSticky    bool   `protobuf:"varint,1,opt,name=is_sticky,json=isSticky" json:"is_sticky,omitempty"`
	SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum" json:"sequence_num,omitempty"`
}

func (*MacMobilityExtended) Descriptor

func (*MacMobilityExtended) Descriptor() ([]byte, []int)

func (*MacMobilityExtended) GetIsSticky

func (m *MacMobilityExtended) GetIsSticky() bool

func (*MacMobilityExtended) GetSequenceNum

func (m *MacMobilityExtended) GetSequenceNum() uint32

func (*MacMobilityExtended) ProtoMessage

func (*MacMobilityExtended) ProtoMessage()

func (*MacMobilityExtended) Reset

func (m *MacMobilityExtended) Reset()

func (*MacMobilityExtended) String

func (m *MacMobilityExtended) String() string

type MatchSet

type MatchSet struct {
	Type MatchType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.MatchType" json:"type,omitempty"`
	Name string    `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}

func (*MatchSet) Descriptor

func (*MatchSet) Descriptor() ([]byte, []int)

func (*MatchSet) GetName

func (m *MatchSet) GetName() string

func (*MatchSet) GetType

func (m *MatchSet) GetType() MatchType

func (*MatchSet) ProtoMessage

func (*MatchSet) ProtoMessage()

func (*MatchSet) Reset

func (m *MatchSet) Reset()

func (*MatchSet) String

func (m *MatchSet) String() string

type MatchType

type MatchType int32
const (
	MatchType_ANY    MatchType = 0
	MatchType_ALL    MatchType = 1
	MatchType_INVERT MatchType = 2
)

func (MatchType) EnumDescriptor

func (MatchType) EnumDescriptor() ([]byte, []int)

func (MatchType) String

func (x MatchType) String() string

type MedAction

type MedAction struct {
	Type  MedActionType `protobuf:"varint,1,opt,name=type,enum=gobgpapi.MedActionType" json:"type,omitempty"`
	Value int64         `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
}

func (*MedAction) Descriptor

func (*MedAction) Descriptor() ([]byte, []int)

func (*MedAction) GetType

func (m *MedAction) GetType() MedActionType

func (*MedAction) GetValue

func (m *MedAction) GetValue() int64

func (*MedAction) ProtoMessage

func (*MedAction) ProtoMessage()

func (*MedAction) Reset

func (m *MedAction) Reset()

func (*MedAction) String

func (m *MedAction) String() string

type MedActionType

type MedActionType int32
const (
	MedActionType_MED_MOD     MedActionType = 0
	MedActionType_MED_REPLACE MedActionType = 1
)

func (MedActionType) EnumDescriptor

func (MedActionType) EnumDescriptor() ([]byte, []int)

func (MedActionType) String

func (x MedActionType) String() string

type Message

type Message struct {
	NOTIFICATION uint64 `protobuf:"varint,1,opt,name=NOTIFICATION" json:"NOTIFICATION,omitempty"`
	UPDATE       uint64 `protobuf:"varint,2,opt,name=UPDATE" json:"UPDATE,omitempty"`
	OPEN         uint64 `protobuf:"varint,3,opt,name=OPEN" json:"OPEN,omitempty"`
	KEEPALIVE    uint64 `protobuf:"varint,4,opt,name=KEEPALIVE" json:"KEEPALIVE,omitempty"`
	REFRESH      uint64 `protobuf:"varint,5,opt,name=REFRESH" json:"REFRESH,omitempty"`
	DISCARDED    uint64 `protobuf:"varint,6,opt,name=DISCARDED" json:"DISCARDED,omitempty"`
	TOTAL        uint64 `protobuf:"varint,7,opt,name=TOTAL" json:"TOTAL,omitempty"`
}

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) GetDISCARDED

func (m *Message) GetDISCARDED() uint64

func (*Message) GetKEEPALIVE

func (m *Message) GetKEEPALIVE() uint64

func (*Message) GetNOTIFICATION

func (m *Message) GetNOTIFICATION() uint64

func (*Message) GetOPEN

func (m *Message) GetOPEN() uint64

func (*Message) GetREFRESH

func (m *Message) GetREFRESH() uint64

func (*Message) GetTOTAL

func (m *Message) GetTOTAL() uint64

func (*Message) GetUPDATE

func (m *Message) GetUPDATE() uint64

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

type Messages

type Messages struct {
	Received *Message `protobuf:"bytes,1,opt,name=received" json:"received,omitempty"`
	Sent     *Message `protobuf:"bytes,2,opt,name=sent" json:"sent,omitempty"`
}

func (*Messages) Descriptor

func (*Messages) Descriptor() ([]byte, []int)

func (*Messages) GetReceived

func (m *Messages) GetReceived() *Message

func (*Messages) GetSent

func (m *Messages) GetSent() *Message

func (*Messages) ProtoMessage

func (*Messages) ProtoMessage()

func (*Messages) Reset

func (m *Messages) Reset()

func (*Messages) String

func (m *Messages) String() string

type MonitorRibRequest

type MonitorRibRequest struct {
	Table   *Table `protobuf:"bytes,1,opt,name=table" json:"table,omitempty"`
	Current bool   `protobuf:"varint,2,opt,name=current" json:"current,omitempty"`
}

func (*MonitorRibRequest) Descriptor

func (*MonitorRibRequest) Descriptor() ([]byte, []int)

func (*MonitorRibRequest) GetCurrent

func (m *MonitorRibRequest) GetCurrent() bool

func (*MonitorRibRequest) GetTable

func (m *MonitorRibRequest) GetTable() *Table

func (*MonitorRibRequest) ProtoMessage

func (*MonitorRibRequest) ProtoMessage()

func (*MonitorRibRequest) Reset

func (m *MonitorRibRequest) Reset()

func (*MonitorRibRequest) String

func (m *MonitorRibRequest) String() string

type MpGracefulRestart

type MpGracefulRestart struct {
	Config *MpGracefulRestartConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *MpGracefulRestartState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func NewMpGracefulRestartFromConfigStruct

func NewMpGracefulRestartFromConfigStruct(c *config.MpGracefulRestart) *MpGracefulRestart

func (*MpGracefulRestart) Descriptor

func (*MpGracefulRestart) Descriptor() ([]byte, []int)

func (*MpGracefulRestart) GetConfig

func (*MpGracefulRestart) GetState

func (*MpGracefulRestart) ProtoMessage

func (*MpGracefulRestart) ProtoMessage()

func (*MpGracefulRestart) Reset

func (m *MpGracefulRestart) Reset()

func (*MpGracefulRestart) String

func (m *MpGracefulRestart) String() string

type MpGracefulRestartConfig

type MpGracefulRestartConfig struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
}

func (*MpGracefulRestartConfig) Descriptor

func (*MpGracefulRestartConfig) Descriptor() ([]byte, []int)

func (*MpGracefulRestartConfig) GetEnabled

func (m *MpGracefulRestartConfig) GetEnabled() bool

func (*MpGracefulRestartConfig) ProtoMessage

func (*MpGracefulRestartConfig) ProtoMessage()

func (*MpGracefulRestartConfig) Reset

func (m *MpGracefulRestartConfig) Reset()

func (*MpGracefulRestartConfig) String

func (m *MpGracefulRestartConfig) String() string

type MpGracefulRestartState

type MpGracefulRestartState struct {
	Enabled          bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
	Received         bool `protobuf:"varint,2,opt,name=received" json:"received,omitempty"`
	Advertised       bool `protobuf:"varint,3,opt,name=advertised" json:"advertised,omitempty"`
	EndOfRibReceived bool `protobuf:"varint,4,opt,name=end_of_rib_received,json=endOfRibReceived" json:"end_of_rib_received,omitempty"`
	EndOfRibSent     bool `protobuf:"varint,5,opt,name=end_of_rib_sent,json=endOfRibSent" json:"end_of_rib_sent,omitempty"`
}

func (*MpGracefulRestartState) Descriptor

func (*MpGracefulRestartState) Descriptor() ([]byte, []int)

func (*MpGracefulRestartState) GetAdvertised

func (m *MpGracefulRestartState) GetAdvertised() bool

func (*MpGracefulRestartState) GetEnabled

func (m *MpGracefulRestartState) GetEnabled() bool

func (*MpGracefulRestartState) GetEndOfRibReceived

func (m *MpGracefulRestartState) GetEndOfRibReceived() bool

func (*MpGracefulRestartState) GetEndOfRibSent

func (m *MpGracefulRestartState) GetEndOfRibSent() bool

func (*MpGracefulRestartState) GetReceived

func (m *MpGracefulRestartState) GetReceived() bool

func (*MpGracefulRestartState) ProtoMessage

func (*MpGracefulRestartState) ProtoMessage()

func (*MpGracefulRestartState) Reset

func (m *MpGracefulRestartState) Reset()

func (*MpGracefulRestartState) String

func (m *MpGracefulRestartState) String() string

type MpReachNLRIAttribute

type MpReachNLRIAttribute struct {
	Family   uint32   `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
	NextHops []string `protobuf:"bytes,2,rep,name=next_hops,json=nextHops" json:"next_hops,omitempty"`
	// Each NLRI must be one of:
	// - IPAddressPrefix
	// - LabeledIPAddressPrefix
	// - EncapsulationNLRI
	// - EVPNEthernetAutoDiscoveryRoute
	// - EVPNMACIPAdvertisementRoute
	// - EVPNInclusiveMulticastEthernetTagRoute
	// - EVPNEthernetSegmentRoute
	// - EVPNIPPrefixRoute
	// - LabeledVPNIPAddressPrefix
	// - RouteTargetMembershipNLRI
	// - FlowSpecNLRI
	// - VPNFlowSpecNLRI
	// - OpaqueNLRI
	Nlris []*google_protobuf.Any `protobuf:"bytes,3,rep,name=nlris" json:"nlris,omitempty"`
}

func NewMpReachNLRIAttributeFromNative

func NewMpReachNLRIAttributeFromNative(a *bgp.PathAttributeMpReachNLRI) *MpReachNLRIAttribute

func (*MpReachNLRIAttribute) Descriptor

func (*MpReachNLRIAttribute) Descriptor() ([]byte, []int)

func (*MpReachNLRIAttribute) GetFamily

func (m *MpReachNLRIAttribute) GetFamily() uint32

func (*MpReachNLRIAttribute) GetNextHops

func (m *MpReachNLRIAttribute) GetNextHops() []string

func (*MpReachNLRIAttribute) GetNlris

func (m *MpReachNLRIAttribute) GetNlris() []*google_protobuf.Any

func (*MpReachNLRIAttribute) ProtoMessage

func (*MpReachNLRIAttribute) ProtoMessage()

func (*MpReachNLRIAttribute) Reset

func (m *MpReachNLRIAttribute) Reset()

func (*MpReachNLRIAttribute) String

func (m *MpReachNLRIAttribute) String() string

func (*MpReachNLRIAttribute) ToNative

type MpUnreachNLRIAttribute

type MpUnreachNLRIAttribute struct {
	Family uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
	// The same as NLRI field of MpReachNLRIAttribute
	Nlris []*google_protobuf.Any `protobuf:"bytes,3,rep,name=nlris" json:"nlris,omitempty"`
}

func (*MpUnreachNLRIAttribute) Descriptor

func (*MpUnreachNLRIAttribute) Descriptor() ([]byte, []int)

func (*MpUnreachNLRIAttribute) GetFamily

func (m *MpUnreachNLRIAttribute) GetFamily() uint32

func (*MpUnreachNLRIAttribute) GetNlris

func (m *MpUnreachNLRIAttribute) GetNlris() []*google_protobuf.Any

func (*MpUnreachNLRIAttribute) ProtoMessage

func (*MpUnreachNLRIAttribute) ProtoMessage()

func (*MpUnreachNLRIAttribute) Reset

func (m *MpUnreachNLRIAttribute) Reset()

func (*MpUnreachNLRIAttribute) String

func (m *MpUnreachNLRIAttribute) String() string

func (*MpUnreachNLRIAttribute) ToNative

type MultiExitDiscAttribute

type MultiExitDiscAttribute struct {
	Med uint32 `protobuf:"varint,1,opt,name=med" json:"med,omitempty"`
}

func (*MultiExitDiscAttribute) Descriptor

func (*MultiExitDiscAttribute) Descriptor() ([]byte, []int)

func (*MultiExitDiscAttribute) GetMed

func (m *MultiExitDiscAttribute) GetMed() uint32

func (*MultiExitDiscAttribute) ProtoMessage

func (*MultiExitDiscAttribute) ProtoMessage()

func (*MultiExitDiscAttribute) Reset

func (m *MultiExitDiscAttribute) Reset()

func (*MultiExitDiscAttribute) String

func (m *MultiExitDiscAttribute) String() string

func (*MultiExitDiscAttribute) ToNative

type MultiProtocolCapability

type MultiProtocolCapability struct {
	Family Family `protobuf:"varint,1,opt,name=family,enum=gobgpapi.Family" json:"family,omitempty"`
}

func NewMultiProtocolCapability

func NewMultiProtocolCapability(a *bgp.CapMultiProtocol) *MultiProtocolCapability

func (*MultiProtocolCapability) Descriptor

func (*MultiProtocolCapability) Descriptor() ([]byte, []int)

func (*MultiProtocolCapability) GetFamily

func (m *MultiProtocolCapability) GetFamily() Family

func (*MultiProtocolCapability) ProtoMessage

func (*MultiProtocolCapability) ProtoMessage()

func (*MultiProtocolCapability) Reset

func (m *MultiProtocolCapability) Reset()

func (*MultiProtocolCapability) String

func (m *MultiProtocolCapability) String() string

func (*MultiProtocolCapability) ToNative

type NextHopAttribute

type NextHopAttribute struct {
	NextHop string `protobuf:"bytes,1,opt,name=next_hop,json=nextHop" json:"next_hop,omitempty"`
}

func NewNextHopAttributeFromNative

func NewNextHopAttributeFromNative(a *bgp.PathAttributeNextHop) *NextHopAttribute

func (*NextHopAttribute) Descriptor

func (*NextHopAttribute) Descriptor() ([]byte, []int)

func (*NextHopAttribute) GetNextHop

func (m *NextHopAttribute) GetNextHop() string

func (*NextHopAttribute) ProtoMessage

func (*NextHopAttribute) ProtoMessage()

func (*NextHopAttribute) Reset

func (m *NextHopAttribute) Reset()

func (*NextHopAttribute) String

func (m *NextHopAttribute) String() string

func (*NextHopAttribute) ToNative

func (a *NextHopAttribute) ToNative() (*bgp.PathAttributeNextHop, error)

type NexthopAction

type NexthopAction struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Self    bool   `protobuf:"varint,2,opt,name=self" json:"self,omitempty"`
}

func (*NexthopAction) Descriptor

func (*NexthopAction) Descriptor() ([]byte, []int)

func (*NexthopAction) GetAddress

func (m *NexthopAction) GetAddress() string

func (*NexthopAction) GetSelf

func (m *NexthopAction) GetSelf() bool

func (*NexthopAction) ProtoMessage

func (*NexthopAction) ProtoMessage()

func (*NexthopAction) Reset

func (m *NexthopAction) Reset()

func (*NexthopAction) String

func (m *NexthopAction) String() string

type OpaqueExtended

type OpaqueExtended struct {
	IsTransitive bool   `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"`
	Value        []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

func (*OpaqueExtended) Descriptor

func (*OpaqueExtended) Descriptor() ([]byte, []int)

func (*OpaqueExtended) GetIsTransitive

func (m *OpaqueExtended) GetIsTransitive() bool

func (*OpaqueExtended) GetValue

func (m *OpaqueExtended) GetValue() []byte

func (*OpaqueExtended) ProtoMessage

func (*OpaqueExtended) ProtoMessage()

func (*OpaqueExtended) Reset

func (m *OpaqueExtended) Reset()

func (*OpaqueExtended) String

func (m *OpaqueExtended) String() string

type OpaqueNLRI

type OpaqueNLRI struct {
	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

OpaqueNLRI represents the NLRI for: - AFI=16397, SAFI=241

func (*OpaqueNLRI) Descriptor

func (*OpaqueNLRI) Descriptor() ([]byte, []int)

func (*OpaqueNLRI) GetKey

func (m *OpaqueNLRI) GetKey() []byte

func (*OpaqueNLRI) GetValue

func (m *OpaqueNLRI) GetValue() []byte

func (*OpaqueNLRI) ProtoMessage

func (*OpaqueNLRI) ProtoMessage()

func (*OpaqueNLRI) Reset

func (m *OpaqueNLRI) Reset()

func (*OpaqueNLRI) String

func (m *OpaqueNLRI) String() string

type OriginAttribute

type OriginAttribute struct {
	Origin uint32 `protobuf:"varint,1,opt,name=origin" json:"origin,omitempty"`
}

func NewOriginAttributeFromNative

func NewOriginAttributeFromNative(a *bgp.PathAttributeOrigin) *OriginAttribute

func (*OriginAttribute) Descriptor

func (*OriginAttribute) Descriptor() ([]byte, []int)

func (*OriginAttribute) GetOrigin

func (m *OriginAttribute) GetOrigin() uint32

func (*OriginAttribute) ProtoMessage

func (*OriginAttribute) ProtoMessage()

func (*OriginAttribute) Reset

func (m *OriginAttribute) Reset()

func (*OriginAttribute) String

func (m *OriginAttribute) String() string

func (*OriginAttribute) ToNative

func (a *OriginAttribute) ToNative() (*bgp.PathAttributeOrigin, error)

type OriginatorIdAttribute

type OriginatorIdAttribute struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

func (*OriginatorIdAttribute) Descriptor

func (*OriginatorIdAttribute) Descriptor() ([]byte, []int)

func (*OriginatorIdAttribute) GetId

func (m *OriginatorIdAttribute) GetId() string

func (*OriginatorIdAttribute) ProtoMessage

func (*OriginatorIdAttribute) ProtoMessage()

func (*OriginatorIdAttribute) Reset

func (m *OriginatorIdAttribute) Reset()

func (*OriginatorIdAttribute) String

func (m *OriginatorIdAttribute) String() string

func (*OriginatorIdAttribute) ToNative

type Path

type Path struct {
	Nlri               []byte          `protobuf:"bytes,1,opt,name=nlri,proto3" json:"nlri,omitempty"`
	Pattrs             [][]byte        `protobuf:"bytes,2,rep,name=pattrs,proto3" json:"pattrs,omitempty"`
	Age                int64           `protobuf:"varint,3,opt,name=age" json:"age,omitempty"`
	Best               bool            `protobuf:"varint,4,opt,name=best" json:"best,omitempty"`
	IsWithdraw         bool            `protobuf:"varint,5,opt,name=is_withdraw,json=isWithdraw" json:"is_withdraw,omitempty"`
	Validation         int32           `protobuf:"varint,6,opt,name=validation" json:"validation,omitempty"`
	ValidationDetail   *RPKIValidation `protobuf:"bytes,7,opt,name=validation_detail,json=validationDetail" json:"validation_detail,omitempty"`
	NoImplicitWithdraw bool            `protobuf:"varint,8,opt,name=no_implicit_withdraw,json=noImplicitWithdraw" json:"no_implicit_withdraw,omitempty"`
	Family             uint32          `protobuf:"varint,9,opt,name=family" json:"family,omitempty"`
	SourceAsn          uint32          `protobuf:"varint,10,opt,name=source_asn,json=sourceAsn" json:"source_asn,omitempty"`
	SourceId           string          `protobuf:"bytes,11,opt,name=source_id,json=sourceId" json:"source_id,omitempty"`
	Filtered           bool            `protobuf:"varint,12,opt,name=filtered" json:"filtered,omitempty"`
	Stale              bool            `protobuf:"varint,13,opt,name=stale" json:"stale,omitempty"`
	IsFromExternal     bool            `protobuf:"varint,14,opt,name=is_from_external,json=isFromExternal" json:"is_from_external,omitempty"`
	NeighborIp         string          `protobuf:"bytes,15,opt,name=neighbor_ip,json=neighborIp" json:"neighbor_ip,omitempty"`
	Uuid               []byte          `protobuf:"bytes,16,opt,name=uuid,proto3" json:"uuid,omitempty"`
	IsNexthopInvalid   bool            `protobuf:"varint,17,opt,name=is_nexthop_invalid,json=isNexthopInvalid" json:"is_nexthop_invalid,omitempty"`
	Identifier         uint32          `protobuf:"varint,18,opt,name=identifier" json:"identifier,omitempty"`
	LocalIdentifier    uint32          `protobuf:"varint,19,opt,name=local_identifier,json=localIdentifier" json:"local_identifier,omitempty"`
	// One of the following defined in "api/attribute.proto":
	// - IPAddressPrefix
	// - LabeledIPAddressPrefix
	// - EncapsulationNLRI
	// - EVPNEthernetAutoDiscoveryRoute
	// - EVPNMACIPAdvertisementRoute
	// - EVPNInclusiveMulticastEthernetTagRoute
	// - EVPNEthernetSegmentRoute
	// - EVPNIPPrefixRoute
	// - LabeledVPNIPAddressPrefix
	// - RouteTargetMembershipNLRI
	// - FlowSpecNLRI
	// - VPNFlowSpecNLRI
	// - OpaqueNLRI
	AnyNlri *google_protobuf.Any `protobuf:"bytes,20,opt,name=any_nlri,json=anyNlri" json:"any_nlri,omitempty"`
	// Each attribute must be one of *Attribute defined in
	// "api/attribute.proto".
	AnyPattrs []*google_protobuf.Any `protobuf:"bytes,21,rep,name=any_pattrs,json=anyPattrs" json:"any_pattrs,omitempty"`
}

func ToPathApi

func ToPathApi(path *table.Path, v *table.Validation) *Path

func ToPathApiInBin

func ToPathApiInBin(path *table.Path, v *table.Validation) *Path

func (*Path) Descriptor

func (*Path) Descriptor() ([]byte, []int)

func (*Path) GetAge

func (m *Path) GetAge() int64

func (*Path) GetAnyNlri

func (m *Path) GetAnyNlri() *google_protobuf.Any

func (*Path) GetAnyPattrs

func (m *Path) GetAnyPattrs() []*google_protobuf.Any

func (*Path) GetBest

func (m *Path) GetBest() bool

func (*Path) GetFamily

func (m *Path) GetFamily() uint32

func (*Path) GetFiltered

func (m *Path) GetFiltered() bool

func (*Path) GetIdentifier

func (m *Path) GetIdentifier() uint32

func (*Path) GetIsFromExternal

func (m *Path) GetIsFromExternal() bool

func (*Path) GetIsNexthopInvalid

func (m *Path) GetIsNexthopInvalid() bool

func (*Path) GetIsWithdraw

func (m *Path) GetIsWithdraw() bool

func (*Path) GetLocalIdentifier

func (m *Path) GetLocalIdentifier() uint32

func (*Path) GetNativeNlri

func (p *Path) GetNativeNlri() (bgp.AddrPrefixInterface, error)

func (*Path) GetNativePathAttributes

func (p *Path) GetNativePathAttributes() ([]bgp.PathAttributeInterface, error)

func (*Path) GetNeighborIp

func (m *Path) GetNeighborIp() string

func (*Path) GetNlri

func (m *Path) GetNlri() []byte

func (*Path) GetNoImplicitWithdraw

func (m *Path) GetNoImplicitWithdraw() bool

func (*Path) GetPattrs

func (m *Path) GetPattrs() [][]byte

func (*Path) GetSourceAsn

func (m *Path) GetSourceAsn() uint32

func (*Path) GetSourceId

func (m *Path) GetSourceId() string

func (*Path) GetStale

func (m *Path) GetStale() bool

func (*Path) GetUuid

func (m *Path) GetUuid() []byte

func (*Path) GetValidation

func (m *Path) GetValidation() int32

func (*Path) GetValidationDetail

func (m *Path) GetValidationDetail() *RPKIValidation

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) Reset

func (m *Path) Reset()

func (*Path) String

func (m *Path) String() string

func (*Path) ToNativePath

func (p *Path) ToNativePath(option ...ToNativeOption) (*table.Path, error)

type Peer

type Peer struct {
	// Note: Regarding to the consistency with OpenConfig model, a list of
	// address family should be removed from here, and should be configured with
	// the list of AfiSafi instead.
	Families        []uint32         `protobuf:"varint,1,rep,packed,name=families" json:"families,omitempty"`
	ApplyPolicy     *ApplyPolicy     `protobuf:"bytes,2,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"`
	Conf            *PeerConf        `protobuf:"bytes,3,opt,name=conf" json:"conf,omitempty"`
	EbgpMultihop    *EbgpMultihop    `protobuf:"bytes,4,opt,name=ebgp_multihop,json=ebgpMultihop" json:"ebgp_multihop,omitempty"`
	RouteReflector  *RouteReflector  `protobuf:"bytes,5,opt,name=route_reflector,json=routeReflector" json:"route_reflector,omitempty"`
	Info            *PeerState       `protobuf:"bytes,6,opt,name=info" json:"info,omitempty"`
	Timers          *Timers          `protobuf:"bytes,7,opt,name=timers" json:"timers,omitempty"`
	Transport       *Transport       `protobuf:"bytes,8,opt,name=transport" json:"transport,omitempty"`
	RouteServer     *RouteServer     `protobuf:"bytes,9,opt,name=route_server,json=routeServer" json:"route_server,omitempty"`
	GracefulRestart *GracefulRestart `protobuf:"bytes,10,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"`
	AfiSafis        []*AfiSafi       `protobuf:"bytes,11,rep,name=afi_safis,json=afiSafis" json:"afi_safis,omitempty"`
	AddPaths        *AddPaths        `protobuf:"bytes,12,opt,name=add_paths,json=addPaths" json:"add_paths,omitempty"`
}

func NewPeerFromConfigStruct

func NewPeerFromConfigStruct(pconf *config.Neighbor) *Peer

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) GetAddPaths

func (m *Peer) GetAddPaths() *AddPaths

func (*Peer) GetAfiSafis

func (m *Peer) GetAfiSafis() []*AfiSafi

func (*Peer) GetApplyPolicy

func (m *Peer) GetApplyPolicy() *ApplyPolicy

func (*Peer) GetConf

func (m *Peer) GetConf() *PeerConf

func (*Peer) GetEbgpMultihop

func (m *Peer) GetEbgpMultihop() *EbgpMultihop

func (*Peer) GetFamilies

func (m *Peer) GetFamilies() []uint32

func (*Peer) GetGracefulRestart

func (m *Peer) GetGracefulRestart() *GracefulRestart

func (*Peer) GetInfo

func (m *Peer) GetInfo() *PeerState

func (*Peer) GetRouteReflector

func (m *Peer) GetRouteReflector() *RouteReflector

func (*Peer) GetRouteServer

func (m *Peer) GetRouteServer() *RouteServer

func (*Peer) GetTimers

func (m *Peer) GetTimers() *Timers

func (*Peer) GetTransport

func (m *Peer) GetTransport() *Transport

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

type PeerConf

type PeerConf struct {
	AuthPassword     string                   `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"`
	Description      string                   `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	LocalAs          uint32                   `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"`
	NeighborAddress  string                   `protobuf:"bytes,4,opt,name=neighbor_address,json=neighborAddress" json:"neighbor_address,omitempty"`
	PeerAs           uint32                   `protobuf:"varint,5,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"`
	PeerGroup        string                   `protobuf:"bytes,6,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
	PeerType         uint32                   `protobuf:"varint,7,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"`
	RemovePrivateAs  PeerConf_RemovePrivateAs `` /* 141-byte string literal not displayed */
	RouteFlapDamping bool                     `protobuf:"varint,9,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"`
	SendCommunity    uint32                   `protobuf:"varint,10,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"`
	// Each attribute must be one of *Capability defined in
	// "api/capability.proto".
	RemoteCap []*google_protobuf.Any `protobuf:"bytes,11,rep,name=remote_cap,json=remoteCap" json:"remote_cap,omitempty"`
	LocalCap  []*google_protobuf.Any `protobuf:"bytes,12,rep,name=local_cap,json=localCap" json:"local_cap,omitempty"`
	Id        string                 `protobuf:"bytes,13,opt,name=id" json:"id,omitempty"`
	// Note: Regarding to the consistency with OpenConfig model, list of
	// PrefixLimit should be removed from here, and list of PrefixLimit in
	// AfiSafi should be used instead.
	PrefixLimits      []*PrefixLimit `protobuf:"bytes,14,rep,name=prefix_limits,json=prefixLimits" json:"prefix_limits,omitempty"`
	LocalAddress      string         `protobuf:"bytes,15,opt,name=local_address,json=localAddress" json:"local_address,omitempty"`
	NeighborInterface string         `protobuf:"bytes,16,opt,name=neighbor_interface,json=neighborInterface" json:"neighbor_interface,omitempty"`
	Vrf               string         `protobuf:"bytes,17,opt,name=vrf" json:"vrf,omitempty"`
	AllowOwnAs        uint32         `protobuf:"varint,18,opt,name=allow_own_as,json=allowOwnAs" json:"allow_own_as,omitempty"`
	ReplacePeerAs     bool           `protobuf:"varint,19,opt,name=replace_peer_as,json=replacePeerAs" json:"replace_peer_as,omitempty"`
}

func (*PeerConf) Descriptor

func (*PeerConf) Descriptor() ([]byte, []int)

func (*PeerConf) GetAllowOwnAs

func (m *PeerConf) GetAllowOwnAs() uint32

func (*PeerConf) GetAuthPassword

func (m *PeerConf) GetAuthPassword() string

func (*PeerConf) GetDescription

func (m *PeerConf) GetDescription() string

func (*PeerConf) GetId

func (m *PeerConf) GetId() string

func (*PeerConf) GetLocalAddress

func (m *PeerConf) GetLocalAddress() string

func (*PeerConf) GetLocalAs

func (m *PeerConf) GetLocalAs() uint32

func (*PeerConf) GetLocalCap

func (m *PeerConf) GetLocalCap() []*google_protobuf.Any

func (*PeerConf) GetNeighborAddress

func (m *PeerConf) GetNeighborAddress() string

func (*PeerConf) GetNeighborInterface

func (m *PeerConf) GetNeighborInterface() string

func (*PeerConf) GetPeerAs

func (m *PeerConf) GetPeerAs() uint32

func (*PeerConf) GetPeerGroup

func (m *PeerConf) GetPeerGroup() string

func (*PeerConf) GetPeerType

func (m *PeerConf) GetPeerType() uint32

func (*PeerConf) GetPrefixLimits

func (m *PeerConf) GetPrefixLimits() []*PrefixLimit

func (*PeerConf) GetRemoteCap

func (m *PeerConf) GetRemoteCap() []*google_protobuf.Any

func (*PeerConf) GetRemovePrivateAs

func (m *PeerConf) GetRemovePrivateAs() PeerConf_RemovePrivateAs

func (*PeerConf) GetReplacePeerAs

func (m *PeerConf) GetReplacePeerAs() bool

func (*PeerConf) GetRouteFlapDamping

func (m *PeerConf) GetRouteFlapDamping() bool

func (*PeerConf) GetSendCommunity

func (m *PeerConf) GetSendCommunity() uint32

func (*PeerConf) GetVrf

func (m *PeerConf) GetVrf() string

func (*PeerConf) ProtoMessage

func (*PeerConf) ProtoMessage()

func (*PeerConf) Reset

func (m *PeerConf) Reset()

func (*PeerConf) String

func (m *PeerConf) String() string

type PeerConf_RemovePrivateAs

type PeerConf_RemovePrivateAs int32
const (
	PeerConf_NONE    PeerConf_RemovePrivateAs = 0
	PeerConf_ALL     PeerConf_RemovePrivateAs = 1
	PeerConf_REPLACE PeerConf_RemovePrivateAs = 2
)

func (PeerConf_RemovePrivateAs) EnumDescriptor

func (PeerConf_RemovePrivateAs) EnumDescriptor() ([]byte, []int)

func (PeerConf_RemovePrivateAs) String

func (x PeerConf_RemovePrivateAs) String() string

type PeerGroup

type PeerGroup struct {
	// Note: Regarding to the consistency with OpenConfig model, a list of
	// address family should be removed from here, and should be configured with
	// the list of AfiSafi instead.
	Families        []uint32         `protobuf:"varint,1,rep,packed,name=families" json:"families,omitempty"`
	ApplyPolicy     *ApplyPolicy     `protobuf:"bytes,2,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"`
	Conf            *PeerGroupConf   `protobuf:"bytes,3,opt,name=conf" json:"conf,omitempty"`
	EbgpMultihop    *EbgpMultihop    `protobuf:"bytes,4,opt,name=ebgp_multihop,json=ebgpMultihop" json:"ebgp_multihop,omitempty"`
	RouteReflector  *RouteReflector  `protobuf:"bytes,5,opt,name=route_reflector,json=routeReflector" json:"route_reflector,omitempty"`
	Info            *PeerGroupState  `protobuf:"bytes,6,opt,name=info" json:"info,omitempty"`
	Timers          *Timers          `protobuf:"bytes,7,opt,name=timers" json:"timers,omitempty"`
	Transport       *Transport       `protobuf:"bytes,8,opt,name=transport" json:"transport,omitempty"`
	RouteServer     *RouteServer     `protobuf:"bytes,9,opt,name=route_server,json=routeServer" json:"route_server,omitempty"`
	GracefulRestart *GracefulRestart `protobuf:"bytes,10,opt,name=graceful_restart,json=gracefulRestart" json:"graceful_restart,omitempty"`
	AfiSafis        []*AfiSafi       `protobuf:"bytes,11,rep,name=afi_safis,json=afiSafis" json:"afi_safis,omitempty"`
	AddPaths        *AddPaths        `protobuf:"bytes,12,opt,name=add_paths,json=addPaths" json:"add_paths,omitempty"`
}

func NewPeerGroupFromConfigStruct

func NewPeerGroupFromConfigStruct(pconf *config.PeerGroup) *PeerGroup

func (*PeerGroup) Descriptor

func (*PeerGroup) Descriptor() ([]byte, []int)

func (*PeerGroup) GetAddPaths

func (m *PeerGroup) GetAddPaths() *AddPaths

func (*PeerGroup) GetAfiSafis

func (m *PeerGroup) GetAfiSafis() []*AfiSafi

func (*PeerGroup) GetApplyPolicy

func (m *PeerGroup) GetApplyPolicy() *ApplyPolicy

func (*PeerGroup) GetConf

func (m *PeerGroup) GetConf() *PeerGroupConf

func (*PeerGroup) GetEbgpMultihop

func (m *PeerGroup) GetEbgpMultihop() *EbgpMultihop

func (*PeerGroup) GetFamilies

func (m *PeerGroup) GetFamilies() []uint32

func (*PeerGroup) GetGracefulRestart

func (m *PeerGroup) GetGracefulRestart() *GracefulRestart

func (*PeerGroup) GetInfo

func (m *PeerGroup) GetInfo() *PeerGroupState

func (*PeerGroup) GetRouteReflector

func (m *PeerGroup) GetRouteReflector() *RouteReflector

func (*PeerGroup) GetRouteServer

func (m *PeerGroup) GetRouteServer() *RouteServer

func (*PeerGroup) GetTimers

func (m *PeerGroup) GetTimers() *Timers

func (*PeerGroup) GetTransport

func (m *PeerGroup) GetTransport() *Transport

func (*PeerGroup) ProtoMessage

func (*PeerGroup) ProtoMessage()

func (*PeerGroup) Reset

func (m *PeerGroup) Reset()

func (*PeerGroup) String

func (m *PeerGroup) String() string

type PeerGroupConf

type PeerGroupConf struct {
	AuthPassword     string                        `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"`
	Description      string                        `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	LocalAs          uint32                        `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"`
	PeerAs           uint32                        `protobuf:"varint,5,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"`
	PeerGroupName    string                        `protobuf:"bytes,6,opt,name=peer_group_name,json=peerGroupName" json:"peer_group_name,omitempty"`
	PeerType         uint32                        `protobuf:"varint,7,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"`
	RemovePrivateAs  PeerGroupConf_RemovePrivateAs `` /* 146-byte string literal not displayed */
	RouteFlapDamping bool                          `protobuf:"varint,9,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"`
	SendCommunity    uint32                        `protobuf:"varint,10,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"`
}

func (*PeerGroupConf) Descriptor

func (*PeerGroupConf) Descriptor() ([]byte, []int)

func (*PeerGroupConf) GetAuthPassword

func (m *PeerGroupConf) GetAuthPassword() string

func (*PeerGroupConf) GetDescription

func (m *PeerGroupConf) GetDescription() string

func (*PeerGroupConf) GetLocalAs

func (m *PeerGroupConf) GetLocalAs() uint32

func (*PeerGroupConf) GetPeerAs

func (m *PeerGroupConf) GetPeerAs() uint32

func (*PeerGroupConf) GetPeerGroupName

func (m *PeerGroupConf) GetPeerGroupName() string

func (*PeerGroupConf) GetPeerType

func (m *PeerGroupConf) GetPeerType() uint32

func (*PeerGroupConf) GetRemovePrivateAs

func (m *PeerGroupConf) GetRemovePrivateAs() PeerGroupConf_RemovePrivateAs

func (*PeerGroupConf) GetRouteFlapDamping

func (m *PeerGroupConf) GetRouteFlapDamping() bool

func (*PeerGroupConf) GetSendCommunity

func (m *PeerGroupConf) GetSendCommunity() uint32

func (*PeerGroupConf) ProtoMessage

func (*PeerGroupConf) ProtoMessage()

func (*PeerGroupConf) Reset

func (m *PeerGroupConf) Reset()

func (*PeerGroupConf) String

func (m *PeerGroupConf) String() string

type PeerGroupConf_RemovePrivateAs

type PeerGroupConf_RemovePrivateAs int32
const (
	PeerGroupConf_NONE    PeerGroupConf_RemovePrivateAs = 0
	PeerGroupConf_ALL     PeerGroupConf_RemovePrivateAs = 1
	PeerGroupConf_REPLACE PeerGroupConf_RemovePrivateAs = 2
)

func (PeerGroupConf_RemovePrivateAs) EnumDescriptor

func (PeerGroupConf_RemovePrivateAs) EnumDescriptor() ([]byte, []int)

func (PeerGroupConf_RemovePrivateAs) String

type PeerGroupState

type PeerGroupState struct {
	AuthPassword     string                         `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"`
	Description      string                         `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	LocalAs          uint32                         `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"`
	PeerAs           uint32                         `protobuf:"varint,5,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"`
	PeerGroupName    string                         `protobuf:"bytes,6,opt,name=peer_group_name,json=peerGroupName" json:"peer_group_name,omitempty"`
	PeerType         uint32                         `protobuf:"varint,7,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"`
	RemovePrivateAs  PeerGroupState_RemovePrivateAs `` /* 147-byte string literal not displayed */
	RouteFlapDamping bool                           `protobuf:"varint,9,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"`
	SendCommunity    uint32                         `protobuf:"varint,10,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"`
	TotalPaths       uint32                         `protobuf:"varint,11,opt,name=total_paths,json=totalPaths" json:"total_paths,omitempty"`
	TotalPrefixes    uint32                         `protobuf:"varint,12,opt,name=total_prefixes,json=totalPrefixes" json:"total_prefixes,omitempty"`
}

func (*PeerGroupState) Descriptor

func (*PeerGroupState) Descriptor() ([]byte, []int)

func (*PeerGroupState) GetAuthPassword

func (m *PeerGroupState) GetAuthPassword() string

func (*PeerGroupState) GetDescription

func (m *PeerGroupState) GetDescription() string

func (*PeerGroupState) GetLocalAs

func (m *PeerGroupState) GetLocalAs() uint32

func (*PeerGroupState) GetPeerAs

func (m *PeerGroupState) GetPeerAs() uint32

func (*PeerGroupState) GetPeerGroupName

func (m *PeerGroupState) GetPeerGroupName() string

func (*PeerGroupState) GetPeerType

func (m *PeerGroupState) GetPeerType() uint32

func (*PeerGroupState) GetRemovePrivateAs

func (m *PeerGroupState) GetRemovePrivateAs() PeerGroupState_RemovePrivateAs

func (*PeerGroupState) GetRouteFlapDamping

func (m *PeerGroupState) GetRouteFlapDamping() bool

func (*PeerGroupState) GetSendCommunity

func (m *PeerGroupState) GetSendCommunity() uint32

func (*PeerGroupState) GetTotalPaths

func (m *PeerGroupState) GetTotalPaths() uint32

func (*PeerGroupState) GetTotalPrefixes

func (m *PeerGroupState) GetTotalPrefixes() uint32

func (*PeerGroupState) ProtoMessage

func (*PeerGroupState) ProtoMessage()

func (*PeerGroupState) Reset

func (m *PeerGroupState) Reset()

func (*PeerGroupState) String

func (m *PeerGroupState) String() string

type PeerGroupState_RemovePrivateAs

type PeerGroupState_RemovePrivateAs int32
const (
	PeerGroupState_NONE    PeerGroupState_RemovePrivateAs = 0
	PeerGroupState_ALL     PeerGroupState_RemovePrivateAs = 1
	PeerGroupState_REPLACE PeerGroupState_RemovePrivateAs = 2
)

func (PeerGroupState_RemovePrivateAs) EnumDescriptor

func (PeerGroupState_RemovePrivateAs) EnumDescriptor() ([]byte, []int)

func (PeerGroupState_RemovePrivateAs) String

type PeerState

type PeerState struct {
	AuthPassword          string               `protobuf:"bytes,1,opt,name=auth_password,json=authPassword" json:"auth_password,omitempty"`
	Description           string               `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	LocalAs               uint32               `protobuf:"varint,3,opt,name=local_as,json=localAs" json:"local_as,omitempty"`
	Messages              *Messages            `protobuf:"bytes,4,opt,name=messages" json:"messages,omitempty"`
	NeighborAddress       string               `protobuf:"bytes,5,opt,name=neighbor_address,json=neighborAddress" json:"neighbor_address,omitempty"`
	PeerAs                uint32               `protobuf:"varint,6,opt,name=peer_as,json=peerAs" json:"peer_as,omitempty"`
	PeerGroup             string               `protobuf:"bytes,7,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
	PeerType              uint32               `protobuf:"varint,8,opt,name=peer_type,json=peerType" json:"peer_type,omitempty"`
	Queues                *Queues              `protobuf:"bytes,9,opt,name=queues" json:"queues,omitempty"`
	RemovePrivateAs       uint32               `protobuf:"varint,10,opt,name=remove_private_as,json=removePrivateAs" json:"remove_private_as,omitempty"`
	RouteFlapDamping      bool                 `protobuf:"varint,11,opt,name=route_flap_damping,json=routeFlapDamping" json:"route_flap_damping,omitempty"`
	SendCommunity         uint32               `protobuf:"varint,12,opt,name=send_community,json=sendCommunity" json:"send_community,omitempty"`
	SessionState          uint32               `protobuf:"varint,13,opt,name=session_state,json=sessionState" json:"session_state,omitempty"`
	SupportedCapabilities []string             `protobuf:"bytes,14,rep,name=supported_capabilities,json=supportedCapabilities" json:"supported_capabilities,omitempty"`
	BgpState              string               `protobuf:"bytes,15,opt,name=bgp_state,json=bgpState" json:"bgp_state,omitempty"`
	AdminState            PeerState_AdminState `protobuf:"varint,16,opt,name=admin_state,json=adminState,enum=gobgpapi.PeerState_AdminState" json:"admin_state,omitempty"`
	Received              uint32               `protobuf:"varint,17,opt,name=received" json:"received,omitempty"`
	Accepted              uint32               `protobuf:"varint,18,opt,name=accepted" json:"accepted,omitempty"`
	Advertised            uint32               `protobuf:"varint,19,opt,name=advertised" json:"advertised,omitempty"`
	OutQ                  uint32               `protobuf:"varint,20,opt,name=out_q,json=outQ" json:"out_q,omitempty"`
	Flops                 uint32               `protobuf:"varint,21,opt,name=flops" json:"flops,omitempty"`
}

func (*PeerState) Descriptor

func (*PeerState) Descriptor() ([]byte, []int)

func (*PeerState) GetAccepted

func (m *PeerState) GetAccepted() uint32

func (*PeerState) GetAdminState

func (m *PeerState) GetAdminState() PeerState_AdminState

func (*PeerState) GetAdvertised

func (m *PeerState) GetAdvertised() uint32

func (*PeerState) GetAuthPassword

func (m *PeerState) GetAuthPassword() string

func (*PeerState) GetBgpState

func (m *PeerState) GetBgpState() string

func (*PeerState) GetDescription

func (m *PeerState) GetDescription() string

func (*PeerState) GetFlops

func (m *PeerState) GetFlops() uint32

func (*PeerState) GetLocalAs

func (m *PeerState) GetLocalAs() uint32

func (*PeerState) GetMessages

func (m *PeerState) GetMessages() *Messages

func (*PeerState) GetNeighborAddress

func (m *PeerState) GetNeighborAddress() string

func (*PeerState) GetOutQ

func (m *PeerState) GetOutQ() uint32

func (*PeerState) GetPeerAs

func (m *PeerState) GetPeerAs() uint32

func (*PeerState) GetPeerGroup

func (m *PeerState) GetPeerGroup() string

func (*PeerState) GetPeerType

func (m *PeerState) GetPeerType() uint32

func (*PeerState) GetQueues

func (m *PeerState) GetQueues() *Queues

func (*PeerState) GetReceived

func (m *PeerState) GetReceived() uint32

func (*PeerState) GetRemovePrivateAs

func (m *PeerState) GetRemovePrivateAs() uint32

func (*PeerState) GetRouteFlapDamping

func (m *PeerState) GetRouteFlapDamping() bool

func (*PeerState) GetSendCommunity

func (m *PeerState) GetSendCommunity() uint32

func (*PeerState) GetSessionState

func (m *PeerState) GetSessionState() uint32

func (*PeerState) GetSupportedCapabilities

func (m *PeerState) GetSupportedCapabilities() []string

func (*PeerState) ProtoMessage

func (*PeerState) ProtoMessage()

func (*PeerState) Reset

func (m *PeerState) Reset()

func (*PeerState) String

func (m *PeerState) String() string

type PeerState_AdminState

type PeerState_AdminState int32
const (
	PeerState_UP     PeerState_AdminState = 0
	PeerState_DOWN   PeerState_AdminState = 1
	PeerState_PFX_CT PeerState_AdminState = 2
)

func (PeerState_AdminState) EnumDescriptor

func (PeerState_AdminState) EnumDescriptor() ([]byte, []int)

func (PeerState_AdminState) String

func (x PeerState_AdminState) String() string

type PmsiTunnelAttribute

type PmsiTunnelAttribute struct {
	Flags uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	Type  uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
	Label uint32 `protobuf:"varint,3,opt,name=label" json:"label,omitempty"`
	Id    []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
}

func NewPmsiTunnelAttributeFromNative

func NewPmsiTunnelAttributeFromNative(a *bgp.PathAttributePmsiTunnel) *PmsiTunnelAttribute

func (*PmsiTunnelAttribute) Descriptor

func (*PmsiTunnelAttribute) Descriptor() ([]byte, []int)

func (*PmsiTunnelAttribute) GetFlags

func (m *PmsiTunnelAttribute) GetFlags() uint32

func (*PmsiTunnelAttribute) GetId

func (m *PmsiTunnelAttribute) GetId() []byte

func (*PmsiTunnelAttribute) GetLabel

func (m *PmsiTunnelAttribute) GetLabel() uint32

func (*PmsiTunnelAttribute) GetType

func (m *PmsiTunnelAttribute) GetType() uint32

func (*PmsiTunnelAttribute) ProtoMessage

func (*PmsiTunnelAttribute) ProtoMessage()

func (*PmsiTunnelAttribute) Reset

func (m *PmsiTunnelAttribute) Reset()

func (*PmsiTunnelAttribute) String

func (m *PmsiTunnelAttribute) String() string

func (*PmsiTunnelAttribute) ToNative

type Policy

type Policy struct {
	Name       string       `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Statements []*Statement `protobuf:"bytes,2,rep,name=statements" json:"statements,omitempty"`
}

func NewAPIPolicyFromTableStruct

func NewAPIPolicyFromTableStruct(p *table.Policy) *Policy

func (*Policy) Descriptor

func (*Policy) Descriptor() ([]byte, []int)

func (*Policy) GetName

func (m *Policy) GetName() string

func (*Policy) GetStatements

func (m *Policy) GetStatements() []*Statement

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) Reset

func (m *Policy) Reset()

func (*Policy) String

func (m *Policy) String() string

type PolicyAssignment

type PolicyAssignment struct {
	Type     PolicyType  `protobuf:"varint,1,opt,name=type,enum=gobgpapi.PolicyType" json:"type,omitempty"`
	Resource Resource    `protobuf:"varint,2,opt,name=resource,enum=gobgpapi.Resource" json:"resource,omitempty"`
	Name     string      `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Policies []*Policy   `protobuf:"bytes,4,rep,name=policies" json:"policies,omitempty"`
	Default  RouteAction `protobuf:"varint,5,opt,name=default,enum=gobgpapi.RouteAction" json:"default,omitempty"`
}

func NewAPIPolicyAssignmentFromTableStruct

func NewAPIPolicyAssignmentFromTableStruct(t *table.PolicyAssignment) *PolicyAssignment

func (*PolicyAssignment) Descriptor

func (*PolicyAssignment) Descriptor() ([]byte, []int)

func (*PolicyAssignment) GetDefault

func (m *PolicyAssignment) GetDefault() RouteAction

func (*PolicyAssignment) GetName

func (m *PolicyAssignment) GetName() string

func (*PolicyAssignment) GetPolicies

func (m *PolicyAssignment) GetPolicies() []*Policy

func (*PolicyAssignment) GetResource

func (m *PolicyAssignment) GetResource() Resource

func (*PolicyAssignment) GetType

func (m *PolicyAssignment) GetType() PolicyType

func (*PolicyAssignment) ProtoMessage

func (*PolicyAssignment) ProtoMessage()

func (*PolicyAssignment) Reset

func (m *PolicyAssignment) Reset()

func (*PolicyAssignment) String

func (m *PolicyAssignment) String() string

type PolicyType

type PolicyType int32
const (
	PolicyType_IN     PolicyType = 0
	PolicyType_IMPORT PolicyType = 1
	PolicyType_EXPORT PolicyType = 2
)

func (PolicyType) EnumDescriptor

func (PolicyType) EnumDescriptor() ([]byte, []int)

func (PolicyType) String

func (x PolicyType) String() string

type Prefix

type Prefix struct {
	IpPrefix      string `protobuf:"bytes,1,opt,name=ip_prefix,json=ipPrefix" json:"ip_prefix,omitempty"`
	MaskLengthMin uint32 `protobuf:"varint,2,opt,name=mask_length_min,json=maskLengthMin" json:"mask_length_min,omitempty"`
	MaskLengthMax uint32 `protobuf:"varint,3,opt,name=mask_length_max,json=maskLengthMax" json:"mask_length_max,omitempty"`
}

func NewAPIPrefixFromConfigStruct

func NewAPIPrefixFromConfigStruct(c config.Prefix) (*Prefix, error)

func (*Prefix) Descriptor

func (*Prefix) Descriptor() ([]byte, []int)

func (*Prefix) GetIpPrefix

func (m *Prefix) GetIpPrefix() string

func (*Prefix) GetMaskLengthMax

func (m *Prefix) GetMaskLengthMax() uint32

func (*Prefix) GetMaskLengthMin

func (m *Prefix) GetMaskLengthMin() uint32

func (*Prefix) ProtoMessage

func (*Prefix) ProtoMessage()

func (*Prefix) Reset

func (m *Prefix) Reset()

func (*Prefix) String

func (m *Prefix) String() string

type PrefixLimit

type PrefixLimit struct {
	Family               uint32 `protobuf:"varint,1,opt,name=family" json:"family,omitempty"`
	MaxPrefixes          uint32 `protobuf:"varint,2,opt,name=max_prefixes,json=maxPrefixes" json:"max_prefixes,omitempty"`
	ShutdownThresholdPct uint32 `protobuf:"varint,3,opt,name=shutdown_threshold_pct,json=shutdownThresholdPct" json:"shutdown_threshold_pct,omitempty"`
}

func NewPrefixLimitFromConfigStruct

func NewPrefixLimitFromConfigStruct(c *config.AfiSafi) *PrefixLimit

func (*PrefixLimit) Descriptor

func (*PrefixLimit) Descriptor() ([]byte, []int)

func (*PrefixLimit) GetFamily

func (m *PrefixLimit) GetFamily() uint32

func (*PrefixLimit) GetMaxPrefixes

func (m *PrefixLimit) GetMaxPrefixes() uint32

func (*PrefixLimit) GetShutdownThresholdPct

func (m *PrefixLimit) GetShutdownThresholdPct() uint32

func (*PrefixLimit) ProtoMessage

func (*PrefixLimit) ProtoMessage()

func (*PrefixLimit) Reset

func (m *PrefixLimit) Reset()

func (*PrefixLimit) String

func (m *PrefixLimit) String() string

type Queues

type Queues struct {
	Input  uint32 `protobuf:"varint,1,opt,name=input" json:"input,omitempty"`
	Output uint32 `protobuf:"varint,2,opt,name=output" json:"output,omitempty"`
}

func (*Queues) Descriptor

func (*Queues) Descriptor() ([]byte, []int)

func (*Queues) GetInput

func (m *Queues) GetInput() uint32

func (*Queues) GetOutput

func (m *Queues) GetOutput() uint32

func (*Queues) ProtoMessage

func (*Queues) ProtoMessage()

func (*Queues) Reset

func (m *Queues) Reset()

func (*Queues) String

func (m *Queues) String() string

type RPKIConf

type RPKIConf struct {
	Address    string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	RemotePort string `protobuf:"bytes,2,opt,name=remote_port,json=remotePort" json:"remote_port,omitempty"`
}

func (*RPKIConf) Descriptor

func (*RPKIConf) Descriptor() ([]byte, []int)

func (*RPKIConf) GetAddress

func (m *RPKIConf) GetAddress() string

func (*RPKIConf) GetRemotePort

func (m *RPKIConf) GetRemotePort() string

func (*RPKIConf) ProtoMessage

func (*RPKIConf) ProtoMessage()

func (*RPKIConf) Reset

func (m *RPKIConf) Reset()

func (*RPKIConf) String

func (m *RPKIConf) String() string

type RPKIState

type RPKIState struct {
	Uptime        int64  `protobuf:"varint,1,opt,name=uptime" json:"uptime,omitempty"`
	Downtime      int64  `protobuf:"varint,2,opt,name=downtime" json:"downtime,omitempty"`
	Up            bool   `protobuf:"varint,3,opt,name=up" json:"up,omitempty"`
	RecordIpv4    uint32 `protobuf:"varint,4,opt,name=record_ipv4,json=recordIpv4" json:"record_ipv4,omitempty"`
	RecordIpv6    uint32 `protobuf:"varint,5,opt,name=record_ipv6,json=recordIpv6" json:"record_ipv6,omitempty"`
	PrefixIpv4    uint32 `protobuf:"varint,6,opt,name=prefix_ipv4,json=prefixIpv4" json:"prefix_ipv4,omitempty"`
	PrefixIpv6    uint32 `protobuf:"varint,7,opt,name=prefix_ipv6,json=prefixIpv6" json:"prefix_ipv6,omitempty"`
	Serial        uint32 `protobuf:"varint,8,opt,name=serial" json:"serial,omitempty"`
	ReceivedIpv4  int64  `protobuf:"varint,9,opt,name=received_ipv4,json=receivedIpv4" json:"received_ipv4,omitempty"`
	ReceivedIpv6  int64  `protobuf:"varint,10,opt,name=received_ipv6,json=receivedIpv6" json:"received_ipv6,omitempty"`
	SerialNotify  int64  `protobuf:"varint,11,opt,name=serial_notify,json=serialNotify" json:"serial_notify,omitempty"`
	CacheReset    int64  `protobuf:"varint,12,opt,name=cache_reset,json=cacheReset" json:"cache_reset,omitempty"`
	CacheResponse int64  `protobuf:"varint,13,opt,name=cache_response,json=cacheResponse" json:"cache_response,omitempty"`
	EndOfData     int64  `protobuf:"varint,14,opt,name=end_of_data,json=endOfData" json:"end_of_data,omitempty"`
	Error         int64  `protobuf:"varint,15,opt,name=error" json:"error,omitempty"`
	SerialQuery   int64  `protobuf:"varint,16,opt,name=serial_query,json=serialQuery" json:"serial_query,omitempty"`
	ResetQuery    int64  `protobuf:"varint,17,opt,name=reset_query,json=resetQuery" json:"reset_query,omitempty"`
}

func (*RPKIState) Descriptor

func (*RPKIState) Descriptor() ([]byte, []int)

func (*RPKIState) GetCacheReset

func (m *RPKIState) GetCacheReset() int64

func (*RPKIState) GetCacheResponse

func (m *RPKIState) GetCacheResponse() int64

func (*RPKIState) GetDowntime

func (m *RPKIState) GetDowntime() int64

func (*RPKIState) GetEndOfData

func (m *RPKIState) GetEndOfData() int64

func (*RPKIState) GetError

func (m *RPKIState) GetError() int64

func (*RPKIState) GetPrefixIpv4

func (m *RPKIState) GetPrefixIpv4() uint32

func (*RPKIState) GetPrefixIpv6

func (m *RPKIState) GetPrefixIpv6() uint32

func (*RPKIState) GetReceivedIpv4

func (m *RPKIState) GetReceivedIpv4() int64

func (*RPKIState) GetReceivedIpv6

func (m *RPKIState) GetReceivedIpv6() int64

func (*RPKIState) GetRecordIpv4

func (m *RPKIState) GetRecordIpv4() uint32

func (*RPKIState) GetRecordIpv6

func (m *RPKIState) GetRecordIpv6() uint32

func (*RPKIState) GetResetQuery

func (m *RPKIState) GetResetQuery() int64

func (*RPKIState) GetSerial

func (m *RPKIState) GetSerial() uint32

func (*RPKIState) GetSerialNotify

func (m *RPKIState) GetSerialNotify() int64

func (*RPKIState) GetSerialQuery

func (m *RPKIState) GetSerialQuery() int64

func (*RPKIState) GetUp

func (m *RPKIState) GetUp() bool

func (*RPKIState) GetUptime

func (m *RPKIState) GetUptime() int64

func (*RPKIState) ProtoMessage

func (*RPKIState) ProtoMessage()

func (*RPKIState) Reset

func (m *RPKIState) Reset()

func (*RPKIState) String

func (m *RPKIState) String() string

type RPKIValidation

type RPKIValidation struct {
	State           RPKIValidation_State  `protobuf:"varint,1,opt,name=state,enum=gobgpapi.RPKIValidation_State" json:"state,omitempty"`
	Reason          RPKIValidation_Reason `protobuf:"varint,2,opt,name=reason,enum=gobgpapi.RPKIValidation_Reason" json:"reason,omitempty"`
	Matched         []*Roa                `protobuf:"bytes,3,rep,name=matched" json:"matched,omitempty"`
	UnmatchedAs     []*Roa                `protobuf:"bytes,4,rep,name=unmatched_as,json=unmatchedAs" json:"unmatched_as,omitempty"`
	UnmatchedLength []*Roa                `protobuf:"bytes,5,rep,name=unmatched_length,json=unmatchedLength" json:"unmatched_length,omitempty"`
}

func NewValidationFromTableStruct

func NewValidationFromTableStruct(v *table.Validation) *RPKIValidation

func (*RPKIValidation) Descriptor

func (*RPKIValidation) Descriptor() ([]byte, []int)

func (*RPKIValidation) GetMatched

func (m *RPKIValidation) GetMatched() []*Roa

func (*RPKIValidation) GetReason

func (m *RPKIValidation) GetReason() RPKIValidation_Reason

func (*RPKIValidation) GetState

func (m *RPKIValidation) GetState() RPKIValidation_State

func (*RPKIValidation) GetUnmatchedAs

func (m *RPKIValidation) GetUnmatchedAs() []*Roa

func (*RPKIValidation) GetUnmatchedLength

func (m *RPKIValidation) GetUnmatchedLength() []*Roa

func (*RPKIValidation) ProtoMessage

func (*RPKIValidation) ProtoMessage()

func (*RPKIValidation) Reset

func (m *RPKIValidation) Reset()

func (*RPKIValidation) String

func (m *RPKIValidation) String() string

type RPKIValidation_Reason

type RPKIValidation_Reason int32
const (
	RPKIValidation_REASOT_NONE   RPKIValidation_Reason = 0
	RPKIValidation_REASON_AS     RPKIValidation_Reason = 1
	RPKIValidation_REASON_LENGTH RPKIValidation_Reason = 2
)

func (RPKIValidation_Reason) EnumDescriptor

func (RPKIValidation_Reason) EnumDescriptor() ([]byte, []int)

func (RPKIValidation_Reason) String

func (x RPKIValidation_Reason) String() string

type RPKIValidation_State

type RPKIValidation_State int32
const (
	RPKIValidation_STATE_NONE      RPKIValidation_State = 0
	RPKIValidation_STATE_NOT_FOUND RPKIValidation_State = 1
	RPKIValidation_STATE_VALID     RPKIValidation_State = 2
	RPKIValidation_STATE_INVALID   RPKIValidation_State = 3
)

func (RPKIValidation_State) EnumDescriptor

func (RPKIValidation_State) EnumDescriptor() ([]byte, []int)

func (RPKIValidation_State) String

func (x RPKIValidation_State) String() string

type RedirectFourOctetAsSpecificExtended

type RedirectFourOctetAsSpecificExtended struct {
	As         uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*RedirectFourOctetAsSpecificExtended) Descriptor

func (*RedirectFourOctetAsSpecificExtended) Descriptor() ([]byte, []int)

func (*RedirectFourOctetAsSpecificExtended) GetAs

func (*RedirectFourOctetAsSpecificExtended) GetLocalAdmin

func (m *RedirectFourOctetAsSpecificExtended) GetLocalAdmin() uint32

func (*RedirectFourOctetAsSpecificExtended) ProtoMessage

func (*RedirectFourOctetAsSpecificExtended) ProtoMessage()

func (*RedirectFourOctetAsSpecificExtended) Reset

func (*RedirectFourOctetAsSpecificExtended) String

type RedirectIPv4AddressSpecificExtended

type RedirectIPv4AddressSpecificExtended struct {
	Address    string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*RedirectIPv4AddressSpecificExtended) Descriptor

func (*RedirectIPv4AddressSpecificExtended) Descriptor() ([]byte, []int)

func (*RedirectIPv4AddressSpecificExtended) GetAddress

func (*RedirectIPv4AddressSpecificExtended) GetLocalAdmin

func (m *RedirectIPv4AddressSpecificExtended) GetLocalAdmin() uint32

func (*RedirectIPv4AddressSpecificExtended) ProtoMessage

func (*RedirectIPv4AddressSpecificExtended) ProtoMessage()

func (*RedirectIPv4AddressSpecificExtended) Reset

func (*RedirectIPv4AddressSpecificExtended) String

type RedirectIPv6AddressSpecificExtended

type RedirectIPv6AddressSpecificExtended struct {
	Address    string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*RedirectIPv6AddressSpecificExtended) Descriptor

func (*RedirectIPv6AddressSpecificExtended) Descriptor() ([]byte, []int)

func (*RedirectIPv6AddressSpecificExtended) GetAddress

func (*RedirectIPv6AddressSpecificExtended) GetLocalAdmin

func (m *RedirectIPv6AddressSpecificExtended) GetLocalAdmin() uint32

func (*RedirectIPv6AddressSpecificExtended) ProtoMessage

func (*RedirectIPv6AddressSpecificExtended) ProtoMessage()

func (*RedirectIPv6AddressSpecificExtended) Reset

func (*RedirectIPv6AddressSpecificExtended) String

type RedirectTwoOctetAsSpecificExtended

type RedirectTwoOctetAsSpecificExtended struct {
	As         uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	LocalAdmin uint32 `protobuf:"varint,2,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*RedirectTwoOctetAsSpecificExtended) Descriptor

func (*RedirectTwoOctetAsSpecificExtended) Descriptor() ([]byte, []int)

func (*RedirectTwoOctetAsSpecificExtended) GetAs

func (*RedirectTwoOctetAsSpecificExtended) GetLocalAdmin

func (m *RedirectTwoOctetAsSpecificExtended) GetLocalAdmin() uint32

func (*RedirectTwoOctetAsSpecificExtended) ProtoMessage

func (*RedirectTwoOctetAsSpecificExtended) ProtoMessage()

func (*RedirectTwoOctetAsSpecificExtended) Reset

func (*RedirectTwoOctetAsSpecificExtended) String

type ReplaceDefinedSetRequest

type ReplaceDefinedSetRequest struct {
	Set *DefinedSet `protobuf:"bytes,1,opt,name=set" json:"set,omitempty"`
}

func (*ReplaceDefinedSetRequest) Descriptor

func (*ReplaceDefinedSetRequest) Descriptor() ([]byte, []int)

func (*ReplaceDefinedSetRequest) GetSet

func (m *ReplaceDefinedSetRequest) GetSet() *DefinedSet

func (*ReplaceDefinedSetRequest) ProtoMessage

func (*ReplaceDefinedSetRequest) ProtoMessage()

func (*ReplaceDefinedSetRequest) Reset

func (m *ReplaceDefinedSetRequest) Reset()

func (*ReplaceDefinedSetRequest) String

func (m *ReplaceDefinedSetRequest) String() string

type ReplaceDefinedSetResponse

type ReplaceDefinedSetResponse struct {
}

func (*ReplaceDefinedSetResponse) Descriptor

func (*ReplaceDefinedSetResponse) Descriptor() ([]byte, []int)

func (*ReplaceDefinedSetResponse) ProtoMessage

func (*ReplaceDefinedSetResponse) ProtoMessage()

func (*ReplaceDefinedSetResponse) Reset

func (m *ReplaceDefinedSetResponse) Reset()

func (*ReplaceDefinedSetResponse) String

func (m *ReplaceDefinedSetResponse) String() string

type ReplacePolicyAssignmentRequest

type ReplacePolicyAssignmentRequest struct {
	Assignment *PolicyAssignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"`
}

func (*ReplacePolicyAssignmentRequest) Descriptor

func (*ReplacePolicyAssignmentRequest) Descriptor() ([]byte, []int)

func (*ReplacePolicyAssignmentRequest) GetAssignment

func (*ReplacePolicyAssignmentRequest) ProtoMessage

func (*ReplacePolicyAssignmentRequest) ProtoMessage()

func (*ReplacePolicyAssignmentRequest) Reset

func (m *ReplacePolicyAssignmentRequest) Reset()

func (*ReplacePolicyAssignmentRequest) String

type ReplacePolicyAssignmentResponse

type ReplacePolicyAssignmentResponse struct {
}

func (*ReplacePolicyAssignmentResponse) Descriptor

func (*ReplacePolicyAssignmentResponse) Descriptor() ([]byte, []int)

func (*ReplacePolicyAssignmentResponse) ProtoMessage

func (*ReplacePolicyAssignmentResponse) ProtoMessage()

func (*ReplacePolicyAssignmentResponse) Reset

func (*ReplacePolicyAssignmentResponse) String

type ReplacePolicyRequest

type ReplacePolicyRequest struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy" json:"policy,omitempty"`
	// if this flag is set, gobgpd won't define new statements
	// but refer existing statements using statement's names in this arguments.
	ReferExistingStatements bool `` /* 126-byte string literal not displayed */
	// if this flag is set, gobgpd won't delete any statements
	// even if some statements get not used by any policy by this operation.
	PreserveStatements bool `protobuf:"varint,3,opt,name=preserve_statements,json=preserveStatements" json:"preserve_statements,omitempty"`
}

func (*ReplacePolicyRequest) Descriptor

func (*ReplacePolicyRequest) Descriptor() ([]byte, []int)

func (*ReplacePolicyRequest) GetPolicy

func (m *ReplacePolicyRequest) GetPolicy() *Policy

func (*ReplacePolicyRequest) GetPreserveStatements

func (m *ReplacePolicyRequest) GetPreserveStatements() bool

func (*ReplacePolicyRequest) GetReferExistingStatements

func (m *ReplacePolicyRequest) GetReferExistingStatements() bool

func (*ReplacePolicyRequest) ProtoMessage

func (*ReplacePolicyRequest) ProtoMessage()

func (*ReplacePolicyRequest) Reset

func (m *ReplacePolicyRequest) Reset()

func (*ReplacePolicyRequest) String

func (m *ReplacePolicyRequest) String() string

type ReplacePolicyResponse

type ReplacePolicyResponse struct {
}

func (*ReplacePolicyResponse) Descriptor

func (*ReplacePolicyResponse) Descriptor() ([]byte, []int)

func (*ReplacePolicyResponse) ProtoMessage

func (*ReplacePolicyResponse) ProtoMessage()

func (*ReplacePolicyResponse) Reset

func (m *ReplacePolicyResponse) Reset()

func (*ReplacePolicyResponse) String

func (m *ReplacePolicyResponse) String() string

type ReplaceStatementRequest

type ReplaceStatementRequest struct {
	Statement *Statement `protobuf:"bytes,1,opt,name=statement" json:"statement,omitempty"`
}

func (*ReplaceStatementRequest) Descriptor

func (*ReplaceStatementRequest) Descriptor() ([]byte, []int)

func (*ReplaceStatementRequest) GetStatement

func (m *ReplaceStatementRequest) GetStatement() *Statement

func (*ReplaceStatementRequest) ProtoMessage

func (*ReplaceStatementRequest) ProtoMessage()

func (*ReplaceStatementRequest) Reset

func (m *ReplaceStatementRequest) Reset()

func (*ReplaceStatementRequest) String

func (m *ReplaceStatementRequest) String() string

type ReplaceStatementResponse

type ReplaceStatementResponse struct {
}

func (*ReplaceStatementResponse) Descriptor

func (*ReplaceStatementResponse) Descriptor() ([]byte, []int)

func (*ReplaceStatementResponse) ProtoMessage

func (*ReplaceStatementResponse) ProtoMessage()

func (*ReplaceStatementResponse) Reset

func (m *ReplaceStatementResponse) Reset()

func (*ReplaceStatementResponse) String

func (m *ReplaceStatementResponse) String() string

type ResetNeighborRequest

type ResetNeighborRequest struct {
	Address       string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"`
}

func (*ResetNeighborRequest) Descriptor

func (*ResetNeighborRequest) Descriptor() ([]byte, []int)

func (*ResetNeighborRequest) GetAddress

func (m *ResetNeighborRequest) GetAddress() string

func (*ResetNeighborRequest) GetCommunication

func (m *ResetNeighborRequest) GetCommunication() string

func (*ResetNeighborRequest) ProtoMessage

func (*ResetNeighborRequest) ProtoMessage()

func (*ResetNeighborRequest) Reset

func (m *ResetNeighborRequest) Reset()

func (*ResetNeighborRequest) String

func (m *ResetNeighborRequest) String() string

type ResetNeighborResponse

type ResetNeighborResponse struct {
}

func (*ResetNeighborResponse) Descriptor

func (*ResetNeighborResponse) Descriptor() ([]byte, []int)

func (*ResetNeighborResponse) ProtoMessage

func (*ResetNeighborResponse) ProtoMessage()

func (*ResetNeighborResponse) Reset

func (m *ResetNeighborResponse) Reset()

func (*ResetNeighborResponse) String

func (m *ResetNeighborResponse) String() string

type ResetRpkiRequest

type ResetRpkiRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*ResetRpkiRequest) Descriptor

func (*ResetRpkiRequest) Descriptor() ([]byte, []int)

func (*ResetRpkiRequest) GetAddress

func (m *ResetRpkiRequest) GetAddress() string

func (*ResetRpkiRequest) ProtoMessage

func (*ResetRpkiRequest) ProtoMessage()

func (*ResetRpkiRequest) Reset

func (m *ResetRpkiRequest) Reset()

func (*ResetRpkiRequest) String

func (m *ResetRpkiRequest) String() string

type ResetRpkiResponse

type ResetRpkiResponse struct {
}

func (*ResetRpkiResponse) Descriptor

func (*ResetRpkiResponse) Descriptor() ([]byte, []int)

func (*ResetRpkiResponse) ProtoMessage

func (*ResetRpkiResponse) ProtoMessage()

func (*ResetRpkiResponse) Reset

func (m *ResetRpkiResponse) Reset()

func (*ResetRpkiResponse) String

func (m *ResetRpkiResponse) String() string

type Resource

type Resource int32
const (
	Resource_GLOBAL  Resource = 0
	Resource_LOCAL   Resource = 1
	Resource_ADJ_IN  Resource = 2
	Resource_ADJ_OUT Resource = 3
	Resource_VRF     Resource = 4
)

func (Resource) EnumDescriptor

func (Resource) EnumDescriptor() ([]byte, []int)

func (Resource) String

func (x Resource) String() string

type Roa

type Roa struct {
	As        uint32    `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	Prefixlen uint32    `protobuf:"varint,2,opt,name=prefixlen" json:"prefixlen,omitempty"`
	Maxlen    uint32    `protobuf:"varint,3,opt,name=maxlen" json:"maxlen,omitempty"`
	Prefix    string    `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"`
	Conf      *RPKIConf `protobuf:"bytes,5,opt,name=conf" json:"conf,omitempty"`
}

func NewRoaListFromTableStructList

func NewRoaListFromTableStructList(origin []*table.ROA) []*Roa

func (*Roa) Descriptor

func (*Roa) Descriptor() ([]byte, []int)

func (*Roa) GetAs

func (m *Roa) GetAs() uint32

func (*Roa) GetConf

func (m *Roa) GetConf() *RPKIConf

func (*Roa) GetMaxlen

func (m *Roa) GetMaxlen() uint32

func (*Roa) GetPrefix

func (m *Roa) GetPrefix() string

func (*Roa) GetPrefixlen

func (m *Roa) GetPrefixlen() uint32

func (*Roa) ProtoMessage

func (*Roa) ProtoMessage()

func (*Roa) Reset

func (m *Roa) Reset()

func (*Roa) String

func (m *Roa) String() string

type RouteAction

type RouteAction int32
const (
	RouteAction_NONE   RouteAction = 0
	RouteAction_ACCEPT RouteAction = 1
	RouteAction_REJECT RouteAction = 2
)

func (RouteAction) EnumDescriptor

func (RouteAction) EnumDescriptor() ([]byte, []int)

func (RouteAction) String

func (x RouteAction) String() string

type RouteDistinguisherFourOctetAS

type RouteDistinguisherFourOctetAS struct {
	Admin    uint32 `protobuf:"varint,1,opt,name=admin" json:"admin,omitempty"`
	Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"`
}

func (*RouteDistinguisherFourOctetAS) Descriptor

func (*RouteDistinguisherFourOctetAS) Descriptor() ([]byte, []int)

func (*RouteDistinguisherFourOctetAS) GetAdmin

func (m *RouteDistinguisherFourOctetAS) GetAdmin() uint32

func (*RouteDistinguisherFourOctetAS) GetAssigned

func (m *RouteDistinguisherFourOctetAS) GetAssigned() uint32

func (*RouteDistinguisherFourOctetAS) ProtoMessage

func (*RouteDistinguisherFourOctetAS) ProtoMessage()

func (*RouteDistinguisherFourOctetAS) Reset

func (m *RouteDistinguisherFourOctetAS) Reset()

func (*RouteDistinguisherFourOctetAS) String

type RouteDistinguisherIPAddress

type RouteDistinguisherIPAddress struct {
	Admin    string `protobuf:"bytes,1,opt,name=admin" json:"admin,omitempty"`
	Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"`
}

func (*RouteDistinguisherIPAddress) Descriptor

func (*RouteDistinguisherIPAddress) Descriptor() ([]byte, []int)

func (*RouteDistinguisherIPAddress) GetAdmin

func (m *RouteDistinguisherIPAddress) GetAdmin() string

func (*RouteDistinguisherIPAddress) GetAssigned

func (m *RouteDistinguisherIPAddress) GetAssigned() uint32

func (*RouteDistinguisherIPAddress) ProtoMessage

func (*RouteDistinguisherIPAddress) ProtoMessage()

func (*RouteDistinguisherIPAddress) Reset

func (m *RouteDistinguisherIPAddress) Reset()

func (*RouteDistinguisherIPAddress) String

func (m *RouteDistinguisherIPAddress) String() string

type RouteDistinguisherTwoOctetAS

type RouteDistinguisherTwoOctetAS struct {
	Admin    uint32 `protobuf:"varint,1,opt,name=admin" json:"admin,omitempty"`
	Assigned uint32 `protobuf:"varint,2,opt,name=assigned" json:"assigned,omitempty"`
}

func (*RouteDistinguisherTwoOctetAS) Descriptor

func (*RouteDistinguisherTwoOctetAS) Descriptor() ([]byte, []int)

func (*RouteDistinguisherTwoOctetAS) GetAdmin

func (m *RouteDistinguisherTwoOctetAS) GetAdmin() uint32

func (*RouteDistinguisherTwoOctetAS) GetAssigned

func (m *RouteDistinguisherTwoOctetAS) GetAssigned() uint32

func (*RouteDistinguisherTwoOctetAS) ProtoMessage

func (*RouteDistinguisherTwoOctetAS) ProtoMessage()

func (*RouteDistinguisherTwoOctetAS) Reset

func (m *RouteDistinguisherTwoOctetAS) Reset()

func (*RouteDistinguisherTwoOctetAS) String

type RouteReflector

type RouteReflector struct {
	RouteReflectorClient    bool   `protobuf:"varint,1,opt,name=route_reflector_client,json=routeReflectorClient" json:"route_reflector_client,omitempty"`
	RouteReflectorClusterId string `` /* 127-byte string literal not displayed */
}

func (*RouteReflector) Descriptor

func (*RouteReflector) Descriptor() ([]byte, []int)

func (*RouteReflector) GetRouteReflectorClient

func (m *RouteReflector) GetRouteReflectorClient() bool

func (*RouteReflector) GetRouteReflectorClusterId

func (m *RouteReflector) GetRouteReflectorClusterId() string

func (*RouteReflector) ProtoMessage

func (*RouteReflector) ProtoMessage()

func (*RouteReflector) Reset

func (m *RouteReflector) Reset()

func (*RouteReflector) String

func (m *RouteReflector) String() string

type RouteRefreshCapability

type RouteRefreshCapability struct {
}

func NewRouteRefreshCapability

func NewRouteRefreshCapability(a *bgp.CapRouteRefresh) *RouteRefreshCapability

func (*RouteRefreshCapability) Descriptor

func (*RouteRefreshCapability) Descriptor() ([]byte, []int)

func (*RouteRefreshCapability) ProtoMessage

func (*RouteRefreshCapability) ProtoMessage()

func (*RouteRefreshCapability) Reset

func (m *RouteRefreshCapability) Reset()

func (*RouteRefreshCapability) String

func (m *RouteRefreshCapability) String() string

func (*RouteRefreshCapability) ToNative

func (a *RouteRefreshCapability) ToNative() (*bgp.CapRouteRefresh, error)

type RouteRefreshCiscoCapability

type RouteRefreshCiscoCapability struct {
}

func (*RouteRefreshCiscoCapability) Descriptor

func (*RouteRefreshCiscoCapability) Descriptor() ([]byte, []int)

func (*RouteRefreshCiscoCapability) ProtoMessage

func (*RouteRefreshCiscoCapability) ProtoMessage()

func (*RouteRefreshCiscoCapability) Reset

func (m *RouteRefreshCiscoCapability) Reset()

func (*RouteRefreshCiscoCapability) String

func (m *RouteRefreshCiscoCapability) String() string

func (*RouteRefreshCiscoCapability) ToNative

type RouteSelectionOptions

type RouteSelectionOptions struct {
	Config *RouteSelectionOptionsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *RouteSelectionOptionsState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func NewRouteSelectionOptionsFromConfigStruct

func NewRouteSelectionOptionsFromConfigStruct(c *config.RouteSelectionOptions) *RouteSelectionOptions

func (*RouteSelectionOptions) Descriptor

func (*RouteSelectionOptions) Descriptor() ([]byte, []int)

func (*RouteSelectionOptions) GetConfig

func (*RouteSelectionOptions) GetState

func (*RouteSelectionOptions) ProtoMessage

func (*RouteSelectionOptions) ProtoMessage()

func (*RouteSelectionOptions) Reset

func (m *RouteSelectionOptions) Reset()

func (*RouteSelectionOptions) String

func (m *RouteSelectionOptions) String() string

type RouteSelectionOptionsConfig

type RouteSelectionOptionsConfig struct {
	AlwaysCompareMed         bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed" json:"always_compare_med,omitempty"`
	IgnoreAsPathLength       bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength" json:"ignore_as_path_length,omitempty"`
	ExternalCompareRouterId  bool `` /* 128-byte string literal not displayed */
	AdvertiseInactiveRoutes  bool `` /* 126-byte string literal not displayed */
	EnableAigp               bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp" json:"enable_aigp,omitempty"`
	IgnoreNextHopIgpMetric   bool `` /* 127-byte string literal not displayed */
	DisableBestPathSelection bool `` /* 131-byte string literal not displayed */
}

func (*RouteSelectionOptionsConfig) Descriptor

func (*RouteSelectionOptionsConfig) Descriptor() ([]byte, []int)

func (*RouteSelectionOptionsConfig) GetAdvertiseInactiveRoutes

func (m *RouteSelectionOptionsConfig) GetAdvertiseInactiveRoutes() bool

func (*RouteSelectionOptionsConfig) GetAlwaysCompareMed

func (m *RouteSelectionOptionsConfig) GetAlwaysCompareMed() bool

func (*RouteSelectionOptionsConfig) GetDisableBestPathSelection

func (m *RouteSelectionOptionsConfig) GetDisableBestPathSelection() bool

func (*RouteSelectionOptionsConfig) GetEnableAigp

func (m *RouteSelectionOptionsConfig) GetEnableAigp() bool

func (*RouteSelectionOptionsConfig) GetExternalCompareRouterId

func (m *RouteSelectionOptionsConfig) GetExternalCompareRouterId() bool

func (*RouteSelectionOptionsConfig) GetIgnoreAsPathLength

func (m *RouteSelectionOptionsConfig) GetIgnoreAsPathLength() bool

func (*RouteSelectionOptionsConfig) GetIgnoreNextHopIgpMetric

func (m *RouteSelectionOptionsConfig) GetIgnoreNextHopIgpMetric() bool

func (*RouteSelectionOptionsConfig) ProtoMessage

func (*RouteSelectionOptionsConfig) ProtoMessage()

func (*RouteSelectionOptionsConfig) Reset

func (m *RouteSelectionOptionsConfig) Reset()

func (*RouteSelectionOptionsConfig) String

func (m *RouteSelectionOptionsConfig) String() string

type RouteSelectionOptionsState

type RouteSelectionOptionsState struct {
	AlwaysCompareMed         bool `protobuf:"varint,1,opt,name=always_compare_med,json=alwaysCompareMed" json:"always_compare_med,omitempty"`
	IgnoreAsPathLength       bool `protobuf:"varint,2,opt,name=ignore_as_path_length,json=ignoreAsPathLength" json:"ignore_as_path_length,omitempty"`
	ExternalCompareRouterId  bool `` /* 128-byte string literal not displayed */
	AdvertiseInactiveRoutes  bool `` /* 126-byte string literal not displayed */
	EnableAigp               bool `protobuf:"varint,5,opt,name=enable_aigp,json=enableAigp" json:"enable_aigp,omitempty"`
	IgnoreNextHopIgpMetric   bool `` /* 127-byte string literal not displayed */
	DisableBestPathSelection bool `` /* 131-byte string literal not displayed */
}

func (*RouteSelectionOptionsState) Descriptor

func (*RouteSelectionOptionsState) Descriptor() ([]byte, []int)

func (*RouteSelectionOptionsState) GetAdvertiseInactiveRoutes

func (m *RouteSelectionOptionsState) GetAdvertiseInactiveRoutes() bool

func (*RouteSelectionOptionsState) GetAlwaysCompareMed

func (m *RouteSelectionOptionsState) GetAlwaysCompareMed() bool

func (*RouteSelectionOptionsState) GetDisableBestPathSelection

func (m *RouteSelectionOptionsState) GetDisableBestPathSelection() bool

func (*RouteSelectionOptionsState) GetEnableAigp

func (m *RouteSelectionOptionsState) GetEnableAigp() bool

func (*RouteSelectionOptionsState) GetExternalCompareRouterId

func (m *RouteSelectionOptionsState) GetExternalCompareRouterId() bool

func (*RouteSelectionOptionsState) GetIgnoreAsPathLength

func (m *RouteSelectionOptionsState) GetIgnoreAsPathLength() bool

func (*RouteSelectionOptionsState) GetIgnoreNextHopIgpMetric

func (m *RouteSelectionOptionsState) GetIgnoreNextHopIgpMetric() bool

func (*RouteSelectionOptionsState) ProtoMessage

func (*RouteSelectionOptionsState) ProtoMessage()

func (*RouteSelectionOptionsState) Reset

func (m *RouteSelectionOptionsState) Reset()

func (*RouteSelectionOptionsState) String

func (m *RouteSelectionOptionsState) String() string

type RouteServer

type RouteServer struct {
	RouteServerClient bool `protobuf:"varint,1,opt,name=route_server_client,json=routeServerClient" json:"route_server_client,omitempty"`
}

func (*RouteServer) Descriptor

func (*RouteServer) Descriptor() ([]byte, []int)

func (*RouteServer) GetRouteServerClient

func (m *RouteServer) GetRouteServerClient() bool

func (*RouteServer) ProtoMessage

func (*RouteServer) ProtoMessage()

func (*RouteServer) Reset

func (m *RouteServer) Reset()

func (*RouteServer) String

func (m *RouteServer) String() string

type RouteTargetMembership

type RouteTargetMembership struct {
	Config *RouteTargetMembershipConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *RouteTargetMembershipState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func NewRouteTargetMembershipFromConfigStruct

func NewRouteTargetMembershipFromConfigStruct(c *config.RouteTargetMembership) *RouteTargetMembership

func (*RouteTargetMembership) Descriptor

func (*RouteTargetMembership) Descriptor() ([]byte, []int)

func (*RouteTargetMembership) GetConfig

func (*RouteTargetMembership) GetState

func (*RouteTargetMembership) ProtoMessage

func (*RouteTargetMembership) ProtoMessage()

func (*RouteTargetMembership) Reset

func (m *RouteTargetMembership) Reset()

func (*RouteTargetMembership) String

func (m *RouteTargetMembership) String() string

type RouteTargetMembershipConfig

type RouteTargetMembershipConfig struct {
	DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"`
}

func (*RouteTargetMembershipConfig) Descriptor

func (*RouteTargetMembershipConfig) Descriptor() ([]byte, []int)

func (*RouteTargetMembershipConfig) GetDeferralTime

func (m *RouteTargetMembershipConfig) GetDeferralTime() uint32

func (*RouteTargetMembershipConfig) ProtoMessage

func (*RouteTargetMembershipConfig) ProtoMessage()

func (*RouteTargetMembershipConfig) Reset

func (m *RouteTargetMembershipConfig) Reset()

func (*RouteTargetMembershipConfig) String

func (m *RouteTargetMembershipConfig) String() string

type RouteTargetMembershipNLRI

type RouteTargetMembershipNLRI struct {
	As uint32 `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	// One of:
	// - TwoOctetAsSpecificExtended
	// - IPv4AddressSpecificExtended
	// - FourOctetAsSpecificExtended
	Rt *google_protobuf.Any `protobuf:"bytes,2,opt,name=rt" json:"rt,omitempty"`
}

RouteTargetMembershipNLRI represents the NLRI for: - AFI=1, SAFI=132

func (*RouteTargetMembershipNLRI) Descriptor

func (*RouteTargetMembershipNLRI) Descriptor() ([]byte, []int)

func (*RouteTargetMembershipNLRI) GetAs

func (m *RouteTargetMembershipNLRI) GetAs() uint32

func (*RouteTargetMembershipNLRI) GetRt

func (*RouteTargetMembershipNLRI) ProtoMessage

func (*RouteTargetMembershipNLRI) ProtoMessage()

func (*RouteTargetMembershipNLRI) Reset

func (m *RouteTargetMembershipNLRI) Reset()

func (*RouteTargetMembershipNLRI) String

func (m *RouteTargetMembershipNLRI) String() string

type RouteTargetMembershipState

type RouteTargetMembershipState struct {
	DeferralTime uint32 `protobuf:"varint,1,opt,name=deferral_time,json=deferralTime" json:"deferral_time,omitempty"`
}

func (*RouteTargetMembershipState) Descriptor

func (*RouteTargetMembershipState) Descriptor() ([]byte, []int)

func (*RouteTargetMembershipState) GetDeferralTime

func (m *RouteTargetMembershipState) GetDeferralTime() uint32

func (*RouteTargetMembershipState) ProtoMessage

func (*RouteTargetMembershipState) ProtoMessage()

func (*RouteTargetMembershipState) Reset

func (m *RouteTargetMembershipState) Reset()

func (*RouteTargetMembershipState) String

func (m *RouteTargetMembershipState) String() string

type RouterMacExtended

type RouterMacExtended struct {
	Mac string `protobuf:"bytes,1,opt,name=mac" json:"mac,omitempty"`
}

func (*RouterMacExtended) Descriptor

func (*RouterMacExtended) Descriptor() ([]byte, []int)

func (*RouterMacExtended) GetMac

func (m *RouterMacExtended) GetMac() string

func (*RouterMacExtended) ProtoMessage

func (*RouterMacExtended) ProtoMessage()

func (*RouterMacExtended) Reset

func (m *RouterMacExtended) Reset()

func (*RouterMacExtended) String

func (m *RouterMacExtended) String() string

type RoutingPolicy

type RoutingPolicy struct {
	DefinedSet       []*DefinedSet `protobuf:"bytes,1,rep,name=defined_set,json=definedSet" json:"defined_set,omitempty"`
	PolicyDefinition []*Policy     `protobuf:"bytes,2,rep,name=policy_definition,json=policyDefinition" json:"policy_definition,omitempty"`
}

func NewAPIRoutingPolicyFromConfigStruct

func NewAPIRoutingPolicyFromConfigStruct(c *config.RoutingPolicy) (*RoutingPolicy, error)

func (*RoutingPolicy) Descriptor

func (*RoutingPolicy) Descriptor() ([]byte, []int)

func (*RoutingPolicy) GetDefinedSet

func (m *RoutingPolicy) GetDefinedSet() []*DefinedSet

func (*RoutingPolicy) GetPolicyDefinition

func (m *RoutingPolicy) GetPolicyDefinition() []*Policy

func (*RoutingPolicy) ProtoMessage

func (*RoutingPolicy) ProtoMessage()

func (*RoutingPolicy) Reset

func (m *RoutingPolicy) Reset()

func (*RoutingPolicy) String

func (m *RoutingPolicy) String() string

type Rpki

type Rpki struct {
	Conf  *RPKIConf  `protobuf:"bytes,1,opt,name=conf" json:"conf,omitempty"`
	State *RPKIState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func (*Rpki) Descriptor

func (*Rpki) Descriptor() ([]byte, []int)

func (*Rpki) GetConf

func (m *Rpki) GetConf() *RPKIConf

func (*Rpki) GetState

func (m *Rpki) GetState() *RPKIState

func (*Rpki) ProtoMessage

func (*Rpki) ProtoMessage()

func (*Rpki) Reset

func (m *Rpki) Reset()

func (*Rpki) String

func (m *Rpki) String() string

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewGrpcServer

func NewGrpcServer(b *server.BgpServer, hosts string) *Server

func NewServer

func NewServer(b *server.BgpServer, g *grpc.Server, hosts string) *Server

func (*Server) AddBmp

func (s *Server) AddBmp(ctx context.Context, arg *AddBmpRequest) (*AddBmpResponse, error)

func (*Server) AddCollector

func (s *Server) AddCollector(ctx context.Context, arg *AddCollectorRequest) (*AddCollectorResponse, error)

func (*Server) AddDefinedSet

func (s *Server) AddDefinedSet(ctx context.Context, arg *AddDefinedSetRequest) (*AddDefinedSetResponse, error)

func (*Server) AddDynamicNeighbor

func (s *Server) AddDynamicNeighbor(ctx context.Context, arg *AddDynamicNeighborRequest) (*AddDynamicNeighborResponse, error)

func (*Server) AddNeighbor

func (s *Server) AddNeighbor(ctx context.Context, arg *AddNeighborRequest) (*AddNeighborResponse, error)

func (*Server) AddPath

func (s *Server) AddPath(ctx context.Context, arg *AddPathRequest) (*AddPathResponse, error)

func (*Server) AddPeerGroup

func (s *Server) AddPeerGroup(ctx context.Context, arg *AddPeerGroupRequest) (*AddPeerGroupResponse, error)

func (*Server) AddPolicy

func (s *Server) AddPolicy(ctx context.Context, arg *AddPolicyRequest) (*AddPolicyResponse, error)

func (*Server) AddPolicyAssignment

func (s *Server) AddPolicyAssignment(ctx context.Context, arg *AddPolicyAssignmentRequest) (*AddPolicyAssignmentResponse, error)

func (*Server) AddRpki

func (s *Server) AddRpki(ctx context.Context, arg *AddRpkiRequest) (*AddRpkiResponse, error)

func (*Server) AddStatement

func (s *Server) AddStatement(ctx context.Context, arg *AddStatementRequest) (*AddStatementResponse, error)

func (*Server) AddVrf

func (s *Server) AddVrf(ctx context.Context, arg *AddVrfRequest) (r *AddVrfResponse, err error)

func (*Server) DeleteBmp

func (s *Server) DeleteBmp(ctx context.Context, arg *DeleteBmpRequest) (*DeleteBmpResponse, error)

func (*Server) DeleteDefinedSet

func (s *Server) DeleteDefinedSet(ctx context.Context, arg *DeleteDefinedSetRequest) (*DeleteDefinedSetResponse, error)

func (*Server) DeleteNeighbor

func (s *Server) DeleteNeighbor(ctx context.Context, arg *DeleteNeighborRequest) (*DeleteNeighborResponse, error)

func (*Server) DeletePath

func (s *Server) DeletePath(ctx context.Context, arg *DeletePathRequest) (*DeletePathResponse, error)

func (*Server) DeletePeerGroup

func (s *Server) DeletePeerGroup(ctx context.Context, arg *DeletePeerGroupRequest) (*DeletePeerGroupResponse, error)

func (*Server) DeletePolicy

func (s *Server) DeletePolicy(ctx context.Context, arg *DeletePolicyRequest) (*DeletePolicyResponse, error)

func (*Server) DeletePolicyAssignment

func (*Server) DeleteRpki

func (s *Server) DeleteRpki(ctx context.Context, arg *DeleteRpkiRequest) (*DeleteRpkiResponse, error)

func (*Server) DeleteStatement

func (s *Server) DeleteStatement(ctx context.Context, arg *DeleteStatementRequest) (*DeleteStatementResponse, error)

func (*Server) DeleteVrf

func (s *Server) DeleteVrf(ctx context.Context, arg *DeleteVrfRequest) (*DeleteVrfResponse, error)

func (*Server) DisableMrt

func (s *Server) DisableMrt(ctx context.Context, arg *DisableMrtRequest) (*DisableMrtResponse, error)

func (*Server) DisableNeighbor

func (s *Server) DisableNeighbor(ctx context.Context, arg *DisableNeighborRequest) (*DisableNeighborResponse, error)

func (*Server) DisableRpki

func (s *Server) DisableRpki(ctx context.Context, arg *DisableRpkiRequest) (*DisableRpkiResponse, error)

func (*Server) EnableMrt

func (s *Server) EnableMrt(ctx context.Context, arg *EnableMrtRequest) (*EnableMrtResponse, error)

func (*Server) EnableNeighbor

func (s *Server) EnableNeighbor(ctx context.Context, arg *EnableNeighborRequest) (*EnableNeighborResponse, error)

func (*Server) EnableRpki

func (s *Server) EnableRpki(ctx context.Context, arg *EnableRpkiRequest) (*EnableRpkiResponse, error)

func (*Server) EnableZebra

func (s *Server) EnableZebra(ctx context.Context, arg *EnableZebraRequest) (*EnableZebraResponse, error)

func (*Server) GetDefinedSet

func (s *Server) GetDefinedSet(ctx context.Context, arg *GetDefinedSetRequest) (*GetDefinedSetResponse, error)

func (*Server) GetNeighbor

func (s *Server) GetNeighbor(ctx context.Context, arg *GetNeighborRequest) (*GetNeighborResponse, error)

func (*Server) GetPath

func (s *Server) GetPath(arg *GetPathRequest, stream GobgpApi_GetPathServer) error

func (*Server) GetPolicy

func (s *Server) GetPolicy(ctx context.Context, arg *GetPolicyRequest) (*GetPolicyResponse, error)

func (*Server) GetPolicyAssignment

func (s *Server) GetPolicyAssignment(ctx context.Context, arg *GetPolicyAssignmentRequest) (*GetPolicyAssignmentResponse, error)

func (*Server) GetRib

func (s *Server) GetRib(ctx context.Context, arg *GetRibRequest) (*GetRibResponse, error)

func (*Server) GetRibInfo

func (s *Server) GetRibInfo(ctx context.Context, arg *GetRibInfoRequest) (*GetRibInfoResponse, error)

func (*Server) GetRoa

func (s *Server) GetRoa(ctx context.Context, arg *GetRoaRequest) (*GetRoaResponse, error)

func (*Server) GetRpki

func (s *Server) GetRpki(ctx context.Context, arg *GetRpkiRequest) (*GetRpkiResponse, error)

func (*Server) GetServer

func (s *Server) GetServer(ctx context.Context, arg *GetServerRequest) (*GetServerResponse, error)

func (*Server) GetStatement

func (s *Server) GetStatement(ctx context.Context, arg *GetStatementRequest) (*GetStatementResponse, error)

func (*Server) GetVrf

func (s *Server) GetVrf(ctx context.Context, arg *GetVrfRequest) (*GetVrfResponse, error)

func (*Server) InjectMrt

func (s *Server) InjectMrt(stream GobgpApi_InjectMrtServer) error

func (*Server) MonitorPeerState

func (s *Server) MonitorPeerState(arg *Arguments, stream GobgpApi_MonitorPeerStateServer) error

func (*Server) MonitorRib

func (s *Server) MonitorRib(arg *MonitorRibRequest, stream GobgpApi_MonitorRibServer) error

func (*Server) ReplaceDefinedSet

func (s *Server) ReplaceDefinedSet(ctx context.Context, arg *ReplaceDefinedSetRequest) (*ReplaceDefinedSetResponse, error)

func (*Server) ReplacePolicy

func (s *Server) ReplacePolicy(ctx context.Context, arg *ReplacePolicyRequest) (*ReplacePolicyResponse, error)

func (*Server) ReplaceStatement

func (s *Server) ReplaceStatement(ctx context.Context, arg *ReplaceStatementRequest) (*ReplaceStatementResponse, error)

func (*Server) ResetNeighbor

func (s *Server) ResetNeighbor(ctx context.Context, arg *ResetNeighborRequest) (*ResetNeighborResponse, error)

func (*Server) ResetRpki

func (s *Server) ResetRpki(ctx context.Context, arg *ResetRpkiRequest) (*ResetRpkiResponse, error)

func (*Server) Serve

func (s *Server) Serve() error

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context, arg *ShutdownRequest) (*ShutdownResponse, error)

func (*Server) ShutdownNeighbor

func (s *Server) ShutdownNeighbor(ctx context.Context, arg *ShutdownNeighborRequest) (*ShutdownNeighborResponse, error)

func (*Server) SoftResetNeighbor

func (s *Server) SoftResetNeighbor(ctx context.Context, arg *SoftResetNeighborRequest) (*SoftResetNeighborResponse, error)

func (*Server) SoftResetRpki

func (s *Server) SoftResetRpki(ctx context.Context, arg *SoftResetRpkiRequest) (*SoftResetRpkiResponse, error)

func (*Server) StartServer

func (s *Server) StartServer(ctx context.Context, arg *StartServerRequest) (*StartServerResponse, error)

func (*Server) StopServer

func (s *Server) StopServer(ctx context.Context, arg *StopServerRequest) (*StopServerResponse, error)

func (*Server) UpdateNeighbor

func (s *Server) UpdateNeighbor(ctx context.Context, arg *UpdateNeighborRequest) (*UpdateNeighborResponse, error)

func (*Server) UpdatePeerGroup

func (s *Server) UpdatePeerGroup(ctx context.Context, arg *UpdatePeerGroupRequest) (*UpdatePeerGroupResponse, error)

func (*Server) UpdatePolicy

func (s *Server) UpdatePolicy(ctx context.Context, arg *UpdatePolicyRequest) (*UpdatePolicyResponse, error)

func (*Server) ValidateRib

func (s *Server) ValidateRib(ctx context.Context, arg *ValidateRibRequest) (*ValidateRibResponse, error)

type ShutdownNeighborRequest

type ShutdownNeighborRequest struct {
	Address       string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Communication string `protobuf:"bytes,2,opt,name=communication" json:"communication,omitempty"`
}

func (*ShutdownNeighborRequest) Descriptor

func (*ShutdownNeighborRequest) Descriptor() ([]byte, []int)

func (*ShutdownNeighborRequest) GetAddress

func (m *ShutdownNeighborRequest) GetAddress() string

func (*ShutdownNeighborRequest) GetCommunication

func (m *ShutdownNeighborRequest) GetCommunication() string

func (*ShutdownNeighborRequest) ProtoMessage

func (*ShutdownNeighborRequest) ProtoMessage()

func (*ShutdownNeighborRequest) Reset

func (m *ShutdownNeighborRequest) Reset()

func (*ShutdownNeighborRequest) String

func (m *ShutdownNeighborRequest) String() string

type ShutdownNeighborResponse

type ShutdownNeighborResponse struct {
}

func (*ShutdownNeighborResponse) Descriptor

func (*ShutdownNeighborResponse) Descriptor() ([]byte, []int)

func (*ShutdownNeighborResponse) ProtoMessage

func (*ShutdownNeighborResponse) ProtoMessage()

func (*ShutdownNeighborResponse) Reset

func (m *ShutdownNeighborResponse) Reset()

func (*ShutdownNeighborResponse) String

func (m *ShutdownNeighborResponse) String() string

type ShutdownRequest

type ShutdownRequest struct {
}

func (*ShutdownRequest) Descriptor

func (*ShutdownRequest) Descriptor() ([]byte, []int)

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) Reset

func (m *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (m *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
}

func (*ShutdownResponse) Descriptor

func (*ShutdownResponse) Descriptor() ([]byte, []int)

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) Reset

func (m *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (m *ShutdownResponse) String() string

type SoftResetNeighborRequest

type SoftResetNeighborRequest struct {
	Address   string                                      `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
	Direction SoftResetNeighborRequest_SoftResetDirection `protobuf:"varint,2,opt,name=direction,enum=gobgpapi.SoftResetNeighborRequest_SoftResetDirection" json:"direction,omitempty"`
}

func (*SoftResetNeighborRequest) Descriptor

func (*SoftResetNeighborRequest) Descriptor() ([]byte, []int)

func (*SoftResetNeighborRequest) GetAddress

func (m *SoftResetNeighborRequest) GetAddress() string

func (*SoftResetNeighborRequest) GetDirection

func (*SoftResetNeighborRequest) ProtoMessage

func (*SoftResetNeighborRequest) ProtoMessage()

func (*SoftResetNeighborRequest) Reset

func (m *SoftResetNeighborRequest) Reset()

func (*SoftResetNeighborRequest) String

func (m *SoftResetNeighborRequest) String() string

type SoftResetNeighborRequest_SoftResetDirection

type SoftResetNeighborRequest_SoftResetDirection int32
const (
	SoftResetNeighborRequest_IN   SoftResetNeighborRequest_SoftResetDirection = 0
	SoftResetNeighborRequest_OUT  SoftResetNeighborRequest_SoftResetDirection = 1
	SoftResetNeighborRequest_BOTH SoftResetNeighborRequest_SoftResetDirection = 2
)

func (SoftResetNeighborRequest_SoftResetDirection) EnumDescriptor

func (SoftResetNeighborRequest_SoftResetDirection) EnumDescriptor() ([]byte, []int)

func (SoftResetNeighborRequest_SoftResetDirection) String

type SoftResetNeighborResponse

type SoftResetNeighborResponse struct {
}

func (*SoftResetNeighborResponse) Descriptor

func (*SoftResetNeighborResponse) Descriptor() ([]byte, []int)

func (*SoftResetNeighborResponse) ProtoMessage

func (*SoftResetNeighborResponse) ProtoMessage()

func (*SoftResetNeighborResponse) Reset

func (m *SoftResetNeighborResponse) Reset()

func (*SoftResetNeighborResponse) String

func (m *SoftResetNeighborResponse) String() string

type SoftResetRpkiRequest

type SoftResetRpkiRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"`
}

func (*SoftResetRpkiRequest) Descriptor

func (*SoftResetRpkiRequest) Descriptor() ([]byte, []int)

func (*SoftResetRpkiRequest) GetAddress

func (m *SoftResetRpkiRequest) GetAddress() string

func (*SoftResetRpkiRequest) ProtoMessage

func (*SoftResetRpkiRequest) ProtoMessage()

func (*SoftResetRpkiRequest) Reset

func (m *SoftResetRpkiRequest) Reset()

func (*SoftResetRpkiRequest) String

func (m *SoftResetRpkiRequest) String() string

type SoftResetRpkiResponse

type SoftResetRpkiResponse struct {
}

func (*SoftResetRpkiResponse) Descriptor

func (*SoftResetRpkiResponse) Descriptor() ([]byte, []int)

func (*SoftResetRpkiResponse) ProtoMessage

func (*SoftResetRpkiResponse) ProtoMessage()

func (*SoftResetRpkiResponse) Reset

func (m *SoftResetRpkiResponse) Reset()

func (*SoftResetRpkiResponse) String

func (m *SoftResetRpkiResponse) String() string

type StartServerRequest

type StartServerRequest struct {
	Global *Global `protobuf:"bytes,1,opt,name=global" json:"global,omitempty"`
}

func (*StartServerRequest) Descriptor

func (*StartServerRequest) Descriptor() ([]byte, []int)

func (*StartServerRequest) GetGlobal

func (m *StartServerRequest) GetGlobal() *Global

func (*StartServerRequest) ProtoMessage

func (*StartServerRequest) ProtoMessage()

func (*StartServerRequest) Reset

func (m *StartServerRequest) Reset()

func (*StartServerRequest) String

func (m *StartServerRequest) String() string

type StartServerResponse

type StartServerResponse struct {
}

func (*StartServerResponse) Descriptor

func (*StartServerResponse) Descriptor() ([]byte, []int)

func (*StartServerResponse) ProtoMessage

func (*StartServerResponse) ProtoMessage()

func (*StartServerResponse) Reset

func (m *StartServerResponse) Reset()

func (*StartServerResponse) String

func (m *StartServerResponse) String() string

type Statement

type Statement struct {
	Name       string      `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Conditions *Conditions `protobuf:"bytes,2,opt,name=conditions" json:"conditions,omitempty"`
	Actions    *Actions    `protobuf:"bytes,3,opt,name=actions" json:"actions,omitempty"`
}

func NewAPIStatementFromTableStruct

func NewAPIStatementFromTableStruct(t *table.Statement) *Statement

func (*Statement) Descriptor

func (*Statement) Descriptor() ([]byte, []int)

func (*Statement) GetActions

func (m *Statement) GetActions() *Actions

func (*Statement) GetConditions

func (m *Statement) GetConditions() *Conditions

func (*Statement) GetName

func (m *Statement) GetName() string

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) Reset

func (m *Statement) Reset()

func (*Statement) String

func (m *Statement) String() string

type StopServerRequest

type StopServerRequest struct {
}

func (*StopServerRequest) Descriptor

func (*StopServerRequest) Descriptor() ([]byte, []int)

func (*StopServerRequest) ProtoMessage

func (*StopServerRequest) ProtoMessage()

func (*StopServerRequest) Reset

func (m *StopServerRequest) Reset()

func (*StopServerRequest) String

func (m *StopServerRequest) String() string

type StopServerResponse

type StopServerResponse struct {
}

func (*StopServerResponse) Descriptor

func (*StopServerResponse) Descriptor() ([]byte, []int)

func (*StopServerResponse) ProtoMessage

func (*StopServerResponse) ProtoMessage()

func (*StopServerResponse) Reset

func (m *StopServerResponse) Reset()

func (*StopServerResponse) String

func (m *StopServerResponse) String() string

type Table

type Table struct {
	Type         Resource       `protobuf:"varint,1,opt,name=type,enum=gobgpapi.Resource" json:"type,omitempty"`
	Name         string         `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Family       uint32         `protobuf:"varint,3,opt,name=family" json:"family,omitempty"`
	Destinations []*Destination `protobuf:"bytes,4,rep,name=destinations" json:"destinations,omitempty"`
	PostPolicy   bool           `protobuf:"varint,5,opt,name=post_policy,json=postPolicy" json:"post_policy,omitempty"`
}

func (*Table) Descriptor

func (*Table) Descriptor() ([]byte, []int)

func (*Table) GetDestinations

func (m *Table) GetDestinations() []*Destination

func (*Table) GetFamily

func (m *Table) GetFamily() uint32

func (*Table) GetName

func (m *Table) GetName() string

func (*Table) GetPostPolicy

func (m *Table) GetPostPolicy() bool

func (*Table) GetType

func (m *Table) GetType() Resource

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

func (*Table) ToNativeTable

func (t *Table) ToNativeTable(option ...ToNativeOption) (*table.Table, error)

type TableInfo

type TableInfo struct {
	Type           Resource `protobuf:"varint,1,opt,name=type,enum=gobgpapi.Resource" json:"type,omitempty"`
	Name           string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Family         uint32   `protobuf:"varint,3,opt,name=family" json:"family,omitempty"`
	NumDestination uint64   `protobuf:"varint,4,opt,name=num_destination,json=numDestination" json:"num_destination,omitempty"`
	NumPath        uint64   `protobuf:"varint,5,opt,name=num_path,json=numPath" json:"num_path,omitempty"`
	NumAccepted    uint64   `protobuf:"varint,6,opt,name=num_accepted,json=numAccepted" json:"num_accepted,omitempty"`
}

func (*TableInfo) Descriptor

func (*TableInfo) Descriptor() ([]byte, []int)

func (*TableInfo) GetFamily

func (m *TableInfo) GetFamily() uint32

func (*TableInfo) GetName

func (m *TableInfo) GetName() string

func (*TableInfo) GetNumAccepted

func (m *TableInfo) GetNumAccepted() uint64

func (*TableInfo) GetNumDestination

func (m *TableInfo) GetNumDestination() uint64

func (*TableInfo) GetNumPath

func (m *TableInfo) GetNumPath() uint64

func (*TableInfo) GetType

func (m *TableInfo) GetType() Resource

func (*TableInfo) ProtoMessage

func (*TableInfo) ProtoMessage()

func (*TableInfo) Reset

func (m *TableInfo) Reset()

func (*TableInfo) String

func (m *TableInfo) String() string

type TableLookupOption

type TableLookupOption int32

API representation of table.LookupOption

const (
	TableLookupOption_LOOKUP_EXACT   TableLookupOption = 0
	TableLookupOption_LOOKUP_LONGER  TableLookupOption = 1
	TableLookupOption_LOOKUP_SHORTER TableLookupOption = 2
)

func (TableLookupOption) EnumDescriptor

func (TableLookupOption) EnumDescriptor() ([]byte, []int)

func (TableLookupOption) String

func (x TableLookupOption) String() string

type TableLookupPrefix

type TableLookupPrefix struct {
	Prefix       string            `protobuf:"bytes,1,opt,name=prefix" json:"prefix,omitempty"`
	LookupOption TableLookupOption `protobuf:"varint,2,opt,name=lookup_option,json=lookupOption,enum=gobgpapi.TableLookupOption" json:"lookup_option,omitempty"`
}

API representation of table.LookupPrefix

func (*TableLookupPrefix) Descriptor

func (*TableLookupPrefix) Descriptor() ([]byte, []int)

func (*TableLookupPrefix) GetLookupOption

func (m *TableLookupPrefix) GetLookupOption() TableLookupOption

func (*TableLookupPrefix) GetPrefix

func (m *TableLookupPrefix) GetPrefix() string

func (*TableLookupPrefix) ProtoMessage

func (*TableLookupPrefix) ProtoMessage()

func (*TableLookupPrefix) Reset

func (m *TableLookupPrefix) Reset()

func (*TableLookupPrefix) String

func (m *TableLookupPrefix) String() string

type Timers

type Timers struct {
	Config *TimersConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *TimersState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
}

func (*Timers) Descriptor

func (*Timers) Descriptor() ([]byte, []int)

func (*Timers) GetConfig

func (m *Timers) GetConfig() *TimersConfig

func (*Timers) GetState

func (m *Timers) GetState() *TimersState

func (*Timers) ProtoMessage

func (*Timers) ProtoMessage()

func (*Timers) Reset

func (m *Timers) Reset()

func (*Timers) String

func (m *Timers) String() string

type TimersConfig

type TimersConfig struct {
	ConnectRetry                 uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry" json:"connect_retry,omitempty"`
	HoldTime                     uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime" json:"hold_time,omitempty"`
	KeepaliveInterval            uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval" json:"keepalive_interval,omitempty"`
	MinimumAdvertisementInterval uint64 `` /* 141-byte string literal not displayed */
}

func (*TimersConfig) Descriptor

func (*TimersConfig) Descriptor() ([]byte, []int)

func (*TimersConfig) GetConnectRetry

func (m *TimersConfig) GetConnectRetry() uint64

func (*TimersConfig) GetHoldTime

func (m *TimersConfig) GetHoldTime() uint64

func (*TimersConfig) GetKeepaliveInterval

func (m *TimersConfig) GetKeepaliveInterval() uint64

func (*TimersConfig) GetMinimumAdvertisementInterval

func (m *TimersConfig) GetMinimumAdvertisementInterval() uint64

func (*TimersConfig) ProtoMessage

func (*TimersConfig) ProtoMessage()

func (*TimersConfig) Reset

func (m *TimersConfig) Reset()

func (*TimersConfig) String

func (m *TimersConfig) String() string

type TimersState

type TimersState struct {
	ConnectRetry                 uint64 `protobuf:"varint,1,opt,name=connect_retry,json=connectRetry" json:"connect_retry,omitempty"`
	HoldTime                     uint64 `protobuf:"varint,2,opt,name=hold_time,json=holdTime" json:"hold_time,omitempty"`
	KeepaliveInterval            uint64 `protobuf:"varint,3,opt,name=keepalive_interval,json=keepaliveInterval" json:"keepalive_interval,omitempty"`
	MinimumAdvertisementInterval uint64 `` /* 141-byte string literal not displayed */
	NegotiatedHoldTime           uint64 `protobuf:"varint,5,opt,name=negotiated_hold_time,json=negotiatedHoldTime" json:"negotiated_hold_time,omitempty"`
	Uptime                       uint64 `protobuf:"varint,6,opt,name=uptime" json:"uptime,omitempty"`
	Downtime                     uint64 `protobuf:"varint,7,opt,name=downtime" json:"downtime,omitempty"`
}

func (*TimersState) Descriptor

func (*TimersState) Descriptor() ([]byte, []int)

func (*TimersState) GetConnectRetry

func (m *TimersState) GetConnectRetry() uint64

func (*TimersState) GetDowntime

func (m *TimersState) GetDowntime() uint64

func (*TimersState) GetHoldTime

func (m *TimersState) GetHoldTime() uint64

func (*TimersState) GetKeepaliveInterval

func (m *TimersState) GetKeepaliveInterval() uint64

func (*TimersState) GetMinimumAdvertisementInterval

func (m *TimersState) GetMinimumAdvertisementInterval() uint64

func (*TimersState) GetNegotiatedHoldTime

func (m *TimersState) GetNegotiatedHoldTime() uint64

func (*TimersState) GetUptime

func (m *TimersState) GetUptime() uint64

func (*TimersState) ProtoMessage

func (*TimersState) ProtoMessage()

func (*TimersState) Reset

func (m *TimersState) Reset()

func (*TimersState) String

func (m *TimersState) String() string

type ToNativeOption

type ToNativeOption struct {
	LocalAS                 uint32
	LocalID                 net.IP
	RouteReflectorClient    bool
	RouteReflectorClusterID net.IP
	NLRI                    bgp.AddrPrefixInterface
}

type TrafficActionExtended

type TrafficActionExtended struct {
	Terminal bool `protobuf:"varint,1,opt,name=terminal" json:"terminal,omitempty"`
	Sample   bool `protobuf:"varint,2,opt,name=sample" json:"sample,omitempty"`
}

func (*TrafficActionExtended) Descriptor

func (*TrafficActionExtended) Descriptor() ([]byte, []int)

func (*TrafficActionExtended) GetSample

func (m *TrafficActionExtended) GetSample() bool

func (*TrafficActionExtended) GetTerminal

func (m *TrafficActionExtended) GetTerminal() bool

func (*TrafficActionExtended) ProtoMessage

func (*TrafficActionExtended) ProtoMessage()

func (*TrafficActionExtended) Reset

func (m *TrafficActionExtended) Reset()

func (*TrafficActionExtended) String

func (m *TrafficActionExtended) String() string

type TrafficRateExtended

type TrafficRateExtended struct {
	As   uint32  `protobuf:"varint,1,opt,name=as" json:"as,omitempty"`
	Rate float32 `protobuf:"fixed32,2,opt,name=rate" json:"rate,omitempty"`
}

func (*TrafficRateExtended) Descriptor

func (*TrafficRateExtended) Descriptor() ([]byte, []int)

func (*TrafficRateExtended) GetAs

func (m *TrafficRateExtended) GetAs() uint32

func (*TrafficRateExtended) GetRate

func (m *TrafficRateExtended) GetRate() float32

func (*TrafficRateExtended) ProtoMessage

func (*TrafficRateExtended) ProtoMessage()

func (*TrafficRateExtended) Reset

func (m *TrafficRateExtended) Reset()

func (*TrafficRateExtended) String

func (m *TrafficRateExtended) String() string

type TrafficRemarkExtended

type TrafficRemarkExtended struct {
	Dscp uint32 `protobuf:"varint,1,opt,name=dscp" json:"dscp,omitempty"`
}

func (*TrafficRemarkExtended) Descriptor

func (*TrafficRemarkExtended) Descriptor() ([]byte, []int)

func (*TrafficRemarkExtended) GetDscp

func (m *TrafficRemarkExtended) GetDscp() uint32

func (*TrafficRemarkExtended) ProtoMessage

func (*TrafficRemarkExtended) ProtoMessage()

func (*TrafficRemarkExtended) Reset

func (m *TrafficRemarkExtended) Reset()

func (*TrafficRemarkExtended) String

func (m *TrafficRemarkExtended) String() string

type Transport

type Transport struct {
	LocalAddress  string `protobuf:"bytes,1,opt,name=local_address,json=localAddress" json:"local_address,omitempty"`
	LocalPort     uint32 `protobuf:"varint,2,opt,name=local_port,json=localPort" json:"local_port,omitempty"`
	MtuDiscovery  bool   `protobuf:"varint,3,opt,name=mtu_discovery,json=mtuDiscovery" json:"mtu_discovery,omitempty"`
	PassiveMode   bool   `protobuf:"varint,4,opt,name=passive_mode,json=passiveMode" json:"passive_mode,omitempty"`
	RemoteAddress string `protobuf:"bytes,5,opt,name=remote_address,json=remoteAddress" json:"remote_address,omitempty"`
	RemotePort    uint32 `protobuf:"varint,6,opt,name=remote_port,json=remotePort" json:"remote_port,omitempty"`
	TcpMss        uint32 `protobuf:"varint,7,opt,name=tcp_mss,json=tcpMss" json:"tcp_mss,omitempty"`
}

func (*Transport) Descriptor

func (*Transport) Descriptor() ([]byte, []int)

func (*Transport) GetLocalAddress

func (m *Transport) GetLocalAddress() string

func (*Transport) GetLocalPort

func (m *Transport) GetLocalPort() uint32

func (*Transport) GetMtuDiscovery

func (m *Transport) GetMtuDiscovery() bool

func (*Transport) GetPassiveMode

func (m *Transport) GetPassiveMode() bool

func (*Transport) GetRemoteAddress

func (m *Transport) GetRemoteAddress() string

func (*Transport) GetRemotePort

func (m *Transport) GetRemotePort() uint32

func (*Transport) GetTcpMss

func (m *Transport) GetTcpMss() uint32

func (*Transport) ProtoMessage

func (*Transport) ProtoMessage()

func (*Transport) Reset

func (m *Transport) Reset()

func (*Transport) String

func (m *Transport) String() string

type TunnelEncapAttribute

type TunnelEncapAttribute struct {
	Tlvs []*TunnelEncapTLV `protobuf:"bytes,1,rep,name=tlvs" json:"tlvs,omitempty"`
}

func NewTunnelEncapAttributeFromNative

func NewTunnelEncapAttributeFromNative(a *bgp.PathAttributeTunnelEncap) *TunnelEncapAttribute

func (*TunnelEncapAttribute) Descriptor

func (*TunnelEncapAttribute) Descriptor() ([]byte, []int)

func (*TunnelEncapAttribute) GetTlvs

func (m *TunnelEncapAttribute) GetTlvs() []*TunnelEncapTLV

func (*TunnelEncapAttribute) ProtoMessage

func (*TunnelEncapAttribute) ProtoMessage()

func (*TunnelEncapAttribute) Reset

func (m *TunnelEncapAttribute) Reset()

func (*TunnelEncapAttribute) String

func (m *TunnelEncapAttribute) String() string

func (*TunnelEncapAttribute) ToNative

type TunnelEncapSubTLVColor

type TunnelEncapSubTLVColor struct {
	Color uint32 `protobuf:"varint,1,opt,name=color" json:"color,omitempty"`
}

func (*TunnelEncapSubTLVColor) Descriptor

func (*TunnelEncapSubTLVColor) Descriptor() ([]byte, []int)

func (*TunnelEncapSubTLVColor) GetColor

func (m *TunnelEncapSubTLVColor) GetColor() uint32

func (*TunnelEncapSubTLVColor) ProtoMessage

func (*TunnelEncapSubTLVColor) ProtoMessage()

func (*TunnelEncapSubTLVColor) Reset

func (m *TunnelEncapSubTLVColor) Reset()

func (*TunnelEncapSubTLVColor) String

func (m *TunnelEncapSubTLVColor) String() string

type TunnelEncapSubTLVEncapsulation

type TunnelEncapSubTLVEncapsulation struct {
	Key    uint32 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"`
	Cookie []byte `protobuf:"bytes,2,opt,name=cookie,proto3" json:"cookie,omitempty"`
}

func (*TunnelEncapSubTLVEncapsulation) Descriptor

func (*TunnelEncapSubTLVEncapsulation) Descriptor() ([]byte, []int)

func (*TunnelEncapSubTLVEncapsulation) GetCookie

func (m *TunnelEncapSubTLVEncapsulation) GetCookie() []byte

func (*TunnelEncapSubTLVEncapsulation) GetKey

func (*TunnelEncapSubTLVEncapsulation) ProtoMessage

func (*TunnelEncapSubTLVEncapsulation) ProtoMessage()

func (*TunnelEncapSubTLVEncapsulation) Reset

func (m *TunnelEncapSubTLVEncapsulation) Reset()

func (*TunnelEncapSubTLVEncapsulation) String

type TunnelEncapSubTLVProtocol

type TunnelEncapSubTLVProtocol struct {
	Protocol uint32 `protobuf:"varint,1,opt,name=protocol" json:"protocol,omitempty"`
}

func (*TunnelEncapSubTLVProtocol) Descriptor

func (*TunnelEncapSubTLVProtocol) Descriptor() ([]byte, []int)

func (*TunnelEncapSubTLVProtocol) GetProtocol

func (m *TunnelEncapSubTLVProtocol) GetProtocol() uint32

func (*TunnelEncapSubTLVProtocol) ProtoMessage

func (*TunnelEncapSubTLVProtocol) ProtoMessage()

func (*TunnelEncapSubTLVProtocol) Reset

func (m *TunnelEncapSubTLVProtocol) Reset()

func (*TunnelEncapSubTLVProtocol) String

func (m *TunnelEncapSubTLVProtocol) String() string

type TunnelEncapSubTLVUnknown

type TunnelEncapSubTLVUnknown struct {
	Type  uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*TunnelEncapSubTLVUnknown) Descriptor

func (*TunnelEncapSubTLVUnknown) Descriptor() ([]byte, []int)

func (*TunnelEncapSubTLVUnknown) GetType

func (m *TunnelEncapSubTLVUnknown) GetType() uint32

func (*TunnelEncapSubTLVUnknown) GetValue

func (m *TunnelEncapSubTLVUnknown) GetValue() []byte

func (*TunnelEncapSubTLVUnknown) ProtoMessage

func (*TunnelEncapSubTLVUnknown) ProtoMessage()

func (*TunnelEncapSubTLVUnknown) Reset

func (m *TunnelEncapSubTLVUnknown) Reset()

func (*TunnelEncapSubTLVUnknown) String

func (m *TunnelEncapSubTLVUnknown) String() string

type TunnelEncapTLV

type TunnelEncapTLV struct {
	Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	// Each TLV must be one of:
	// - TunnelEncapSubTLVEncapsulation
	// - TunnelEncapSubTLVProtocol
	// - TunnelEncapSubTLVColor
	// - TunnelEncapSubTLVUnknown
	Tlvs []*google_protobuf.Any `protobuf:"bytes,2,rep,name=tlvs" json:"tlvs,omitempty"`
}

func (*TunnelEncapTLV) Descriptor

func (*TunnelEncapTLV) Descriptor() ([]byte, []int)

func (*TunnelEncapTLV) GetTlvs

func (m *TunnelEncapTLV) GetTlvs() []*google_protobuf.Any

func (*TunnelEncapTLV) GetType

func (m *TunnelEncapTLV) GetType() uint32

func (*TunnelEncapTLV) ProtoMessage

func (*TunnelEncapTLV) ProtoMessage()

func (*TunnelEncapTLV) Reset

func (m *TunnelEncapTLV) Reset()

func (*TunnelEncapTLV) String

func (m *TunnelEncapTLV) String() string

type TwoOctetAsSpecificExtended

type TwoOctetAsSpecificExtended struct {
	IsTransitive bool   `protobuf:"varint,1,opt,name=is_transitive,json=isTransitive" json:"is_transitive,omitempty"`
	SubType      uint32 `protobuf:"varint,2,opt,name=sub_type,json=subType" json:"sub_type,omitempty"`
	As           uint32 `protobuf:"varint,3,opt,name=as" json:"as,omitempty"`
	LocalAdmin   uint32 `protobuf:"varint,4,opt,name=local_admin,json=localAdmin" json:"local_admin,omitempty"`
}

func (*TwoOctetAsSpecificExtended) Descriptor

func (*TwoOctetAsSpecificExtended) Descriptor() ([]byte, []int)

func (*TwoOctetAsSpecificExtended) GetAs

func (*TwoOctetAsSpecificExtended) GetIsTransitive

func (m *TwoOctetAsSpecificExtended) GetIsTransitive() bool

func (*TwoOctetAsSpecificExtended) GetLocalAdmin

func (m *TwoOctetAsSpecificExtended) GetLocalAdmin() uint32

func (*TwoOctetAsSpecificExtended) GetSubType

func (m *TwoOctetAsSpecificExtended) GetSubType() uint32

func (*TwoOctetAsSpecificExtended) ProtoMessage

func (*TwoOctetAsSpecificExtended) ProtoMessage()

func (*TwoOctetAsSpecificExtended) Reset

func (m *TwoOctetAsSpecificExtended) Reset()

func (*TwoOctetAsSpecificExtended) String

func (m *TwoOctetAsSpecificExtended) String() string

type UnknownAttribute

type UnknownAttribute struct {
	Flags uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	Type  uint32 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"`
	Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
}

func NewUnknownAttributeFromNative

func NewUnknownAttributeFromNative(a *bgp.PathAttributeUnknown) *UnknownAttribute

func (*UnknownAttribute) Descriptor

func (*UnknownAttribute) Descriptor() ([]byte, []int)

func (*UnknownAttribute) GetFlags

func (m *UnknownAttribute) GetFlags() uint32

func (*UnknownAttribute) GetType

func (m *UnknownAttribute) GetType() uint32

func (*UnknownAttribute) GetValue

func (m *UnknownAttribute) GetValue() []byte

func (*UnknownAttribute) ProtoMessage

func (*UnknownAttribute) ProtoMessage()

func (*UnknownAttribute) Reset

func (m *UnknownAttribute) Reset()

func (*UnknownAttribute) String

func (m *UnknownAttribute) String() string

func (*UnknownAttribute) ToNative

func (a *UnknownAttribute) ToNative() (*bgp.PathAttributeUnknown, error)

type UnknownCapability

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"`
}

func NewUnknownCapability

func NewUnknownCapability(a *bgp.CapUnknown) *UnknownCapability

func (*UnknownCapability) Descriptor

func (*UnknownCapability) Descriptor() ([]byte, []int)

func (*UnknownCapability) GetCode

func (m *UnknownCapability) GetCode() uint32

func (*UnknownCapability) GetValue

func (m *UnknownCapability) GetValue() []byte

func (*UnknownCapability) ProtoMessage

func (*UnknownCapability) ProtoMessage()

func (*UnknownCapability) Reset

func (m *UnknownCapability) Reset()

func (*UnknownCapability) String

func (m *UnknownCapability) String() string

func (*UnknownCapability) ToNative

func (a *UnknownCapability) ToNative() (*bgp.CapUnknown, error)

type UnknownExtended

type UnknownExtended struct {
	Type  uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*UnknownExtended) Descriptor

func (*UnknownExtended) Descriptor() ([]byte, []int)

func (*UnknownExtended) GetType

func (m *UnknownExtended) GetType() uint32

func (*UnknownExtended) GetValue

func (m *UnknownExtended) GetValue() []byte

func (*UnknownExtended) ProtoMessage

func (*UnknownExtended) ProtoMessage()

func (*UnknownExtended) Reset

func (m *UnknownExtended) Reset()

func (*UnknownExtended) String

func (m *UnknownExtended) String() string

type UpdateNeighborRequest

type UpdateNeighborRequest struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	// Calls SoftResetIn after updating the neighbor configuration if needed.
	DoSoftResetIn bool `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn" json:"do_soft_reset_in,omitempty"`
}

func (*UpdateNeighborRequest) Descriptor

func (*UpdateNeighborRequest) Descriptor() ([]byte, []int)

func (*UpdateNeighborRequest) GetDoSoftResetIn

func (m *UpdateNeighborRequest) GetDoSoftResetIn() bool

func (*UpdateNeighborRequest) GetPeer

func (m *UpdateNeighborRequest) GetPeer() *Peer

func (*UpdateNeighborRequest) ProtoMessage

func (*UpdateNeighborRequest) ProtoMessage()

func (*UpdateNeighborRequest) Reset

func (m *UpdateNeighborRequest) Reset()

func (*UpdateNeighborRequest) String

func (m *UpdateNeighborRequest) String() string

type UpdateNeighborResponse

type UpdateNeighborResponse struct {
	// Indicates whether calling SoftResetIn is required due to this update. If
	// "true" is set, the client should call SoftResetIn manually. If
	// "do_soft_reset_in = true" is set in the request, always returned with
	// "false".
	NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn" json:"needs_soft_reset_in,omitempty"`
}

func (*UpdateNeighborResponse) Descriptor

func (*UpdateNeighborResponse) Descriptor() ([]byte, []int)

func (*UpdateNeighborResponse) GetNeedsSoftResetIn

func (m *UpdateNeighborResponse) GetNeedsSoftResetIn() bool

func (*UpdateNeighborResponse) ProtoMessage

func (*UpdateNeighborResponse) ProtoMessage()

func (*UpdateNeighborResponse) Reset

func (m *UpdateNeighborResponse) Reset()

func (*UpdateNeighborResponse) String

func (m *UpdateNeighborResponse) String() string

type UpdatePeerGroupRequest

type UpdatePeerGroupRequest struct {
	PeerGroup     *PeerGroup `protobuf:"bytes,1,opt,name=peer_group,json=peerGroup" json:"peer_group,omitempty"`
	DoSoftResetIn bool       `protobuf:"varint,2,opt,name=do_soft_reset_in,json=doSoftResetIn" json:"do_soft_reset_in,omitempty"`
}

func (*UpdatePeerGroupRequest) Descriptor

func (*UpdatePeerGroupRequest) Descriptor() ([]byte, []int)

func (*UpdatePeerGroupRequest) GetDoSoftResetIn

func (m *UpdatePeerGroupRequest) GetDoSoftResetIn() bool

func (*UpdatePeerGroupRequest) GetPeerGroup

func (m *UpdatePeerGroupRequest) GetPeerGroup() *PeerGroup

func (*UpdatePeerGroupRequest) ProtoMessage

func (*UpdatePeerGroupRequest) ProtoMessage()

func (*UpdatePeerGroupRequest) Reset

func (m *UpdatePeerGroupRequest) Reset()

func (*UpdatePeerGroupRequest) String

func (m *UpdatePeerGroupRequest) String() string

type UpdatePeerGroupResponse

type UpdatePeerGroupResponse struct {
	NeedsSoftResetIn bool `protobuf:"varint,1,opt,name=needs_soft_reset_in,json=needsSoftResetIn" json:"needs_soft_reset_in,omitempty"`
}

func (*UpdatePeerGroupResponse) Descriptor

func (*UpdatePeerGroupResponse) Descriptor() ([]byte, []int)

func (*UpdatePeerGroupResponse) GetNeedsSoftResetIn

func (m *UpdatePeerGroupResponse) GetNeedsSoftResetIn() bool

func (*UpdatePeerGroupResponse) ProtoMessage

func (*UpdatePeerGroupResponse) ProtoMessage()

func (*UpdatePeerGroupResponse) Reset

func (m *UpdatePeerGroupResponse) Reset()

func (*UpdatePeerGroupResponse) String

func (m *UpdatePeerGroupResponse) String() string

type UpdatePolicyRequest

type UpdatePolicyRequest struct {
	Sets     []*DefinedSet `protobuf:"bytes,1,rep,name=sets" json:"sets,omitempty"`
	Policies []*Policy     `protobuf:"bytes,2,rep,name=policies" json:"policies,omitempty"`
}

func (*UpdatePolicyRequest) Descriptor

func (*UpdatePolicyRequest) Descriptor() ([]byte, []int)

func (*UpdatePolicyRequest) GetPolicies

func (m *UpdatePolicyRequest) GetPolicies() []*Policy

func (*UpdatePolicyRequest) GetSets

func (m *UpdatePolicyRequest) GetSets() []*DefinedSet

func (*UpdatePolicyRequest) ProtoMessage

func (*UpdatePolicyRequest) ProtoMessage()

func (*UpdatePolicyRequest) Reset

func (m *UpdatePolicyRequest) Reset()

func (*UpdatePolicyRequest) String

func (m *UpdatePolicyRequest) String() string

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
}

func (*UpdatePolicyResponse) Descriptor

func (*UpdatePolicyResponse) Descriptor() ([]byte, []int)

func (*UpdatePolicyResponse) ProtoMessage

func (*UpdatePolicyResponse) ProtoMessage()

func (*UpdatePolicyResponse) Reset

func (m *UpdatePolicyResponse) Reset()

func (*UpdatePolicyResponse) String

func (m *UpdatePolicyResponse) String() string

type UseMultiplePaths

type UseMultiplePaths struct {
	Config *UseMultiplePathsConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
	State  *UseMultiplePathsState  `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	Ebgp   *Ebgp                   `protobuf:"bytes,3,opt,name=ebgp" json:"ebgp,omitempty"`
	Ibgp   *Ibgp                   `protobuf:"bytes,4,opt,name=ibgp" json:"ibgp,omitempty"`
}

func NewUseMultiplePathsFromConfigStruct

func NewUseMultiplePathsFromConfigStruct(c *config.UseMultiplePaths) *UseMultiplePaths

func (*UseMultiplePaths) Descriptor

func (*UseMultiplePaths) Descriptor() ([]byte, []int)

func (*UseMultiplePaths) GetConfig

func (m *UseMultiplePaths) GetConfig() *UseMultiplePathsConfig

func (*UseMultiplePaths) GetEbgp

func (m *UseMultiplePaths) GetEbgp() *Ebgp

func (*UseMultiplePaths) GetIbgp

func (m *UseMultiplePaths) GetIbgp() *Ibgp

func (*UseMultiplePaths) GetState

func (m *UseMultiplePaths) GetState() *UseMultiplePathsState

func (*UseMultiplePaths) ProtoMessage

func (*UseMultiplePaths) ProtoMessage()

func (*UseMultiplePaths) Reset

func (m *UseMultiplePaths) Reset()

func (*UseMultiplePaths) String

func (m *UseMultiplePaths) String() string

type UseMultiplePathsConfig

type UseMultiplePathsConfig struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
}

func (*UseMultiplePathsConfig) Descriptor

func (*UseMultiplePathsConfig) Descriptor() ([]byte, []int)

func (*UseMultiplePathsConfig) GetEnabled

func (m *UseMultiplePathsConfig) GetEnabled() bool

func (*UseMultiplePathsConfig) ProtoMessage

func (*UseMultiplePathsConfig) ProtoMessage()

func (*UseMultiplePathsConfig) Reset

func (m *UseMultiplePathsConfig) Reset()

func (*UseMultiplePathsConfig) String

func (m *UseMultiplePathsConfig) String() string

type UseMultiplePathsState

type UseMultiplePathsState struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
}

func (*UseMultiplePathsState) Descriptor

func (*UseMultiplePathsState) Descriptor() ([]byte, []int)

func (*UseMultiplePathsState) GetEnabled

func (m *UseMultiplePathsState) GetEnabled() bool

func (*UseMultiplePathsState) ProtoMessage

func (*UseMultiplePathsState) ProtoMessage()

func (*UseMultiplePathsState) Reset

func (m *UseMultiplePathsState) Reset()

func (*UseMultiplePathsState) String

func (m *UseMultiplePathsState) String() string

type VPNFlowSpecNLRI

type VPNFlowSpecNLRI struct {
	// One of:
	// - RouteDistinguisherTwoOctetAS
	// - RouteDistinguisherIPAddressAS
	// - RouteDistinguisherFourOctetAS
	Rd *google_protobuf.Any `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
	// One of:
	// - FlowSpecIPPrefix
	// - FlowSpecMAC
	// - FlowSpecComponent
	Rules []*google_protobuf.Any `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"`
}

VPNFlowSpecNLRI represents the NLRI for: - AFI=1, SAFI=134 - AFI=2, SAFI=134 - AFI=25, SAFI=134

func (*VPNFlowSpecNLRI) Descriptor

func (*VPNFlowSpecNLRI) Descriptor() ([]byte, []int)

func (*VPNFlowSpecNLRI) GetRd

func (m *VPNFlowSpecNLRI) GetRd() *google_protobuf.Any

func (*VPNFlowSpecNLRI) GetRules

func (m *VPNFlowSpecNLRI) GetRules() []*google_protobuf.Any

func (*VPNFlowSpecNLRI) ProtoMessage

func (*VPNFlowSpecNLRI) ProtoMessage()

func (*VPNFlowSpecNLRI) Reset

func (m *VPNFlowSpecNLRI) Reset()

func (*VPNFlowSpecNLRI) String

func (m *VPNFlowSpecNLRI) String() string

type ValidateRibRequest

type ValidateRibRequest struct {
	Type   Resource `protobuf:"varint,1,opt,name=type,enum=gobgpapi.Resource" json:"type,omitempty"`
	Family uint32   `protobuf:"varint,2,opt,name=family" json:"family,omitempty"`
	Prefix string   `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
}

func (*ValidateRibRequest) Descriptor

func (*ValidateRibRequest) Descriptor() ([]byte, []int)

func (*ValidateRibRequest) GetFamily

func (m *ValidateRibRequest) GetFamily() uint32

func (*ValidateRibRequest) GetPrefix

func (m *ValidateRibRequest) GetPrefix() string

func (*ValidateRibRequest) GetType

func (m *ValidateRibRequest) GetType() Resource

func (*ValidateRibRequest) ProtoMessage

func (*ValidateRibRequest) ProtoMessage()

func (*ValidateRibRequest) Reset

func (m *ValidateRibRequest) Reset()

func (*ValidateRibRequest) String

func (m *ValidateRibRequest) String() string

type ValidateRibResponse

type ValidateRibResponse struct {
}

func (*ValidateRibResponse) Descriptor

func (*ValidateRibResponse) Descriptor() ([]byte, []int)

func (*ValidateRibResponse) ProtoMessage

func (*ValidateRibResponse) ProtoMessage()

func (*ValidateRibResponse) Reset

func (m *ValidateRibResponse) Reset()

func (*ValidateRibResponse) String

func (m *ValidateRibResponse) String() string

type ValidationExtended

type ValidationExtended struct {
	State uint32 `protobuf:"varint,1,opt,name=state" json:"state,omitempty"`
}

func (*ValidationExtended) Descriptor

func (*ValidationExtended) Descriptor() ([]byte, []int)

func (*ValidationExtended) GetState

func (m *ValidationExtended) GetState() uint32

func (*ValidationExtended) ProtoMessage

func (*ValidationExtended) ProtoMessage()

func (*ValidationExtended) Reset

func (m *ValidationExtended) Reset()

func (*ValidationExtended) String

func (m *ValidationExtended) String() string

type Vrf

type Vrf struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Route Distinguisher must be one of
	// RouteDistinguisherTwoOctetAS,
	// RouteDistinguisherIPAddressAS,
	// or RouteDistinguisherFourOctetAS.
	Rd *google_protobuf.Any `protobuf:"bytes,2,opt,name=rd" json:"rd,omitempty"`
	// List of the Import Route Targets. Each must be one of
	// TwoOctetAsSpecificExtended,
	// IPv4AddressSpecificExtended,
	// or FourOctetAsSpecificExtended.
	ImportRt []*google_protobuf.Any `protobuf:"bytes,3,rep,name=import_rt,json=importRt" json:"import_rt,omitempty"`
	// List of the Export Route Targets. Each must be one of
	// TwoOctetAsSpecificExtended,
	// IPv4AddressSpecificExtended,
	// or FourOctetAsSpecificExtended.
	ExportRt []*google_protobuf.Any `protobuf:"bytes,4,rep,name=export_rt,json=exportRt" json:"export_rt,omitempty"`
	Id       uint32                 `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
}

func (*Vrf) Descriptor

func (*Vrf) Descriptor() ([]byte, []int)

func (*Vrf) GetExportRt

func (m *Vrf) GetExportRt() []*google_protobuf.Any

func (*Vrf) GetId

func (m *Vrf) GetId() uint32

func (*Vrf) GetImportRt

func (m *Vrf) GetImportRt() []*google_protobuf.Any

func (*Vrf) GetName

func (m *Vrf) GetName() string

func (*Vrf) GetRd

func (m *Vrf) GetRd() *google_protobuf.Any

func (*Vrf) ProtoMessage

func (*Vrf) ProtoMessage()

func (*Vrf) Reset

func (m *Vrf) Reset()

func (*Vrf) String

func (m *Vrf) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL