Documentation ¶
Index ¶
- type ACLVppHandler
- func (h *ACLVppHandler) AddACL(rules []*acl.ACL_Rule, aclName string) (uint32, error)
- func (h *ACLVppHandler) AddACLToInterfaceAsEgress(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) AddACLToInterfaceAsIngress(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) AddMACIPACL(rules []*acl.ACL_Rule, aclName string) (uint32, error)
- func (h *ACLVppHandler) AddMACIPACLToInterface(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) DeleteACL(aclIndex uint32) error
- func (h *ACLVppHandler) DeleteACLFromInterfaceAsEgress(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) DeleteACLFromInterfaceAsIngress(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) DeleteMACIPACL(aclIndex uint32) error
- func (h *ACLVppHandler) DeleteMACIPACLFromInterface(aclIndex uint32, ifName string) error
- func (h *ACLVppHandler) DumpACL() ([]*vppcalls.ACLDetails, error)
- func (h *ACLVppHandler) DumpACLInterfaces(indices []uint32) (map[uint32]*acl.ACL_Interfaces, error)
- func (h *ACLVppHandler) DumpIPAcls() (map[vppcalls.ACLMeta][]acl_api.ACLRule, error)
- func (h *ACLVppHandler) DumpInterfaceACLList(swIndex uint32) (*acl_api.ACLInterfaceListDetails, error)
- func (h *ACLVppHandler) DumpInterfaceACLs(swIndex uint32) (acls []*acl.ACL, err error)
- func (h *ACLVppHandler) DumpInterfaceMACIPACLList(swIndex uint32) (*acl_api.MacipACLInterfaceListDetails, error)
- func (h *ACLVppHandler) DumpInterfaceMACIPACLs(swIndex uint32) (acls []*acl.ACL, err error)
- func (h *ACLVppHandler) DumpInterfacesLists() ([]*acl_api.ACLInterfaceListDetails, []*acl_api.MacipACLInterfaceListDetails, ...)
- func (h *ACLVppHandler) DumpMACIPACL() ([]*vppcalls.ACLDetails, error)
- func (h *ACLVppHandler) DumpMACIPACLInterfaces(indices []uint32) (map[uint32]*acl.ACL_Interfaces, error)
- func (h *ACLVppHandler) DumpMacIPAcls() (map[vppcalls.ACLMeta][]acl_api.MacipACLRule, error)
- func (h *ACLVppHandler) ModifyACL(aclIndex uint32, rules []*acl.ACL_Rule, aclName string) error
- func (h *ACLVppHandler) ModifyMACIPACL(aclIndex uint32, rules []*acl.ACL_Rule, aclName string) error
- func (h *ACLVppHandler) RemoveACLFromInterfacesAsEgress(ACLIndex uint32, ifIndices []uint32) error
- func (h *ACLVppHandler) RemoveACLFromInterfacesAsIngress(ACLIndex uint32, ifIndices []uint32) error
- func (h *ACLVppHandler) RemoveMACIPACLFromInterfaces(removedACLIndex uint32, ifIndices []uint32) error
- func (h *ACLVppHandler) SetACLToInterfacesAsEgress(ACLIndex uint32, ifIndices []uint32) error
- func (h *ACLVppHandler) SetACLToInterfacesAsIngress(ACLIndex uint32, ifIndices []uint32) error
- func (h *ACLVppHandler) SetMACIPACLToInterfaces(aclIndex uint32, ifIndices []uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLVppHandler ¶
type ACLVppHandler struct {
// contains filtered or unexported fields
}
ACLVppHandler is accessor for acl-related vppcalls methods
func NewACLVppHandler ¶
func NewACLVppHandler(ch govppapi.Channel, ifIdx ifaceidx.IfaceMetadataIndex) *ACLVppHandler
func (*ACLVppHandler) AddACLToInterfaceAsEgress ¶
func (h *ACLVppHandler) AddACLToInterfaceAsEgress(aclIndex uint32, ifName string) error
AddACLToInterfaceAsEgress implements ACL handler.
func (*ACLVppHandler) AddACLToInterfaceAsIngress ¶
func (h *ACLVppHandler) AddACLToInterfaceAsIngress(aclIndex uint32, ifName string) error
AddACLToInterfaceAsIngress implements ACL handler.
func (*ACLVppHandler) AddMACIPACL ¶
AddMACIPACL implements ACL handler.
func (*ACLVppHandler) AddMACIPACLToInterface ¶
func (h *ACLVppHandler) AddMACIPACLToInterface(aclIndex uint32, ifName string) error
AddMACIPACLToInterface implements ACL handler.
func (*ACLVppHandler) DeleteACL ¶
func (h *ACLVppHandler) DeleteACL(aclIndex uint32) error
DeleteACL implements ACL handler.
func (*ACLVppHandler) DeleteACLFromInterfaceAsEgress ¶
func (h *ACLVppHandler) DeleteACLFromInterfaceAsEgress(aclIndex uint32, ifName string) error
DeleteACLFromInterfaceAsEgress implements ACL handler.
func (*ACLVppHandler) DeleteACLFromInterfaceAsIngress ¶
func (h *ACLVppHandler) DeleteACLFromInterfaceAsIngress(aclIndex uint32, ifName string) error
DeleteACLFromInterfaceAsIngress implements ACL handler.
func (*ACLVppHandler) DeleteMACIPACL ¶
func (h *ACLVppHandler) DeleteMACIPACL(aclIndex uint32) error
DeleteMACIPACL implements ACL handler.
func (*ACLVppHandler) DeleteMACIPACLFromInterface ¶
func (h *ACLVppHandler) DeleteMACIPACLFromInterface(aclIndex uint32, ifName string) error
DeleteMACIPACLFromInterface implements ACL handler.
func (*ACLVppHandler) DumpACL ¶
func (h *ACLVppHandler) DumpACL() ([]*vppcalls.ACLDetails, error)
DumpACL implements ACL handler.
func (*ACLVppHandler) DumpACLInterfaces ¶
func (h *ACLVppHandler) DumpACLInterfaces(indices []uint32) (map[uint32]*acl.ACL_Interfaces, error)
DumpACLInterfaces implements ACL handler.
func (*ACLVppHandler) DumpIPAcls ¶
DumpIPAcls implements ACL handler.
func (*ACLVppHandler) DumpInterfaceACLList ¶
func (h *ACLVppHandler) DumpInterfaceACLList(swIndex uint32) (*acl_api.ACLInterfaceListDetails, error)
DumpInterfaceACLList implements ACL handler.
func (*ACLVppHandler) DumpInterfaceACLs ¶
func (h *ACLVppHandler) DumpInterfaceACLs(swIndex uint32) (acls []*acl.ACL, err error)
DumpInterfaceACLs implements ACL handler.
func (*ACLVppHandler) DumpInterfaceMACIPACLList ¶
func (h *ACLVppHandler) DumpInterfaceMACIPACLList(swIndex uint32) (*acl_api.MacipACLInterfaceListDetails, error)
DumpInterfaceMACIPACLList implements ACL handler.
func (*ACLVppHandler) DumpInterfaceMACIPACLs ¶
func (h *ACLVppHandler) DumpInterfaceMACIPACLs(swIndex uint32) (acls []*acl.ACL, err error)
DumpInterfaceMACIPACLs implements ACL handler.
func (*ACLVppHandler) DumpInterfacesLists ¶
func (h *ACLVppHandler) DumpInterfacesLists() ([]*acl_api.ACLInterfaceListDetails, []*acl_api.MacipACLInterfaceListDetails, error)
DumpInterfacesLists implements ACL handler.
func (*ACLVppHandler) DumpMACIPACL ¶
func (h *ACLVppHandler) DumpMACIPACL() ([]*vppcalls.ACLDetails, error)
DumpMACIPACL implements ACL handler.
func (*ACLVppHandler) DumpMACIPACLInterfaces ¶
func (h *ACLVppHandler) DumpMACIPACLInterfaces(indices []uint32) (map[uint32]*acl.ACL_Interfaces, error)
DumpMACIPACLInterfaces implements ACL handler.
func (*ACLVppHandler) DumpMacIPAcls ¶
func (h *ACLVppHandler) DumpMacIPAcls() (map[vppcalls.ACLMeta][]acl_api.MacipACLRule, error)
DumpMacIPAcls implements ACL handler.
func (*ACLVppHandler) ModifyMACIPACL ¶
func (h *ACLVppHandler) ModifyMACIPACL(aclIndex uint32, rules []*acl.ACL_Rule, aclName string) error
ModifyMACIPACL implements ACL handler.
func (*ACLVppHandler) RemoveACLFromInterfacesAsEgress ¶
func (h *ACLVppHandler) RemoveACLFromInterfacesAsEgress(ACLIndex uint32, ifIndices []uint32) error
RemoveACLFromInterfacesAsEgress implements ACL handler.
func (*ACLVppHandler) RemoveACLFromInterfacesAsIngress ¶
func (h *ACLVppHandler) RemoveACLFromInterfacesAsIngress(ACLIndex uint32, ifIndices []uint32) error
RemoveACLFromInterfacesAsIngress implements ACL handler.
func (*ACLVppHandler) RemoveMACIPACLFromInterfaces ¶
func (h *ACLVppHandler) RemoveMACIPACLFromInterfaces(removedACLIndex uint32, ifIndices []uint32) error
RemoveMACIPACLFromInterfaces implements ACL handler.
func (*ACLVppHandler) SetACLToInterfacesAsEgress ¶
func (h *ACLVppHandler) SetACLToInterfacesAsEgress(ACLIndex uint32, ifIndices []uint32) error
SetACLToInterfacesAsEgress implements ACL handler.
func (*ACLVppHandler) SetACLToInterfacesAsIngress ¶
func (h *ACLVppHandler) SetACLToInterfacesAsIngress(ACLIndex uint32, ifIndices []uint32) error
SetACLToInterfacesAsIngress implements ACL handler.
func (*ACLVppHandler) SetMACIPACLToInterfaces ¶
func (h *ACLVppHandler) SetMACIPACLToInterfaces(aclIndex uint32, ifIndices []uint32) error
SetMACIPACLToInterfaces implements ACL handler.