Documentation ¶
Index ¶
- Variables
- type EncapType
- type NhType
- type NxL3NextHopProto
- func (*NxL3NextHopProto) Descriptor() ([]byte, []int)deprecated
- func (x *NxL3NextHopProto) GetAddress() string
- func (x *NxL3NextHopProto) GetEncapType() EncapType
- func (x *NxL3NextHopProto) GetMetric() uint32
- func (x *NxL3NextHopProto) GetNhTypeFlags() uint32
- func (x *NxL3NextHopProto) GetOutInterface() string
- func (x *NxL3NextHopProto) GetOwner() string
- func (x *NxL3NextHopProto) GetPreference() uint32
- func (x *NxL3NextHopProto) GetSegmentId() uint32
- func (x *NxL3NextHopProto) GetTag() uint32
- func (x *NxL3NextHopProto) GetTunnelId() uint32
- func (x *NxL3NextHopProto) GetVrfName() string
- func (*NxL3NextHopProto) ProtoMessage()
- func (x *NxL3NextHopProto) ProtoReflect() protoreflect.Message
- func (x *NxL3NextHopProto) Reset()
- func (x *NxL3NextHopProto) String() string
- type NxL3RouteProto
- func (*NxL3RouteProto) Descriptor() ([]byte, []int)deprecated
- func (x *NxL3RouteProto) GetAddress() string
- func (x *NxL3RouteProto) GetEventType() UribEventType
- func (x *NxL3RouteProto) GetL3NextHopCount() uint32
- func (x *NxL3RouteProto) GetMaskLen() uint32
- func (x *NxL3RouteProto) GetNextHop() []*NxL3NextHopProto
- func (x *NxL3RouteProto) GetVrfName() string
- func (*NxL3RouteProto) ProtoMessage()
- func (x *NxL3RouteProto) ProtoReflect() protoreflect.Message
- func (x *NxL3RouteProto) Reset()
- func (x *NxL3RouteProto) String() string
- type UribEventType
- func (UribEventType) Descriptor() protoreflect.EnumDescriptor
- func (x UribEventType) Enum() *UribEventType
- func (UribEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x UribEventType) Number() protoreflect.EnumNumber
- func (x UribEventType) String() string
- func (UribEventType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UribEventType_name = map[int32]string{ 0: "URIB_EVENT_TYPE_NO_EVENT", 1: "URIB_EVENT_TYPE_ADD", 2: "URIB_EVENT_TYPE_DELETE", 3: "URIB_EVENT_TYPE_UPDATE", 4: "URIB_EVENT_TYPE_DOWNLOAD", 5: "URIB_EVENT_TYPE_DOWNLOAD_DONE", } UribEventType_value = map[string]int32{ "URIB_EVENT_TYPE_NO_EVENT": 0, "URIB_EVENT_TYPE_ADD": 1, "URIB_EVENT_TYPE_DELETE": 2, "URIB_EVENT_TYPE_UPDATE": 3, "URIB_EVENT_TYPE_DOWNLOAD": 4, "URIB_EVENT_TYPE_DOWNLOAD_DONE": 5, } )
Enum value maps for UribEventType.
View Source
var ( EncapType_name = map[int32]string{ 0: "ENCAP_TYPE_NONE", 1: "ENCAP_TYPE_VXLAN", } EncapType_value = map[string]int32{ "ENCAP_TYPE_NONE": 0, "ENCAP_TYPE_VXLAN": 1, } )
Enum value maps for EncapType.
View Source
var ( NhType_name = map[int32]string{ 0: "NH_TYPE_NONE", 1: "NH_TYPE_ATTACHED", 2: "NH_TYPE_LOCAL", 3: "NH_TYPE_DIRECT", 4: "NH_TYPE_RECURSIVE", 5: "NH_TYPE_BACKUP", 6: "NH_TYPE_DROP", 7: "NH_TYPE_DISCARD", } NhType_value = map[string]int32{ "NH_TYPE_NONE": 0, "NH_TYPE_ATTACHED": 1, "NH_TYPE_LOCAL": 2, "NH_TYPE_DIRECT": 3, "NH_TYPE_RECURSIVE": 4, "NH_TYPE_BACKUP": 5, "NH_TYPE_DROP": 6, "NH_TYPE_DISCARD": 7, } )
Enum value maps for NhType.
View Source
var File_urib_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EncapType ¶
type EncapType int32
URIB encap type
func (EncapType) Descriptor ¶
func (EncapType) Descriptor() protoreflect.EnumDescriptor
func (EncapType) EnumDescriptor
deprecated
func (EncapType) Number ¶
func (x EncapType) Number() protoreflect.EnumNumber
func (EncapType) Type ¶
func (EncapType) Type() protoreflect.EnumType
type NhType ¶
type NhType int32
URIB next hop type
func (NhType) Descriptor ¶
func (NhType) Descriptor() protoreflect.EnumDescriptor
func (NhType) EnumDescriptor
deprecated
func (NhType) Number ¶
func (x NhType) Number() protoreflect.EnumNumber
func (NhType) Type ¶
func (NhType) Type() protoreflect.EnumType
type NxL3NextHopProto ¶
type NxL3NextHopProto struct { // Address of Next hop Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Outgoing interface for the next hop OutInterface string `protobuf:"bytes,2,opt,name=out_interface,json=outInterface,proto3" json:"out_interface,omitempty"` // Vrf name for the next hop VrfName string `protobuf:"bytes,3,opt,name=vrf_name,json=vrfName,proto3" json:"vrf_name,omitempty"` // Owner of the next hop Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` // Preference for the next hop Preference uint32 `protobuf:"varint,5,opt,name=preference,proto3" json:"preference,omitempty"` // Metric for the next hop Metric uint32 `protobuf:"varint,6,opt,name=metric,proto3" json:"metric,omitempty"` // Tag for the next hop Tag uint32 `protobuf:"varint,7,opt,name=tag,proto3" json:"tag,omitempty"` // segment id for the next hop SegmentId uint32 `protobuf:"varint,8,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` // tunnel id for the next hop TunnelId uint32 `protobuf:"varint,9,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` // encap type for the next hop EncapType EncapType `protobuf:"varint,10,opt,name=encap_type,json=encapType,proto3,enum=EncapType" json:"encap_type,omitempty"` // Bitwise-OR of Flags for NhType. NhTypeFlags uint32 `protobuf:"varint,11,opt,name=nh_type_flags,json=nhTypeFlags,proto3" json:"nh_type_flags,omitempty"` // contains filtered or unexported fields }
Next hop
func (*NxL3NextHopProto) Descriptor
deprecated
func (*NxL3NextHopProto) Descriptor() ([]byte, []int)
Deprecated: Use NxL3NextHopProto.ProtoReflect.Descriptor instead.
func (*NxL3NextHopProto) GetAddress ¶
func (x *NxL3NextHopProto) GetAddress() string
func (*NxL3NextHopProto) GetEncapType ¶
func (x *NxL3NextHopProto) GetEncapType() EncapType
func (*NxL3NextHopProto) GetMetric ¶
func (x *NxL3NextHopProto) GetMetric() uint32
func (*NxL3NextHopProto) GetNhTypeFlags ¶
func (x *NxL3NextHopProto) GetNhTypeFlags() uint32
func (*NxL3NextHopProto) GetOutInterface ¶
func (x *NxL3NextHopProto) GetOutInterface() string
func (*NxL3NextHopProto) GetOwner ¶
func (x *NxL3NextHopProto) GetOwner() string
func (*NxL3NextHopProto) GetPreference ¶
func (x *NxL3NextHopProto) GetPreference() uint32
func (*NxL3NextHopProto) GetSegmentId ¶
func (x *NxL3NextHopProto) GetSegmentId() uint32
func (*NxL3NextHopProto) GetTag ¶
func (x *NxL3NextHopProto) GetTag() uint32
func (*NxL3NextHopProto) GetTunnelId ¶
func (x *NxL3NextHopProto) GetTunnelId() uint32
func (*NxL3NextHopProto) GetVrfName ¶
func (x *NxL3NextHopProto) GetVrfName() string
func (*NxL3NextHopProto) ProtoMessage ¶
func (*NxL3NextHopProto) ProtoMessage()
func (*NxL3NextHopProto) ProtoReflect ¶
func (x *NxL3NextHopProto) ProtoReflect() protoreflect.Message
func (*NxL3NextHopProto) Reset ¶
func (x *NxL3NextHopProto) Reset()
func (*NxL3NextHopProto) String ¶
func (x *NxL3NextHopProto) String() string
type NxL3RouteProto ¶
type NxL3RouteProto struct { // Vrf name of the l3 route VrfName string `protobuf:"bytes,1,opt,name=vrf_name,json=vrfName,proto3" json:"vrf_name,omitempty"` // l3 route prefix address Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Mask length for the l3 route MaskLen uint32 `protobuf:"varint,3,opt,name=mask_len,json=maskLen,proto3" json:"mask_len,omitempty"` // Number of next hops for the l3 route L3NextHopCount uint32 `protobuf:"varint,4,opt,name=l3_next_hop_count,json=l3NextHopCount,proto3" json:"l3_next_hop_count,omitempty"` // Event type EventType UribEventType `protobuf:"varint,5,opt,name=event_type,json=eventType,proto3,enum=UribEventType" json:"event_type,omitempty"` // Next hops NextHop []*NxL3NextHopProto `protobuf:"bytes,6,rep,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` // contains filtered or unexported fields }
L3 route
func (*NxL3RouteProto) Descriptor
deprecated
func (*NxL3RouteProto) Descriptor() ([]byte, []int)
Deprecated: Use NxL3RouteProto.ProtoReflect.Descriptor instead.
func (*NxL3RouteProto) GetAddress ¶
func (x *NxL3RouteProto) GetAddress() string
func (*NxL3RouteProto) GetEventType ¶
func (x *NxL3RouteProto) GetEventType() UribEventType
func (*NxL3RouteProto) GetL3NextHopCount ¶
func (x *NxL3RouteProto) GetL3NextHopCount() uint32
func (*NxL3RouteProto) GetMaskLen ¶
func (x *NxL3RouteProto) GetMaskLen() uint32
func (*NxL3RouteProto) GetNextHop ¶
func (x *NxL3RouteProto) GetNextHop() []*NxL3NextHopProto
func (*NxL3RouteProto) GetVrfName ¶
func (x *NxL3RouteProto) GetVrfName() string
func (*NxL3RouteProto) ProtoMessage ¶
func (*NxL3RouteProto) ProtoMessage()
func (*NxL3RouteProto) ProtoReflect ¶
func (x *NxL3RouteProto) ProtoReflect() protoreflect.Message
func (*NxL3RouteProto) Reset ¶
func (x *NxL3RouteProto) Reset()
func (*NxL3RouteProto) String ¶
func (x *NxL3RouteProto) String() string
type UribEventType ¶
type UribEventType int32
URIB event type
const ( UribEventType_URIB_EVENT_TYPE_NO_EVENT UribEventType = 0 UribEventType_URIB_EVENT_TYPE_ADD UribEventType = 1 UribEventType_URIB_EVENT_TYPE_DELETE UribEventType = 2 UribEventType_URIB_EVENT_TYPE_UPDATE UribEventType = 3 UribEventType_URIB_EVENT_TYPE_DOWNLOAD UribEventType = 4 UribEventType_URIB_EVENT_TYPE_DOWNLOAD_DONE UribEventType = 5 )
func (UribEventType) Descriptor ¶
func (UribEventType) Descriptor() protoreflect.EnumDescriptor
func (UribEventType) Enum ¶
func (x UribEventType) Enum() *UribEventType
func (UribEventType) EnumDescriptor
deprecated
func (UribEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UribEventType.Descriptor instead.
func (UribEventType) Number ¶
func (x UribEventType) Number() protoreflect.EnumNumber
func (UribEventType) String ¶
func (x UribEventType) String() string
func (UribEventType) Type ¶
func (UribEventType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.