Documentation ¶
Index ¶
- Constants
- Variables
- func Key(index uint32) string
- func ParseToInterfaceKey(key string) (abx, iface string, isABXToInterface bool)
- func ToInterfaceKey(abx uint32, iface string) string
- type ABX
- func (*ABX) Descriptor() ([]byte, []int)deprecated
- func (x *ABX) GetAclName() string
- func (x *ABX) GetAttachedInterfaces() []*ABX_AttachedInterface
- func (x *ABX) GetDstMac() string
- func (x *ABX) GetIndex() uint32
- func (x *ABX) GetOutputInterface() string
- func (*ABX) ProtoMessage()
- func (x *ABX) ProtoReflect() protoreflect.Message
- func (x *ABX) Reset()
- func (x *ABX) String() string
- type ABX_AttachedInterface
- func (*ABX_AttachedInterface) Descriptor() ([]byte, []int)deprecated
- func (x *ABX_AttachedInterface) GetInputInterface() string
- func (x *ABX_AttachedInterface) GetPriority() uint32
- func (*ABX_AttachedInterface) ProtoMessage()
- func (x *ABX_AttachedInterface) ProtoReflect() protoreflect.Message
- func (x *ABX_AttachedInterface) Reset()
- func (x *ABX_AttachedInterface) String() string
Constants ¶
View Source
const (
// InvalidKeyPart is used in key for parts which are invalid
InvalidKeyPart = "<invalid>"
)
View Source
const ModuleName = "vpp.abx"
ModuleName is the name of the module used for models.
Variables ¶
View Source
var File_abx_abx_proto protoreflect.FileDescriptor
View Source
var ModelABX models.KnownModel
Functions ¶
func Key ¶
Key returns the prefix used in the ETCD to store VPP ACL-based forwarding config of a particular ABX in selected vpp instance.
func ParseToInterfaceKey ¶
ParseABXToInterfaceKey parses ABX-to-interface key
func ToInterfaceKey ¶
ToABXInterfaceKey returns key for ABX-to-interface
Types ¶
type ABX ¶
type ABX struct { // ABX index (unique identifier) Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // Name of the associated access list AclName string `protobuf:"bytes,2,opt,name=acl_name,json=aclName,proto3" json:"acl_name,omitempty"` // Name of outgoing interface OutputInterface string `protobuf:"bytes,3,opt,name=output_interface,json=outputInterface,proto3" json:"output_interface,omitempty"` // Rewrite destination mac address DstMac string `protobuf:"bytes,4,opt,name=dst_mac,json=dstMac,proto3" json:"dst_mac,omitempty"` AttachedInterfaces []*ABX_AttachedInterface `protobuf:"bytes,5,rep,name=attached_interfaces,json=attachedInterfaces,proto3" json:"attached_interfaces,omitempty"` // contains filtered or unexported fields }
ACL based xconnect
func (*ABX) Descriptor
deprecated
func (*ABX) GetAclName ¶
func (*ABX) GetAttachedInterfaces ¶
func (x *ABX) GetAttachedInterfaces() []*ABX_AttachedInterface
func (*ABX) GetOutputInterface ¶
func (*ABX) ProtoMessage ¶
func (*ABX) ProtoMessage()
func (*ABX) ProtoReflect ¶
func (x *ABX) ProtoReflect() protoreflect.Message
type ABX_AttachedInterface ¶
type ABX_AttachedInterface struct { InputInterface string `protobuf:"bytes,1,opt,name=input_interface,json=inputInterface,proto3" json:"input_interface,omitempty"` Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"` // contains filtered or unexported fields }
List of interfaces attached to the ABX
func (*ABX_AttachedInterface) Descriptor
deprecated
func (*ABX_AttachedInterface) Descriptor() ([]byte, []int)
Deprecated: Use ABX_AttachedInterface.ProtoReflect.Descriptor instead.
func (*ABX_AttachedInterface) GetInputInterface ¶
func (x *ABX_AttachedInterface) GetInputInterface() string
func (*ABX_AttachedInterface) GetPriority ¶
func (x *ABX_AttachedInterface) GetPriority() uint32
func (*ABX_AttachedInterface) ProtoMessage ¶
func (*ABX_AttachedInterface) ProtoMessage()
func (*ABX_AttachedInterface) ProtoReflect ¶
func (x *ABX_AttachedInterface) ProtoReflect() protoreflect.Message
func (*ABX_AttachedInterface) Reset ¶
func (x *ABX_AttachedInterface) Reset()
func (*ABX_AttachedInterface) String ¶
func (x *ABX_AttachedInterface) String() string
Click to show internal directories.
Click to hide internal directories.