l4

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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

func AppNamespacesKey(namespaceID string) string

AppNamespacesKey returns the key used in ETCD to store namespaces

func AppNamespacesKeyPrefix

func AppNamespacesKeyPrefix() string

AppNamespacesKeyPrefix returns the prefix used in ETCD to store l4 namespaces

func FeatureKey

func FeatureKey() string

FeatureKey returns the key used in ETCD to store L4Feature flag

func FeatureKeyPrefix

func FeatureKeyPrefix() string

FeatureKeyPrefix returns the prefix used in ETCD to store l4 features value

Types

type AppNamespaces

type AppNamespaces struct {
	AppNamespaces []*AppNamespaces_AppNamespace `protobuf:"bytes,100,rep,name=app_namespaces,json=appNamespaces" json:"app_namespaces,omitempty"`
}

Application namespaces

func (*AppNamespaces) Descriptor

func (*AppNamespaces) Descriptor() ([]byte, []int)

func (*AppNamespaces) GetAppNamespaces

func (m *AppNamespaces) GetAppNamespaces() []*AppNamespaces_AppNamespace

func (*AppNamespaces) ProtoMessage

func (*AppNamespaces) ProtoMessage()

func (*AppNamespaces) Reset

func (m *AppNamespaces) Reset()

func (*AppNamespaces) String

func (m *AppNamespaces) String() string

type AppNamespaces_AppNamespace

type AppNamespaces_AppNamespace struct {
	NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,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,json=ipv4FibId,proto3" json:"ipv4_fib_id,omitempty"`
	Ipv6FibId   uint32 `protobuf:"varint,6,opt,name=ipv6_fib_id,json=ipv6FibId,proto3" json:"ipv6_fib_id,omitempty"`
}

func (*AppNamespaces_AppNamespace) Descriptor

func (*AppNamespaces_AppNamespace) Descriptor() ([]byte, []int)

func (*AppNamespaces_AppNamespace) GetInterface

func (m *AppNamespaces_AppNamespace) GetInterface() string

func (*AppNamespaces_AppNamespace) GetIpv4FibId

func (m *AppNamespaces_AppNamespace) GetIpv4FibId() uint32

func (*AppNamespaces_AppNamespace) GetIpv6FibId

func (m *AppNamespaces_AppNamespace) GetIpv6FibId() uint32

func (*AppNamespaces_AppNamespace) GetNamespaceId

func (m *AppNamespaces_AppNamespace) GetNamespaceId() string

func (*AppNamespaces_AppNamespace) GetSecret

func (m *AppNamespaces_AppNamespace) GetSecret() uint64

func (*AppNamespaces_AppNamespace) ProtoMessage

func (*AppNamespaces_AppNamespace) ProtoMessage()

func (*AppNamespaces_AppNamespace) Reset

func (m *AppNamespaces_AppNamespace) Reset()

func (*AppNamespaces_AppNamespace) String

func (m *AppNamespaces_AppNamespace) String() string

type L4Features

type L4Features struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

Layer 4 VPP features settings

func (*L4Features) Descriptor

func (*L4Features) Descriptor() ([]byte, []int)

func (*L4Features) GetEnabled

func (m *L4Features) GetEnabled() bool

func (*L4Features) ProtoMessage

func (*L4Features) ProtoMessage()

func (*L4Features) Reset

func (m *L4Features) Reset()

func (*L4Features) String

func (m *L4Features) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL