l4

package
v1.9.0-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Prefix is common relative key for VPP L4 plugin.
	Prefix = "vpp/config/v1/l4/"

	// L4FeaturesPrefix is the relative key prefix for VPP L4 features.
	FeaturesPrefix = Prefix + "features/"

	// L4NamespacesPrefix is the relative key prefix for VPP L4 application namespaces.
	NamespacesPrefix = Prefix + "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 FeatureKey

func FeatureKey() string

FeatureKey returns the key used in ETCD to store L4Feature flag

Types

type AppNamespaces

type AppNamespaces struct {
	AppNamespaces        []*AppNamespaces_AppNamespace `protobuf:"bytes,100,rep,name=app_namespaces,json=appNamespaces" json:"app_namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

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

func (*AppNamespaces) XXX_DiscardUnknown added in v1.8.1

func (m *AppNamespaces) XXX_DiscardUnknown()

func (*AppNamespaces) XXX_Marshal added in v1.8.1

func (m *AppNamespaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppNamespaces) XXX_Merge added in v1.8.1

func (dst *AppNamespaces) XXX_Merge(src proto.Message)

func (*AppNamespaces) XXX_Size added in v1.8.1

func (m *AppNamespaces) XXX_Size() int

func (*AppNamespaces) XXX_Unmarshal added in v1.8.1

func (m *AppNamespaces) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*AppNamespaces_AppNamespace) XXX_DiscardUnknown added in v1.8.1

func (m *AppNamespaces_AppNamespace) XXX_DiscardUnknown()

func (*AppNamespaces_AppNamespace) XXX_Marshal added in v1.8.1

func (m *AppNamespaces_AppNamespace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppNamespaces_AppNamespace) XXX_Merge added in v1.8.1

func (dst *AppNamespaces_AppNamespace) XXX_Merge(src proto.Message)

func (*AppNamespaces_AppNamespace) XXX_Size added in v1.8.1

func (m *AppNamespaces_AppNamespace) XXX_Size() int

func (*AppNamespaces_AppNamespace) XXX_Unmarshal added in v1.8.1

func (m *AppNamespaces_AppNamespace) XXX_Unmarshal(b []byte) error

type L4Features

type L4Features struct {
	Enabled              bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*L4Features) XXX_DiscardUnknown added in v1.8.1

func (m *L4Features) XXX_DiscardUnknown()

func (*L4Features) XXX_Marshal added in v1.8.1

func (m *L4Features) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*L4Features) XXX_Merge added in v1.8.1

func (dst *L4Features) XXX_Merge(src proto.Message)

func (*L4Features) XXX_Size added in v1.8.1

func (m *L4Features) XXX_Size() int

func (*L4Features) XXX_Unmarshal added in v1.8.1

func (m *L4Features) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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