summaryrefslogtreecommitdiffstats
path: root/src/vnet
AgeCommit message (Expand)AuthorFilesLines
2017-12-20L2 EmulationNeale Ranns2-1/+2
2017-12-20Fix MPLS local-label CLI help stringMarek Gradzki1-1/+1
2017-12-20VPP-1083 "ip punt redirect add" crashed if not mentioned any other parameterSwarup Nayak2-8/+28
2017-12-19BIER coverity fix in route downlaodNeale Ranns2-3/+3
2017-12-19FIB memory leak during recursive loop detectionNeale Ranns1-0/+2
2017-12-19VPP-1032: fix coverity warning in bierDave Barach1-2/+2
2017-12-19Fix passing bad context for callback functionJuraj Sloboda1-2/+2
2017-12-19lldp: Fix Coverity Warnings CID 177942, CID 177945Dave Wallace1-1/+1
2017-12-18session api: Fix Coverity Warning CID 180115Dave Wallace1-1/+1
2017-12-18SR-MPLS: binary API and automated steeringPablo Camarillo8-502/+1675
2017-12-18VPP-269 Coding standards cleanup - vnet/vnet/policerKrishanpal singh1-11/+14
2017-12-16GRE tunnel key includes the FIB tableNeale Ranns4-137/+219
2017-12-16Use crc32 wrapper (VPP-1086)Gabriel Ganne1-4/+4
2017-12-15Fix icmp/udp/tcp punt/drop pathsVijayabhaskar Katamreddy14-63/+79
2017-12-15fib: fix show fib path-list and pathFlorin Coras2-4/+4
2017-12-15ESP_AH_test_automation_scripts rev1“mystarrocks”1-7/+0
2017-12-14VPP-1100 Fix loop in "set punt tcp/udp command"Swarup Nayak1-5/+17
2017-12-14tap_v2: include host-side parameters in the dump binary APIMilan Lenco8-7/+114
2017-12-14BIER disposition default routeNeale Ranns3-8/+20
2017-12-14session: cleanup attach flagsFlorin Coras11-67/+66
2017-12-13IP bi-direction multicast - same cable check on egressNeale Ranns2-1/+17
2017-12-13make "test-all" target pass againGabriel Ganne3-2/+11
2017-12-13BIER: API documentation fixes.Neale Ranns1-10/+5
2017-12-13Separate heap for IPv4 mtriesNeale Ranns7-44/+73
2017-12-13GRE: fix single loop decap and add testNeale Ranns1-1/+1
2017-12-13Fix parameter mismatch in map-t codeJuraj Sloboda1-1/+1
2017-12-13VPP-1099 Fix create vxlan-gpe tunnel local 10::1 remote 20::1 vni 11 (for ipv6)Swarup Nayak1-0/+1
2017-12-13VPP-275 Coding standards cleanup - vnet/vnet/vxlan-gpesharath reddy5-1268/+1437
2017-12-12tcp/session: add make testsFlorin Coras1-11/+28
2017-12-12session: fix proxy removalFlorin Coras1-20/+68
2017-12-12Stats for Multicast FIBNeale Ranns2-0/+13
2017-12-12VPP-1092 Correcting ip punt delete flow, when recv if index valid but doesnt ...Swarup Nayak2-4/+10
2017-12-11session: generalize handling of network transportsFlorin Coras15-201/+263
2017-12-11ONE-33 "one statistics flush" throws assert when one counter not addedSwarup Nayak1-0/+3
2017-12-11VPP-273 Coding standards cleanup - vnet/vnet/unixsharath reddy8-794/+947
2017-12-11call unformat_free in some flow, remove unnecessary callsSwarup Nayak2-7/+17
2017-12-10BIER coverity FixNeale Ranns1-6/+8
2017-12-10tap_v2: fix issues reported by coverityDamjan Marion1-3/+3
2017-12-10update builtin UDP server to new vnet_session APIAndreas Schultz1-3/+25
2017-12-10make sure the very first fragment triggers an rx_callbackAndreas Schultz1-0/+1
2017-12-10VPP-1077 Add meaningful error info, when executing command with enable/disabl...Swarup Nayak3-12/+12
2017-12-09BIER in non-MPLS netowrksNeale Ranns34-518/+1017
2017-12-09VPP-249 Coding standards cleanup - vnet/vnet/dhcpkhemendra kumar8-2035/+2085
2017-12-08Remove the unused 'create VRF if needed' API parametersNeale Ranns2-7/+0
2017-12-08tapv2: multiple improvementsDamjan Marion10-126/+326
2017-12-08punt: fix tracing for partially traced chainsKlement Sekera1-4/+5
2017-12-07Corrected help string of show ip puntSwarup Nayak2-2/+2
2017-12-06VPP-259 Coding standards cleanup - vnet/vnet/lawful-interceptsatish.karunanithi3-182/+211
2017-12-06Label stack size exceeded fixNeale Ranns2-1/+19
2017-12-06session: support for rule tags overwritingFlorin Coras2-67/+156
/span> before_cli(self, cli): """ Check if VPP died before executing a CLI :param cli: CLI string :raises Exception: exception if VPP is not running anymore """ super(PollHook, self).before_cli(cli) self.poll_vpp() class StepHook(PollHook): """ Hook which requires user to press ENTER before doing any API/CLI """ def __init__(self, testcase): self.skip_stack = None self.skip_num = None self.skip_count = 0 super(StepHook, self).__init__(testcase) def skip(self): if self.skip_stack is None: return False stack = traceback.extract_stack() counter = 0 skip = True for e in stack: if counter > self.skip_num: break if e[0] != self.skip_stack[counter][0]: skip = False if e[1] != self.skip_stack[counter][1]: skip = False counter += 1 if skip: self.skip_count += 1 return True else: print("%d API/CLI calls skipped in specified stack " "frame" % self.skip_count) self.skip_count = 0 self.skip_stack = None self.skip_num = None return False def user_input(self): print('number\tfunction\tfile\tcode') counter = 0 stack = traceback.extract_stack() for e in stack: print('%02d.\t%s\t%s:%d\t[%s]' % (counter, e[2], e[0], e[1], e[3])) counter += 1 print(single_line_delim) print("You can enter a number of stack frame chosen from above") print("Calls in/below that stack frame will be not be stepped anymore") print(single_line_delim) while True: choice = raw_input("Enter your choice, if any, and press ENTER to " "continue running the testcase...") if choice == "": choice = None try: if choice is not None: num = int(choice) except: print("Invalid input") continue if choice is not None and (num < 0 or num >= len(stack)): print("Invalid choice") continue break if choice is not None: self.skip_stack = stack self.skip_num = num def before_cli(self, cli): """ Wait for ENTER before executing CLI """ if self.skip(): print("Skip pause before executing CLI: %s" % cli) else: print(double_line_delim) print("Test paused before executing CLI: %s" % cli) print(single_line_delim) self.user_input() super(StepHook, self).before_cli(cli) def before_api(self, api_name, api_args): """ Wait for ENTER before executing API """ if self.skip(): print("Skip pause before executing API: %s (%s)" % (api_name, api_args)) else: print(double_line_delim) print("Test paused before executing API: %s (%s)" % (api_name, api_args)) print(single_line_delim) self.user_input() super(StepHook, self).before_api(api_name, api_args)