Documentation ¶
Overview ¶
Package l3 is a generated protocol buffer package.
It is generated from these files:
l3.proto
It has these top-level messages:
StaticRoutes
Index ¶
Constants ¶
View Source
const ( // VrfPrefix is the relative key prefix for VRFs. VrfPrefix = "vpp/config/v1/vrf/" // RoutesPrefix is the relative key prefix for routes. RoutesPrefix = "vpp/config/v1/vrf/{vrf}/fib/" )
Prefixes
Variables ¶
This section is empty.
Functions ¶
func ParseRouteKey ¶
ParseRouteKey parses VRF label and route address from a route key.
func RouteKeyPrefix ¶
func RouteKeyPrefix() string
RouteKeyPrefix returns the prefix used in ETCD to store vpp routes for vpp instance
func VrfKeyPrefix ¶
func VrfKeyPrefix() string
VrfKeyPrefix returns the prefix used in ETCD to store VRFs for vpp instance
Types ¶
type StaticRoutes ¶
type StaticRoutes struct {
Route []*StaticRoutes_Route `protobuf:"bytes,1,rep,name=route" json:"route,omitempty"`
}
func (*StaticRoutes) GetRoute ¶
func (m *StaticRoutes) GetRoute() []*StaticRoutes_Route
func (*StaticRoutes) ProtoMessage ¶
func (*StaticRoutes) ProtoMessage()
func (*StaticRoutes) Reset ¶
func (m *StaticRoutes) Reset()
func (*StaticRoutes) String ¶
func (m *StaticRoutes) String() string
type StaticRoutes_Route ¶
type StaticRoutes_Route struct { VrfId uint32 `protobuf:"varint,1,opt,name=vrf_id,proto3" json:"vrf_id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` DstIpAddr string `protobuf:"bytes,3,opt,name=dst_ip_addr,proto3" json:"dst_ip_addr,omitempty"` NextHopAddr string `protobuf:"bytes,4,opt,name=next_hop_addr,proto3" json:"next_hop_addr,omitempty"` OutgoingInterface string `protobuf:"bytes,5,opt,name=outgoing_interface,proto3" json:"outgoing_interface,omitempty"` Weight uint32 `protobuf:"varint,6,opt,name=weight,proto3" json:"weight,omitempty"` Preference uint32 `protobuf:"varint,7,opt,name=preference,proto3" json:"preference,omitempty"` }
func (*StaticRoutes_Route) ProtoMessage ¶
func (*StaticRoutes_Route) ProtoMessage()
func (*StaticRoutes_Route) Reset ¶
func (m *StaticRoutes_Route) Reset()
func (*StaticRoutes_Route) String ¶
func (m *StaticRoutes_Route) String() string
Click to show internal directories.
Click to hide internal directories.