var msgs []api.Message
for i := 1; i <= 10; i++ {
msgs = append(msgs, &memif.MemifDetails{
- SwIfIndex: interfaces.InterfaceIndex(i),
+ SwIfIndex: interface_types.InterfaceIndex(i),
})
}
ctx.mockVpp.MockReply(msgs...)
for i := 1; i <= 3; i++ {
msgs = append(msgs, mock.MsgWithContext{
Msg: &interfaces.SwInterfaceDetails{
- SwIfIndex: interfaces.InterfaceIndex(i),
+ SwIfIndex: interface_types.InterfaceIndex(i),
InterfaceName: "if-name-test",
},
Multipart: true,
msgs = append(msgs,
mock.MsgWithContext{
Msg: &interfaces.SwInterfaceDetails{
- SwIfIndex: interfaces.InterfaceIndex(i),
+ SwIfIndex: interface_types.InterfaceIndex(i),
InterfaceName: "if-name-test",
},
Multipart: true,
for i := 1; i <= 3; i++ {
msgs = append(msgs, mock.MsgWithContext{
Msg: &interfaces.SwInterfaceDetails{
- SwIfIndex: interfaces.InterfaceIndex(i),
+ SwIfIndex: interface_types.InterfaceIndex(i),
InterfaceName: "if-name-test",
},
Multipart: true,