vpp2101

package
v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPToAddress

func IPToAddress(ipstr string) (addr ip_types.Address, err error)

Types

type IPSecVppHandler

type IPSecVppHandler struct {
	// contains filtered or unexported fields
}

IPSecVppHandler is accessor for IPSec-related vppcalls methods

func (*IPSecVppHandler) AddSA

AddSA implements IPSec handler.

func (*IPSecVppHandler) AddSP

func (h *IPSecVppHandler) AddSP(sp *ipsec.SecurityPolicy) error

AddSP implements IPSec handler.

func (*IPSecVppHandler) AddSPD

func (h *IPSecVppHandler) AddSPD(spdID uint32) error

AddSPD implements IPSec handler.

func (*IPSecVppHandler) AddSPDInterface

func (h *IPSecVppHandler) AddSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error

AddSPDInterface implements IPSec handler.

func (*IPSecVppHandler) AddTunnelProtection

func (h *IPSecVppHandler) AddTunnelProtection(tp *ipsec.TunnelProtection) error

AddTunnelProtection implements IPSec handler for adding a tunnel protection.

func (*IPSecVppHandler) DeleteSA

DeleteSA implements IPSec handler.

func (*IPSecVppHandler) DeleteSP

func (h *IPSecVppHandler) DeleteSP(sp *ipsec.SecurityPolicy) error

DeleteSP implements IPSec handler.

func (*IPSecVppHandler) DeleteSPD

func (h *IPSecVppHandler) DeleteSPD(spdID uint32) error

DeleteSPD implements IPSec handler.

func (*IPSecVppHandler) DeleteSPDInterface

func (h *IPSecVppHandler) DeleteSPDInterface(spdID uint32, ifaceCfg *ipsec.SecurityPolicyDatabase_Interface) error

DeleteSPDInterface implements IPSec handler.

func (*IPSecVppHandler) DeleteTunnelProtection

func (h *IPSecVppHandler) DeleteTunnelProtection(tp *ipsec.TunnelProtection) error

DeleteTunnelProtection implements IPSec handler for deleting a tunnel protection.

func (*IPSecVppHandler) DumpIPSecSA

func (h *IPSecVppHandler) DumpIPSecSA() (saList []*vppcalls.IPSecSaDetails, err error)

DumpIPSecSA implements IPSec handler.

func (*IPSecVppHandler) DumpIPSecSAWithIndex

func (h *IPSecVppHandler) DumpIPSecSAWithIndex(saID uint32) (saList []*vppcalls.IPSecSaDetails, err error)

DumpIPSecSAWithIndex implements IPSec handler.

func (*IPSecVppHandler) DumpIPSecSP

func (h *IPSecVppHandler) DumpIPSecSP() (spList []*ipsec.SecurityPolicy, err error)

DumpIPSecSP returns a list of configured security policies

func (*IPSecVppHandler) DumpIPSecSPD

func (h *IPSecVppHandler) DumpIPSecSPD() (spdList []*ipsec.SecurityPolicyDatabase, err error)

DumpIPSecSPD returns a list of IPSec security policy databases

func (*IPSecVppHandler) DumpTunnelProtections

func (h *IPSecVppHandler) DumpTunnelProtections() (tpList []*ipsec.TunnelProtection, err error)

DumpTunnelProtections returns configured IPSec tunnel protections.

func (*IPSecVppHandler) UpdateTunnelProtection

func (h *IPSecVppHandler) UpdateTunnelProtection(tp *ipsec.TunnelProtection) error

UpdateTunnelProtection implements IPSec handler for updating a tunnel protection.

Jump to

Keyboard shortcuts

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