gobgpapi

package
v0.0.0-...-a6e0d00 Latest Latest
Warning

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

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

Documentation

Overview

Package gobgpapi is a generated protocol buffer package.

It is generated from these files:

gobgp.proto

It has these top-level messages:

GetNeighborRequest
GetNeighborResponse
Arguments
AddPathRequest
AddPathResponse
DeletePathRequest
DeletePathResponse
AddNeighborRequest
AddNeighborResponse
DeleteNeighborRequest
DeleteNeighborResponse
UpdateNeighborRequest
UpdateNeighborResponse
ResetNeighborRequest
ResetNeighborResponse
SoftResetNeighborRequest
SoftResetNeighborResponse
ShutdownNeighborRequest
ShutdownNeighborResponse
EnableNeighborRequest
EnableNeighborResponse
DisableNeighborRequest
DisableNeighborResponse
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
ApplyPolicy
PrefixLimit
PeerConf
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
Roa
GetRoaRequest
GetRoaResponse
Vrf
Global
TableInfo
GetRibInfoRequest
GetRibInfoResponse

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 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",
}
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,
}
View Source
var Family_name = map[int32]string{
	0:          "_",
	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{
	"_":                  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 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 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 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 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 NewNexthopActionFromApiStruct

func NewNexthopActionFromApiStruct(a *NexthopAction) (*table.NexthopAction, 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 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)

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

func (*Conditions) Descriptor

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

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) 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 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 (*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
)

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 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 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 Family

type Family int32

Constants for address families

const (
	Family__                  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 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"`
}

func (*Global) Descriptor

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

func (*Global) GetAs

func (m *Global) GetAs() uint32

func (*Global) GetFamilies

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

func (*Global) GetListenAddresses

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

func (*Global) GetListenPort

func (m *Global) GetListenPort() int32

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)
	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)
}

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)
	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)
}

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

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) GetLonglivedEnabled

func (m *GracefulRestart) GetLonglivedEnabled() bool

func (*GracefulRestart) GetNotificationEnabled

func (m *GracefulRestart) GetNotificationEnabled() bool

func (*GracefulRestart) GetRestartTime

func (m *GracefulRestart) GetRestartTime() uint32

func (*GracefulRestart) ProtoMessage

func (*GracefulRestart) ProtoMessage()

func (*GracefulRestart) Reset

func (m *GracefulRestart) Reset()

func (*GracefulRestart) String

func (m *GracefulRestart) 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 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 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 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 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 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 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"`
}

func ToPathApi

func ToPathApi(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) 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) 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"`
	RemoteCap        [][]byte                 `protobuf:"bytes,11,rep,name=remote_cap,json=remoteCap,proto3" json:"remote_cap,omitempty"`
	LocalCap         [][]byte                 `protobuf:"bytes,12,rep,name=local_cap,json=localCap,proto3" 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() [][]byte

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() [][]byte

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 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 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 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 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 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 */
}

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) 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 */
}

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) 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 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 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) AddDefinedSet

func (s *Server) AddDefinedSet(ctx context.Context, arg *AddDefinedSetRequest) (*AddDefinedSetResponse, 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) 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) 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) 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) 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 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 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 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 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 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 Vrf

type Vrf struct {
	Name     string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Rd       []byte   `protobuf:"bytes,2,opt,name=rd,proto3" json:"rd,omitempty"`
	ImportRt [][]byte `protobuf:"bytes,3,rep,name=import_rt,json=importRt,proto3" json:"import_rt,omitempty"`
	ExportRt [][]byte `protobuf:"bytes,4,rep,name=export_rt,json=exportRt,proto3" 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() [][]byte

func (*Vrf) GetId

func (m *Vrf) GetId() uint32

func (*Vrf) GetImportRt

func (m *Vrf) GetImportRt() [][]byte

func (*Vrf) GetName

func (m *Vrf) GetName() string

func (*Vrf) GetRd

func (m *Vrf) GetRd() []byte

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