Documentation ¶
Overview ¶
Package l4 is a generated protocol buffer package.
It is generated from these files:
l4.proto
It has these top-level messages:
L4Features AppNamespaces
Index ¶
Constants ¶
View Source
const ( // L4Prefix is the relative key prefix for VPP L4 plugin. L4Prefix = "vpp/config/v1/l4/" // L4FeaturesPrefix is the relative key prefix for VPP L4 features. L4FeaturesPrefix = L4Prefix + "features/" // L4NamespacesPrefix is the relative key prefix for VPP L4 application namespaces. L4NamespacesPrefix = L4Prefix + "namespaces/" )
Prefixes
Variables ¶
This section is empty.
Functions ¶
func AppNamespacesKey ¶ added in v1.0.8
AppNamespacesKey returns the key used in ETCD to store namespaces
func AppNamespacesKeyPrefix ¶ added in v1.0.8
func AppNamespacesKeyPrefix() string
AppNamespacesKeyPrefix returns the prefix used in ETCD to store l4 namespaces
func FeatureKey ¶ added in v1.0.8
func FeatureKey() string
FeatureKey returns the key used in ETCD to store L4Feature flag
func FeatureKeyPrefix ¶ added in v1.0.8
func FeatureKeyPrefix() string
FeatureKeyPrefix returns the prefix used in ETCD to store l4 features value
Types ¶
type AppNamespaces ¶ added in v1.0.8
type AppNamespaces struct {
AppNamespaces []*AppNamespaces_AppNamespace `protobuf:"bytes,100,rep,name=app_namespaces" json:"app_namespaces,omitempty"`
}
Application namespaces
func (*AppNamespaces) GetAppNamespaces ¶ added in v1.0.8
func (m *AppNamespaces) GetAppNamespaces() []*AppNamespaces_AppNamespace
func (*AppNamespaces) ProtoMessage ¶ added in v1.0.8
func (*AppNamespaces) ProtoMessage()
func (*AppNamespaces) Reset ¶ added in v1.0.8
func (m *AppNamespaces) Reset()
func (*AppNamespaces) String ¶ added in v1.0.8
func (m *AppNamespaces) String() string
type AppNamespaces_AppNamespace ¶ added in v1.0.8
type AppNamespaces_AppNamespace struct { NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,proto3" json:"namespace_id,omitempty"` Secret uint64 `protobuf:"varint,2,opt,name=secret,proto3" json:"secret,omitempty"` Interface string `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"` Ipv4FibId uint32 `protobuf:"varint,4,opt,name=ipv4_fib_id,proto3" json:"ipv4_fib_id,omitempty"` Ipv6FibId uint32 `protobuf:"varint,6,opt,name=ipv6_fib_id,proto3" json:"ipv6_fib_id,omitempty"` }
func (*AppNamespaces_AppNamespace) ProtoMessage ¶ added in v1.0.8
func (*AppNamespaces_AppNamespace) ProtoMessage()
func (*AppNamespaces_AppNamespace) Reset ¶ added in v1.0.8
func (m *AppNamespaces_AppNamespace) Reset()
func (*AppNamespaces_AppNamespace) String ¶ added in v1.0.8
func (m *AppNamespaces_AppNamespace) String() string
type L4Features ¶ added in v1.0.8
type L4Features struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
Layer 4 VPP features settings
func (*L4Features) ProtoMessage ¶ added in v1.0.8
func (*L4Features) ProtoMessage()
func (*L4Features) Reset ¶ added in v1.0.8
func (m *L4Features) Reset()
func (*L4Features) String ¶ added in v1.0.8
func (m *L4Features) String() string
Click to show internal directories.
Click to hide internal directories.