Documentation ¶
Index ¶
- Variables
- type EncapType
- type NhType
- type NxL3NextHopProto
- func (*NxL3NextHopProto) Descriptor() ([]byte, []int)
- func (m *NxL3NextHopProto) GetAddress() string
- func (m *NxL3NextHopProto) GetEncapType() EncapType
- func (m *NxL3NextHopProto) GetMetric() uint32
- func (m *NxL3NextHopProto) GetNhTypeFlags() uint32
- func (m *NxL3NextHopProto) GetOutInterface() string
- func (m *NxL3NextHopProto) GetOwner() string
- func (m *NxL3NextHopProto) GetPreference() uint32
- func (m *NxL3NextHopProto) GetSegmentId() uint32
- func (m *NxL3NextHopProto) GetTag() uint32
- func (m *NxL3NextHopProto) GetTunnelId() uint32
- func (m *NxL3NextHopProto) GetVrfName() string
- func (*NxL3NextHopProto) ProtoMessage()
- func (m *NxL3NextHopProto) Reset()
- func (m *NxL3NextHopProto) String() string
- func (m *NxL3NextHopProto) XXX_DiscardUnknown()
- func (m *NxL3NextHopProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NxL3NextHopProto) XXX_Merge(src proto.Message)
- func (m *NxL3NextHopProto) XXX_Size() int
- func (m *NxL3NextHopProto) XXX_Unmarshal(b []byte) error
- type NxL3RouteProto
- func (*NxL3RouteProto) Descriptor() ([]byte, []int)
- func (m *NxL3RouteProto) GetAddress() string
- func (m *NxL3RouteProto) GetEventType() UribEventType
- func (m *NxL3RouteProto) GetL3NextHopCount() uint32
- func (m *NxL3RouteProto) GetMaskLen() uint32
- func (m *NxL3RouteProto) GetNextHop() []*NxL3NextHopProto
- func (m *NxL3RouteProto) GetVrfName() string
- func (*NxL3RouteProto) ProtoMessage()
- func (m *NxL3RouteProto) Reset()
- func (m *NxL3RouteProto) String() string
- func (m *NxL3RouteProto) XXX_DiscardUnknown()
- func (m *NxL3RouteProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NxL3RouteProto) XXX_Merge(src proto.Message)
- func (m *NxL3RouteProto) XXX_Size() int
- func (m *NxL3RouteProto) XXX_Unmarshal(b []byte) error
- type UribEventType
Constants ¶
This section is empty.
Variables ¶
View Source
var EncapType_name = map[int32]string{
0: "ENCAP_TYPE_NONE",
1: "ENCAP_TYPE_VXLAN",
}
View Source
var EncapType_value = map[string]int32{
"ENCAP_TYPE_NONE": 0,
"ENCAP_TYPE_VXLAN": 1,
}
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",
}
View Source
var 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,
}
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",
}
View Source
var 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,
}
Functions ¶
This section is empty.
Types ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Next hop
func (*NxL3NextHopProto) Descriptor ¶
func (*NxL3NextHopProto) Descriptor() ([]byte, []int)
func (*NxL3NextHopProto) GetAddress ¶
func (m *NxL3NextHopProto) GetAddress() string
func (*NxL3NextHopProto) GetEncapType ¶
func (m *NxL3NextHopProto) GetEncapType() EncapType
func (*NxL3NextHopProto) GetMetric ¶
func (m *NxL3NextHopProto) GetMetric() uint32
func (*NxL3NextHopProto) GetNhTypeFlags ¶
func (m *NxL3NextHopProto) GetNhTypeFlags() uint32
func (*NxL3NextHopProto) GetOutInterface ¶
func (m *NxL3NextHopProto) GetOutInterface() string
func (*NxL3NextHopProto) GetOwner ¶
func (m *NxL3NextHopProto) GetOwner() string
func (*NxL3NextHopProto) GetPreference ¶
func (m *NxL3NextHopProto) GetPreference() uint32
func (*NxL3NextHopProto) GetSegmentId ¶
func (m *NxL3NextHopProto) GetSegmentId() uint32
func (*NxL3NextHopProto) GetTag ¶
func (m *NxL3NextHopProto) GetTag() uint32
func (*NxL3NextHopProto) GetTunnelId ¶
func (m *NxL3NextHopProto) GetTunnelId() uint32
func (*NxL3NextHopProto) GetVrfName ¶
func (m *NxL3NextHopProto) GetVrfName() string
func (*NxL3NextHopProto) ProtoMessage ¶
func (*NxL3NextHopProto) ProtoMessage()
func (*NxL3NextHopProto) Reset ¶
func (m *NxL3NextHopProto) Reset()
func (*NxL3NextHopProto) String ¶
func (m *NxL3NextHopProto) String() string
func (*NxL3NextHopProto) XXX_DiscardUnknown ¶
func (m *NxL3NextHopProto) XXX_DiscardUnknown()
func (*NxL3NextHopProto) XXX_Marshal ¶
func (m *NxL3NextHopProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NxL3NextHopProto) XXX_Merge ¶
func (m *NxL3NextHopProto) XXX_Merge(src proto.Message)
func (*NxL3NextHopProto) XXX_Size ¶
func (m *NxL3NextHopProto) XXX_Size() int
func (*NxL3NextHopProto) XXX_Unmarshal ¶
func (m *NxL3NextHopProto) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
L3 route
func (*NxL3RouteProto) Descriptor ¶
func (*NxL3RouteProto) Descriptor() ([]byte, []int)
func (*NxL3RouteProto) GetAddress ¶
func (m *NxL3RouteProto) GetAddress() string
func (*NxL3RouteProto) GetEventType ¶
func (m *NxL3RouteProto) GetEventType() UribEventType
func (*NxL3RouteProto) GetL3NextHopCount ¶
func (m *NxL3RouteProto) GetL3NextHopCount() uint32
func (*NxL3RouteProto) GetMaskLen ¶
func (m *NxL3RouteProto) GetMaskLen() uint32
func (*NxL3RouteProto) GetNextHop ¶
func (m *NxL3RouteProto) GetNextHop() []*NxL3NextHopProto
func (*NxL3RouteProto) GetVrfName ¶
func (m *NxL3RouteProto) GetVrfName() string
func (*NxL3RouteProto) ProtoMessage ¶
func (*NxL3RouteProto) ProtoMessage()
func (*NxL3RouteProto) Reset ¶
func (m *NxL3RouteProto) Reset()
func (*NxL3RouteProto) String ¶
func (m *NxL3RouteProto) String() string
func (*NxL3RouteProto) XXX_DiscardUnknown ¶
func (m *NxL3RouteProto) XXX_DiscardUnknown()
func (*NxL3RouteProto) XXX_Marshal ¶
func (m *NxL3RouteProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NxL3RouteProto) XXX_Merge ¶
func (m *NxL3RouteProto) XXX_Merge(src proto.Message)
func (*NxL3RouteProto) XXX_Size ¶
func (m *NxL3RouteProto) XXX_Size() int
func (*NxL3RouteProto) XXX_Unmarshal ¶
func (m *NxL3RouteProto) XXX_Unmarshal(b []byte) error
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) EnumDescriptor ¶
func (UribEventType) EnumDescriptor() ([]byte, []int)
func (UribEventType) String ¶
func (x UribEventType) String() string
Click to show internal directories.
Click to hide internal directories.