defaultplugins

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataChangeDSL

type DataChangeDSL interface {
	// Put gives you the ability to create Interface/BD...
	Put() PutDSL

	// Delete gives you the ability to delete Interface/BD...
	Delete() DeleteDSL

	// Send will propagate changes to the channels
	Send() Reply
}

DataChangeDSL is used to conveniently assign all the data that are needed for the DataChange Use this interface to make you implementation independent of local or particular remote client. This interface defines the Domain Specific Language (DSL) for change of the VPP configuration.

type DataResyncDSL

type DataResyncDSL interface {
	// Interface add interface to the RESYNC request
	Interface(intf *interfaces.Interfaces_Interface) DataResyncDSL
	// BD add Bridge Domain to the RESYNC request
	BD(bd *l2.BridgeDomains_BridgeDomain) DataResyncDSL
	// BDFIB add L2 Forwarding Information Base
	BDFIB(fib *l2.FibTableEntries_FibTableEntry) DataResyncDSL
	// XConnect adds Cross Connect to the RESYNC request
	XConnect(xcon *l2.XConnectPairs_XConnectPair) DataResyncDSL
	// StaticRoute adds L3 Static Route to the RESYNC request
	StaticRoute(staticRoute *l3.StaticRoutes_Route) DataResyncDSL
	// ACL adds Access Control List to the RESYNC request
	ACL(acl *acl.AccessLists_Acl) DataResyncDSL
	// Send propagates the request to the plugins
	Send() Reply
}

DataResyncDSL is used to conveniently assign all the data that are needed for the RESYNC. Use this interface to make you implementation independent of local or particular remote client. This interface defines the Domain Specific Language (DSL) for data RESYNC of the VPP configuration.

type DeleteDSL

type DeleteDSL interface {
	// Interface delete request for the network interface
	Interface(ifaceName string) DeleteDSL
	// BD delete request for the Bridge Domain
	BD(bdName string) DeleteDSL
	// FIB delete request for the L2 Forwarding Information Base
	BDFIB(bdName string, mac string) DeleteDSL
	// XConnect delete request for the Cross Connect
	XConnect(rxIfaceName string) DeleteDSL
	// StaticRoute delete request for the L3 Static Route
	StaticRoute(vrf uint32, dstAddr *net.IPNet, nextHopAddr net.IP) DeleteDSL
	// ACL delete request for Access Control List
	ACL(aclName string) DeleteDSL

	// Put gives you the ability to create Interface/BD...
	Put() PutDSL
	// Send will propagate changes to the channels
	Send() Reply
}

DeleteDSL is here to put here most recent and previous value with revisions

type PutDSL

type PutDSL interface {
	// Interface create or update request for the network interface
	Interface(val *interfaces.Interfaces_Interface) PutDSL
	// BD create or update request for the Bridge Domain
	BD(val *l2.BridgeDomains_BridgeDomain) PutDSL
	// FIB create or update request for the L2 Forwarding Information Base
	BDFIB(fib *l2.FibTableEntries_FibTableEntry) PutDSL
	// XConnect create or update request for the Cross Connect
	XConnect(val *l2.XConnectPairs_XConnectPair) PutDSL
	// StaticRoute create or update request for the L3 Static Route
	StaticRoute(val *l3.StaticRoutes_Route) PutDSL
	// ACL create or update request for the Access Control List
	ACL(acl *acl.AccessLists_Acl) PutDSL

	// Delete gives you the ability to delete Interface/BD...
	Delete() DeleteDSL
	// Send will propagate changes to the channels
	Send() Reply
}

PutDSL is here to put here most recent and previous value with revisions

type Reply

type Reply interface {
	// ReceiveReply TODO
	ReceiveReply() error
}

Reply is here to gives you the ability to wait for the reply and get result (success/error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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