vpp2001_324

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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) AddACL

func (h *ACLVppHandler) AddACL(rules []*acl.ACL_Rule, aclName string) (uint32, error)

AddACL implements ACL handler.

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

func (h *ACLVppHandler) AddMACIPACL(rules []*acl.ACL_Rule, aclName string) (uint32, error)

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

func (h *ACLVppHandler) DumpIPAcls() (map[vppcalls.ACLMeta][]vpp_acl.ACLRule, error)

DumpIPAcls implements ACL handler.

func (*ACLVppHandler) DumpInterfaceACLList

func (h *ACLVppHandler) DumpInterfaceACLList(swIndex uint32) (*vpp_acl.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) (*vpp_acl.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

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][]vpp_acl.MacipACLRule, error)

DumpMacIPAcls implements ACL handler.

func (*ACLVppHandler) ModifyACL

func (h *ACLVppHandler) ModifyACL(aclIndex uint32, rules []*acl.ACL_Rule, aclName string) error

ModifyACL 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.

Jump to

Keyboard shortcuts

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