Documentation ¶
Index ¶
- type MockDataChangeDSL
- type MockDataResyncDSL
- func (d *MockDataResyncDSL) ACL(val *acl.AccessLists_Acl) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) AppNamespace(val *vpp_l4.AppNamespaces_AppNamespace) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) Arp(val *vpp_l3.ArpTable_ArpEntry) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) BD(val *vpp_l2.BridgeDomains_BridgeDomain) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) BDFIB(val *vpp_l2.FibTable_FibEntry) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) BfdAuthKeys(val *bfd.SingleHopBFD_Key) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) BfdEchoFunction(val *bfd.SingleHopBFD_EchoFunction) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) BfdSession(val *bfd.SingleHopBFD_Session) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) IPSecSA(val *ipsec.SecurityAssociations_SA) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) IPSecSPD(val *ipsec.SecurityPolicyDatabases_SPD) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) L4Features(val *vpp_l4.L4Features) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) LinuxArpEntry(val *linux_l3.LinuxStaticArpEntries_ArpEntry) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) LinuxInterface(val *linux_intf.LinuxInterfaces_Interface) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) LinuxRoute(val *linux_l3.LinuxStaticRoutes_Route) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) NAT44DNat(val *vpp_nat.Nat44DNat_DNatConfig) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) NAT44Global(val *vpp_nat.Nat44Global) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) ProxyArpInterfaces(val *vpp_l3.ProxyArpInterfaces_InterfaceList) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) ProxyArpRanges(val *vpp_l3.ProxyArpRanges_RangeList) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) Send() vppclient.Reply
- func (d *MockDataResyncDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) StnRule(val *vpp_stn.STN_Rule) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linuxclient.DataResyncDSL
- func (d *MockDataResyncDSL) XConnect(val *vpp_l2.XConnectPairs_XConnectPair) linuxclient.DataResyncDSL
- type MockDeleteDSL
- func (d *MockDeleteDSL) ACL(aclName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) AppNamespace(id string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) Arp(ifaceName string, ipAddr string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) BD(bdName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) BDFIB(bdName string, mac string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) BfdAuthKeys(bfdKey string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) BfdEchoFunction(bfdEchoName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) BfdSession(bfdSessionIfaceName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) L4Features() linuxclient.DeleteDSL
- func (d *MockDeleteDSL) LinuxArpEntry(entryName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) LinuxInterface(ifName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) LinuxRoute(routeName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) NAT44DNat(label string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) NAT44Global() linuxclient.DeleteDSL
- func (d *MockDeleteDSL) ProxyArpInterfaces(label string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) ProxyArpRanges(label string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) Put() linuxclient.PutDSL
- func (d *MockDeleteDSL) Send() vppclient.Reply
- func (d *MockDeleteDSL) StaticRoute(vrf uint32, dstAddr string, nextHopAddr string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) StnRule(ruleName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) VppInterface(interfaceName string) linuxclient.DeleteDSL
- func (d *MockDeleteDSL) XConnect(rxIfName string) linuxclient.DeleteDSL
- type MockPutDSL
- func (d *MockPutDSL) ACL(val *vpp_acl.AccessLists_Acl) linuxclient.PutDSL
- func (d *MockPutDSL) AppNamespace(val *vpp_l4.AppNamespaces_AppNamespace) linuxclient.PutDSL
- func (d *MockPutDSL) Arp(val *vpp_l3.ArpTable_ArpEntry) linuxclient.PutDSL
- func (d *MockPutDSL) BD(val *vpp_l2.BridgeDomains_BridgeDomain) linuxclient.PutDSL
- func (d *MockPutDSL) BDFIB(val *vpp_l2.FibTable_FibEntry) linuxclient.PutDSL
- func (d *MockPutDSL) BfdAuthKeys(val *vpp_bfd.SingleHopBFD_Key) linuxclient.PutDSL
- func (d *MockPutDSL) BfdEchoFunction(val *vpp_bfd.SingleHopBFD_EchoFunction) linuxclient.PutDSL
- func (d *MockPutDSL) BfdSession(val *vpp_bfd.SingleHopBFD_Session) linuxclient.PutDSL
- func (d *MockPutDSL) Delete() linuxclient.DeleteDSL
- func (d *MockPutDSL) L4Features(val *vpp_l4.L4Features) linuxclient.PutDSL
- func (d *MockPutDSL) LinuxArpEntry(val *linux_l3.LinuxStaticArpEntries_ArpEntry) linuxclient.PutDSL
- func (d *MockPutDSL) LinuxInterface(val *linux_intf.LinuxInterfaces_Interface) linuxclient.PutDSL
- func (d *MockPutDSL) LinuxRoute(val *linux_l3.LinuxStaticRoutes_Route) linuxclient.PutDSL
- func (d *MockPutDSL) NAT44DNat(val *vpp_nat.Nat44DNat_DNatConfig) linuxclient.PutDSL
- func (d *MockPutDSL) NAT44Global(val *vpp_nat.Nat44Global) linuxclient.PutDSL
- func (d *MockPutDSL) ProxyArpInterfaces(val *vpp_l3.ProxyArpInterfaces_InterfaceList) linuxclient.PutDSL
- func (d *MockPutDSL) ProxyArpRanges(val *vpp_l3.ProxyArpRanges_RangeList) linuxclient.PutDSL
- func (d *MockPutDSL) Send() vppclient.Reply
- func (d *MockPutDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linuxclient.PutDSL
- func (d *MockPutDSL) StnRule(val *vpp_stn.STN_Rule) linuxclient.PutDSL
- func (d *MockPutDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linuxclient.PutDSL
- func (d *MockPutDSL) XConnect(val *vpp_l2.XConnectPairs_XConnectPair) linuxclient.PutDSL
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() linuxclient.DeleteDSL
Delete initiates a chained sequence of data change DSL statements removing existing configurable objects.
func (*MockDataChangeDSL) Put ¶
func (d *MockDataChangeDSL) Put() linuxclient.PutDSL
Put initiates a chained sequence of data change DSL statements declaring new or changing existing configurable objects.
func (*MockDataChangeDSL) Send ¶
func (d *MockDataChangeDSL) Send() vppclient.Reply
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 ¶
func (d *MockDataResyncDSL) ACL(val *acl.AccessLists_Acl) linuxclient.DataResyncDSL
ACL adds VPP Access Control List to the mock RESYNC request.
func (*MockDataResyncDSL) AppNamespace ¶
func (d *MockDataResyncDSL) AppNamespace(val *vpp_l4.AppNamespaces_AppNamespace) linuxclient.DataResyncDSL
AppNamespace adds Application Namespace to the RESYNC request
func (*MockDataResyncDSL) Arp ¶
func (d *MockDataResyncDSL) Arp(val *vpp_l3.ArpTable_ArpEntry) linuxclient.DataResyncDSL
Arp adds L3 ARP entry to the RESYNC request.
func (*MockDataResyncDSL) BD ¶
func (d *MockDataResyncDSL) BD(val *vpp_l2.BridgeDomains_BridgeDomain) linuxclient.DataResyncDSL
BD adds VPP Bridge Domain to the mock RESYNC request.
func (*MockDataResyncDSL) BDFIB ¶
func (d *MockDataResyncDSL) BDFIB(val *vpp_l2.FibTable_FibEntry) linuxclient.DataResyncDSL
BDFIB adds VPP L2 FIB to the mock RESYNC request.
func (*MockDataResyncDSL) BfdAuthKeys ¶
func (d *MockDataResyncDSL) BfdAuthKeys(val *bfd.SingleHopBFD_Key) linuxclient.DataResyncDSL
BfdAuthKeys adds VPP bidirectional forwarding detection key to the mock RESYNC request.
func (*MockDataResyncDSL) BfdEchoFunction ¶
func (d *MockDataResyncDSL) BfdEchoFunction(val *bfd.SingleHopBFD_EchoFunction) linuxclient.DataResyncDSL
BfdEchoFunction adds VPP bidirectional forwarding detection echo function mock to the RESYNC request.
func (*MockDataResyncDSL) BfdSession ¶
func (d *MockDataResyncDSL) BfdSession(val *bfd.SingleHopBFD_Session) linuxclient.DataResyncDSL
BfdSession adds VPP bidirectional forwarding detection session to the mock RESYNC request.
func (*MockDataResyncDSL) IPSecSA ¶
func (d *MockDataResyncDSL) IPSecSA(val *ipsec.SecurityAssociations_SA) linuxclient.DataResyncDSL
IPSecSA adds request to create a new Security Association
func (*MockDataResyncDSL) IPSecSPD ¶
func (d *MockDataResyncDSL) IPSecSPD(val *ipsec.SecurityPolicyDatabases_SPD) linuxclient.DataResyncDSL
IPSecSPD adds request to create a new Security Policy Database
func (*MockDataResyncDSL) L4Features ¶
func (d *MockDataResyncDSL) L4Features(val *vpp_l4.L4Features) linuxclient.DataResyncDSL
L4Features adds L4Features to the RESYNC request
func (*MockDataResyncDSL) LinuxArpEntry ¶
func (d *MockDataResyncDSL) LinuxArpEntry(val *linux_l3.LinuxStaticArpEntries_ArpEntry) linuxclient.DataResyncDSL
func (*MockDataResyncDSL) LinuxInterface ¶
func (d *MockDataResyncDSL) LinuxInterface(val *linux_intf.LinuxInterfaces_Interface) linuxclient.DataResyncDSL
LinuxInterface adds Linux interface to the mock RESYNC request.
func (*MockDataResyncDSL) LinuxRoute ¶
func (d *MockDataResyncDSL) LinuxRoute(val *linux_l3.LinuxStaticRoutes_Route) linuxclient.DataResyncDSL
func (*MockDataResyncDSL) NAT44DNat ¶
func (d *MockDataResyncDSL) NAT44DNat(val *vpp_nat.Nat44DNat_DNatConfig) linuxclient.DataResyncDSL
NAT44DNat adds a request to RESYNC a new DNAT configuration
func (*MockDataResyncDSL) NAT44Global ¶
func (d *MockDataResyncDSL) NAT44Global(val *vpp_nat.Nat44Global) linuxclient.DataResyncDSL
NAT44Global adds a request to RESYNC global configuration for NAT44
func (*MockDataResyncDSL) ProxyArpInterfaces ¶
func (d *MockDataResyncDSL) ProxyArpInterfaces(val *vpp_l3.ProxyArpInterfaces_InterfaceList) linuxclient.DataResyncDSL
ProxyArpInterfaces adds L3 proxy ARP interfaces to the RESYNC request.
func (*MockDataResyncDSL) ProxyArpRanges ¶
func (d *MockDataResyncDSL) ProxyArpRanges(val *vpp_l3.ProxyArpRanges_RangeList) linuxclient.DataResyncDSL
ProxyArpRanges adds L3 proxy ARP ranges to the RESYNC request.
func (*MockDataResyncDSL) Send ¶
func (d *MockDataResyncDSL) Send() vppclient.Reply
Send commits the transaction into the mock DB.
func (*MockDataResyncDSL) StaticRoute ¶
func (d *MockDataResyncDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linuxclient.DataResyncDSL
StaticRoute adds VPP L3 Static Route to the mock RESYNC request.
func (*MockDataResyncDSL) StnRule ¶
func (d *MockDataResyncDSL) StnRule(val *vpp_stn.STN_Rule) linuxclient.DataResyncDSL
StnRule adds Stn rule to the RESYNC request.
func (*MockDataResyncDSL) VppInterface ¶
func (d *MockDataResyncDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linuxclient.DataResyncDSL
VppInterface adds VPP interface to the mock RESYNC request.
func (*MockDataResyncDSL) XConnect ¶
func (d *MockDataResyncDSL) XConnect(val *vpp_l2.XConnectPairs_XConnectPair) linuxclient.DataResyncDSL
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) linuxclient.DeleteDSL
ACL adds a mock request to delete an existing VPP Access Control List.
func (*MockDeleteDSL) AppNamespace ¶
func (d *MockDeleteDSL) AppNamespace(id string) linuxclient.DeleteDSL
AppNamespace adds a request to delete an existing VPP Application Namespace.
func (*MockDeleteDSL) Arp ¶
func (d *MockDeleteDSL) Arp(ifaceName string, ipAddr string) linuxclient.DeleteDSL
Arp adds a request to delete an existing VPP L3 ARP entry.
func (*MockDeleteDSL) BD ¶
func (d *MockDeleteDSL) BD(bdName string) linuxclient.DeleteDSL
BD adds a mock request to delete an existing VPP Bridge Domain.
func (*MockDeleteDSL) BDFIB ¶
func (d *MockDeleteDSL) BDFIB(bdName string, mac string) linuxclient.DeleteDSL
BDFIB adds a mock request to delete an existing VPP L2 Forwarding Information Base.
func (*MockDeleteDSL) BfdAuthKeys ¶
func (d *MockDeleteDSL) BfdAuthKeys(bfdKey string) linuxclient.DeleteDSL
BfdAuthKeys adds a mock request to delete an existing bidirectional forwarding detection key.
func (*MockDeleteDSL) BfdEchoFunction ¶
func (d *MockDeleteDSL) BfdEchoFunction(bfdEchoName string) linuxclient.DeleteDSL
BfdEchoFunction adds a mock request to delete an existing bidirectional forwarding detection echo function.
func (*MockDeleteDSL) BfdSession ¶
func (d *MockDeleteDSL) BfdSession(bfdSessionIfaceName string) linuxclient.DeleteDSL
BfdSession adds a mock request to delete an existing bidirectional forwarding detection session.
func (*MockDeleteDSL) L4Features ¶
func (d *MockDeleteDSL) L4Features() linuxclient.DeleteDSL
L4Features delete request for the L4Features
func (*MockDeleteDSL) LinuxArpEntry ¶
func (d *MockDeleteDSL) LinuxArpEntry(entryName string) linuxclient.DeleteDSL
func (*MockDeleteDSL) LinuxInterface ¶
func (d *MockDeleteDSL) LinuxInterface(ifName string) linuxclient.DeleteDSL
LinuxInterface adds a mock request to delete an existing Linux network interface.
func (*MockDeleteDSL) LinuxRoute ¶
func (d *MockDeleteDSL) LinuxRoute(routeName string) linuxclient.DeleteDSL
func (*MockDeleteDSL) NAT44DNat ¶
func (d *MockDeleteDSL) NAT44DNat(label string) linuxclient.DeleteDSL
NAT44DNat adds a request to delete a DNAT configuration identified by label
func (*MockDeleteDSL) NAT44Global ¶
func (d *MockDeleteDSL) NAT44Global() linuxclient.DeleteDSL
NAT44Global adds a request to remove global configuration for NAT44
func (*MockDeleteDSL) ProxyArpInterfaces ¶
func (d *MockDeleteDSL) ProxyArpInterfaces(label string) linuxclient.DeleteDSL
ProxyArpInterfaces adds a request to create or update VPP L3 proxy ARP interfaces
func (*MockDeleteDSL) ProxyArpRanges ¶
func (d *MockDeleteDSL) ProxyArpRanges(label string) linuxclient.DeleteDSL
ProxyArpRanges adds a request to create or update VPP L3 proxy ARP ranges
func (*MockDeleteDSL) Put ¶
func (d *MockDeleteDSL) Put() linuxclient.PutDSL
Put changes the DSL mode to allow configuration editing.
func (*MockDeleteDSL) Send ¶
func (d *MockDeleteDSL) Send() vppclient.Reply
Send commits the transaction into the mock DB.
func (*MockDeleteDSL) StaticRoute ¶
func (d *MockDeleteDSL) StaticRoute(vrf uint32, dstAddr string, nextHopAddr string) linuxclient.DeleteDSL
StaticRoute adds a mock request to delete an existing VPP L3 Static Route..
func (*MockDeleteDSL) StnRule ¶
func (d *MockDeleteDSL) StnRule(ruleName string) linuxclient.DeleteDSL
StnRule adds request to delete Stn rule.
func (*MockDeleteDSL) VppInterface ¶
func (d *MockDeleteDSL) VppInterface(interfaceName string) linuxclient.DeleteDSL
Interface adds a mock request to delete an existing VPP network interface.
func (*MockDeleteDSL) XConnect ¶
func (d *MockDeleteDSL) XConnect(rxIfName string) linuxclient.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 ¶
func (d *MockPutDSL) ACL(val *vpp_acl.AccessLists_Acl) linuxclient.PutDSL
ACL adds a mock request to create or update VPP Access Control List.
func (*MockPutDSL) AppNamespace ¶
func (d *MockPutDSL) AppNamespace(val *vpp_l4.AppNamespaces_AppNamespace) linuxclient.PutDSL
AppNamespace adds a request to create or update VPP Application namespace
func (*MockPutDSL) Arp ¶
func (d *MockPutDSL) Arp(val *vpp_l3.ArpTable_ArpEntry) linuxclient.PutDSL
Arp adds a request to create or update VPP L3 ARP.
func (*MockPutDSL) BD ¶
func (d *MockPutDSL) BD(val *vpp_l2.BridgeDomains_BridgeDomain) linuxclient.PutDSL
BD adds a mock request to create or update VPP Bridge Domain.
func (*MockPutDSL) BDFIB ¶
func (d *MockPutDSL) BDFIB(val *vpp_l2.FibTable_FibEntry) linuxclient.PutDSL
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) linuxclient.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) linuxclient.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) linuxclient.PutDSL
BfdSession adds a mock request to create or update bidirectional forwarding detection session.
func (*MockPutDSL) Delete ¶
func (d *MockPutDSL) Delete() linuxclient.DeleteDSL
Delete changes the DSL mode to allow removal of an existing configuration.
func (*MockPutDSL) L4Features ¶
func (d *MockPutDSL) L4Features(val *vpp_l4.L4Features) linuxclient.PutDSL
L4Features adds a request to enable or disable L4 features
func (*MockPutDSL) LinuxArpEntry ¶
func (d *MockPutDSL) LinuxArpEntry(val *linux_l3.LinuxStaticArpEntries_ArpEntry) linuxclient.PutDSL
func (*MockPutDSL) LinuxInterface ¶
func (d *MockPutDSL) LinuxInterface(val *linux_intf.LinuxInterfaces_Interface) linuxclient.PutDSL
LinuxInterface adds a mock request to create or update Linux network interface.
func (*MockPutDSL) LinuxRoute ¶
func (d *MockPutDSL) LinuxRoute(val *linux_l3.LinuxStaticRoutes_Route) linuxclient.PutDSL
func (*MockPutDSL) NAT44DNat ¶
func (d *MockPutDSL) NAT44DNat(val *vpp_nat.Nat44DNat_DNatConfig) linuxclient.PutDSL
NAT44DNat adds a request to create a new DNAT configuration
func (*MockPutDSL) NAT44Global ¶
func (d *MockPutDSL) NAT44Global(val *vpp_nat.Nat44Global) linuxclient.PutDSL
NAT44Global adds a request to set global configuration for NAT44
func (*MockPutDSL) ProxyArpInterfaces ¶
func (d *MockPutDSL) ProxyArpInterfaces(val *vpp_l3.ProxyArpInterfaces_InterfaceList) linuxclient.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) linuxclient.PutDSL
ProxyArpRanges adds a request to create or update VPP L3 proxy ARP ranges
func (*MockPutDSL) Send ¶
func (d *MockPutDSL) Send() vppclient.Reply
Send commits the transaction into the mock DB.
func (*MockPutDSL) StaticRoute ¶
func (d *MockPutDSL) StaticRoute(val *vpp_l3.StaticRoutes_Route) linuxclient.PutDSL
StaticRoute adds a mock request to create or update VPP L3 Static Route.
func (*MockPutDSL) StnRule ¶
func (d *MockPutDSL) StnRule(val *vpp_stn.STN_Rule) linuxclient.PutDSL
StnRule adds a request to create or update VPP Stn rule.
func (*MockPutDSL) VppInterface ¶
func (d *MockPutDSL) VppInterface(val *vpp_intf.Interfaces_Interface) linuxclient.PutDSL
Interface adds a mock request to create or update VPP network interface.
func (*MockPutDSL) XConnect ¶
func (d *MockPutDSL) XConnect(val *vpp_l2.XConnectPairs_XConnectPair) linuxclient.PutDSL
XConnect adds a mock request to create or update VPP Cross Connect.