stn

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package stn is a generated protocol buffer package.

It is generated from these files:

stn.proto

It has these top-level messages:

StnRule

Index

Constants

View Source
const StnRulesPrefix = "vpp/config/v1/stn/rules/"

StnRulesPrefix stn key/

Variables

This section is empty.

Functions

func Key

func Key(ruleName string) string

Key returns the prefix used in ETCD to store vpp STN config of a particular rule in selected vpp instance.

func KeyPrefix

func KeyPrefix() string

KeyPrefix returns the prefix used in ETCD to store vpp STN config

Types

type StnRule

type StnRule struct {
	IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
	Interface string `protobuf:"bytes,2,opt,name=interface" json:"interface,omitempty"`
	RuleName  string `protobuf:"bytes,3,opt,name=rule_name,json=ruleName" json:"rule_name,omitempty"`
}

func (*StnRule) Descriptor

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

func (*StnRule) GetInterface

func (m *StnRule) GetInterface() string

func (*StnRule) GetIpAddress

func (m *StnRule) GetIpAddress() string

func (*StnRule) GetRuleName

func (m *StnRule) GetRuleName() string

func (*StnRule) ProtoMessage

func (*StnRule) ProtoMessage()

func (*StnRule) Reset

func (m *StnRule) Reset()

func (*StnRule) String

func (m *StnRule) String() string

Jump to

Keyboard shortcuts

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