summaryrefslogtreecommitdiffstats
path: root/tests/utils
AgeCommit message (Collapse)AuthorFilesLines
2017-03-06Remove redundant endpoint delete operation.bryan1-1/+0
JIRA: MODELS-23 Change-Id: I3101b8218777bd59fce635557e83f5400f8c1ecf Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-06Update to clarify Tacker plugin should be disabled for now.bryan1-2/+6
JIRA: MODELS-23 Change-Id: I6f44b3f09becb8ecf2c37be7eece53fafe29f1af Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-03Move image setup to tacker-setup.shBryan Sullivan1-0/+4
JIRA: MODELS-23 Change-Id: I3b6aaf692670046820b39aad82df423b8d051eb3 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-03-03Various fixes so tests run on constrained envs, e.g. Devstackbryan1-1/+1
JIRA: MODELS-23 vHello_3node blueprint.yaml: Switch to pre-built image to speed up VDU activation. Various updates to webserver setup procedure. Fix docker setup. Address line wrapping issues with blueprint user data. vHello blueprint.yaml: Switch to pre-built image to speed up VDU activation. tacker-setup.sh Correct nfv-orchestration endpoint setup. vHello_3Node_Tacker.sh: Copy script on setup and start steps. Add create image models-xenial-server. Increase timeout onwebserver response. Wait for VDU1 to startup before testing all webservers. vHello_Tacker.sh: Copy script on setup and start steps. Add create image models-xenial-server. Increase timeout onwebserver response. Wait for VDU1 to startup before testing all webservers. Change-Id: I97c26248de45845afb30ada3bc284b4389be1b63 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-03-01Remove domain variables due to issues with keystone v2bryan1-5/+7
JIRA: MODELS-23 Verified on apex. Change-Id: I44a039e65c367e4bc2c7dfc3162b70daa478dd3e Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-01Add tenant ID to vim-config.yamlbryan1-0/+1
JIRA: MODELS-23 Change-Id: Ie662cb3dea9f6b8f222f214e83b16cb387d56c17 Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-01Force pass in taker-setup clean function.bryan1-0/+1
JIRA: MODELS-23 If some est resources are not found (harmless) the script would exit with fail() and prevent cleanup of the tacker container in the calling script. Change-Id: I8429ba4a6d6084ab56c0ecd07f6f3eead8522743 Signed-off-by: bryan <bryan.sullivan@att.com>
2017-02-08Update vHello_Tacker testbryan1-1/+13
JIRA: MODELS-23 Update comments and usage. Remove redundant openstack image delete. Add tacker vim-register --is-default flag. Add docker install for ubuntu as needed. Delete start.sh (moved into blueprint user data). Change-Id: I1e4890a8902d164605b82221c54f7b81bdb57c93 Signed-off-by: bryan <bryan.sullivan@att.com>
2017-02-07Update vHello_Tacker for Danube/Newton part 2bryan1-48/+50
JIRA: MODELS-23 Move install to /opt/tacker. Update tacker conf. Various fixes. Clarify that Ubuntu or Centos can be used for the Tacker install. Change Mitaka ref to Newton. Change-Id: I31dd3104de981b3f2fa3a43b28387c764b2392c1 Signed-off-by: bryan <bryan.sullivan@att.com>
2017-01-27Merge "Update instructions to include step-by-step"Bryan Sullivan1-29/+48
2017-01-26Include tacker.conf.sample due to issues with tox, etcBryan Sullivan2-14/+335
JIRA: MODELS-23 Change from OSC to specific clients (e.g. neutron) due to issues with newton version of the OSC. Add apt-utils install due to not in default Xenial container. Fix branch selection for OSC and other clients. Comment out tox section (throwing exceptions for some reason). Use tacker.conf.sample included in the repo. Fix test for VNF active (tacker vnf-show). Add loop for server up test. Add OpenStack branch as option. Change-Id: Id85b433e94df57c7b68f7feec2ce9cf6b2b238e0 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-01-26Update instructions to include step-by-stepAimee Ukasick1-29/+48
JIRA: MODELS-23 Created step-by-step instructions. Added that the OS_PASSWORD should be explicity set in the *-openrc.sh file prior to running setup. Added example of how to run tests in the container. Change-Id: Ibe9cab8352a5a9da7f5e3e67a28e2babb243726c Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-01-23auth_uri is required by keystonemiddlewareBryan Sullivan1-0/+2
JIRA: MODELS-23 It was removed as no reference was found in tacker, but it is apparently used by keystonemiddleware, so restored and set to the keystone publicurl as noted by keystone in the tacker log. Change-Id: I333120805106cde9007f79a1b11a589b045cd3e9 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-01-23Update for Danube/Newton, support Devstack testing.Bryan Sullivan2-94/+246
JIRA: MODELS-23 tacker-setup.sh: Update comments and usage. Remove OPNFV-specific env setup, add openrc and Heat host params. Add OSC setup from github branch. Install ping in tacker container. Setup tacker as mysql user vs root. Move tacker user cleanup to setup() function. Update git branch to Newton. Uncomment tox generation of tacker.conf.sample. Update tacker.conf for newton. Address tacker bug (?) in vim-config.yaml. Add more vim-config.yaml fields found to be needed in testing. Update tacker commands for changes to "--name" parameter. Move tacker container cleanup to vHello_Tacker.sh. vHello_Tacker.sh: Update comments and usage. Update admin-openrc.sh setup. Update calls to tacker-setup.sh for new params. Add TODOs for things. Improve test for JuJu command use. Fix bugs in assertion tests. Add devstack local.conf to utils/devstack Change-Id: I31fdb6be8f198cc245c259378922650bae095496 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-01-17Update comments for more clarityBryan Sullivan1-17/+47
JIRA: MODELS-23 More explanations etc as requested. More info on value of OSC in container. Change-Id: I2b3f47e145e562548b5c5c7285f88e3288718a78 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-01-16Add test utility to create OpenStack client container.Bryan Sullivan1-0/+175
JIRA: MODELS-4 Installs OS clients in a docker container, avoiding the need to create a virtualenv or install additional software on the host. Tests and manual operations can then be invoked thru the docker API. Fixed usage notes. Change-Id: Idba579225abc05bcb897f938f0f5ad6530bed6f0 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-12-01Embed public key in user data, various other updatesBryan Sullivan1-49/+59
JIRA: MODELS-23 Add test duration and timestamps. Add image and key cleanup to stop function. Update Tacker Heat timeout config values. Change-Id: I55da984477389d4eabb84abec522f58b3eed0032 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-22Revert to previous setup due to side-effects of not using pip installsBryan Sullivan1-40/+9
JIRA: MODELS-23 Change-Id: Ifdd6c0b5325a29bbc07254ee062c1c03e6b88e44 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-22Tweaks to workaround issue with Tacker exceptions (not yet complete)Bryan Sullivan1-9/+40
JIRA: MODELS-23 Change-Id: Ibda1d346d85c153bd5ebe36eafa52045b29e7038 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-10-11Fix order of environment setup stepBryan Sullivan1-28/+29
JIRA: MODELS-23 Change-Id: I7c68e5ef4a3bf5c51183945c351de8c4499bd261 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-10-08Workaround for issues with WOL/PXE support in ApexBryan Sullivan2-0/+108
JIRA: MODELS-23 Change-Id: I9f871d7a2684ec6f243ecbaa61f2db9d194a77d5 Signed-off-by: Bryan Sullivan <bs3131@att.com>
2016-10-07Add debug script for Apex undercloudBryan Sullivan1-0/+41
JIRA: MODELS-23 Change-Id: Ia152a77ee601210f93c26da4a491fec088b4f741 Signed-off-by: Bryan Sullivan <bs3131@att.com>
2016-09-21Efforts to address SSH connection issuesblsaws1-1/+1
JIRA: MODELS-23 Change-Id: I1a230815e232c4cb5b50463d2be06cfb0227ea36 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-21Fix key filename, add network environment setupblsaws1-2/+2
JIRA: MODELS-23 Change-Id: Ifd7a973128cee263a60ad1855d3297e4d98455ad Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-21Add initial tests for Lamp Stack deployment via Ansibleblsaws1-0/+173
JIRA: MODELS-23 Change-Id: I927e7aed58afaf0ad2acf8839c7e960b5a94aa14 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-15Further updates in cloudify re-testingblsaws1-13/+46
JIRA: MODELS-23 Change-Id: Ie404b4c5056a8938fe1272af9c98141153bf79ba Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-14Align design of Cloudify and Tacker test scriptsblsaws2-243/+262
JIRA: MODELS-23 Change-Id: Iaa4efef6b5c993381ad6d7e5583859e860a52d0f Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Add nohup to python; add /bin/bash to exec commands; etcblsaws1-4/+17
JIRA: MODELS-23 Change-Id: I565e6fe234279dcf2fab70cdd48c497ec768f5b1 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Add /bin/bash to prevent docker hangingblsaws1-0/+1
JIRA: MODELS-23 Change-Id: I18d8a950bc065ad6e17534073792841ccb247f97 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Correct setup of vnf_mgmt network etcblsaws1-4/+3
JIRA: MODELS-23 Change-Id: I1a526ed37e94739b2049cadb9e37dd6ab873b555 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Correct vnf_mgmt_router referenceblsaws1-12/+7
JIRA: MODELS-23 Change-Id: Idd3dca0b2be79d30796f2ac9536966e227a23103 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Add router interface for mgmt net; fix curl commandblsaws1-0/+4
JIRA: MODELS-23 Change-Id: Ia650447e7f30139366df3867d8f393f6335ead19 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-11Remove creation of Centos imageblsaws1-6/+1
JIRA: MODELS-23 Change-Id: I80f6ec49d3cdce99067ac4724ae8371e3a5aee84 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-10Add keys for pre-prepared imageblsaws1-0/+3
JIRA: MODELS-23 Change-Id: I899d5256a7727605c3317f7872e5c76c4f555ea0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-07Further updates in testingblsaws2-219/+256
JIRA: MODELS-23 Change-Id: Iabbf132a2bf3b1c8f475a113b519a97c9bedcae0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-06Updates in further testingblsaws2-99/+175
JIRA: MODELS-23 Change-Id: I55418cc967fdf5e59d60304d2513dbe1e80b7dcc Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-31Install diamond pluginblsaws1-3/+20
JIRA: MODELS-23 Change-Id: Iee95f5b2736536c6cda8ac1ae5643575d1651206 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-31Further tweaks on Tacker and Cloudify tests.blsaws1-3/+4
JIRA: MODELS-23 Change-Id: I38410b626cbc29097ea1d69711916d54b416e7c4 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-31Tacker installation script baseline.blsaws2-1/+252
JIRA: MODELS-23 Edits for Cloudify CLI test. Change-Id: I28ba88fa27d309d00167249e8255b521b514cc0c Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-30Fix line endingsblsaws1-265/+265
JIRA: MODELS-23 Change-Id: I159f8fc9232459ed8129d8e02a3c8c0267ca7f9a Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-30Use $0 instead of script name in echo; fix formattingblsaws1-56/+56
JIRA: MODELS-23 Change-Id: I3e5a76197ccc57f7e2a3b94c1601f823e02193ad Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-29Add router etc to management network, local output verificationblsaws1-244/+265
JIRA: MODELS-23 Change-Id: I9e6ab62ada7d1119adf92777d3cb19fe726ee236 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-29Enhancements for centos based installblsaws1-2/+23
JIRA: MODELS-23 Change-Id: I50285aa2412dcc80194ad80922b4b9dfab16fb3b Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-08Add extra steps to make CLI workblsaws1-2/+7
JIRA: MODELS-23 Change-Id: I45ae960e25d575c58674b83e774683c7effb4505 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-08Add extension to Centos image reference; minor fixes to cleanup scriptblsaws2-8/+9
JIRA: MODELS-23 Change-Id: I3a7e930f9487a7738507081a4031052a7dd5fdd1 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-08Further updates in testing. Addressing further tweaks to blueprint.blsaws2-47/+59
JIRA: MODELS-23 Change-Id: Ia2e2a141a6a7ef7270529ed63892fa624be04ff0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-06Refactoring for cloudify-cli and cloudify-manager optionsblsaws1-14/+14
JIRA: MODELS-23 Change-Id: I1260ab62926dc00d9bd9cbc13763fd718653fd79 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-05Working version of cloudify-setup and other scriptsblsaws2-22/+147
JIRA: MODELS-23 Change-Id: Iaebdac67c2d484f9d09aee53f12f6b8cdff2c4e5 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-04Further updates in testingblsaws1-3/+9
JIRA: MODELS-23 Add flag to not cleanup on error, to allow debug Add extra DNS servers Change-Id: I2dac847c8a6e5409f1b177ef211cbb1994589bad Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-08-03Further updates in testingblsaws1-20/+80
JIRA: MODELS-23 Update to xenial Use distinct key names Change-Id: Ie0390d042f0f4dadbb334017264e28ef6091623f Signed-off-by: blsaws <bryan.sullivan@att.com>