Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func TestMemifInterface(t *testing.T) {
- ctx := setupVPP(t)
- defer ctx.teardownVPP()
- h := ifplugin_vppcalls.CompatibleInterfaceVppHandler(ctx.vppBinapi, logrus.NewLogger("test"))
- ifIdx, err := h.AddMemifInterface("memif1", &vpp_interfaces.MemifLink{
- Id: 1,
- Mode: vpp_interfaces.MemifLink_IP,
- Secret: "secret",
- Master: true,
- }, 0)
- if err != nil {
- t.Fatalf("creating memif interface failed: %v", err)
- }
- t.Logf("memif index: %+v", ifIdx)
- ifaces, err := h.DumpInterfaces()
- if err != nil {
- t.Fatalf("dumping interfaces failed: %v", err)
- }
- iface, ok := ifaces[ifIdx]
- if !ok {
- t.Fatalf("Memif interface not found in dump")
- }
- t.Logf("interface: %+v", iface.Interface)
- if iface.Interface.Name != "memif1" {
- t.Errorf("expected interface name to be memif1, got %v", iface.Interface.Name)
- }
- if iface.Interface.Type != vpp_interfaces.Interface_MEMIF {
- t.Errorf("expected interface type to be memif, got %v", iface.Interface.Type)
- }
- link, ok := iface.Interface.Link.(*vpp_interfaces.Interface_Memif)
- if !ok {
- t.Fatalf("expected interface link to be memif, got %T", iface.Interface.Link)
- }
- if link.Memif.Id != 1 {
- t.Errorf("expected memif ID to be 1, got %v", link.Memif.Id)
- }
- if link.Memif.Mode != vpp_interfaces.MemifLink_IP {
- t.Errorf("expected memif mode to be IP, got %v", link.Memif.Mode)
- }
- }
- === RUN TestMemifInterface
- =>>> SEND: &vpe.ShowVersion{}
- <<<= RECV: &vpe.ShowVersionReply{Retval:0, XXX_ProgramLen:0x3, Program:"vpe", XXX_VersionLen:0x1e, Version:"19.08-rc0~673-ga2e4451db~b3238", XXX_BuildDateLen:0x1c, BuildDate:"Tue Jul 16 19:50:00 UTC 2019", XXX_BuildDirectoryLen:0x2d, BuildDirectory:"/w/workspace/vpp-beta-merge-master-ubuntu1804"}
- =>>> SEND: &vpe.ControlPing{}
- <<<= RECV: &vpe.ControlPingReply{Retval:0, ClientIndex:0x0, VpePID:0x24}
- =>>> SEND: &memclnt.APIVersions{}
- <<<= RECV: &memclnt.APIVersionsReply{Retval:0, Count:0x30, APIVersions:[]memclnt.ModuleVersion{memclnt.ModuleVersion{Major:0x2, Minor:0x1, Patch:0x0, Name:[]uint8{0x6d, 0x65, 0x6d, 0x63, 0x6c, 0x6e, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, memclnt.ModuleVersion{Major:0x1, Minor:0x0, Patch:0x0, Name:[]uint8{0x62, 0x6f, 0x6e, 0x64, 0x2e, 0x61, 0x70, 0x69, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, memclnt.ModuleVersion{Major:0x1, Minor:0x0, Patch:0x0, Name:[]uint8{0x61, 0x66, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x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0x0, 0x0, 0x0, 0x0}}, memclnt.ModuleVersion{Major:0x1, Minor:0x4, Patch:0x0, Name:[]uint8{0x76, 0x70, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}}
- =>>> SEND: &memif.MemifCreate{Role:0x0, Mode:0x1, RxQueues:0x1, TxQueues:0x1, ID:0x1, SocketID:0x0, Secret:[]uint8{0x73, 0x65, 0x63, 0x72, 0x65, 0x74}, RingSize:0x0, BufferSize:0x0, HwAddr:[]uint8(nil)}
- <<<= RECV: &memif.MemifCreateReply{Retval:0, SwIfIndex:0x1}
- =>>> SEND: &interfaces.SwInterfaceTagAddDel{IsAdd:0x1, SwIfIndex:0x1, Tag:[]uint8{0x6d, 0x65, 0x6d, 0x69, 0x66, 0x31}}
- <<<= RECV: &interfaces.SwInterfaceTagAddDelReply{Retval:0}
- =>>> SEND: &interfaces.SwInterfaceDump{SwIfIndex:0xffffffff, NameFilterValid:0x0, NameFilter:[]uint8(nil)}
- <<<= RECV: &interfaces.SwInterfaceDetails{SwIfIndex:0x0, SupSwIfIndex:0x0, L2AddressLength:0x0, L2Address:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, InterfaceName:[]uint8{0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, AdminUpDown:0x0, LinkUpDown:0x0, LinkDuplex:0x0, LinkSpeed:0x0, LinkMtu:0x0, Mtu:[]uint32{0x0, 0x0, 0x0, 0x0}, SubID:0x0, SubDot1ad:0x0, SubDot1ah:0x0, SubNumberOfTags:0x0, SubOuterVlanID:0x0, SubInnerVlanID:0x0, SubExactMatch:0x0, SubDefault:0x0, SubOuterVlanIDAny:0x0, SubInnerVlanIDAny:0x0, VtrOp:0x0, VtrPushDot1q:0x0, VtrTag1:0x0, VtrTag2:0x0, Tag:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, OuterTag:0x0, BDmac:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, BSmac:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, BVlanid:0x0, ISid:0x0}
- <<<= RECV: &interfaces.SwInterfaceDetails{SwIfIndex:0x1, SupSwIfIndex:0x1, L2AddressLength:0x0, L2Address:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, InterfaceName:[]uint8{0x6d, 0x65, 0x6d, 0x69, 0x66, 0x30, 0x2f, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, AdminUpDown:0x0, LinkUpDown:0x0, LinkDuplex:0x0, LinkSpeed:0x0, LinkMtu:0x0, Mtu:[]uint32{0x0, 0x0, 0x0, 0x0}, SubID:0x0, SubDot1ad:0x0, SubDot1ah:0x0, SubNumberOfTags:0x0, SubOuterVlanID:0x0, SubInnerVlanID:0x0, SubExactMatch:0x0, SubDefault:0x0, SubOuterVlanIDAny:0x0, SubInnerVlanIDAny:0x0, VtrOp:0x0, VtrPushDot1q:0x0, VtrTag1:0x0, VtrTag2:0x0, Tag:[]uint8{0x6d, 0x65, 0x6d, 0x69, 0x66, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, OuterTag:0x0, BDmac:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, BSmac:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, BVlanid:0x0, ISid:0x0}
- <<<= RECV: &interfaces.SwInterfaceDetails{SwIfIndex:0x0, SupSwIfIndex:0x0, L2AddressLength:0x0, L2Address:[]uint8(nil), InterfaceName:[]uint8(nil), AdminUpDown:0x0, LinkUpDown:0x0, LinkDuplex:0x0, LinkSpeed:0x0, LinkMtu:0x0, Mtu:[]uint32(nil), SubID:0x0, SubDot1ad:0x0, SubDot1ah:0x0, SubNumberOfTags:0x0, SubOuterVlanID:0x0, SubInnerVlanID:0x0, SubExactMatch:0x0, SubDefault:0x0, SubOuterVlanIDAny:0x0, SubInnerVlanIDAny:0x0, VtrOp:0x0, VtrPushDot1q:0x0, VtrTag1:0x0, VtrTag2:0x0, Tag:[]uint8(nil), OuterTag:0x0, BDmac:[]uint8(nil), BSmac:[]uint8(nil), BVlanid:0x0, ISid:0x0}
- =>>> SEND: &dhcp.DHCPClientDump{}
- <<<= RECV: &dhcp.DHCPClientDetails{Client:dhcp.DHCPClient{SwIfIndex:0x0, Hostname:[]uint8(nil), ID:[]uint8(nil), WantDHCPEvent:0x0, SetBroadcastFlag:0x0, PID:0x0}, Lease:dhcp.DHCPLease{SwIfIndex:0x0, State:0x0, Hostname:[]uint8(nil), IsIPv6:0x0, MaskWidth:0x0, HostAddress:[]uint8(nil), RouterAddress:[]uint8(nil), HostMac:[]uint8(nil), Count:0x0, DomainServer:[]dhcp.DomainServer(nil)}}
- =>>> SEND: &ip.IPAddressDump{SwIfIndex:0x0, IsIPv6:0x0}
- <<<= RECV: &ip.IPAddressDetails{SwIfIndex:0x0, Prefix:ip.Prefix{Address:ip.Address{Af:0x0, Un:ip.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, Len:0x0}}
- =>>> SEND: &ip.IPAddressDump{SwIfIndex:0x1, IsIPv6:0x0}
- <<<= RECV: &ip.IPAddressDetails{SwIfIndex:0x0, Prefix:ip.Prefix{Address:ip.Address{Af:0x0, Un:ip.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, Len:0x0}}
- =>>> SEND: &ip.IPAddressDump{SwIfIndex:0x0, IsIPv6:0x1}
- <<<= RECV: &ip.IPAddressDetails{SwIfIndex:0x0, Prefix:ip.Prefix{Address:ip.Address{Af:0x0, Un:ip.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, Len:0x0}}
- =>>> SEND: &ip.IPAddressDump{SwIfIndex:0x1, IsIPv6:0x1}
- <<<= RECV: &ip.IPAddressDetails{SwIfIndex:0x0, Prefix:ip.Prefix{Address:ip.Address{Af:0x0, Un:ip.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, Len:0x0}}
- =>>> SEND: &ip.IPUnnumberedDump{SwIfIndex:0xffffffff}
- <<<= RECV: &ip.IPUnnumberedDetails{SwIfIndex:0x0, IPSwIfIndex:0x0}
- =>>> SEND: &vxlan.VxlanTunnelDump{SwIfIndex:0xffffffff}
- <<<= RECV: &vxlan.VxlanTunnelDetails{SwIfIndex:0x0, Instance:0x0, SrcAddress:[]uint8(nil), DstAddress:[]uint8(nil), McastSwIfIndex:0x0, EncapVrfID:0x0, DecapNextIndex:0x0, Vni:0x0, IsIPv6:0x0}
- =>>> SEND: &interfaces.SwInterfaceGetTable{SwIfIndex:0x0, IsIPv6:0x0}
- <<<= RECV: &interfaces.SwInterfaceGetTableReply{Retval:0, VrfID:0x0}
- =>>> SEND: &interfaces.SwInterfaceGetTable{SwIfIndex:0x0, IsIPv6:0x1}
- <<<= RECV: &interfaces.SwInterfaceGetTableReply{Retval:0, VrfID:0x0}
- =>>> SEND: &interfaces.SwInterfaceGetTable{SwIfIndex:0x1, IsIPv6:0x0}
- <<<= RECV: &interfaces.SwInterfaceGetTableReply{Retval:0, VrfID:0x0}
- =>>> SEND: &interfaces.SwInterfaceGetTable{SwIfIndex:0x1, IsIPv6:0x1}
- <<<= RECV: &interfaces.SwInterfaceGetTableReply{Retval:0, VrfID:0x0}
- =>>> SEND: &memif.MemifSocketFilenameDump{}
- <<<= RECV: &memif.MemifSocketFilenameDetails{SocketID:0x0, SocketFilename:[]uint8{0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x6d, 0x65, 0x6d, 0x69, 0x66, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
- <<<= RECV: &memif.MemifSocketFilenameDetails{SocketID:0x0, SocketFilename:[]uint8(nil)}
- =>>> SEND: &memif.MemifDump{}
- <<<= RECV: &memif.MemifDetails{SwIfIndex:0x1, IfName:[]uint8{0x6d, 0x65, 0x6d, 0x69, 0x66, 0x30, 0x2f, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, HwAddr:[]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, ID:0x1, Role:0x0, Mode:0x0, SocketID:0x0, RingSize:0x1, BufferSize:0x0, AdminUpDown:0x0, LinkUpDown:0x0}
- <<<= RECV: &memif.MemifDetails{SwIfIndex:0x0, IfName:[]uint8(nil), HwAddr:[]uint8(nil), ID:0x0, Role:0x0, Mode:0x0, SocketID:0x0, RingSize:0x0, BufferSize:0x0, AdminUpDown:0x0, LinkUpDown:0x0}
- =>>> SEND: &tapv2.SwInterfaceTapV2Dump{}
- <<<= RECV: &tapv2.SwInterfaceTapV2Details{SwIfIndex:0x0, ID:0x0, DevName:[]uint8(nil), TxRingSz:0x0, RxRingSz:0x0, HostMacAddr:[]uint8(nil), HostIfName:[]uint8(nil), HostNamespace:[]uint8(nil), HostBridge:[]uint8(nil), HostIP4Addr:[]uint8(nil), HostIP4PrefixLen:0x0, HostIP6Addr:[]uint8(nil), HostIP6PrefixLen:0x0, HostMtuSize:0x0, TapFlags:0x0}
- =>>> SEND: &ipsec.IpsecSaDump{SaID:0xffffffff}
- <<<= RECV: &ipsec.IpsecSaDetails{Entry:ipsec.IpsecSadEntry{SadID:0x0, Spi:0x0, Protocol:0x0, CryptoAlgorithm:0x0, CryptoKey:ipsec.Key{Length:0x0, Data:[]uint8(nil)}, IntegrityAlgorithm:0x0, IntegrityKey:ipsec.Key{Length:0x0, Data:[]uint8(nil)}, Flags:0x0, TunnelSrc:ipsec.Address{Af:0x0, Un:ipsec.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, TunnelDst:ipsec.Address{Af:0x0, Un:ipsec.AddressUnion{XXX_UnionData:[16]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}}, TxTableID:0x0, Salt:0x0}, SwIfIndex:0x0, Salt:0x0, SeqOutbound:0x0, LastSeqInbound:0x0, ReplayWindow:0x0, TotalDataSize:0x0}
- =>>> SEND: &vmxnet3.Vmxnet3Dump{}
- <<<= RECV: &vmxnet3.Vmxnet3Details{SwIfIndex:0x0, IfName:[]uint8(nil), HwAddr:[]uint8(nil), PciAddr:0x0, Version:0x0, AdminUpDown:0x0, RxCount:0x0, RxList:[]vmxnet3.Vmxnet3RxList(nil), TxCount:0x0, TxList:[]vmxnet3.Vmxnet3TxList(nil)}
- =>>> SEND: &bond.SwInterfaceBondDump{}
- <<<= RECV: &bond.SwInterfaceBondDetails{SwIfIndex:0x0, ID:0x0, InterfaceName:[]uint8(nil), Mode:0x0, Lb:0x0, ActiveSlaves:0x0, Slaves:0x0}
- =>>> SEND: &interfaces.SwInterfaceRxPlacementDump{SwIfIndex:0xffffffff}
- <<<= RECV: &interfaces.SwInterfaceRxPlacementDetails{SwIfIndex:0x0, QueueID:0x0, WorkerID:0x0, Mode:0x0}
- --- FAIL: TestMemifInterface (0.29s)
- integration_test.go:146: VPP start OK (PID: 36)
- integration_test.go:181: VPP connect OK
- integration_test.go:193: VPP version: 19.08-rc0~673-ga2e4451db~b3238
- integration_test.go:211: ---------------
- 010_interfaces_test.go:115: memif index: 1
- 010_interfaces_test.go:125: interface: name:"memif1" type:MEMIF memif:<master:true id:1 socket_filename:"/run/vpp/memif.sock" ring_size:1 >
- 010_interfaces_test.go:141: expected memif mode to be IP, got ETHERNET
- integration_test.go:227: -----------------
- integration_test.go:239: VPP disconnect OK
- integration_test.go:260: VPP exit OK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement