Documentation
¶
Overview ¶
Package stn is a generated protocol buffer package.
It is generated from these files:
stn.proto
It has these top-level messages:
STN
Index ¶
Constants ¶
View Source
const StnRulesPrefix = "vpp/config/v1/stn/rules/"
StnRulesPrefix stn key/
Variables ¶
This section is empty.
Functions ¶
func Key ¶
Key returns the prefix used in ETCD to store vpp STN config of a particular rule in selected vpp instance.
Types ¶
type STN ¶
type STN struct {
Rules []*STN_Rule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
}
type STN_Rule ¶
type STN_Rule struct {
RuleName string `protobuf:"bytes,3,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
IpAddress string `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
Interface string `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"`
}
Source Files
¶
- keys_agent_stn.go
- stn.pb.go
Click to show internal directories.
Click to hide internal directories.