summaryrefslogtreecommitdiffstats
path: root/test/test_lb.py
AgeCommit message (Expand)AuthorFilesLines
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-2/+3
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-22tests: update test_lb.py to use api call lb_conf.Paul Vinciguerra1-4/+4
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-2/+5
2019-03-11VPP-1508: Use scapy.compat to manage packet level library differences.Paul Vinciguerra1-4/+6
2019-03-07Tests: Refactor payload_to_info()Paul Vinciguerra1-1/+1
2018-08-31Support lb on both vip and per-port-vip caseHongjun Ni1-55/+218
2018-06-26L3DSR fix ip checksum issue and add testHongjun Ni1-0/+6
2018-05-18Rework kube-proxy into LB pluginHongjun Ni1-1/+70
2018-02-02Add L3DSR feature in LB pluginHongjun Ni1-8/+36
2017-12-16Use crc32 wrapper (VPP-1086)Gabriel Ganne1-1/+1
2017-10-31lb plugin tests - wipe flowtable after each unit testGabriel Ganne1-0/+4
2017-10-24fix test_lb_ip4_gre6() cleanupGabriel Ganne1-1/+1
2016-12-23make test: improve handling of packet capturesKlement Sekera1-6/+5
2016-12-19make test: filter IPv6 RAs out by defaultKlement Sekera1-11/+2
2016-12-16make test: improve robustness and performanceKlement Sekera1-5/+11
2016-12-05make test: fix missing log/packet messagesKlement Sekera1-4/+3
2016-11-10Enable verification received packet for LB testMatej Klotton1-12/+4
2016-11-09Disable non-working checks in load-balancer test and rename ip->ip4Klement Sekera1-8/+11
2016-10-26refactor test frameworkKlement Sekera1-118/+134
2016-10-10Test: Add test case for Load Balancer pluginPierre Pfister1-0/+210
">: ctrl} mock.recorder = &MockChannelMockRecorder{mock} return mock } // EXPECT returns an object that allows the caller to indicate expected use func (m *MockChannel) EXPECT() *MockChannelMockRecorder { return m.recorder } // Close mocks base method func (m *MockChannel) Close() { m.ctrl.Call(m, "Close") } // Close indicates an expected call of Close func (mr *MockChannelMockRecorder) Close() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Close", reflect.TypeOf((*MockChannel)(nil).Close)) } // SendMultiRequest mocks base method func (m *MockChannel) SendMultiRequest(arg0 api.Message) api.MultiRequestCtx { ret := m.ctrl.Call(m, "SendMultiRequest", arg0) ret0, _ := ret[0].(api.MultiRequestCtx) return ret0 } // SendMultiRequest indicates an expected call of SendMultiRequest func (mr *MockChannelMockRecorder) SendMultiRequest(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMultiRequest", reflect.TypeOf((*MockChannel)(nil).SendMultiRequest), arg0) } // SendRequest mocks base method func (m *MockChannel) SendRequest(arg0 api.Message) api.RequestCtx { ret := m.ctrl.Call(m, "SendRequest", arg0) ret0, _ := ret[0].(api.RequestCtx) return ret0 } // SendRequest indicates an expected call of SendRequest func (mr *MockChannelMockRecorder) SendRequest(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendRequest", reflect.TypeOf((*MockChannel)(nil).SendRequest), arg0) } // SetReplyTimeout mocks base method func (m *MockChannel) SetReplyTimeout(arg0 time.Duration) { m.ctrl.Call(m, "SetReplyTimeout", arg0) } // SetReplyTimeout indicates an expected call of SetReplyTimeout func (mr *MockChannelMockRecorder) SetReplyTimeout(arg0 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetReplyTimeout", reflect.TypeOf((*MockChannel)(nil).SetReplyTimeout), arg0) } // SubscribeNotification mocks base method func (m *MockChannel) SubscribeNotification(arg0 chan api.Message, arg1 api.Message) (api.SubscriptionCtx, error) { ret := m.ctrl.Call(m, "SubscribeNotification", arg0, arg1) ret0, _ := ret[0].(api.SubscriptionCtx) ret1, _ := ret[1].(error) return ret0, ret1 } // SubscribeNotification indicates an expected call of SubscribeNotification func (mr *MockChannelMockRecorder) SubscribeNotification(arg0, arg1 interface{}) *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeNotification", reflect.TypeOf((*MockChannel)(nil).SubscribeNotification), arg0, arg1) }