You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9251 lines
360 KiB

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: gobgp.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='gobgp.proto',
package='gobgpapi',
syntax='proto3',
serialized_options=None,
serialized_pb=b'\n\x0bgobgp.proto\x12\x08gobgpapi\x1a\x19google/protobuf/any.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"3\n\x0fStartBgpRequest\x12 \n\x06global\x18\x01 \x01(\x0b\x32\x10.gobgpapi.Global\"\x10\n\x0eStopBgpRequest\"\x0f\n\rGetBgpRequest\"2\n\x0eGetBgpResponse\x12 \n\x06global\x18\x01 \x01(\x0b\x32\x10.gobgpapi.Global\".\n\x0e\x41\x64\x64PeerRequest\x12\x1c\n\x04peer\x18\x01 \x01(\x0b\x32\x0e.gobgpapi.Peer\"7\n\x11\x44\x65letePeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x11\n\tinterface\x18\x02 \x01(\t\"<\n\x0fListPeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x18\n\x10\x65nableAdvertised\x18\x02 \x01(\x08\"0\n\x10ListPeerResponse\x12\x1c\n\x04peer\x18\x01 \x01(\x0b\x32\x0e.gobgpapi.Peer\"K\n\x11UpdatePeerRequest\x12\x1c\n\x04peer\x18\x01 \x01(\x0b\x32\x0e.gobgpapi.Peer\x12\x18\n\x10\x64o_soft_reset_in\x18\x02 \x01(\x08\"1\n\x12UpdatePeerResponse\x12\x1b\n\x13needs_soft_reset_in\x18\x01 \x01(\x08\"\xbb\x01\n\x10ResetPeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x15\n\rcommunication\x18\x02 \x01(\t\x12\x0c\n\x04soft\x18\x03 \x01(\x08\x12@\n\tdirection\x18\x04 \x01(\x0e\x32-.gobgpapi.ResetPeerRequest.SoftResetDirection\"/\n\x12SoftResetDirection\x12\x06\n\x02IN\x10\x00\x12\x07\n\x03OUT\x10\x01\x12\x08\n\x04\x42OTH\x10\x02\"=\n\x13ShutdownPeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x15\n\rcommunication\x18\x02 \x01(\t\"$\n\x11\x45nablePeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\"<\n\x12\x44isablePeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x15\n\rcommunication\x18\x02 \x01(\t\"6\n\x12MonitorPeerRequest\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0f\n\x07\x63urrent\x18\x02 \x01(\x08\"3\n\x13MonitorPeerResponse\x12\x1c\n\x04peer\x18\x01 \x01(\x0b\x32\x0e.gobgpapi.Peer\">\n\x13\x41\x64\x64PeerGroupRequest\x12\'\n\npeer_group\x18\x01 \x01(\x0b\x32\x13.gobgpapi.PeerGroup\"&\n\x16\x44\x65letePeerGroupRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"[\n\x16UpdatePeerGroupRequest\x12\'\n\npeer_group\x18\x01 \x01(\x0b\x32\x13.gobgpapi.PeerGroup\x12\x18\n\x10\x64o_soft_reset_in\x18\x02 \x01(\x08\"6\n\x17UpdatePeerGroupResponse\x12\x1b\n\x13needs_soft_reset_in\x18\x01 \x01(\x08\"P\n\x19\x41\x64\x64\x44ynamicNeighborRequest\x12\x33\n\x10\x64ynamic_neighbor\x18\x01 \x01(\x0b\x32\x19.gobgpapi.DynamicNeighbor\"g\n\x0e\x41\x64\x64PathRequest\x12\'\n\ntable_type\x18\x01 \x01(\x0e\x32\x13.gobgpapi.TableType\x12\x0e\n\x06vrf_id\x18\x02 \x01(\t\x12\x1c\n\x04path\x18\x03 \x01(\x0b\x32\x0e.gobgpapi.Path\"\x1f\n\x0f\x41\x64\x64PathResponse\x12\x0c\n\x04uuid\x18\x01 \x01(\x0c\"\x9a\x01\n\x11\x44\x65letePathRequest\x12\'\n\ntable_type\x18\x01 \x01(\x0e\x32\x13.gobgpapi.TableType\x12\x0e\n\x06vrf_id\x18\x02 \x01(\t\x12 \n\x06\x66\x61mily\x18\x03 \x01(\x0b\x32\x10.gobgpapi.Family\x12\x1c\n\x04path\x18\x04 \x01(\x0b\x32\x0e.gobgpapi.Path\x12\x0c\n\x04uuid\x18\x05 \x01(\x0c\"\x8b\x02\n\x0fListPathRequest\x12\'\n\ntable_type\x18\x01 \x01(\x0e\x32\x13.gobgpapi.TableType\x12\x0c\n\x04name\x18\x02 \x01(\t\x12 \n\x06\x66\x61mily\x18\x03 \x01(\x0b\x32\x10.gobgpapi.Family\x12-\n\x08prefixes\x18\x04 \x03(\x0b\x32\x1b.gobgpapi.TableLookupPrefix\x12\x35\n\tsort_type\x18\x05 \x01(\x0e\x32\".gobgpapi.ListPathRequest.SortType\x12\x17\n\x0f\x65nable_filtered\x18\x06 \x01(\x08\" \n\x08SortType\x12\x08\n\x04NONE\x10\x00\x12\n\n\x06PREFIX\x10\x01\">\n\x10ListPathResponse\x12*\n\x0b\x64\x65stination\x18\x01 \x01(\x0b\x32\x15.gobgpapi.Destination\"n\n\x14\x41\x64\x64PathStreamRequest\x12\'\n\ntable_type\x18\x01 \x01(\x0e\x32\x13.gobgpapi.TableType\x12\x0e\n\x06vrf_id\x18\x02 \x01(\t\x12\x1d\n\x05paths\x18\x03 \x03(\x0b\x32\x0e.gobgpapi.Path\"j\n\x0fGetTableRequest\x12\'\n\ntable_type\x18\x01 \x01(\x0e\x32\x13.gobgpapi.TableType\x12 \n\x06\x66\x61mily\x18\x02 \x01(\x0b\x32\x10.gobgpapi.Family\x12\x0c\n\x04name\x18\x03 \x01(\t\"S\n\x10GetTableResponse\x12\x17\n\x0fnum_destination\x18\x01 \x01(\x04\x12\x10\n\x08num_path\x18\x02 \x01(\x04\x12\x14\n\x0cnum_accepted\x18\x03 \x01(\x04\"\x94\x01\n\x13MonitorTableRequest\x12\'\n\n
,
dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])
_TABLETYPE = _descriptor.EnumDescriptor(
name='TableType',
full_name='gobgpapi.TableType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='GLOBAL', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LOCAL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ADJ_IN', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ADJ_OUT', index=3, number=3,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='VRF', index=4, number=4,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=17747,
serialized_end=17815,
)
_sym_db.RegisterEnumDescriptor(_TABLETYPE)
TableType = enum_type_wrapper.EnumTypeWrapper(_TABLETYPE)
_TABLELOOKUPOPTION = _descriptor.EnumDescriptor(
name='TableLookupOption',
full_name='gobgpapi.TableLookupOption',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='LOOKUP_EXACT', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LOOKUP_LONGER', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LOOKUP_SHORTER', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=17817,
serialized_end=17893,
)
_sym_db.RegisterEnumDescriptor(_TABLELOOKUPOPTION)
TableLookupOption = enum_type_wrapper.EnumTypeWrapper(_TABLELOOKUPOPTION)
_DEFINEDTYPE = _descriptor.EnumDescriptor(
name='DefinedType',
full_name='gobgpapi.DefinedType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='PREFIX', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='NEIGHBOR', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='TAG', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AS_PATH', index=3, number=3,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='COMMUNITY', index=4, number=4,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='EXT_COMMUNITY', index=5, number=5,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LARGE_COMMUNITY', index=6, number=6,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='NEXT_HOP', index=7, number=7,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=17896,
serialized_end=18026,
)
_sym_db.RegisterEnumDescriptor(_DEFINEDTYPE)
DefinedType = enum_type_wrapper.EnumTypeWrapper(_DEFINEDTYPE)
_MATCHTYPE = _descriptor.EnumDescriptor(
name='MatchType',
full_name='gobgpapi.MatchType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='ANY', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ALL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='INVERT', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18028,
serialized_end=18069,
)
_sym_db.RegisterEnumDescriptor(_MATCHTYPE)
MatchType = enum_type_wrapper.EnumTypeWrapper(_MATCHTYPE)
_ASPATHLENGTHTYPE = _descriptor.EnumDescriptor(
name='AsPathLengthType',
full_name='gobgpapi.AsPathLengthType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='EQ', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='GE', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LE', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18071,
serialized_end=18113,
)
_sym_db.RegisterEnumDescriptor(_ASPATHLENGTHTYPE)
AsPathLengthType = enum_type_wrapper.EnumTypeWrapper(_ASPATHLENGTHTYPE)
_ROUTEACTION = _descriptor.EnumDescriptor(
name='RouteAction',
full_name='gobgpapi.RouteAction',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ACCEPT', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REJECT', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18115,
serialized_end=18162,
)
_sym_db.RegisterEnumDescriptor(_ROUTEACTION)
RouteAction = enum_type_wrapper.EnumTypeWrapper(_ROUTEACTION)
_COMMUNITYACTIONTYPE = _descriptor.EnumDescriptor(
name='CommunityActionType',
full_name='gobgpapi.CommunityActionType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='COMMUNITY_ADD', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='COMMUNITY_REMOVE', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='COMMUNITY_REPLACE', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18164,
serialized_end=18249,
)
_sym_db.RegisterEnumDescriptor(_COMMUNITYACTIONTYPE)
CommunityActionType = enum_type_wrapper.EnumTypeWrapper(_COMMUNITYACTIONTYPE)
_MEDACTIONTYPE = _descriptor.EnumDescriptor(
name='MedActionType',
full_name='gobgpapi.MedActionType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='MED_MOD', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='MED_REPLACE', index=1, number=1,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18251,
serialized_end=18296,
)
_sym_db.RegisterEnumDescriptor(_MEDACTIONTYPE)
MedActionType = enum_type_wrapper.EnumTypeWrapper(_MEDACTIONTYPE)
_POLICYDIRECTION = _descriptor.EnumDescriptor(
name='PolicyDirection',
full_name='gobgpapi.PolicyDirection',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UNKNOWN', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='IMPORT', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='EXPORT', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=18298,
serialized_end=18352,
)
_sym_db.RegisterEnumDescriptor(_POLICYDIRECTION)
PolicyDirection = enum_type_wrapper.EnumTypeWrapper(_POLICYDIRECTION)
GLOBAL = 0
LOCAL = 1
ADJ_IN = 2
ADJ_OUT = 3
VRF = 4
LOOKUP_EXACT = 0
LOOKUP_LONGER = 1
LOOKUP_SHORTER = 2
PREFIX = 0
NEIGHBOR = 1
TAG = 2
AS_PATH = 3
COMMUNITY = 4
EXT_COMMUNITY = 5
LARGE_COMMUNITY = 6
NEXT_HOP = 7
ANY = 0
ALL = 1
INVERT = 2
EQ = 0
GE = 1
LE = 2
NONE = 0
ACCEPT = 1
REJECT = 2
COMMUNITY_ADD = 0
COMMUNITY_REMOVE = 1
COMMUNITY_REPLACE = 2
MED_MOD = 0
MED_REPLACE = 1
UNKNOWN = 0
IMPORT = 1
EXPORT = 2
_RESETPEERREQUEST_SOFTRESETDIRECTION = _descriptor.EnumDescriptor(
name='SoftResetDirection',
full_name='gobgpapi.ResetPeerRequest.SoftResetDirection',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='IN', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='OUT', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='BOTH', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=740,
serialized_end=787,
)
_sym_db.RegisterEnumDescriptor(_RESETPEERREQUEST_SOFTRESETDIRECTION)
_LISTPATHREQUEST_SORTTYPE = _descriptor.EnumDescriptor(
name='SortType',
full_name='gobgpapi.ListPathRequest.SortType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='PREFIX', index=1, number=1,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=1927,
serialized_end=1959,
)
_sym_db.RegisterEnumDescriptor(_LISTPATHREQUEST_SORTTYPE)
_ADDBMPREQUEST_MONITORINGPOLICY = _descriptor.EnumDescriptor(
name='MonitoringPolicy',
full_name='gobgpapi.AddBmpRequest.MonitoringPolicy',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='PRE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='POST', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='BOTH', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='LOCAL', index=3, number=3,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ALL', index=4, number=4,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=5086,
serialized_end=5153,
)
_sym_db.RegisterEnumDescriptor(_ADDBMPREQUEST_MONITORINGPOLICY)
_FAMILY_AFI = _descriptor.EnumDescriptor(
name='Afi',
full_name='gobgpapi.Family.Afi',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='AFI_UNKNOWN', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AFI_IP', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AFI_IP6', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AFI_L2VPN', index=3, number=25,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AFI_LS', index=4, number=16388,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='AFI_OPAQUE', index=5, number=16397,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=5289,
serialized_end=5383,
)
_sym_db.RegisterEnumDescriptor(_FAMILY_AFI)
_FAMILY_SAFI = _descriptor.EnumDescriptor(
name='Safi',
full_name='gobgpapi.Family.Safi',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='SAFI_UNKNOWN', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_UNICAST', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_MULTICAST', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_MPLS_LABEL', index=3, number=4,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_ENCAPSULATION', index=4, number=7,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_VPLS', index=5, number=65,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_EVPN', index=6, number=70,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_LS', index=7, number=71,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_MPLS_VPN', index=8, number=128,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_MPLS_VPN_MULTICAST', index=9, number=129,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_ROUTE_TARGET_CONSTRAINTS', index=10, number=132,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_FLOW_SPEC_UNICAST', index=11, number=133,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_FLOW_SPEC_VPN', index=12, number=134,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='SAFI_KEY_VALUE', index=13, number=241,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=5386,
serialized_end=5697,
)
_sym_db.RegisterEnumDescriptor(_FAMILY_SAFI)
_VALIDATION_STATE = _descriptor.EnumDescriptor(
name='State',
full_name='gobgpapi.Validation.State',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='STATE_NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='STATE_NOT_FOUND', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='STATE_VALID', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='STATE_INVALID', index=3, number=3,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=5912,
serialized_end=5992,
)
_sym_db.RegisterEnumDescriptor(_VALIDATION_STATE)
_VALIDATION_REASON = _descriptor.EnumDescriptor(
name='Reason',
full_name='gobgpapi.Validation.Reason',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='REASOT_NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REASON_AS', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REASON_LENGTH', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=5994,
serialized_end=6053,
)
_sym_db.RegisterEnumDescriptor(_VALIDATION_REASON)
_PEERCONF_REMOVEPRIVATEAS = _descriptor.EnumDescriptor(
name='RemovePrivateAs',
full_name='gobgpapi.PeerConf.RemovePrivateAs',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ALL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REPLACE', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=8303,
serialized_end=8352,
)
_sym_db.RegisterEnumDescriptor(_PEERCONF_REMOVEPRIVATEAS)
_PEERGROUPCONF_REMOVEPRIVATEAS = _descriptor.EnumDescriptor(
name='RemovePrivateAs',
full_name='gobgpapi.PeerGroupConf.RemovePrivateAs',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ALL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REPLACE', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=8303,
serialized_end=8352,
)
_sym_db.RegisterEnumDescriptor(_PEERGROUPCONF_REMOVEPRIVATEAS)
_PEERGROUPSTATE_REMOVEPRIVATEAS = _descriptor.EnumDescriptor(
name='RemovePrivateAs',
full_name='gobgpapi.PeerGroupState.RemovePrivateAs',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ALL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='REPLACE', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=8303,
serialized_end=8352,
)
_sym_db.RegisterEnumDescriptor(_PEERGROUPSTATE_REMOVEPRIVATEAS)
_PEERSTATE_SESSIONSTATE = _descriptor.EnumDescriptor(
name='SessionState',
full_name='gobgpapi.PeerState.SessionState',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UNKNOWN', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='IDLE', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='CONNECT', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ACTIVE', index=3, number=3,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='OPENSENT', index=4, number=4,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='OPENCONFIRM', index=5, number=5,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ESTABLISHED', index=6, number=6,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=9717,
serialized_end=9827,
)
_sym_db.RegisterEnumDescriptor(_PEERSTATE_SESSIONSTATE)
_PEERSTATE_ADMINSTATE = _descriptor.EnumDescriptor(
name='AdminState',
full_name='gobgpapi.PeerState.AdminState',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='UP', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='DOWN', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='PFX_CT', index=2, number=2,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=9829,
serialized_end=9871,
)
_sym_db.RegisterEnumDescriptor(_PEERSTATE_ADMINSTATE)
_CONDITIONS_ROUTETYPE = _descriptor.EnumDescriptor(
name='RouteType',
full_name='gobgpapi.Conditions.RouteType',
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name='ROUTE_TYPE_NONE', index=0, number=0,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ROUTE_TYPE_INTERNAL', index=1, number=1,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ROUTE_TYPE_EXTERNAL', index=2, number=2,
serialized_options=None,
type=None),
_descriptor.EnumValueDescriptor(
name='ROUTE_TYPE_LOCAL', index=3, number=3,
serialized_options=None,
type=None),
],
containing_type=None,
serialized_options=None,
serialized_start=15140,
serialized_end=15244,
)
_sym_db.RegisterEnumDescriptor(_CONDITIONS_ROUTETYPE)
_STARTBGPREQUEST = _descriptor.Descriptor(
name='StartBgpRequest',
full_name='gobgpapi.StartBgpRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='global', full_name='gobgpapi.StartBgpRequest.global', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=114,
serialized_end=165,
)
_STOPBGPREQUEST = _descriptor.Descriptor(
name='StopBgpRequest',
full_name='gobgpapi.StopBgpRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=167,
serialized_end=183,
)
_GETBGPREQUEST = _descriptor.Descriptor(
name='GetBgpRequest',
full_name='gobgpapi.GetBgpRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=185,
serialized_end=200,
)
_GETBGPRESPONSE = _descriptor.Descriptor(
name='GetBgpResponse',
full_name='gobgpapi.GetBgpResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='global', full_name='gobgpapi.GetBgpResponse.global', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=202,
serialized_end=252,
)
_ADDPEERREQUEST = _descriptor.Descriptor(
name='AddPeerRequest',
full_name='gobgpapi.AddPeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='peer', full_name='gobgpapi.AddPeerRequest.peer', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=254,
serialized_end=300,
)
_DELETEPEERREQUEST = _descriptor.Descriptor(
name='DeletePeerRequest',
full_name='gobgpapi.DeletePeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='address', full_name='gobgpapi.DeletePeerRequest.address', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='interface', full_name='gobgpapi.DeletePeerRequest.interface', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=302,
serialized_end=357,
)
_LISTPEERREQUEST = _descriptor.Descriptor(
name='ListPeerRequest',
full_name='gobgpapi.ListPeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='address', full_name='gobgpapi.ListPeerRequest.address', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='enableAdvertised', full_name='gobgpapi.ListPeerRequest.enableAdvertised', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=359,
serialized_end=419,
)
_LISTPEERRESPONSE = _descriptor.Descriptor(
name='ListPeerResponse',
full_name='gobgpapi.ListPeerResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='peer', full_name='gobgpapi.ListPeerResponse.peer', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=421,
serialized_end=469,
)
_UPDATEPEERREQUEST = _descriptor.Descriptor(
name='UpdatePeerRequest',
full_name='gobgpapi.UpdatePeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='peer', full_name='gobgpapi.UpdatePeerRequest.peer', index=0,
number=1, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='do_soft_reset_in', full_name='gobgpapi.UpdatePeerRequest.do_soft_reset_in', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=471,
serialized_end=546,
)
_UPDATEPEERRESPONSE = _descriptor.Descriptor(
name='UpdatePeerResponse',
full_name='gobgpapi.UpdatePeerResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='needs_soft_reset_in', full_name='gobgpapi.UpdatePeerResponse.needs_soft_reset_in', index=0,
number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=548,
serialized_end=597,
)
_RESETPEERREQUEST = _descriptor.Descriptor(
name='ResetPeerRequest',
full_name='gobgpapi.ResetPeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='address', full_name='gobgpapi.ResetPeerRequest.address', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='communication', full_name='gobgpapi.ResetPeerRequest.communication', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='soft', full_name='gobgpapi.ResetPeerRequest.soft', index=2,
number=3, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='direction', full_name='gobgpapi.ResetPeerRequest.direction', index=3,
number=4, type=14, cpp_type=8, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
_RESETPEERREQUEST_SOFTRESETDIRECTION,
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=600,
serialized_end=787,
)
_SHUTDOWNPEERREQUEST = _descriptor.Descriptor(
name='ShutdownPeerRequest',
full_name='gobgpapi.ShutdownPeerRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='address', full_name='gobgpapi.ShutdownPeerRequest.address', index=0,