aboutsummaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2017-08-03Merge "DRAFT: remove apexlake"Ross Brattain10-1025/+2
2017-07-31DRAFT: remove apexlakeRoss Brattain10-1025/+2
apexlake is unmaintained, so remove it From some reason orchestrator/heat.py started failing so fixup those unittests Change-Id: Ie06508b5ab7c9dcf9fdfca83e173a188a894d564 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-07-31Add spec cpu2006 test caseJingLu51-0/+133
JIRA: YARDSTICK-764 This work is about support run SPEC CPU2006 benchmark. users must get a "cpu2006-1.2.iso" from the SPEC website, save it under the /home/opnfv/yardstick/yardstick/resources folder (e.g. /home/opnfv/yardstick/yardstick/resources/cpu2006-1.2.iso), user may also supply a runspec cfg file (e.g. /home/opnfv/yardstick/yardstick/resources/files/yardstick_spec_cpu2006.cfg). Change-Id: If4aecc1c14635a07589555196d2edc8bd37d7bdb Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-07-14add release dateRoss Brattain1-1/+1
Change-Id: Icf12b7a59144754f65f67ed54a5c455a64c5042f Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-07-14Danube 3.1 release notesRoss Brattain1-11/+55
Change-Id: I7032dd2348dd7212484a4a3cbd40e1d7698c8668 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-07-03Bugfix: amend the CLI to build yardstick-image manuallyJingLu51-0/+2
Change-Id: I8fbf0d6383375660c05e55d36fb0d2f91e1d8de8 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-06-23Improve Yardstick user-guideJingLu51-1/+7
This patch adds a short description on how to use the "yardstick env prepare" command in a Non-OPNFV installer environtment. Change-Id: Idf54bf5318499d2b129a1445e0758e351945e755 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-05-16Bugfix: change monitor command in tc019JingLu51-8/+8
JIRA: YARDSTICK-655 The original openstack command used for monitoring high availability openstack nova-api service in tc019 is "nova image-list", the "openstack image list" command used in tc019 now may not correctly show the nova-api service status. This is patch swtich the monitor command to "openstack server list". Change-Id: I8810f28b4328ceb4d911a3041a24774ae9cae8f0 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-05-04Update release note for Danube.2.0JingLu51-29/+60
Change-Id: I573c156e86ce92eb82179a81d8106752e6421183 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-04-22Update virtualenv installation step in userguideJingLu51-1/+19
Change-Id: I0b3e8f22b6878c3b2cf1a54f3c39f2888406c508 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-04-05Bugfix: fix query job status in TC074JingLu51-3/+3
JIRA: YARDSTICK-621 The storperf job status query in TC074 didn' work properly. The cause is the "type: status" is not passed in the URL. This patch also update storperf VM image to xenial. Change-Id: Idd9f501416b24612f6045a57ba2a95e2ed3a9572 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-31Refine documentationJingLu52-48/+45
Change-Id: Ic9a84954fdb18ac97afde01541b4c84157df8441 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-30add yardstick_user_interface chapter in userguideJingLu59-12/+17
JIRA: YARDSTICK-618 Change-Id: I690c24d665016a381ae1ed7d8fa94d5a34bc1b1b Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-30Refine documentationJingLu521-478/+840
Change-Id: I0d3387a520e3decf51bb0f7db53996f148a611d0 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-24Update cirros image to latest versionMichael Polenchuk1-2/+2
Change-Id: Iffa1e4529e5b6e9664ac503a5815ea9a034d7515 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-23Merge "Update yardstick framework architecture in userguide"Jing Lu13-141/+300
2017-03-22Merge "Yardstick: User interface for Yardstick."Jing Lu1-0/+29
2017-03-22Merge "Refine test case description for tc076"Jing Lu1-10/+53
2017-03-22Update yardstick framework architecture in userguideJingLu513-141/+300
JIRA: YARDSTICK-590 This patch update the yardstick framework architecture in the userguide, also fix some rst grammar mistakes Change-Id: I84e7c24b4cd936a01f4c191e9f530f15f9f711de Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-17Yardstick: User interface for Yardstick.rajesh_4k1-0/+29
Currently Yardstick doesnt have any UI which gives detail analysis of the test-results. This commit generates a HTML page after the execution of a command "yardstick report generate <task-ID> <TC-name>" which intern can be executed after the execution of test-case. Used: Highcharts.js for the graphs. JIRA: YARDSTICK-280 Change-Id: Ic98cc348719f3922bff178f52e7944a4a931763a Signed-off-by: Rajesh K <4k.rajesh@gmail.com>
2017-03-17Refine test case description for tc076JingLu51-10/+53
JIRA: YARDSTICK-594 Change-Id: Ieaf13a875d00c279d4da57dcdba5bcfb09f44e8f Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-10Adding Labelsrexlee87764-0/+8
Labels serve as anchors/ refs when referenced from other documents This patch adds labels to docs/*/*/index.rst Change-Id: I046277771130cc6298636fb30f9d6dae7de224cf Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-03-08Yardstick Preliminary Documentationrexlee877692-1/+1
JIRA: YARDSTICK-554 align with opnfvdocs path structure about testing projects Change-Id: I6c2f2d37e41447dccd76b9f4426d00fd85cb1e3b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-02-18Docs: Adding preliminary documentation for Network Service Benchmarking.Deepak S9-11/+452
This patch adds overview & installation instruction to get started on VNF testing. Change-Id: I73c9616d7154f701f542ff9a49c32a9516902ff4 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-02-16tc076 rst documentationrexlee87762-0/+62
JIRA: YARDSTICK-534 Change-Id: Idcd8fb600d64c0300b5aaf9bd4108eca6c866526 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-12-28Merge "enhance test cases description and provide more info(in progress)"Jing Lu11-269/+738
2016-12-07Bugfix: update Yardstick custom VM image name in user guideJingLu51-2/+2
JIRA: YARDSTICK-451 Change-Id: Ie6e4a0b924f4ee047756b954e88c50621e0b596f Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-12-05enhance test cases description and provide more info(in progress)JingLu511-269/+738
JIRA: YARDSTICK-389 This work is about to improve test case.rst to provide more info Change-Id: If27fe462a43f6344a06e61944b72e912d2a516b7 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-11-24Update release note for Colorado 3.0JingLu51-11/+33
Change-Id: Ic83a0b02ea1ca77b5073c80fada6d8f45ff2e399 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-11-17Merge "Yardstick installation unified (pip/setup)"Kubi1-35/+1
2016-11-15Yardstick installation unified (pip/setup)chenjiankun1-35/+1
JIRA: YARDSTICK-394 Change-Id: I486aa24121b2ad8d66cd6df97ca86ef826862c91 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2016-11-04Add how to add/modify Yardstick Grafana dashboard in user guideJingLu51-18/+51
JIRA: YARDSTICK-239 Change-Id: I2f628c2bb50418d87faf3dac0b5d006d44ea09b2 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-10-31Merge "Refine docs"liang gao1-1/+1
2016-10-24Bugfix: correct a typo in the yardstick userguideJingLu51-1/+1
JIRA: YARDSTICK-374 Change-Id: If0d54542a1978655d7c9cae96171f1aa55a6fef4 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-10-24Refine docszshi1-1/+1
Change suite to case for better description. Change-Id: Ie4e8116e0d40f4f015b13c9b99c8f7b191b77657 Signed-off-by: zshi <zshi@redhat.com>
2016-10-24Merge "Update userguide and results docs"liang gao7-17/+19
2016-10-24Bugfix: correct a typo in the yardstick userguideJingLu57-41/+205
JIRA: YARDSTICK-374 Also refine the userguide Change-Id: Iae2af02684ee326abe2a21940e5023b935d4a8da Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-10-22Update userguide and results docswulin wang7-17/+19
JIRA: YARDSTICK-375 Change-Id: I46b7d3c5b815883f8da6680a7c77d68478cd3f85 Signed-off-by: wulin wang <wangwulin@huawei.com>
2016-10-17Update release note for Colorado 2.0JingLu51-36/+69
Change-Id: Iea238d4818b460021d8880f13ae24d324365f87c Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-09-21Refine release note & Update scenario test resultsJingLu518-1128/+363
JIRA: YARDSTICK-351 JIRA: YARDSTICK-354 Also fix a error in Yardstick_task_templates.rst Change-Id: Id9d091fce3afa7b0f62a08dfd6bca504aeaac805 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-09-21Update scenario test results file for Colorado releasewulin wang4-0/+712
JIRA: YARDSTICK-351 Change-Id: I1770bb6f5fe24bc43ee4c50776bcfd3ba89360d9 Signed-off-by: wulin wang <wangwulin@huawei.com>
2016-09-20Update scenario test results files for Colorado releaseJingLu514-292/+1453
JIRA: YARDSTICK-351 Also fix some errors in userguide Change-Id: Icd70f1cc99d735c62e235808eb721a7482e0a218 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-09-18Doc for Xreview by other test projectsJingLu59-164/+636
Change-Id: I9976969344c5ac4859b0e79b88157e54ec4198d9 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-09-07Refine docsJingLu511-237/+350
Change-Id: Ia3760bb2c3154f4d5460651f4fa15030f6689eec Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-08-21add doc about scenario suite helprexlee87761-1/+70
Change-Id: Ib8dfc56e8b84cdba04fc18f13ac780b2103c0b5d Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-19Restructure user-guideJingLu510-5/+237
Add 09-result-store-InfluxDB.rst Update index.rst for 09-result-store-InfluxDB.rst Change-Id: I44e662db07e206e58812d7a997036936a95b5137 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2016-08-18Merge "Add the way to deploy InfluxDB and Grafana locally to userguide"liang gao2-0/+68
2016-08-18Add the way to deploy InfluxDB and Grafana locally to userguiderexlee87762-0/+68
Change-Id: I6bd87391025afd2cc1d38025445264949f38d5a6 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-15fix bug of tc075 \t format error in yamlrexlee87762-13/+10
Change-Id: Ieaea4ccee6d991d1e648a65abb2ecbc7f3455056 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-15Merge "Add testcase tc0075 and mofify testcsuite"liang gao1-0/+64
/span> stderr=devnull) except Exception: return False return True download_file_powershell.viable = has_powershell def download_file_curl(url, target): cmd = ['curl', url, '--silent', '--output', target] _clean_check(cmd, target) def has_curl(): cmd = ['curl', '--version'] with open(os.path.devnull, 'wb') as devnull: try: subprocess.check_call(cmd, stdout=devnull, stderr=devnull) except Exception: return False return True download_file_curl.viable = has_curl def download_file_wget(url, target): cmd = ['wget', url, '--quiet', '--output-document', target] _clean_check(cmd, target) def has_wget(): cmd = ['wget', '--version'] with open(os.path.devnull, 'wb') as devnull: try: subprocess.check_call(cmd, stdout=devnull, stderr=devnull) except Exception: return False return True download_file_wget.viable = has_wget def download_file_insecure(url, target): """ Use Python to download the file, even though it cannot authenticate the connection. """ src = urlopen(url) try: # Read all the data in one block. data = src.read() finally: src.close() # Write all the data in one block to avoid creating a partial file. with open(target, "wb") as dst: dst.write(data) download_file_insecure.viable = lambda: True def get_best_downloader(): downloaders = ( download_file_powershell, download_file_curl, download_file_wget, download_file_insecure, ) viable_downloaders = (dl for dl in downloaders if dl.viable()) return next(viable_downloaders, None) def download_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL, to_dir=os.curdir, delay=15, downloader_factory=get_best_downloader): """ Download setuptools from a specified location and return its filename `version` should be a valid setuptools version number that is available as an sdist for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt. ``downloader_factory`` should be a function taking no arguments and returning a function for downloading a URL to a target. """ # making sure we use the absolute path to_dir = os.path.abspath(to_dir) zip_name = "setuptools-%s.zip" % version url = download_base + zip_name saveto = os.path.join(to_dir, zip_name) if not os.path.exists(saveto): # Avoid repeated downloads log.warn("Downloading %s", url) downloader = downloader_factory() downloader(url, saveto) return os.path.realpath(saveto) def _build_install_args(options): """ Build the arguments to 'python setup.py install' on the setuptools package """ return ['--user'] if options.user_install else [] def _parse_args(): """ Parse the command line for options """ parser = optparse.OptionParser() parser.add_option( '--user', dest='user_install', action='store_true', default=False, help='install in user site package (requires Python 2.6 or later)') parser.add_option( '--download-base', dest='download_base', metavar="URL", default=DEFAULT_URL, help='alternative URL from where to download the setuptools package') parser.add_option( '--insecure', dest='downloader_factory', action='store_const', const=lambda: download_file_insecure, default=get_best_downloader, help='Use internal, non-validating downloader' ) parser.add_option( '--version', help="Specify which version to download", default=DEFAULT_VERSION, ) options, args = parser.parse_args() # positional arguments are ignored return options def main(): """Install or upgrade setuptools and EasyInstall""" options = _parse_args() archive = download_setuptools( version=options.version, download_base=options.download_base, downloader_factory=options.downloader_factory, ) return _install(archive, _build_install_args(options)) if __name__ == '__main__': sys.exit(main())