Documentation ¶
Index ¶
- Constants
- Variables
- func Key(aclName string) string
- func ParseACLToInterfaceKey(key string) (acl, iface, flow string, isACLToInterface bool)
- func ParseNameFromKey(key string) (name string, err error)
- func ToInterfaceKey(acl, iface, flow string) string
- type Acl
- func (*Acl) Descriptor() ([]byte, []int)
- func (m *Acl) GetInterfaces() *Acl_Interfaces
- func (m *Acl) GetName() string
- func (m *Acl) GetRules() []*Acl_Rule
- func (*Acl) ProtoMessage()
- func (m *Acl) Reset()
- func (m *Acl) String() string
- func (m *Acl) XXX_DiscardUnknown()
- func (m *Acl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl) XXX_Merge(src proto.Message)
- func (m *Acl) XXX_Size() int
- func (m *Acl) XXX_Unmarshal(b []byte) error
- type Acl_Interfaces
- func (*Acl_Interfaces) Descriptor() ([]byte, []int)
- func (m *Acl_Interfaces) GetEgress() []string
- func (m *Acl_Interfaces) GetIngress() []string
- func (*Acl_Interfaces) ProtoMessage()
- func (m *Acl_Interfaces) Reset()
- func (m *Acl_Interfaces) String() string
- func (m *Acl_Interfaces) XXX_DiscardUnknown()
- func (m *Acl_Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Interfaces) XXX_Merge(src proto.Message)
- func (m *Acl_Interfaces) XXX_Size() int
- func (m *Acl_Interfaces) XXX_Unmarshal(b []byte) error
- type Acl_Rule
- func (*Acl_Rule) Descriptor() ([]byte, []int)
- func (m *Acl_Rule) GetAction() Acl_Rule_Action
- func (m *Acl_Rule) GetIpRule() *Acl_Rule_IpRule
- func (m *Acl_Rule) GetMacipRule() *Acl_Rule_MacIpRule
- func (*Acl_Rule) ProtoMessage()
- func (m *Acl_Rule) Reset()
- func (m *Acl_Rule) String() string
- func (m *Acl_Rule) XXX_DiscardUnknown()
- func (m *Acl_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule) XXX_Merge(src proto.Message)
- func (m *Acl_Rule) XXX_Size() int
- func (m *Acl_Rule) XXX_Unmarshal(b []byte) error
- type Acl_Rule_Action
- type Acl_Rule_IpRule
- func (*Acl_Rule_IpRule) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule) GetIcmp() *Acl_Rule_IpRule_Icmp
- func (m *Acl_Rule_IpRule) GetIp() *Acl_Rule_IpRule_Ip
- func (m *Acl_Rule_IpRule) GetTcp() *Acl_Rule_IpRule_Tcp
- func (m *Acl_Rule_IpRule) GetUdp() *Acl_Rule_IpRule_Udp
- func (*Acl_Rule_IpRule) ProtoMessage()
- func (m *Acl_Rule_IpRule) Reset()
- func (m *Acl_Rule_IpRule) String() string
- func (m *Acl_Rule_IpRule) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule) XXX_Size() int
- func (m *Acl_Rule_IpRule) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_Icmp
- func (*Acl_Rule_IpRule_Icmp) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_Icmp) GetIcmpCodeRange() *Acl_Rule_IpRule_Icmp_Range
- func (m *Acl_Rule_IpRule_Icmp) GetIcmpTypeRange() *Acl_Rule_IpRule_Icmp_Range
- func (m *Acl_Rule_IpRule_Icmp) GetIcmpv6() bool
- func (*Acl_Rule_IpRule_Icmp) ProtoMessage()
- func (m *Acl_Rule_IpRule_Icmp) Reset()
- func (m *Acl_Rule_IpRule_Icmp) String() string
- func (m *Acl_Rule_IpRule_Icmp) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_Icmp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_Icmp) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_Icmp) XXX_Size() int
- func (m *Acl_Rule_IpRule_Icmp) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_Icmp_Range
- func (*Acl_Rule_IpRule_Icmp_Range) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_Icmp_Range) GetFirst() uint32
- func (m *Acl_Rule_IpRule_Icmp_Range) GetLast() uint32
- func (*Acl_Rule_IpRule_Icmp_Range) ProtoMessage()
- func (m *Acl_Rule_IpRule_Icmp_Range) Reset()
- func (m *Acl_Rule_IpRule_Icmp_Range) String() string
- func (m *Acl_Rule_IpRule_Icmp_Range) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_Icmp_Range) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Size() int
- func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_Ip
- func (*Acl_Rule_IpRule_Ip) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_Ip) GetDestinationNetwork() string
- func (m *Acl_Rule_IpRule_Ip) GetSourceNetwork() string
- func (*Acl_Rule_IpRule_Ip) ProtoMessage()
- func (m *Acl_Rule_IpRule_Ip) Reset()
- func (m *Acl_Rule_IpRule_Ip) String() string
- func (m *Acl_Rule_IpRule_Ip) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_Ip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_Ip) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_Ip) XXX_Size() int
- func (m *Acl_Rule_IpRule_Ip) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_PortRange
- func (*Acl_Rule_IpRule_PortRange) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_PortRange) GetLowerPort() uint32
- func (m *Acl_Rule_IpRule_PortRange) GetUpperPort() uint32
- func (*Acl_Rule_IpRule_PortRange) ProtoMessage()
- func (m *Acl_Rule_IpRule_PortRange) Reset()
- func (m *Acl_Rule_IpRule_PortRange) String() string
- func (m *Acl_Rule_IpRule_PortRange) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_PortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_PortRange) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_PortRange) XXX_Size() int
- func (m *Acl_Rule_IpRule_PortRange) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_Tcp
- func (*Acl_Rule_IpRule_Tcp) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_Tcp) GetDestinationPortRange() *Acl_Rule_IpRule_PortRange
- func (m *Acl_Rule_IpRule_Tcp) GetSourcePortRange() *Acl_Rule_IpRule_PortRange
- func (m *Acl_Rule_IpRule_Tcp) GetTcpFlagsMask() uint32
- func (m *Acl_Rule_IpRule_Tcp) GetTcpFlagsValue() uint32
- func (*Acl_Rule_IpRule_Tcp) ProtoMessage()
- func (m *Acl_Rule_IpRule_Tcp) Reset()
- func (m *Acl_Rule_IpRule_Tcp) String() string
- func (m *Acl_Rule_IpRule_Tcp) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_Tcp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_Tcp) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_Tcp) XXX_Size() int
- func (m *Acl_Rule_IpRule_Tcp) XXX_Unmarshal(b []byte) error
- type Acl_Rule_IpRule_Udp
- func (*Acl_Rule_IpRule_Udp) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_IpRule_Udp) GetDestinationPortRange() *Acl_Rule_IpRule_PortRange
- func (m *Acl_Rule_IpRule_Udp) GetSourcePortRange() *Acl_Rule_IpRule_PortRange
- func (*Acl_Rule_IpRule_Udp) ProtoMessage()
- func (m *Acl_Rule_IpRule_Udp) Reset()
- func (m *Acl_Rule_IpRule_Udp) String() string
- func (m *Acl_Rule_IpRule_Udp) XXX_DiscardUnknown()
- func (m *Acl_Rule_IpRule_Udp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_IpRule_Udp) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_IpRule_Udp) XXX_Size() int
- func (m *Acl_Rule_IpRule_Udp) XXX_Unmarshal(b []byte) error
- type Acl_Rule_MacIpRule
- func (*Acl_Rule_MacIpRule) Descriptor() ([]byte, []int)
- func (m *Acl_Rule_MacIpRule) GetSourceAddress() string
- func (m *Acl_Rule_MacIpRule) GetSourceAddressPrefix() uint32
- func (m *Acl_Rule_MacIpRule) GetSourceMacAddress() string
- func (m *Acl_Rule_MacIpRule) GetSourceMacAddressMask() string
- func (*Acl_Rule_MacIpRule) ProtoMessage()
- func (m *Acl_Rule_MacIpRule) Reset()
- func (m *Acl_Rule_MacIpRule) String() string
- func (m *Acl_Rule_MacIpRule) XXX_DiscardUnknown()
- func (m *Acl_Rule_MacIpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Acl_Rule_MacIpRule) XXX_Merge(src proto.Message)
- func (m *Acl_Rule_MacIpRule) XXX_Size() int
- func (m *Acl_Rule_MacIpRule) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // Prefix is ACL key prefix Prefix = "vpp/config/v2/acl/" // IngressFlow represents ingress packet flow IngressFlow = "ingress" // EgressFlow represents egress packet flow EgressFlow = "egress" )
Variables ¶
var Acl_Rule_Action_name = map[int32]string{
0: "DENY",
1: "PERMIT",
2: "REFLECT",
}
var Acl_Rule_Action_value = map[string]int32{
"DENY": 0,
"PERMIT": 1,
"REFLECT": 2,
}
Functions ¶
func Key ¶
Key returns the prefix used in ETCD to store vpp ACL config of a particular ACL in selected vpp instance.
func ParseACLToInterfaceKey ¶
ParseACLToInterfaceKey parses ACL to interface key
func ParseNameFromKey ¶
ParseNameFromKey returns suffix of the key.
func ToInterfaceKey ¶
ToInterfaceKey returns key for ACL to interface
Types ¶
type Acl ¶
type Acl struct { // The name of access list. A device MAY restrict the length // and value of this name, possibly spaces and special // characters are not allowed. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Rules []*Acl_Rule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"` Interfaces *Acl_Interfaces `protobuf:"bytes,3,opt,name=interfaces" json:"interfaces,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An Access Control List (ACL) is an ordered list of Access List Rules.
func (*Acl) Descriptor ¶
func (*Acl) GetInterfaces ¶
func (m *Acl) GetInterfaces() *Acl_Interfaces
func (*Acl) ProtoMessage ¶
func (*Acl) ProtoMessage()
func (*Acl) XXX_DiscardUnknown ¶
func (m *Acl) XXX_DiscardUnknown()
func (*Acl) XXX_Unmarshal ¶
type Acl_Interfaces ¶
type Acl_Interfaces struct { Egress []string `protobuf:"bytes,1,rep,name=egress" json:"egress,omitempty"` Ingress []string `protobuf:"bytes,2,rep,name=ingress" json:"ingress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The set of interfaces that has assigned this ACL on ingres or egress.
func (*Acl_Interfaces) Descriptor ¶
func (*Acl_Interfaces) Descriptor() ([]byte, []int)
func (*Acl_Interfaces) GetEgress ¶
func (m *Acl_Interfaces) GetEgress() []string
func (*Acl_Interfaces) GetIngress ¶
func (m *Acl_Interfaces) GetIngress() []string
func (*Acl_Interfaces) ProtoMessage ¶
func (*Acl_Interfaces) ProtoMessage()
func (*Acl_Interfaces) Reset ¶
func (m *Acl_Interfaces) Reset()
func (*Acl_Interfaces) String ¶
func (m *Acl_Interfaces) String() string
func (*Acl_Interfaces) XXX_DiscardUnknown ¶
func (m *Acl_Interfaces) XXX_DiscardUnknown()
func (*Acl_Interfaces) XXX_Marshal ¶
func (m *Acl_Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Interfaces) XXX_Merge ¶
func (dst *Acl_Interfaces) XXX_Merge(src proto.Message)
func (*Acl_Interfaces) XXX_Size ¶
func (m *Acl_Interfaces) XXX_Size() int
func (*Acl_Interfaces) XXX_Unmarshal ¶
func (m *Acl_Interfaces) XXX_Unmarshal(b []byte) error
type Acl_Rule ¶
type Acl_Rule struct { Action Acl_Rule_Action `protobuf:"varint,1,opt,name=action,proto3,enum=acl.Acl_Rule_Action" json:"action,omitempty"` IpRule *Acl_Rule_IpRule `protobuf:"bytes,2,opt,name=ip_rule,json=ipRule" json:"ip_rule,omitempty"` MacipRule *Acl_Rule_MacIpRule `protobuf:"bytes,3,opt,name=macip_rule,json=macipRule" json:"macip_rule,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
List of access list entries (Rules). Each Access Control Rule has a list of match criteria and a list of actions. Access List entry that can define: - IPv4/IPv6 src ip prefix - src MAC address mask - src MAC address value - can be used only for static ACLs.
func (*Acl_Rule) Descriptor ¶
func (*Acl_Rule) GetAction ¶
func (m *Acl_Rule) GetAction() Acl_Rule_Action
func (*Acl_Rule) GetIpRule ¶
func (m *Acl_Rule) GetIpRule() *Acl_Rule_IpRule
func (*Acl_Rule) GetMacipRule ¶
func (m *Acl_Rule) GetMacipRule() *Acl_Rule_MacIpRule
func (*Acl_Rule) ProtoMessage ¶
func (*Acl_Rule) ProtoMessage()
func (*Acl_Rule) XXX_DiscardUnknown ¶
func (m *Acl_Rule) XXX_DiscardUnknown()
func (*Acl_Rule) XXX_Marshal ¶
func (*Acl_Rule) XXX_Unmarshal ¶
type Acl_Rule_Action ¶
type Acl_Rule_Action int32
Action for this Access List Rule
const ( Acl_Rule_DENY Acl_Rule_Action = 0 Acl_Rule_PERMIT Acl_Rule_Action = 1 Acl_Rule_REFLECT Acl_Rule_Action = 2 )
func (Acl_Rule_Action) EnumDescriptor ¶
func (Acl_Rule_Action) EnumDescriptor() ([]byte, []int)
func (Acl_Rule_Action) String ¶
func (x Acl_Rule_Action) String() string
type Acl_Rule_IpRule ¶
type Acl_Rule_IpRule struct { Ip *Acl_Rule_IpRule_Ip `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"` Icmp *Acl_Rule_IpRule_Icmp `protobuf:"bytes,2,opt,name=icmp" json:"icmp,omitempty"` Tcp *Acl_Rule_IpRule_Tcp `protobuf:"bytes,3,opt,name=tcp" json:"tcp,omitempty"` Udp *Acl_Rule_IpRule_Udp `protobuf:"bytes,4,opt,name=udp" json:"udp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_IpRule) Descriptor ¶
func (*Acl_Rule_IpRule) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule) GetIcmp ¶
func (m *Acl_Rule_IpRule) GetIcmp() *Acl_Rule_IpRule_Icmp
func (*Acl_Rule_IpRule) GetIp ¶
func (m *Acl_Rule_IpRule) GetIp() *Acl_Rule_IpRule_Ip
func (*Acl_Rule_IpRule) GetTcp ¶
func (m *Acl_Rule_IpRule) GetTcp() *Acl_Rule_IpRule_Tcp
func (*Acl_Rule_IpRule) GetUdp ¶
func (m *Acl_Rule_IpRule) GetUdp() *Acl_Rule_IpRule_Udp
func (*Acl_Rule_IpRule) ProtoMessage ¶
func (*Acl_Rule_IpRule) ProtoMessage()
func (*Acl_Rule_IpRule) Reset ¶
func (m *Acl_Rule_IpRule) Reset()
func (*Acl_Rule_IpRule) String ¶
func (m *Acl_Rule_IpRule) String() string
func (*Acl_Rule_IpRule) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule) XXX_Marshal ¶
func (m *Acl_Rule_IpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule) XXX_Merge ¶
func (dst *Acl_Rule_IpRule) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule) XXX_Size ¶
func (m *Acl_Rule_IpRule) XXX_Size() int
func (*Acl_Rule_IpRule) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_Icmp ¶
type Acl_Rule_IpRule_Icmp struct { // ICMPv6 flag, if false ICMPv4 will be used Icmpv6 bool `protobuf:"varint,1,opt,name=icmpv6,proto3" json:"icmpv6,omitempty"` // Inclusive range representing icmp codes to be used. IcmpCodeRange *Acl_Rule_IpRule_Icmp_Range `protobuf:"bytes,2,opt,name=icmp_code_range,json=icmpCodeRange" json:"icmp_code_range,omitempty"` IcmpTypeRange *Acl_Rule_IpRule_Icmp_Range `protobuf:"bytes,3,opt,name=icmp_type_range,json=icmpTypeRange" json:"icmp_type_range,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_IpRule_Icmp) Descriptor ¶
func (*Acl_Rule_IpRule_Icmp) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_Icmp) GetIcmpCodeRange ¶
func (m *Acl_Rule_IpRule_Icmp) GetIcmpCodeRange() *Acl_Rule_IpRule_Icmp_Range
func (*Acl_Rule_IpRule_Icmp) GetIcmpTypeRange ¶
func (m *Acl_Rule_IpRule_Icmp) GetIcmpTypeRange() *Acl_Rule_IpRule_Icmp_Range
func (*Acl_Rule_IpRule_Icmp) GetIcmpv6 ¶
func (m *Acl_Rule_IpRule_Icmp) GetIcmpv6() bool
func (*Acl_Rule_IpRule_Icmp) ProtoMessage ¶
func (*Acl_Rule_IpRule_Icmp) ProtoMessage()
func (*Acl_Rule_IpRule_Icmp) Reset ¶
func (m *Acl_Rule_IpRule_Icmp) Reset()
func (*Acl_Rule_IpRule_Icmp) String ¶
func (m *Acl_Rule_IpRule_Icmp) String() string
func (*Acl_Rule_IpRule_Icmp) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_Icmp) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_Icmp) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_Icmp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_Icmp) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_Icmp) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_Icmp) XXX_Size ¶
func (m *Acl_Rule_IpRule_Icmp) XXX_Size() int
func (*Acl_Rule_IpRule_Icmp) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_Icmp) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_Icmp_Range ¶
type Acl_Rule_IpRule_Icmp_Range struct { // Lower boundary for range First uint32 `protobuf:"varint,1,opt,name=first,proto3" json:"first,omitempty"` // Upper boundary for range Last uint32 `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_IpRule_Icmp_Range) Descriptor ¶
func (*Acl_Rule_IpRule_Icmp_Range) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_Icmp_Range) GetFirst ¶
func (m *Acl_Rule_IpRule_Icmp_Range) GetFirst() uint32
func (*Acl_Rule_IpRule_Icmp_Range) GetLast ¶
func (m *Acl_Rule_IpRule_Icmp_Range) GetLast() uint32
func (*Acl_Rule_IpRule_Icmp_Range) ProtoMessage ¶
func (*Acl_Rule_IpRule_Icmp_Range) ProtoMessage()
func (*Acl_Rule_IpRule_Icmp_Range) Reset ¶
func (m *Acl_Rule_IpRule_Icmp_Range) Reset()
func (*Acl_Rule_IpRule_Icmp_Range) String ¶
func (m *Acl_Rule_IpRule_Icmp_Range) String() string
func (*Acl_Rule_IpRule_Icmp_Range) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_Icmp_Range) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_Icmp_Range) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_Icmp_Range) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_Icmp_Range) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_Icmp_Range) XXX_Size ¶
func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Size() int
func (*Acl_Rule_IpRule_Icmp_Range) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_Icmp_Range) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_Ip ¶
type Acl_Rule_IpRule_Ip struct { // Destination IPv4/IPv6 network address (<ip>/<network>) DestinationNetwork string `protobuf:"bytes,1,opt,name=destination_network,json=destinationNetwork,proto3" json:"destination_network,omitempty"` // Destination IPv4/IPv6 network address (<ip>/<network>) SourceNetwork string `protobuf:"bytes,2,opt,name=source_network,json=sourceNetwork,proto3" json:"source_network,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IP version used in this Access List Entry.
func (*Acl_Rule_IpRule_Ip) Descriptor ¶
func (*Acl_Rule_IpRule_Ip) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_Ip) GetDestinationNetwork ¶
func (m *Acl_Rule_IpRule_Ip) GetDestinationNetwork() string
func (*Acl_Rule_IpRule_Ip) GetSourceNetwork ¶
func (m *Acl_Rule_IpRule_Ip) GetSourceNetwork() string
func (*Acl_Rule_IpRule_Ip) ProtoMessage ¶
func (*Acl_Rule_IpRule_Ip) ProtoMessage()
func (*Acl_Rule_IpRule_Ip) Reset ¶
func (m *Acl_Rule_IpRule_Ip) Reset()
func (*Acl_Rule_IpRule_Ip) String ¶
func (m *Acl_Rule_IpRule_Ip) String() string
func (*Acl_Rule_IpRule_Ip) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_Ip) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_Ip) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_Ip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_Ip) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_Ip) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_Ip) XXX_Size ¶
func (m *Acl_Rule_IpRule_Ip) XXX_Size() int
func (*Acl_Rule_IpRule_Ip) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_Ip) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_PortRange ¶
type Acl_Rule_IpRule_PortRange struct { // Lower boundary for port. LowerPort uint32 `protobuf:"varint,1,opt,name=lower_port,json=lowerPort,proto3" json:"lower_port,omitempty"` // Upper boundary for port. If existing, the upper port must // be greater or equal to lower-port UpperPort uint32 `protobuf:"varint,2,opt,name=upper_port,json=upperPort,proto3" json:"upper_port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Inclusive range representing destination ports to be used. When only lower-port is present, it represents a single port.
func (*Acl_Rule_IpRule_PortRange) Descriptor ¶
func (*Acl_Rule_IpRule_PortRange) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_PortRange) GetLowerPort ¶
func (m *Acl_Rule_IpRule_PortRange) GetLowerPort() uint32
func (*Acl_Rule_IpRule_PortRange) GetUpperPort ¶
func (m *Acl_Rule_IpRule_PortRange) GetUpperPort() uint32
func (*Acl_Rule_IpRule_PortRange) ProtoMessage ¶
func (*Acl_Rule_IpRule_PortRange) ProtoMessage()
func (*Acl_Rule_IpRule_PortRange) Reset ¶
func (m *Acl_Rule_IpRule_PortRange) Reset()
func (*Acl_Rule_IpRule_PortRange) String ¶
func (m *Acl_Rule_IpRule_PortRange) String() string
func (*Acl_Rule_IpRule_PortRange) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_PortRange) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_PortRange) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_PortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_PortRange) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_PortRange) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_PortRange) XXX_Size ¶
func (m *Acl_Rule_IpRule_PortRange) XXX_Size() int
func (*Acl_Rule_IpRule_PortRange) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_PortRange) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_Tcp ¶
type Acl_Rule_IpRule_Tcp struct { DestinationPortRange *Acl_Rule_IpRule_PortRange `protobuf:"bytes,1,opt,name=destination_port_range,json=destinationPortRange" json:"destination_port_range,omitempty"` SourcePortRange *Acl_Rule_IpRule_PortRange `protobuf:"bytes,2,opt,name=source_port_range,json=sourcePortRange" json:"source_port_range,omitempty"` // Binary mask for tcp flags to match. MSB order (FIN at position 0). // Applied as logical AND to tcp flags field of the packet being matched, // before it is compared with tcp-flags-value. TcpFlagsMask uint32 `protobuf:"varint,3,opt,name=tcp_flags_mask,json=tcpFlagsMask,proto3" json:"tcp_flags_mask,omitempty"` // Binary value for tcp flags to match. MSB order (FIN at position 0). // Before tcp-flags-value is compared with tcp flags field of the packet being matched, // tcp-flags-mask is applied to packet field value. TcpFlagsValue uint32 `protobuf:"varint,4,opt,name=tcp_flags_value,json=tcpFlagsValue,proto3" json:"tcp_flags_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_IpRule_Tcp) Descriptor ¶
func (*Acl_Rule_IpRule_Tcp) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_Tcp) GetDestinationPortRange ¶
func (m *Acl_Rule_IpRule_Tcp) GetDestinationPortRange() *Acl_Rule_IpRule_PortRange
func (*Acl_Rule_IpRule_Tcp) GetSourcePortRange ¶
func (m *Acl_Rule_IpRule_Tcp) GetSourcePortRange() *Acl_Rule_IpRule_PortRange
func (*Acl_Rule_IpRule_Tcp) GetTcpFlagsMask ¶
func (m *Acl_Rule_IpRule_Tcp) GetTcpFlagsMask() uint32
func (*Acl_Rule_IpRule_Tcp) GetTcpFlagsValue ¶
func (m *Acl_Rule_IpRule_Tcp) GetTcpFlagsValue() uint32
func (*Acl_Rule_IpRule_Tcp) ProtoMessage ¶
func (*Acl_Rule_IpRule_Tcp) ProtoMessage()
func (*Acl_Rule_IpRule_Tcp) Reset ¶
func (m *Acl_Rule_IpRule_Tcp) Reset()
func (*Acl_Rule_IpRule_Tcp) String ¶
func (m *Acl_Rule_IpRule_Tcp) String() string
func (*Acl_Rule_IpRule_Tcp) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_Tcp) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_Tcp) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_Tcp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_Tcp) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_Tcp) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_Tcp) XXX_Size ¶
func (m *Acl_Rule_IpRule_Tcp) XXX_Size() int
func (*Acl_Rule_IpRule_Tcp) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_Tcp) XXX_Unmarshal(b []byte) error
type Acl_Rule_IpRule_Udp ¶
type Acl_Rule_IpRule_Udp struct { DestinationPortRange *Acl_Rule_IpRule_PortRange `protobuf:"bytes,1,opt,name=destination_port_range,json=destinationPortRange" json:"destination_port_range,omitempty"` SourcePortRange *Acl_Rule_IpRule_PortRange `protobuf:"bytes,2,opt,name=source_port_range,json=sourcePortRange" json:"source_port_range,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_IpRule_Udp) Descriptor ¶
func (*Acl_Rule_IpRule_Udp) Descriptor() ([]byte, []int)
func (*Acl_Rule_IpRule_Udp) GetDestinationPortRange ¶
func (m *Acl_Rule_IpRule_Udp) GetDestinationPortRange() *Acl_Rule_IpRule_PortRange
func (*Acl_Rule_IpRule_Udp) GetSourcePortRange ¶
func (m *Acl_Rule_IpRule_Udp) GetSourcePortRange() *Acl_Rule_IpRule_PortRange
func (*Acl_Rule_IpRule_Udp) ProtoMessage ¶
func (*Acl_Rule_IpRule_Udp) ProtoMessage()
func (*Acl_Rule_IpRule_Udp) Reset ¶
func (m *Acl_Rule_IpRule_Udp) Reset()
func (*Acl_Rule_IpRule_Udp) String ¶
func (m *Acl_Rule_IpRule_Udp) String() string
func (*Acl_Rule_IpRule_Udp) XXX_DiscardUnknown ¶
func (m *Acl_Rule_IpRule_Udp) XXX_DiscardUnknown()
func (*Acl_Rule_IpRule_Udp) XXX_Marshal ¶
func (m *Acl_Rule_IpRule_Udp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_IpRule_Udp) XXX_Merge ¶
func (dst *Acl_Rule_IpRule_Udp) XXX_Merge(src proto.Message)
func (*Acl_Rule_IpRule_Udp) XXX_Size ¶
func (m *Acl_Rule_IpRule_Udp) XXX_Size() int
func (*Acl_Rule_IpRule_Udp) XXX_Unmarshal ¶
func (m *Acl_Rule_IpRule_Udp) XXX_Unmarshal(b []byte) error
type Acl_Rule_MacIpRule ¶
type Acl_Rule_MacIpRule struct { // Source IP address. SourceAddress string `protobuf:"bytes,1,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"` // Source IP address prefix. SourceAddressPrefix uint32 `protobuf:"varint,2,opt,name=source_address_prefix,json=sourceAddressPrefix,proto3" json:"source_address_prefix,omitempty"` // Source MAC address. // Before source-mac-address is compared with source mac address field of the packet // being matched, source-mac-address-mask is applied to packet field value. SourceMacAddress string `protobuf:"bytes,3,opt,name=source_mac_address,json=sourceMacAddress,proto3" json:"source_mac_address,omitempty"` // Source MAC address mask. // Applied as logical AND with source mac address field of the packet being matched, // before it is compared with source-mac-address. SourceMacAddressMask string `protobuf:"bytes,4,opt,name=source_mac_address_mask,json=sourceMacAddressMask,proto3" json:"source_mac_address_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Acl_Rule_MacIpRule) Descriptor ¶
func (*Acl_Rule_MacIpRule) Descriptor() ([]byte, []int)
func (*Acl_Rule_MacIpRule) GetSourceAddress ¶
func (m *Acl_Rule_MacIpRule) GetSourceAddress() string
func (*Acl_Rule_MacIpRule) GetSourceAddressPrefix ¶
func (m *Acl_Rule_MacIpRule) GetSourceAddressPrefix() uint32
func (*Acl_Rule_MacIpRule) GetSourceMacAddress ¶
func (m *Acl_Rule_MacIpRule) GetSourceMacAddress() string
func (*Acl_Rule_MacIpRule) GetSourceMacAddressMask ¶
func (m *Acl_Rule_MacIpRule) GetSourceMacAddressMask() string
func (*Acl_Rule_MacIpRule) ProtoMessage ¶
func (*Acl_Rule_MacIpRule) ProtoMessage()
func (*Acl_Rule_MacIpRule) Reset ¶
func (m *Acl_Rule_MacIpRule) Reset()
func (*Acl_Rule_MacIpRule) String ¶
func (m *Acl_Rule_MacIpRule) String() string
func (*Acl_Rule_MacIpRule) XXX_DiscardUnknown ¶
func (m *Acl_Rule_MacIpRule) XXX_DiscardUnknown()
func (*Acl_Rule_MacIpRule) XXX_Marshal ¶
func (m *Acl_Rule_MacIpRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Acl_Rule_MacIpRule) XXX_Merge ¶
func (dst *Acl_Rule_MacIpRule) XXX_Merge(src proto.Message)
func (*Acl_Rule_MacIpRule) XXX_Size ¶
func (m *Acl_Rule_MacIpRule) XXX_Size() int
func (*Acl_Rule_MacIpRule) XXX_Unmarshal ¶
func (m *Acl_Rule_MacIpRule) XXX_Unmarshal(b []byte) error