linuxplugin

package
v0.0.0-...-a11b7ec Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 14 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

This section is empty.

Types

type MockDataChangeDSL

type MockDataChangeDSL struct {
	dsl.CommonMockDSL
}

MockDataChangeDSL is mock for DataChangeDSL.

func NewMockDataChangeDSL

func NewMockDataChangeDSL(commitFunc dsl.CommitFunc) *MockDataChangeDSL

NewMockDataChangeDSL is a constructor for MockDataChangeDSL.

func (*MockDataChangeDSL) Delete

func (d *MockDataChangeDSL) Delete() linux.DeleteDSL

Delete initiates a chained sequence of data change DSL statements removing existing configurable objects.

func (*MockDataChangeDSL) Put

func (d *MockDataChangeDSL) Put() linux.PutDSL

Put initiates a chained sequence of data change DSL statements declaring new or changing existing configurable objects.

func (*MockDataChangeDSL) Send

Send commits the transaction into the mock DB.

type MockDataResyncDSL

type MockDataResyncDSL struct {
	dsl.CommonMockDSL
}

MockDataResyncDSL is mock for DataResyncDSL.

func NewMockDataResyncDSL

func NewMockDataResyncDSL(commitFunc dsl.CommitFunc) *MockDataResyncDSL

NewMockDataResyncDSL is a constructor for MockDataResyncDSL.

func (*MockDataResyncDSL) ACL

ACL adds VPP Access Control List to the mock RESYNC request.

func (*MockDataResyncDSL) AppNamespace

AppNamespace adds Application Namespace to the RESYNC request

func (*MockDataResyncDSL) Arp

Arp adds L3 ARP entry to the RESYNC request.

func (*MockDataResyncDSL) BD

BD adds VPP Bridge Domain to the mock RESYNC request.

func (*MockDataResyncDSL) BDFIB

BDFIB adds VPP L2 FIB to the mock RESYNC request.

func (*MockDataResyncDSL) BfdAuthKeys

BfdAuthKeys adds VPP bidirectional forwarding detection key to the mock RESYNC request.

func (*MockDataResyncDSL) BfdEchoFunction

BfdEchoFunction adds VPP bidirectional forwarding detection echo function mock to the RESYNC request.

func (*MockDataResyncDSL) BfdSession

BfdSession adds VPP bidirectional forwarding detection session to the mock RESYNC request.

func (*MockDataResyncDSL) IPSecSA

IPSecSA adds request to create a new Security Association

func (*MockDataResyncDSL) IPSecSPD

IPSecSPD adds request to create a new Security Policy Database

func (*MockDataResyncDSL) L4Features

L4Features adds L4Features to the RESYNC request

func (*MockDataResyncDSL) LinuxArpEntry

func (*MockDataResyncDSL) LinuxInterface

LinuxInterface adds Linux interface to the mock RESYNC request.

func (*MockDataResyncDSL) LinuxRoute

func (*MockDataResyncDSL) NAT44DNat

NAT44DNat adds a request to RESYNC a new DNAT configuration

func (*MockDataResyncDSL) NAT44Global

NAT44Global adds a request to RESYNC global configuration for NAT44

func (*MockDataResyncDSL) ProxyArpInterfaces

ProxyArpInterfaces adds L3 proxy ARP interfaces to the RESYNC request.

func (*MockDataResyncDSL) ProxyArpRanges

ProxyArpRanges adds L3 proxy ARP ranges to the RESYNC request.

func (*MockDataResyncDSL) Send

Send commits the transaction into the mock DB.

func (*MockDataResyncDSL) StaticRoute

StaticRoute adds VPP L3 Static Route to the mock RESYNC request.

func (*MockDataResyncDSL) StnRule

StnRule adds Stn rule to the RESYNC request.

func (*MockDataResyncDSL) VppInterface

VppInterface adds VPP interface to the mock RESYNC request.

func (*MockDataResyncDSL) XConnect

XConnect adds VPP Cross Connect to the mock RESYNC request.

type MockDeleteDSL

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

MockDeleteDSL is a mock for DeleteDSL.

func (*MockDeleteDSL) ACL

func (d *MockDeleteDSL) ACL(aclName string) linux.DeleteDSL

ACL adds a mock request to delete an existing VPP Access Control List.

func (*MockDeleteDSL) AppNamespace

func (d *MockDeleteDSL) AppNamespace(id string) linux.DeleteDSL

AppNamespace adds a request to delete an existing VPP Application Namespace.

func (*MockDeleteDSL) Arp

func (d *MockDeleteDSL) Arp(ifaceName string, ipAddr string) linux.DeleteDSL

Arp adds a request to delete an existing VPP L3 ARP entry.

func (*MockDeleteDSL) BD

func (d *MockDeleteDSL) BD(bdName string) linux.DeleteDSL

BD adds a mock request to delete an existing VPP Bridge Domain.

func (*MockDeleteDSL) BDFIB

func (d *MockDeleteDSL) BDFIB(bdName string, mac string) linux.DeleteDSL

BDFIB adds a mock request to delete an existing VPP L2 Forwarding Information Base.

func (*MockDeleteDSL) BfdAuthKeys

func (d *MockDeleteDSL) BfdAuthKeys(bfdKey string) linux.DeleteDSL

BfdAuthKeys adds a mock request to delete an existing bidirectional forwarding detection key.

func (*MockDeleteDSL) BfdEchoFunction

func (d *MockDeleteDSL) BfdEchoFunction(bfdEchoName string) linux.DeleteDSL

BfdEchoFunction adds a mock request to delete an existing bidirectional forwarding detection echo function.

func (*MockDeleteDSL) BfdSession

func (d *MockDeleteDSL) BfdSession(bfdSessionIfaceName string) linux.DeleteDSL

BfdSession adds a mock request to delete an existing bidirectional forwarding detection session.

func (*MockDeleteDSL) L4Features

func (d *MockDeleteDSL) L4Features() linux.DeleteDSL

L4Features delete request for the L4Features

func (*MockDeleteDSL) LinuxArpEntry

func (d *MockDeleteDSL) LinuxArpEntry(entryName string) linux.DeleteDSL

func (*MockDeleteDSL) LinuxInterface

func (d *MockDeleteDSL) LinuxInterface(ifName string) linux.DeleteDSL

LinuxInterface adds a mock request to delete an existing Linux network interface.

func (*MockDeleteDSL) LinuxRoute

func (d *MockDeleteDSL) LinuxRoute(routeName string) linux.DeleteDSL

func (*MockDeleteDSL) NAT44DNat

func (d *MockDeleteDSL) NAT44DNat(label string) linux.DeleteDSL

NAT44DNat adds a request to delete a DNAT configuration identified by label

func (*MockDeleteDSL) NAT44Global

func (d *MockDeleteDSL) NAT44Global() linux.DeleteDSL

NAT44Global adds a request to remove global configuration for NAT44

func (*MockDeleteDSL) ProxyArpInterfaces

func (d *MockDeleteDSL) ProxyArpInterfaces(label string) linux.DeleteDSL

ProxyArpInterfaces adds a request to create or update VPP L3 proxy ARP interfaces

func (*MockDeleteDSL) ProxyArpRanges

func (d *MockDeleteDSL) ProxyArpRanges(label string) linux.DeleteDSL

ProxyArpRanges adds a request to create or update VPP L3 proxy ARP ranges

func (*MockDeleteDSL) Put

func (d *MockDeleteDSL) Put() linux.PutDSL

Put changes the DSL mode to allow configuration editing.

func (*MockDeleteDSL) Send

Send commits the transaction into the mock DB.

func (*MockDeleteDSL) StaticRoute

func (d *MockDeleteDSL) StaticRoute(vrf uint32, dstAddr string, nextHopAddr string) linux.DeleteDSL

StaticRoute adds a mock request to delete an existing VPP L3 Static Route..

func (*MockDeleteDSL) StnRule

func (d *MockDeleteDSL) StnRule(ruleName string) linux.DeleteDSL

StnRule adds request to delete Stn rule.

func (*MockDeleteDSL) VppInterface

func (d *MockDeleteDSL) VppInterface(interfaceName string) linux.DeleteDSL

Interface adds a mock request to delete an existing VPP network interface.

func (*MockDeleteDSL) XConnect

func (d *MockDeleteDSL) XConnect(rxIfName string) linux.DeleteDSL

XConnect adds a mock request to delete an existing VPP Cross Connect.

type MockPutDSL

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

MockPutDSL is a mock for PutDSL.

func (*MockPutDSL) ACL

ACL adds a mock request to create or update VPP Access Control List.

func (*MockPutDSL) AppNamespace

AppNamespace adds a request to create or update VPP Application namespace

func (*MockPutDSL) Arp

Arp adds a request to create or update VPP L3 ARP.

func (*MockPutDSL) BD

BD adds a mock request to create or update VPP Bridge Domain.

func (*MockPutDSL) BDFIB

BDFIB adds a mock request to create or update VPP L2 Forwarding Information Base.

func (*MockPutDSL) BfdAuthKeys

func (d *MockPutDSL) BfdAuthKeys(val *vpp_bfd.SingleHopBFD_Key) linux.PutDSL

BfdAuthKeys adds a mock request to create or update bidirectional forwarding detection key.

func (*MockPutDSL) BfdEchoFunction

func (d *MockPutDSL) BfdEchoFunction(val *vpp_bfd.SingleHopBFD_EchoFunction) linux.PutDSL

BfdEchoFunction adds a mock request to create or update bidirectional forwarding detection echo function.

func (*MockPutDSL) BfdSession

func (d *MockPutDSL) BfdSession(val *vpp_bfd.SingleHopBFD_Session) linux.PutDSL

BfdSession adds a mock request to create or update bidirectional forwarding detection session.

func (*MockPutDSL) Delete

func (d *MockPutDSL) Delete() linux.DeleteDSL

Delete changes the DSL mode to allow removal of an existing configuration.

func (*MockPutDSL) L4Features

func (d *MockPutDSL) L4Features(val *vpp_l4.L4Features) linux.PutDSL

L4Features adds a request to enable or disable L4 features

func (*MockPutDSL) LinuxArpEntry

func (*MockPutDSL) LinuxInterface

LinuxInterface adds a mock request to create or update Linux network interface.

func (*MockPutDSL) LinuxRoute

func (*MockPutDSL) NAT44DNat

func (d *MockPutDSL) NAT44DNat(val *vpp_nat.Nat44DNat_DNatConfig) linux.PutDSL

NAT44DNat adds a request to create a new DNAT configuration

func (*MockPutDSL) NAT44Global

func (d *MockPutDSL) NAT44Global(val *vpp_nat.Nat44Global) linux.PutDSL

NAT44Global adds a request to set global configuration for NAT44

func (*MockPutDSL) ProxyArpInterfaces

func (d *MockPutDSL) ProxyArpInterfaces(val *vpp_l3.ProxyArpInterfaces_InterfaceList) linux.PutDSL

ProxyArpInterfaces adds a request to create or update VPP L3 proxy ARP interfaces

func (*MockPutDSL) ProxyArpRanges

func (d *MockPutDSL) ProxyArpRanges(val *vpp_l3.ProxyArpRanges_RangeList) linux.PutDSL

ProxyArpRanges adds a request to create or update VPP L3 proxy ARP ranges

func (*MockPutDSL) Send

func (d *MockPutDSL) Send() defaultplugins.Reply

Send commits the transaction into the mock DB.

func (*MockPutDSL) StaticRoute

func (d *MockPutDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linux.PutDSL

StaticRoute adds a mock request to create or update VPP L3 Static Route.

func (*MockPutDSL) StnRule

func (d *MockPutDSL) StnRule(val *vpp_stn.StnRule) linux.PutDSL

StnRule adds a request to create or update VPP Stn rule.

func (*MockPutDSL) VppInterface

func (d *MockPutDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linux.PutDSL

Interface adds a mock request to create or update VPP network interface.

func (*MockPutDSL) XConnect

XConnect adds a mock request to create or update VPP Cross Connect.

Jump to

Keyboard shortcuts

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