func (d *MockPutDSL) ABF(val *vpp_abf.ABF) linuxclient.PutDSL {
	key := vpp_abf.Key(val.Index)
	d.parent.Values[key] = val
	return d
}
ABF adds a request to create or update VPP ACL-based forwarding.
package linux
import (
	"go.ligato.io/vpp-agent/v3/clientv2/linux"
	"go.ligato.io/vpp-agent/v3/clientv2/vpp"
	"github.com/contiv/vpp/mock/localclient/dsl"
	"go.ligato.io/vpp-agent/v3/pkg/models"
	"go.ligato.io/vpp-agent/v3/proto/ligato/linux/interfaces"
	linux_iptables "go.ligato.io/vpp-agent/v3/proto/ligato/linux/iptables"
	"go.ligato.io/vpp-agent/v3/proto/ligato/linux/l3"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/abf"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/acl"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/interfaces"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/ipsec"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l2"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l3"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/nat"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/punt"
	"go.ligato.io/vpp-agent/v3/proto/ligato/vpp/stn"
)
type MockDataChangeDSL struct {
	dsl.CommonMockDSL
}
func NewMockDataChangeDSL(commitFunc dsl.CommitFunc) *MockDataChangeDSL {
	return &MockDataChangeDSL{CommonMockDSL: dsl.NewCommonMockDSL(commitFunc)}
}
type MockPutDSL struct {
	parent *MockDataChangeDSL
}
type MockDeleteDSL struct {
	parent *MockDataChangeDSL
}
func (d *MockDataChangeDSL) Put() linuxclient.PutDSL {
	return &MockPutDSL{d}
}
func (d *MockDataChangeDSL) Delete() linuxclient.DeleteDSL {
	return &MockDeleteDSL{d}
}
func (d *MockDataChangeDSL) Send() vppclient.Reply {
	err := d.CommitFunc(d.Values)
	return &dsl.Reply{Err: err}
}
func (d *MockPutDSL) VppInterface(val *vpp_interfaces.Interface) linuxclient.PutDSL {
	key := vpp_interfaces.InterfaceKey(val.Name)
	d.parent.Values[key] = val
	return d
}