vppcalls

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddIPAcl

func AddIPAcl(rules []*acl.AccessLists_Acl_Rule, aclName string, vppChannel *api.Channel) (uint32, error)

AddIPAcl create new L3/4 ACL. Input index == 0xffffffff, VPP provides index in reply.

func AddMacIPAcl

func AddMacIPAcl(rules []*acl.AccessLists_Acl_Rule, aclName string, vppChannel *api.Channel) (uint32, error)

AddMacIPAcl create new L2 MAC IP ACL. VPP provides index in reply.

func CheckMsgCompatibilityForACL

func CheckMsgCompatibilityForACL(vppChannel *govppapi.Channel) error

CheckMsgCompatibilityForACL checks if CRSs are compatible with VPP in runtime

func DeleteIPAcl

func DeleteIPAcl(aclIndex uint32, vppChannel *api.Channel) error

DeleteIPAcl removes L3/L4 ACL

func DeleteMacIPAcl

func DeleteMacIPAcl(aclIndex uint32, vppChannel *api.Channel) error

DeleteMacIPAcl removes L2 ACL

func DumpIPAcl

func DumpIPAcl(vppChannel *govppapi.Channel) error

DumpIPAcl test function

func DumpInterface

func DumpInterface(swIndex uint32, vppChannel *govppapi.Channel) (*acl.ACLInterfaceListDetails, error)

DumpInterface finds interface in VPP and returns its ACL configuration

func DumpInterfaces

func DumpInterfaces(swIndexes idxvpp.NameToIdxRW, vppChannel *govppapi.Channel) error

DumpInterfaces test function

func DumpMacIPAcl

func DumpMacIPAcl(vppChannel *govppapi.Channel) error

DumpMacIPAcl test function

func ModifyIPAcl

func ModifyIPAcl(aclIndex uint32, rules []*acl.AccessLists_Acl_Rule, aclName string, vppChannel *api.Channel) error

ModifyIPAcl uses index (provided by VPP) to identify ACL which is modified

func RemoveIPEgressACLFromInterfaces

func RemoveIPEgressACLFromInterfaces(removedACLIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

RemoveIPEgressACLFromInterfaces removes ACL from interfaces

func RemoveIPIngressACLFromInterfaces

func RemoveIPIngressACLFromInterfaces(removedACLIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

RemoveIPIngressACLFromInterfaces removes ACL from interfaces

func RemoveMacIPIngressACLFromInterfaces

func RemoveMacIPIngressACLFromInterfaces(removedACLIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

RemoveMacIPIngressACLFromInterfaces removes L2 ACL from interfaces

func SetACLToInterfacesAsEgress

func SetACLToInterfacesAsEgress(aclIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

SetACLToInterfacesAsEgress sets ACL to all provided interfaces as egress

func SetACLToInterfacesAsIngress

func SetACLToInterfacesAsIngress(aclIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

SetACLToInterfacesAsIngress sets ACL to all provided interfaces as ingress

func SetMacIPAclToInterface

func SetMacIPAclToInterface(aclIndex uint32, interfaces []string, swIfIndexes ifaceidx.SwIfIndex, vppChannel *api.Channel) error

SetMacIPAclToInterface adds L2 ACL to interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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