linux

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 7 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 configurable object
	Put() PutDSL

	// Delete gives you the ability to delete configurable objects
	Delete() DeleteDSL

	// Send will propagate changes to the channels
	Send() vpp_clientv1.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 Linux configuration.

type DataResyncDSL

type DataResyncDSL interface {
	// Interface adds Linux interface to the RESYNC request
	LinuxInterface(intf *interfaces.LinuxInterfaces_Interface) DataResyncDSL

	// VppInterface adds VPP interface to the RESYNC request
	VppInterface(intf *vpp_intf.Interfaces_Interface) DataResyncDSL
	// BD adds VPP Bridge Domain to the RESYNC request
	BD(bd *vpp_l2.BridgeDomains_BridgeDomain) DataResyncDSL
	// BDFIB adds VPP L2 FIB to the RESYNC request
	BDFIB(fib *vpp_l2.FibTableEntries_FibTableEntry) DataResyncDSL
	// XConnect adds VPP Cross Connect to the RESYNC request
	XConnect(xcon *vpp_l2.XConnectPairs_XConnectPair) DataResyncDSL
	// StaticRoute adds VPP L3 Static Route to the RESYNC request
	StaticRoute(staticRoute *vpp_l3.StaticRoutes_Route) DataResyncDSL
	// ACL adds VPP Access Control List to the RESYNC request
	ACL(acl *vpp_acl.AccessLists_Acl) DataResyncDSL

	Send() vpp_clientv1.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 both Linux and VPP configuration.

type DeleteDSL

type DeleteDSL interface {
	// Interface adds a request to delete an existing Linux network interface
	LinuxInterface(ifaceName string) DeleteDSL

	// VppInterface adds a request to delete an existing VPP network interface
	VppInterface(ifaceName string) DeleteDSL
	// BD adds a request to delete an existing VPP Bridge Domain
	BD(bdName string) DeleteDSL
	// FIB adds a request to delete an existing VPP L2 Forwarding Information Base
	BDFIB(bdName string, mac string) DeleteDSL
	// XConnect adds a request to delete an existing VPP Cross Connect
	XConnect(rxIfaceName string) DeleteDSL
	// StaticRoute adds a request to delete an existing VPP L3 Static Route
	StaticRoute(vrf uint32, dstAddr *net.IPNet, nextHopAddr net.IP) DeleteDSL
	// ACL adds a request to delete an existing VPP Access Control List
	ACL(aclName string) DeleteDSL

	// Put gives you the ability to create configurable objects
	Put() PutDSL
	// Send will propagate changes to the channels
	Send() vpp_clientv1.Reply
}

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

type PutDSL

type PutDSL interface {
	// Interface adds a request to create or update Linux network interface
	LinuxInterface(val *interfaces.LinuxInterfaces_Interface) PutDSL

	// VppInterface adds a request to create or update VPP network interface
	VppInterface(val *vpp_intf.Interfaces_Interface) PutDSL
	// BD adds a request to create or update VPP Bridge Domain
	BD(val *vpp_l2.BridgeDomains_BridgeDomain) PutDSL
	// FIB adds a request to create or update VPP L2 Forwarding Information Base
	BDFIB(fib *vpp_l2.FibTableEntries_FibTableEntry) PutDSL
	// XConnect adds a request to create or update VPP Cross Connect
	XConnect(val *vpp_l2.XConnectPairs_XConnectPair) PutDSL
	// StaticRoute adds a request to create or update VPP L3 Static Route
	StaticRoute(val *vpp_l3.StaticRoutes_Route) PutDSL
	// ACL adds a request to create or update VPP Access Control List
	ACL(acl *vpp_acl.AccessLists_Acl) PutDSL

	// Delete gives you the ability to delete configurable objects
	Delete() DeleteDSL
	// Send will propagate changes to the channels
	Send() vpp_clientv1.Reply
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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