aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
AgeCommit message (Expand)AuthorFilesLines
2019-01-22gbp: fix inlining issueDamjan Marion1-7/+7
2019-01-22GBP: Sclass to src-epg conversionsNeale Ranns13-23/+564
2019-01-22NAT: ipfix call optimizationFilip Varga4-9/+10
2019-01-21Fix LB lookup table failed issueHongjun Ni1-5/+11
2019-01-21NAT: VPP-1537 IPFIX per worker processingFilip Varga21-533/+545
2019-01-21crypto-input: fix crash bugKingwel Xie1-8/+12
2019-01-20dpdk: add buffer.hDamjan Marion12-13/+43
2019-01-20buffers: remove VLIB_BUFFER_DEFAULT_FREE_LIST macro and fl->n_data_bytesDamjan Marion2-2/+2
2019-01-20buffers: remove vlib_buffer_delete_free_listDamjan Marion1-47/+0
2019-01-20buffers: don't init metadata, as it is already initializedDamjan Marion6-51/+1
2019-01-20buffers: keep buffer_main in vlib_main_tDamjan Marion2-3/+3
2019-01-20minor fixup in map doc (people -> seconds)Jim Thompson1-1/+1
2019-01-18Fix GCC 8 compiler warnings on strncpy's truncated copy on debian distroSteven Luong1-0/+12
2019-01-19buffers: remove free-list information from buffer metadataDamjan Marion1-2/+1
2019-01-18Add vlib_buffer_copy_indices inline functionDamjan Marion3-3/+3
2019-01-18deprecate clib_memcpy64_x4Damjan Marion5-47/+57
2019-01-17cmake: initial cross-compilation supportDamjan Marion1-0/+5
2019-01-17Fix ASSERT usage issue in cryptodevSimon Zhang1-1/+1
2019-01-16fix dpdk cryptodev enable issuev19.04-rc0Simon Zhang1-6/+9
2019-01-16NAT: Fixed issues with dropping reverse packets with output-feature.Dmitry Vakhrushev1-0/+32
2019-01-15vmxnet3: add numa support and link speedSteven4-13/+23
2019-01-13remove useless line in dpdk cryptodevSimon Zhang1-2/+0
2019-01-13dpdk: show hardware may display the wrong information for rss activeSteven1-0/+1
2019-01-12session: generate wrong thread errors instead of crashingFlorin Coras1-1/+2
2019-01-11gbp2: Fix typo in conditionMohsin Kazmi1-1/+3
2019-01-10strncpy_s_inline copies more bytes than necessarySteven1-1/+10
2019-01-09gbp: Fix coverity warningsMohsin Kazmi4-9/+19
2019-01-07string_test: coverity woeSteven1-6/+0
2019-01-07avf: allocate descriptor memory from local numaDamjan Marion2-14/+31
2019-01-07MAP: Prevent duplicate MAP-E/T graph nodes.Jon Loeliger3-0/+35
2019-01-07Change vpp code to align with openssl interface changePing Yu3-36/+27
2019-01-07gbp: Fix typo in conditionMohsin Kazmi1-1/+1
2019-01-02Revert "add ipsecmb plugin"Florin Coras7-2546/+0
2019-01-02Fixes for buliding for 32bit targets:David Johnson5-5/+9
2019-01-02add ipsecmb pluginKlement Sekera7-0/+2546
2019-01-01buffers: remove unused codeDamjan Marion1-18/+0
2018-12-29avf: tx dequeue optimizationsDamjan Marion3-11/+34
2018-12-29avf: chained buffers rx supportDamjan Marion4-44/+132
2018-12-28avf: chained buffers tx supportDamjan Marion2-104/+109
2018-12-28session: free session after transport and app confirmFlorin Coras2-3/+3
2018-12-27MAP: Install lpm.h as map.h references it.Jon Loeliger1-0/+1
2018-12-26avf: optimize RX functionDamjan Marion3-100/+86
2018-12-24GBP: fix dump and VOM populateNeale Ranns1-2/+2
2018-12-24crypto-input: bug fix check-opKingwel Xie1-6/+6
2018-12-23avf: optimize rx ring refillDamjan Marion1-76/+53
2018-12-23avf: new ethernet-input supportDamjan Marion3-183/+44
2018-12-23avf: add option to specify interface nameDamjan Marion4-0/+11
2018-12-22dpdk: switch to in-memory mode, deprecate use of socket-memDamjan Marion1-112/+25
2018-12-22crypto-input impprovement:Kingwel Xie1-74/+163
2018-12-21GBP: add allowed ethertypes to contractsNeale Ranns5-55/+129
ass="p">, "--input-directory", type=str, default="", help="Directory with XML file(s) generated by RobotFramework or with " "sub-directories with XML file(s) which will be processed " "instead of downloading the data from Nexus and/or Jenkins. In " "this case, the section 'input' in the specification file is " "ignored." ) return parser.parse_args() def main(): """Main function.""" log_levels = { "NOTSET": logging.NOTSET, "DEBUG": logging.DEBUG, "INFO": logging.INFO, "WARNING": logging.WARNING, "ERROR": logging.ERROR, "CRITICAL": logging.CRITICAL } args = parse_args() logging.basicConfig( format="%(asctime)s: %(levelname)s: %(message)s", datefmt="%Y/%m/%d %H:%M:%S", level=log_levels[args.logging] ) logging.info("Application started.") try: spec = Specification(args.specification) spec.read_specification() except PresentationError as err: logging.critical("Finished with error.") logging.critical(repr(err)) return 1 if spec.output["output"] not in OUTPUTS: logging.critical( f"The output {spec.output[u'output']} is not supported." ) return 1 return_code = 1 try: env = Environment(spec.environment, args.force) env.set_environment() prepare_static_content(spec) data = InputData(spec, spec.output["output"]) if args.input_file: data.process_local_file(args.input_file) elif args.input_directory: data.process_local_directory(args.input_directory) else: data.download_and_parse_data(repeat=1) if args.print_all_oper_data: data.print_all_oper_data() generate_tables(spec, data) generate_plots(spec, data) generate_files(spec, data) if spec.output["output"] == "report": generate_report(args.release, spec, args.week) elif spec.output["output"] == "trending": sys.stdout.write(generate_cpta(spec, data)) try: alert = Alerting(spec) alert.generate_alerts() except AlertingError as err: logging.warning(repr(err)) elif spec.output["output"] == "convert-xml-to-json": convert_xml_to_json(spec, data) else: logging.info("No output will be generated.") logging.info("Successfully finished.") return_code = 0 except AlertingError as err: logging.critical(f"Finished with an alerting error.\n{repr(err)}") except PresentationError as err: logging.critical(f"Finished with a PAL error.\n{str(err)}") except (KeyError, ValueError) as err: logging.critical(f"Finished with an error.\n{repr(err)}") finally: if spec is not None: clean_environment(spec.environment) return return_code if __name__ == "__main__": sys.exit(main())