gobgpapi

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 190

Documentation

Overview

Package gobgpapi is a generated protocol buffer package.

It is generated from these files:

gobgp.proto
attribute.proto
capability.proto

It has these top-level messages:

StartBgpRequest
StopBgpRequest
GetBgpRequest
GetBgpResponse
AddPeerRequest
DeletePeerRequest
ListPeerRequest
ListPeerResponse
UpdatePeerRequest
UpdatePeerResponse
ResetPeerRequest
ShutdownPeerRequest
EnablePeerRequest
DisablePeerRequest
MonitorPeerRequest
MonitorPeerResponse
AddPeerGroupRequest
DeletePeerGroupRequest
UpdatePeerGroupRequest
UpdatePeerGroupResponse
AddDynamicNeighborRequest
AddPathRequest
AddPathResponse
DeletePathRequest
ListPathRequest
ListPathResponse
AddPathStreamRequest
GetTableRequest
GetTableResponse
MonitorTableRequest
MonitorTableResponse
AddVrfRequest
DeleteVrfRequest
ListVrfRequest
ListVrfResponse
AddPolicyRequest
DeletePolicyRequest
ListPolicyRequest
ListPolicyResponse
SetPoliciesRequest
AddDefinedSetRequest
DeleteDefinedSetRequest
ListDefinedSetRequest
ListDefinedSetResponse
AddStatementRequest
DeleteStatementRequest
ListStatementRequest
ListStatementResponse
AddPolicyAssignmentRequest
DeletePolicyAssignmentRequest
ListPolicyAssignmentRequest
ListPolicyAssignmentResponse
SetPolicyAssignmentRequest
AddRpkiRequest
DeleteRpkiRequest
ListRpkiRequest
ListRpkiResponse
EnableRpkiRequest
DisableRpkiRequest
ResetRpkiRequest
ListRpkiTableRequest
ListRpkiTableResponse
EnableZebraRequest
EnableMrtRequest
DisableMrtRequest
AddBmpRequest
DeleteBmpRequest
Family
Validation
Path
Destination
TableLookupPrefix
Peer
PeerGroup
DynamicNeighbor
ApplyPolicy
PrefixLimit
PeerConf
PeerGroupConf
PeerGroupState
EbgpMultihop
RouteReflector
PeerState
Messages
Message
Queues
Timers
TimersConfig
TimersState
Transport
RouteServer
GracefulRestart
MpGracefulRestartConfig
MpGracefulRestartState
MpGracefulRestart
AfiSafiConfig
AfiSafiState
RouteSelectionOptionsConfig
RouteSelectionOptionsState
RouteSelectionOptions
UseMultiplePathsConfig
UseMultiplePathsState
EbgpConfig
EbgpState
Ebgp
IbgpConfig
IbgpState
Ibgp
UseMultiplePaths
RouteTargetMembershipConfig
RouteTargetMembershipState
RouteTargetMembership
LongLivedGracefulRestartConfig
LongLivedGracefulRestartState
LongLivedGracefulRestart
AfiSafi
AddPathsConfig
AddPathsState
AddPaths
Prefix
DefinedSet
MatchSet
AsPathLength
Conditions
CommunityAction
MedAction
AsPrependAction
NexthopAction
LocalPrefAction
Actions
Statement
Policy
PolicyAssignment
RoutingPolicy
Roa
Vrf
DefaultRouteDistance
Global
Confederation
RPKIConf
RPKIState
Rpki
OriginAttribute
AsSegment
AsPathAttribute
NextHopAttribute
MultiExitDiscAttribute
LocalPrefAttribute
AtomicAggregateAttribute
AggregatorAttribute
CommunitiesAttribute
OriginatorIdAttribute
ClusterListAttribute
IPAddressPrefix
LabeledIPAddressPrefix
EncapsulationNLRI
RouteDistinguisherTwoOctetAS
RouteDistinguisherIPAddress
RouteDistinguisherFourOctetAS
EthernetSegmentIdentifier
EVPNEthernetAutoDiscoveryRoute
EVPNMACIPAdvertisementRoute
EVPNInclusiveMulticastEthernetTagRoute
EVPNEthernetSegmentRoute
EVPNIPPrefixRoute
LabeledVPNIPAddressPrefix
RouteTargetMembershipNLRI
FlowSpecIPPrefix
FlowSpecMAC
FlowSpecComponentItem
FlowSpecComponent
FlowSpecNLRI
VPNFlowSpecNLRI
OpaqueNLRI
MpReachNLRIAttribute
MpUnreachNLRIAttribute
TwoOctetAsSpecificExtended
IPv4AddressSpecificExtended
FourOctetAsSpecificExtended
ValidationExtended
ColorExtended
EncapExtended
DefaultGatewayExtended
OpaqueExtended
ESILabelExtended
ESImportRouteTarget
MacMobilityExtended
RouterMacExtended
TrafficRateExtended
TrafficActionExtended
RedirectTwoOctetAsSpecificExtended
RedirectIPv4AddressSpecificExtended
RedirectFourOctetAsSpecificExtended
TrafficRemarkExtended
UnknownExtended
ExtendedCommunitiesAttribute
As4PathAttribute
As4AggregatorAttribute
PmsiTunnelAttribute
TunnelEncapSubTLVEncapsulation
TunnelEncapSubTLVProtocol
TunnelEncapSubTLVColor
TunnelEncapSubTLVUnknown
TunnelEncapTLV
TunnelEncapAttribute
IPv6AddressSpecificExtended
RedirectIPv6AddressSpecificExtended
IP6ExtendedCommunitiesAttribute
AigpTLVIGPMetric
AigpTLVUnknown
AigpAttribute
LargeCommunity
LargeCommunitiesAttribute
UnknownAttribute
MultiProtocolCapability
RouteRefreshCapability
CarryingLabelInfoCapability
ExtendedNexthopCapabilityTuple
ExtendedNexthopCapability
GracefulRestartCapabilityTuple
GracefulRestartCapability
FourOctetASNumberCapability
AddPathCapabilityTuple
AddPathCapability
EnhancedRouteRefreshCapability
LongLivedGracefulRestartCapabilityTuple
LongLivedGracefulRestartCapability
RouteRefreshCiscoCapability
UnknownCapability

Index

Constants

This section is empty.

Variables

View Source
var AddBmpRequest_MonitoringPolicy_name = map[int32]string{
	0: "PRE",
	1: "POST",
	2: "BOTH",
	3: "LOCAL",
	4: "ALL",
}
View Source
var AddBmpRequest_MonitoringPolicy_value = map[string]int32{
	"PRE":   0,
	"POST":  1,
	"BOTH":  2,
	"LOCAL": 3,
	"ALL":   4,
}
View Source
var AddPathMode_name = map[int32]string{
	0: "MODE_NONE",
	1: "MODE_RECEIVE",
	2: "MODE_SEND",
	3: "MODE_BOTH",
}
View Source
var AddPathMode_value = map[string]int32{
	"MODE_NONE":    0,
	"MODE_RECEIVE": 1,
	"MODE_SEND":    2,
	"MODE_BOTH":    3,
}
View Source
var AsPathLengthType_name = map[int32]string{
	0: "EQ",
	1: "GE",
	2: "LE",
}
View Source
var AsPathLengthType_value = map[string]int32{
	"EQ": 0,
	"GE": 1,
	"LE": 2,
}
View Source
var CommunityActionType_name = map[int32]string{
	0: "COMMUNITY_ADD",
	1: "COMMUNITY_REMOVE",
	2: "COMMUNITY_REPLACE",
}
View Source
var CommunityActionType_value = map[string]int32{
	"COMMUNITY_ADD":     0,
	"COMMUNITY_REMOVE":  1,
	"COMMUNITY_REPLACE": 2,
}
View Source
var Conditions_RouteType_name = map[int32]string{
	0: "ROUTE_TYPE_NONE",
	1: "ROUTE_TYPE_INTERNAL",
	2: "ROUTE_TYPE_EXTERNAL",
	3: "ROUTE_TYPE_LOCAL",
}
View Source
var Conditions_RouteType_value = map[string]int32{
	"ROUTE_TYPE_NONE":     0,
	"ROUTE_TYPE_INTERNAL": 1,
	"ROUTE_TYPE_EXTERNAL": 2,
	"ROUTE_TYPE_LOCAL":    3,
}
View Source
var DefinedType_name = map[int32]string{
	0: "PREFIX",
	1: "NEIGHBOR",
	2: "TAG",
	3: "AS_PATH",
	4: "COMMUNITY",
	5: "EXT_COMMUNITY",
	6: "LARGE_COMMUNITY",
	7: "NEXT_HOP",
}
View Source
var DefinedType_value = map[string]int32{
	"PREFIX":          0,
	"NEIGHBOR":        1,
	"TAG":             2,
	"AS_PATH":         3,
	"COMMUNITY":       4,
	"EXT_COMMUNITY":   5,
	"LARGE_COMMUNITY": 6,
	"NEXT_HOP":        7,
}
View Source
var Family_Afi_name = map[int32]string{
	0:     "AFI_UNKNOWN",
	1:     "AFI_IP",
	2:     "AFI_IP6",
	25:    "AFI_L2VPN",
	16397: "AFI_OPAQUE",
}
View Source
var Family_Afi_value = map[string]int32{
	"AFI_UNKNOWN": 0,
	"AFI_IP":      1,
	"AFI_IP6":     2,
	"AFI_L2VPN":   25,
	"AFI_OPAQUE":  16397,
}
View Source
var Family_Safi_name = map[int32]string{
	0:   "SAFI_UNKNOWN",
	1:   "SAFI_UNICAST",
	2:   "SAFI_MULTICAST",
	4:   "SAFI_MPLS_LABEL",
	7:   "SAFI_ENCAPSULATION",
	65:  "SAFI_VPLS",
	70:  "SAFI_EVPN",
	128: "SAFI_MPLS_VPN",
	129: "SAFI_MPLS_VPN_MULTICAST",
	132: "SAFI_ROUTE_TARGET_CONSTRAINTS",
	133: "SAFI_FLOW_SPEC_UNICAST",
	134: "SAFI_FLOW_SPEC_VPN",
	241: "SAFI_KEY_VALUE",
}
View Source
var Family_Safi_value = map[string]int32{
	"SAFI_UNKNOWN":                  0,
	"SAFI_UNICAST":                  1,
	"SAFI_MULTICAST":                2,
	"SAFI_MPLS_LABEL":               4,
	"SAFI_ENCAPSULATION":            7,
	"SAFI_VPLS":                     65,
	"SAFI_EVPN":                     70,
	"SAFI_MPLS_VPN":                 128,
	"SAFI_MPLS_VPN_MULTICAST":       129,
	"SAFI_ROUTE_TARGET_CONSTRAINTS": 132,
	"SAFI_FLOW_SPEC_UNICAST":        133,
	"SAFI_FLOW_SPEC_VPN":            134,
	"SAFI_KEY_VALUE":                241,
}
View Source
var ListPathRequest_SortType_name = map[int32]string{
	0: "NONE",
	1: "PREFIX",
}
View Source
var ListPathRequest_SortType_value = map[string]int32{
	"NONE":   0,
	"PREFIX": 1,
}
View Source
var MatchType_name = map[int32]string{
	0: "ANY",
	1: "ALL",
	2: "INVERT",
}
View Source
var MatchType_value = map[string]int32{
	"ANY":    0,
	"ALL":    1,
	"INVERT": 2,
}
View Source
var MedActionType_name = map[int32]string{
	0: "MED_MOD",
	1: "MED_REPLACE",
}
View Source
var MedActionType_value = map[string]int32{
	"MED_MOD":     0,
	"MED_REPLACE": 1,
}
View Source
var PeerConf_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerConf_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerGroupConf_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerGroupConf_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerGroupState_RemovePrivateAs_name = map[int32]string{
	0: "NONE",
	1: "ALL",
	2: "REPLACE",
}
View Source
var PeerGroupState_RemovePrivateAs_value = map[string]int32{
	"NONE":    0,
	"ALL":     1,
	"REPLACE": 2,
}
View Source
var PeerState_AdminState_name = map[int32]string{
	0: "UP",
	1: "DOWN",
	2: "PFX_CT",
}
View Source
var PeerState_AdminState_value = map[string]int32{
	"UP":     0,
	"DOWN":   1,
	"PFX_CT": 2,
}
View Source
var PeerState_SessionState_name = map[int32]string{
	0: "UNKNOWN",
	1: "IDLE",
	2: "CONNECT",
	3: "ACTIVE",
	4: "OPENSENT",
	5: "OPENCONFIRM",
	6: "ESTABLISHED",
}
View Source
var PeerState_SessionState_value = map[string]int32{
	"UNKNOWN":     0,
	"IDLE":        1,
	"CONNECT":     2,
	"ACTIVE":      3,
	"OPENSENT":    4,
	"OPENCONFIRM": 5,
	"ESTABLISHED": 6,
}
View Source
var PolicyDirection_name = map[int32]string{
	0: "UNKNOWN",
	1: "IMPORT",
	2: "EXPORT",
}
View Source
var PolicyDirection_value = map[string]int32{
	"UNKNOWN": 0,
	"IMPORT":  1,
	"EXPORT":  2,
}
View Source
var ResetPeerRequest_SoftResetDirection_name = map[int32]string{
	0: "IN",
	1: "OUT",
	2: "BOTH",
}
View Source
var ResetPeerRequest_SoftResetDirection_value = map[string]int32{
	"IN":   0,
	"OUT":  1,
	"BOTH": 2,
}
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 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,
}
View Source
var TableType_name = map[int32]string{
	0: "GLOBAL",
	1: "LOCAL",
	2: "ADJ_IN",
	3: "ADJ_OUT",
	4: "VRF",
}
View Source
var TableType_value = map[string]int32{
	"GLOBAL":  0,
	"LOCAL":   1,
	"ADJ_IN":  2,
	"ADJ_OUT": 3,
	"VRF":     4,
}
View Source
var Validation_Reason_name = map[int32]string{
	0: "REASOT_NONE",
	1: "REASON_AS",
	2: "REASON_LENGTH",
}
View Source
var Validation_Reason_value = map[string]int32{
	"REASOT_NONE":   0,
	"REASON_AS":     1,
	"REASON_LENGTH": 2,
}
View Source
var Validation_State_name = map[int32]string{
	0: "STATE_NONE",
	1: "STATE_NOT_FOUND",
	2: "STATE_VALID",
	3: "STATE_INVALID",
}
View Source
var Validation_State_value = map[string]int32{
	"STATE_NONE":      0,
	"STATE_NOT_FOUND": 1,
	"STATE_VALID":     2,
	"STATE_INVALID":   3,
}

Functions

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"`
	Policy            AddBmpRequest_MonitoringPolicy `protobuf:"varint,3,opt,name=policy,enum=gobgpapi.AddBmpRequest_MonitoringPolicy" json:"policy,omitempty"`
	StatisticsTimeout int32                          `protobuf:"varint,4,opt,name=StatisticsTimeout" json:"StatisticsTimeout,omitempty"`
}

func (*AddBmpRequest) Descriptor

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

func (*AddBmpRequest) GetAddress

func (m *AddBmpRequest) GetAddress() string

func (*AddBmpRequest) GetPolicy

func (*AddBmpRequest) GetPort

func (m *AddBmpRequest) GetPort() uint32

func (*AddBmpRequest) GetStatisticsTimeout

func (m *AddBmpRequest) GetStatisticsTimeout() int32

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 AddDefinedSetRequest

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

func (*AddDefinedSetRequest) Descriptor

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

func (*AddDefinedSetRequest) GetDefinedSet

func (m *AddDefinedSetRequest) GetDefinedSet() *DefinedSet

func (*AddDefinedSetRequest) ProtoMessage

func (*AddDefinedSetRequest) ProtoMessage()

func (*AddDefinedSetRequest) Reset

func (m *AddDefinedSetRequest) Reset()

func (*AddDefinedSetRequest) String

func (m *AddDefinedSetRequest) String() string

type AddDynamicNeighborRequest

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

func (*AddDynamicNeighborRequest) Descriptor

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

func (*AddDynamicNeighborRequest) GetDynamicNeighbor

func (m *AddDynamicNeighborRequest) GetDynamicNeighbor() *DynamicNeighbor

func (*AddDynamicNeighborRequest) ProtoMessage

func (*AddDynamicNeighborRequest) ProtoMessage()

func (*AddDynamicNeighborRequest) Reset

func (m *AddDynamicNeighborRequest) Reset()

func (*AddDynamicNeighborRequest) String

func (m *AddDynamicNeighborRequest) String() string

type AddPathCapability

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

func (*AddPathCapability) Descriptor

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

func (*AddPathCapability) GetTuples

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

func (*AddPathCapability) ProtoMessage

func (*AddPathCapability) ProtoMessage()

func (*AddPathCapability) Reset

func (m *AddPathCapability) Reset()

func (*AddPathCapability) String

func (m *AddPathCapability) String() string

type AddPathCapabilityTuple

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

func (*AddPathCapabilityTuple) Descriptor

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

func (*AddPathCapabilityTuple) GetFamily

func (m *AddPathCapabilityTuple) GetFamily() *Family

func (*AddPathCapabilityTuple) GetMode

func (m *AddPathCapabilityTuple) GetMode() AddPathMode

func (*AddPathCapabilityTuple) ProtoMessage

func (*AddPathCapabilityTuple) ProtoMessage()

func (*AddPathCapabilityTuple) Reset

func (m *AddPathCapabilityTuple) Reset()

func (*AddPathCapabilityTuple) String

func (m *AddPathCapabilityTuple) String() string

type AddPathMode

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

func (AddPathMode) EnumDescriptor

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

func (AddPathMode) String

func (x AddPathMode) String() string

type AddPathRequest

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

func (*AddPathRequest) Descriptor

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

func (*AddPathRequest) GetPath

func (m *AddPathRequest) GetPath() *Path

func (*AddPathRequest) GetTableType

func (m *AddPathRequest) GetTableType() TableType

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 AddPathStreamRequest

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

func (*AddPathStreamRequest) Descriptor

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

func (*AddPathStreamRequest) GetPaths

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

func (*AddPathStreamRequest) GetTableType

func (m *AddPathStreamRequest) GetTableType() TableType

func (*AddPathStreamRequest) GetVrfId

func (m *AddPathStreamRequest) GetVrfId() string

func (*AddPathStreamRequest) ProtoMessage

func (*AddPathStreamRequest) ProtoMessage()

func (*AddPathStreamRequest) Reset

func (m *AddPathStreamRequest) Reset()

func (*AddPathStreamRequest) String

func (m *AddPathStreamRequest) 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 (*AddPaths) Descriptor

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

func (*AddPaths) GetConfig

func (m *AddPaths) GetConfig() *AddPathsConfig

func (*AddPaths) GetState

func (m *AddPaths) GetState() *AddPathsState

func (*AddPaths) ProtoMessage

func (*AddPaths) ProtoMessage()

func (*AddPaths) Reset

func (m *AddPaths) Reset()

func (*AddPaths) String

func (m *AddPaths) String() string

type AddPathsConfig

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

func (*AddPathsConfig) Descriptor

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

func (*AddPathsConfig) GetReceive

func (m *AddPathsConfig) GetReceive() bool

func (*AddPathsConfig) GetSendMax

func (m *AddPathsConfig) GetSendMax() uint32

func (*AddPathsConfig) ProtoMessage

func (*AddPathsConfig) ProtoMessage()

func (*AddPathsConfig) Reset

func (m *AddPathsConfig) Reset()

func (*AddPathsConfig) String

func (m *AddPathsConfig) String() string

type AddPathsState

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

func (*AddPathsState) Descriptor

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

func (*AddPathsState) GetReceive

func (m *AddPathsState) GetReceive() bool

func (*AddPathsState) GetSendMax

func (m *AddPathsState) GetSendMax() uint32

func (*AddPathsState) ProtoMessage

func (*AddPathsState) ProtoMessage()

func (*AddPathsState) Reset

func (m *AddPathsState) Reset()

func (*AddPathsState) String

func (m *AddPathsState) String() string

type AddPeerGroupRequest

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

func (*AddPeerGroupRequest) Descriptor

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

func (*AddPeerGroupRequest) GetPeerGroup

func (m *AddPeerGroupRequest) GetPeerGroup() *PeerGroup

func (*AddPeerGroupRequest) ProtoMessage

func (*AddPeerGroupRequest) ProtoMessage()

func (*AddPeerGroupRequest) Reset

func (m *AddPeerGroupRequest) Reset()

func (*AddPeerGroupRequest) String

func (m *AddPeerGroupRequest) String() string

type AddPeerRequest

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

func (*AddPeerRequest) Descriptor

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

func (*AddPeerRequest) GetPeer

func (m *AddPeerRequest) GetPeer() *Peer

func (*AddPeerRequest) ProtoMessage

func (*AddPeerRequest) ProtoMessage()

func (*AddPeerRequest) Reset

func (m *AddPeerRequest) Reset()

func (*AddPeerRequest) String

func (m *AddPeerRequest) 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 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 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 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 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 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"`
	State             *AfiSafiState      `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
	ApplyPolicy       *ApplyPolicy       `protobuf:"bytes,4,opt,name=apply_policy,json=applyPolicy" json:"apply_policy,omitempty"`
	// TODO:
	// Support the following structures:
	// - Ipv4Unicast
	// - Ipv6Unicast
	// - Ipv4LabelledUnicast
	// - Ipv6LabelledUnicast
	// - L3vpnIpv4Unicast
	// - L3vpnIpv6Unicast
	// - L3vpnIpv4Multicast
	// - L3vpnIpv6Multicast
	// - L2vpnVpls
	// - L2vpnEvpn
	RouteSelectionOptions    *RouteSelectionOptions    `protobuf:"bytes,5,opt,name=route_selection_options,json=routeSelectionOptions" json:"route_selection_options,omitempty"`
	UseMultiplePaths         *UseMultiplePaths         `protobuf:"bytes,6,opt,name=use_multiple_paths,json=useMultiplePaths" json:"use_multiple_paths,omitempty"`
	PrefixLimits             *PrefixLimit              `protobuf:"bytes,7,opt,name=prefix_limits,json=prefixLimits" json:"prefix_limits,omitempty"`
	RouteTargetMembership    *RouteTargetMembership    `protobuf:"bytes,8,opt,name=route_target_membership,json=routeTargetMembership" json:"route_target_membership,omitempty"`
	LongLivedGracefulRestart *LongLivedGracefulRestart `` /* 130-byte string literal not displayed */
	AddPaths                 *AddPaths                 `protobuf:"bytes,10,opt,name=add_paths,json=addPaths" json:"add_paths,omitempty"`
}

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

func (m *AfiSafi) GetState() *AfiSafiState

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  *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"`
	Enabled bool    `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
}

func (*AfiSafiConfig) Descriptor

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

func (*AfiSafiConfig) GetEnabled

func (m *AfiSafiConfig) GetEnabled() bool

func (*AfiSafiConfig) GetFamily

func (m *AfiSafiConfig) GetFamily() *Family

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     *Family `protobuf:"bytes,1,opt,name=family" json:"family,omitempty"`
	Enabled    bool    `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
	Received   uint64  `protobuf:"varint,3,opt,name=received" json:"received,omitempty"`
	Accepted   uint64  `protobuf:"varint,4,opt,name=accepted" json:"accepted,omitempty"`
	Advertised uint64  `protobuf:"varint,5,opt,name=advertised" json:"advertised,omitempty"`
}

func (*AfiSafiState) Descriptor

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

func (*AfiSafiState) GetAccepted

func (m *AfiSafiState) GetAccepted() uint64

func (*AfiSafiState) GetAdvertised

func (m *AfiSafiState) GetAdvertised() uint64

func (*AfiSafiState) GetEnabled

func (m *AfiSafiState) GetEnabled() bool

func (*AfiSafiState) GetFamily

func (m *AfiSafiState) GetFamily() *Family

func (*AfiSafiState) GetReceived

func (m *AfiSafiState) GetReceived() uint64

func (*AfiSafiState) ProtoMessage

func (*AfiSafiState) ProtoMessage()

func (*AfiSafiState) Reset

func (m *AfiSafiState) Reset()

func (*AfiSafiState) String

func (m *AfiSafiState) String() string

type AggregatorAttribute

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

func (*AggregatorAttribute) Descriptor

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

func (*AggregatorAttribute) GetAddress

func (m *AggregatorAttribute) GetAddress() string

func (*AggregatorAttribute) GetAs

func (m *AggregatorAttribute) GetAs() uint32

func (*AggregatorAttribute) ProtoMessage

func (*AggregatorAttribute) ProtoMessage()

func (*AggregatorAttribute) Reset

func (m *AggregatorAttribute) Reset()

func (*AggregatorAttribute) String

func (m *AggregatorAttribute) String() string

type AigpAttribute

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

func (*AigpAttribute) Descriptor

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

func (*AigpAttribute) GetTlvs

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

func (*AigpAttribute) ProtoMessage

func (*AigpAttribute) ProtoMessage()

func (*AigpAttribute) Reset

func (m *AigpAttribute) Reset()

func (*AigpAttribute) String

func (m *AigpAttribute) String() string

type AigpTLVIGPMetric

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

func (*AigpTLVIGPMetric) Descriptor

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

func (*AigpTLVIGPMetric) GetMetric

func (m *AigpTLVIGPMetric) GetMetric() uint64

func (*AigpTLVIGPMetric) ProtoMessage

func (*AigpTLVIGPMetric) ProtoMessage()

func (*AigpTLVIGPMetric) Reset

func (m *AigpTLVIGPMetric) Reset()

func (*AigpTLVIGPMetric) String

func (m *AigpTLVIGPMetric) String() string

type AigpTLVUnknown

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

func (*AigpTLVUnknown) Descriptor

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

func (*AigpTLVUnknown) GetType

func (m *AigpTLVUnknown) GetType() uint32

func (*AigpTLVUnknown) GetValue

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

func (*AigpTLVUnknown) ProtoMessage

func (*AigpTLVUnknown) ProtoMessage()

func (*AigpTLVUnknown) Reset

func (m *AigpTLVUnknown) Reset()

func (*AigpTLVUnknown) String

func (m *AigpTLVUnknown) String() string

type ApplyPolicy

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

func (*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 As4AggregatorAttribute

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

func (*As4AggregatorAttribute) Descriptor

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

func (*As4AggregatorAttribute) GetAddress

func (m *As4AggregatorAttribute) GetAddress() string

func (*As4AggregatorAttribute) GetAs

func (m *As4AggregatorAttribute) GetAs() uint32

func (*As4AggregatorAttribute) ProtoMessage

func (*As4AggregatorAttribute) ProtoMessage()

func (*As4AggregatorAttribute) Reset

func (m *As4AggregatorAttribute) Reset()

func (*As4AggregatorAttribute) String

func (m *As4AggregatorAttribute) String() string

type As4PathAttribute

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

func (*As4PathAttribute) Descriptor

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

func (*As4PathAttribute) GetSegments

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

func (*As4PathAttribute) ProtoMessage

func (*As4PathAttribute) ProtoMessage()

func (*As4PathAttribute) Reset

func (m *As4PathAttribute) Reset()

func (*As4PathAttribute) String

func (m *As4PathAttribute) String() string

type AsPathAttribute

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

func (*AsPathAttribute) Descriptor

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

func (*AsPathAttribute) GetSegments

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

func (*AsPathAttribute) ProtoMessage

func (*AsPathAttribute) ProtoMessage()

func (*AsPathAttribute) Reset

func (m *AsPathAttribute) Reset()

func (*AsPathAttribute) String

func (m *AsPathAttribute) String() string

type AsPathLength

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

func (*AsPathLength) Descriptor

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

func (*AsPathLength) GetLength

func (m *AsPathLength) GetLength() uint32

func (*AsPathLength) GetLengthType

func (m *AsPathLength) GetLengthType() AsPathLengthType

func (*AsPathLength) ProtoMessage

func (*AsPathLength) ProtoMessage()

func (*AsPathLength) Reset

func (m *AsPathLength) Reset()

func (*AsPathLength) String

func (m *AsPathLength) String() string

type AsPathLengthType

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

func (AsPathLengthType) EnumDescriptor

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

func (AsPathLengthType) String

func (x AsPathLengthType) String() string

type AsPrependAction

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

func (*AsPrependAction) Descriptor

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

func (*AsPrependAction) GetAsn

func (m *AsPrependAction) GetAsn() uint32

func (*AsPrependAction) GetRepeat

func (m *AsPrependAction) GetRepeat() uint32

func (*AsPrependAction) GetUseLeftMost

func (m *AsPrependAction) GetUseLeftMost() bool

func (*AsPrependAction) ProtoMessage

func (*AsPrependAction) ProtoMessage()

func (*AsPrependAction) Reset

func (m *AsPrependAction) Reset()

func (*AsPrependAction) String

func (m *AsPrependAction) String() string

type AsSegment

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

func (*AsSegment) Descriptor

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

func (*AsSegment) GetNumbers

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

func (*AsSegment) GetType

func (m *AsSegment) GetType() uint32

func (*AsSegment) ProtoMessage

func (*AsSegment) ProtoMessage()

func (*AsSegment) Reset

func (m *AsSegment) Reset()

func (*AsSegment) String

func (m *AsSegment) String() string

type AtomicAggregateAttribute

type AtomicAggregateAttribute struct {
}

func (*AtomicAggregateAttribute) Descriptor

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

func (*AtomicAggregateAttribute) ProtoMessage

func (*AtomicAggregateAttribute) ProtoMessage()

func (*AtomicAggregateAttribute) Reset

func (m *AtomicAggregateAttribute) Reset()

func (*AtomicAggregateAttribute) String

func (m *AtomicAggregateAttribute) String() string

type CarryingLabelInfoCapability

type CarryingLabelInfoCapability struct {
}

func (*CarryingLabelInfoCapability) Descriptor

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

func (*CarryingLabelInfoCapability) ProtoMessage

func (*CarryingLabelInfoCapability) ProtoMessage()

func (*CarryingLabelInfoCapability) Reset

func (m *CarryingLabelInfoCapability) Reset()

func (*CarryingLabelInfoCapability) String

func (m *CarryingLabelInfoCapability) String() string

type ClusterListAttribute

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

func (*ClusterListAttribute) Descriptor

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

func (*ClusterListAttribute) GetIds

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

func (*ClusterListAttribute) ProtoMessage

func (*ClusterListAttribute) ProtoMessage()

func (*ClusterListAttribute) Reset

func (m *ClusterListAttribute) Reset()

func (*ClusterListAttribute) String

func (m *ClusterListAttribute) String() string

type ColorExtended

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

func (*ColorExtended) Descriptor

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

func (*ColorExtended) GetColor

func (m *ColorExtended) GetColor() uint32

func (*ColorExtended) ProtoMessage

func (*ColorExtended) ProtoMessage()

func (*ColorExtended) Reset

func (m *ColorExtended) Reset()

func (*ColorExtended) String

func (m *ColorExtended) String() string

type CommunitiesAttribute

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

func (*CommunitiesAttribute) Descriptor

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

func (*CommunitiesAttribute) GetCommunities

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

func (*CommunitiesAttribute) ProtoMessage

func (*CommunitiesAttribute) ProtoMessage()

func (*CommunitiesAttribute) Reset

func (m *CommunitiesAttribute) Reset()

func (*CommunitiesAttribute) String

func (m *CommunitiesAttribute) String() string

type CommunityAction

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

func (*CommunityAction) Descriptor

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

func (*CommunityAction) GetActionType

func (m *CommunityAction) GetActionType() CommunityActionType

func (*CommunityAction) GetCommunities

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

func (*CommunityAction) ProtoMessage

func (*CommunityAction) ProtoMessage()

func (*CommunityAction) Reset

func (m *CommunityAction) Reset()

func (*CommunityAction) String

func (m *CommunityAction) String() string

type CommunityActionType

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

func (CommunityActionType) EnumDescriptor

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

func (CommunityActionType) String

func (x CommunityActionType) String() string

type Conditions

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

func (*Conditions) Descriptor

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

func (*Conditions) GetAfiSafiIn

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

func (*Conditions) GetAsPathLength

func (m *Conditions) GetAsPathLength() *AsPathLength

func (*Conditions) GetAsPathSet

func (m *Conditions) GetAsPathSet() *MatchSet

func (*Conditions) GetCommunitySet

func (m *Conditions) GetCommunitySet() *MatchSet

func (*Conditions) GetExtCommunitySet

func (m *Conditions) GetExtCommunitySet() *MatchSet

func (*Conditions) GetLargeCommunitySet

func (m *Conditions) GetLargeCommunitySet() *MatchSet

func (*Conditions) GetNeighborSet

func (m *Conditions) GetNeighborSet() *MatchSet

func (*Conditions) GetNextHopInList

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

func (*Conditions) GetPrefixSet

func (m *Conditions) GetPrefixSet() *MatchSet

func (*Conditions) GetRouteType

func (m *Conditions) GetRouteType() Conditions_RouteType

func (*Conditions) GetRpkiResult

func (m *Conditions) GetRpkiResult() int32

func (*Conditions) ProtoMessage

func (*Conditions) ProtoMessage()

func (*Conditions) Reset

func (m *Conditions) Reset()

func (*Conditions) String

func (m *Conditions) String() string

type Conditions_RouteType

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

func (Conditions_RouteType) EnumDescriptor

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

func (Conditions_RouteType) String

func (x Conditions_RouteType) String() string

type Confederation

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

func (*Confederation) Descriptor

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

func (*Confederation) GetEnabled

func (m *Confederation) GetEnabled() bool

func (*Confederation) GetIdentifier

func (m *Confederation) GetIdentifier() uint32

func (*Confederation) GetMemberAsList

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

func (*Confederation) ProtoMessage

func (*Confederation) ProtoMessage()

func (*Confederation) Reset

func (m *Confederation) Reset()

func (*Confederation) String

func (m *Confederation) String() string

type DefaultGatewayExtended

type DefaultGatewayExtended struct {
}

func (*DefaultGatewayExtended) Descriptor

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

func (*DefaultGatewayExtended) ProtoMessage

func (*DefaultGatewayExtended) ProtoMessage()

func (*DefaultGatewayExtended) Reset

func (m *DefaultGatewayExtended) Reset()

func (*DefaultGatewayExtended) String

func (m *DefaultGatewayExtended) String() string

type DefaultRouteDistance

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

func (*DefaultRouteDistance) Descriptor

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

func (*DefaultRouteDistance) GetExternalRouteDistance

func (m *DefaultRouteDistance) GetExternalRouteDistance() uint32

func (*DefaultRouteDistance) GetInternalRouteDistance

func (m *DefaultRouteDistance) GetInternalRouteDistance() uint32

func (*DefaultRouteDistance) ProtoMessage

func (*DefaultRouteDistance) ProtoMessage()

func (*DefaultRouteDistance) Reset

func (m *DefaultRouteDistance) Reset()

func (*DefaultRouteDistance) String

func (m *DefaultRouteDistance) String() string

type DefinedSet

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

func (*DefinedSet) Descriptor

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

func (*DefinedSet) GetDefinedType

func (m *DefinedSet) GetDefinedType() DefinedType

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

func (*DefinedSet) ProtoMessage()

func (*DefinedSet) Reset

func (m *DefinedSet) Reset()

func (*DefinedSet) String

func (m *DefinedSet) String() string