dbadapter

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: 10 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 struct {
	// contains filtered or unexported fields
}

DataChangeDSL is used to conveniently assign all the data that are needed for the DataChange. This is implementation of Domain Specific Language (DSL) for change of both Linux and VPP configuration.

func NewDataChangeDSL

func NewDataChangeDSL(txn keyval.ProtoTxn) *DataChangeDSL

NewDataChangeDSL is a constructor

func (*DataChangeDSL) Delete

func (dsl *DataChangeDSL) Delete() linux.DeleteDSL

Delete gives you the ability to delete configurable object

func (*DataChangeDSL) Put

func (dsl *DataChangeDSL) Put() linux.PutDSL

Put gives you the ability to create configurable object

func (*DataChangeDSL) Send

func (dsl *DataChangeDSL) Send() vpp_clientv1.Reply

Send will propagate changes to the channels

type DataResyncDSL

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

DataResyncDSL is used to conveniently assign all the data that are needed for the RESYNC This is implementation of Domain Specific Language (DSL) for data RESYNC of the Linux configuration.

func NewDataResyncDSL

func NewDataResyncDSL(txn keyval.ProtoTxn, listKeys func(prefix string) (keyval.ProtoKeyIterator, error)) *DataResyncDSL

NewDataResyncDSL is a constructor

func (*DataResyncDSL) ACL

ACL adds VPP Access Control List to the RESYNC request

func (*DataResyncDSL) BD

BD adds VPP Bridge Domain to the RESYNC request

func (*DataResyncDSL) BDFIB

BDFIB adds VPP L2 FIB to the RESYNC request

func (*DataResyncDSL) LinuxInterface

LinuxInterface adds Bridge Domain to the RESYNC request

func (*DataResyncDSL) Send

func (dsl *DataResyncDSL) Send() vpp_clientv1.Reply

Send propagates the request to the plugins. It deletes obsolete keys if listKeys function is not null. The listkeys() function is used to list all current keys.

func (*DataResyncDSL) StaticRoute

func (dsl *DataResyncDSL) StaticRoute(staticRoute *vpp_l3.StaticRoutes_Route) linux.DataResyncDSL

StaticRoute adds VPP L3 Static Route to the RESYNC request

func (*DataResyncDSL) VppInterface

VppInterface adds VPP interface to the RESYNC request

func (*DataResyncDSL) XConnect

XConnect adds VPP Cross Connect to the RESYNC request

type DeleteDSL

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

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

func (*DeleteDSL) ACL

func (dsl *DeleteDSL) ACL(aclName string) linux.DeleteDSL

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

func (*DeleteDSL) BD

func (dsl *DeleteDSL) BD(bdName string) linux.DeleteDSL

BD adds a request to delete an existing VPP Bridge Domain

func (*DeleteDSL) BDFIB

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

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

func (*DeleteDSL) LinuxInterface

func (dsl *DeleteDSL) LinuxInterface(interfaceName string) linux.DeleteDSL

LinuxInterface create or update the network interface

func (*DeleteDSL) Put

func (dsl *DeleteDSL) Put() linux.PutDSL

Put gives you the ability to create configurable object

func (*DeleteDSL) Send

func (dsl *DeleteDSL) Send() vpp_clientv1.Reply

Send will propagate changes to the channels

func (*DeleteDSL) StaticRoute

func (dsl *DeleteDSL) StaticRoute(vrf uint32, dstAddrInput *net.IPNet, nextHopAddrInput net.IP) linux.DeleteDSL

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

func (*DeleteDSL) VppInterface

func (dsl *DeleteDSL) VppInterface(ifaceName string) linux.DeleteDSL

VppInterface adds a request to delete an existing VPP network interface

func (*DeleteDSL) XConnect

func (dsl *DeleteDSL) XConnect(rxIfaceName string) linux.DeleteDSL

XConnect adds a request to delete an existing VPP Cross Connect

type PutDSL

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

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

func (*PutDSL) ACL

func (dsl *PutDSL) ACL(acl *vpp_acl.AccessLists_Acl) linux.PutDSL

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

func (*PutDSL) BD

BD adds a request to create or update VPP Bridge Domain

func (*PutDSL) BDFIB

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

func (*PutDSL) Delete

func (dsl *PutDSL) Delete() linux.DeleteDSL

Delete gives you the ability to delete configurable object

func (*PutDSL) LinuxInterface

func (dsl *PutDSL) LinuxInterface(val *interfaces.LinuxInterfaces_Interface) linux.PutDSL

LinuxInterface create or update a Linux network interface

func (*PutDSL) Send

func (dsl *PutDSL) Send() vpp_clientv1.Reply

Send will propagate changes to the channels

func (*PutDSL) StaticRoute

func (dsl *PutDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linux.PutDSL

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

func (*PutDSL) VppInterface

func (dsl *PutDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linux.PutDSL

VppInterface adds a request to create or update VPP network interface

func (*PutDSL) XConnect

func (dsl *PutDSL) XConnect(val *vpp_l2.XConnectPairs_XConnectPair) linux.PutDSL

XConnect adds a 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