summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-03-03Various fixes so tests run on constrained envs, e.g. Devstackbryan5-59/+100
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-02Update vHello_3Node_Tacker test for Danubebryan2-23/+58
JIRA: MODELS-23 blueprint.yaml: Add vHello key injection into blueprint for debug. Fix URL for favicon. Fix docker install pre-reqs. vHello_3Node_Tacker.sh: Fix tests in say_hello. Correct path to blueprint in copy_blueprint. Create and inject nova keypair. Use actual $FLOATING_NETWORK_NAME in floating ip allocation. Fix use of array variables vdu_ip/id/etc. Change-Id: Id4a04ecf86d3715d11c65298c22c586e20f78d4c Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-01Fix error in variable referencebryan1-1/+2
JIRA: MODELS-23 Change-Id: Id3382aa986e219650ae85951ef2c7dd72c6dc7b1 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-03-02Merge "Use $FLOATING_NETWORK_NAME instead of "public""Bryan Sullivan1-2/+6
2017-03-01Use $FLOATING_NETWORK_NAME instead of "public"bryan1-2/+6
JIRA: MODELS-23 Fix config drive test Verified on apex virtual deployment. Change-Id: Ic719af13cf2edb1cb2183dbeeaec298887e89bf2 Signed-off-by: bryan <bryan.sullivan@att.com>
2017-03-01Merge "Remove domain variables due to issues with keystone v2"Bryan Sullivan1-5/+7
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-01Merge "Align with vHello_Tacker update for Danube"Bryan Sullivan2-166/+380
2017-03-01Align with vHello_Tacker update for DanubeBryan Sullivan2-166/+380
JIRA: MODELS-23 Change-Id: I9dafea969c9333f3890532644055c6ebffd11407 Signed-off-by: Bryan Sullivan <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-28Add note about nested virtualization. Remove debug step.Bryan Sullivan1-1/+4
JIRA: MODELS-23 It may be needed for devstack under a virt-manager VM. Change-Id: Ie6a0e066db88cba944005cae2107947cd01c9bb9 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-02-28Update vHello_Tacker for DanubeBryan Sullivan2-23/+71
JIRA: MODELS-23 Verified on devstack. Use current xenial cloud image link. Tests as part of asserts are not working - refactor. Correct URL for OPNFV logo. Fix if statements as needed. Loop on VNF deletion (response is 0 so can't use that as success indication). Increase VNF creation loop timeout. Use presence of dockerenv as "running in container" indication. Change-Id: I7cdc0719b1d5bac7cfb90efed9a8ce092a63ec86 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-02-08Update vHello_Tacker testbryan3-51/+25
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-07Minor editorials in advance of copying intro to other tests.bryan1-2/+3
JIRA: MODELS-23 Change-Id: Icea197f32f75f621fc1284ef0634ea37fb74ffca Signed-off-by: bryan <bryan.sullivan@att.com>
2017-02-07Update vHello_Tacker for Danube/Newton part 2bryan2-82/+83
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-29Remove strange lines that creeped in somehowBryan Sullivan1-3/+0
JIRA: MODELS-23 Change-Id: Iecddf7c197c27750b434f2976271a5cd6d17c843 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-01-29Fix assertionsBryan Sullivan1-5/+7
JIRA: MODELS-23 Change-Id: Ied0d56e4029f364e1ad4f54ee5a53abb276e0c19 Signed-off-by: Bryan Sullivan <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 Sullivan3-34/+363
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 Sullivan3-141/+317
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-01Add note about step 4 post-stateBryan Sullivan1-0/+1
JIRA: MODELS-23 Change-Id: Ifbe9c1f55aeabc8e504d9a33c289c2f47d337bb5 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-12-01Update test description with test assertions etcBryan Sullivan1-1/+27
JIRA: MODELS-23 Change-Id: I17b6ecf00a5dbd402a8a092db1dfd5443687ae17 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-12-01Add test assertionsBryan Sullivan1-31/+46
JIRA: MODELS-23 Change-Id: Iaea8be6026f18d8530c4b274d86b99cfbddf2e98 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-12-01Embed public key in user data, various other updatesBryan Sullivan3-123/+142
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-28Add verification of config drive setup. Get key key from ~/vHello/pem.Bryan Sullivan2-2/+16
JIRA: MODELS-23 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com> The key is not saved in the repo due to security recommendations. This is a kludge that will be removed for Newton (Tacker supports key injection as of Newton). Change-Id: I6a21b189fc7b2b5a960a7acdd4b640148797d738 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-28Add config drive parameter (verified) to blueprint.Bryan Sullivan1-0/+1
JIRA: MODELS-23 Change-Id: Id0f2e47ffd3772d92bddf242175d152d29fa3868 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-22Replace image attribute with (verified) VNFImage attribute.Bryan Sullivan1-1/+6
JIRA: MODELS-23 A separate test will be created to cover these two options. Change-Id: Idf476707bc9f42d04ff9f6176e00b65246edc8ce Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-22Add user data support (verified) to blueprintBryan Sullivan2-25/+20
JIRA: MODELS-23 Change-Id: Ib187e31aee6534b1a1fad230605677ce87913cce 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-22Simpler approach to finding server IDBryan Sullivan1-2/+3
JIRA: MODELS-23 Change-Id: Ie06453181e8778dfbdfa617b9fee3d4cfa2293b5 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-22Tweaks to workaround issue with Tacker exceptions (not yet complete)Bryan Sullivan2-9/+43
JIRA: MODELS-23 Change-Id: Ibda1d346d85c153bd5ebe36eafa52045b29e7038 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-11-02Baseline of vHello_3Node_Tacker testblsaws6-0/+566
JIRA: MODELS-23 Change-Id: I1c12d6282416fb5007ff2b917cea7b1b01597fc0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-10-11Fix order of environment setup stepBryan Sullivan2-250/+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-10-04Don't need thisBryan Sullivan2-30/+0
JIRA: MODELS-23 Change-Id: I9bce8aeb3772ea0ecfc8cb0f7a18c5fea58bb286 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2016-10-03Switch to openstack vs neutron cliblsaws1-9/+9
JIRA: MODELS-23 Change-Id: Iecacf6f31a5a295980954a457c8a96249f78d9fb Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-23Add region as parameter (varies by installer)blsaws1-1/+1
JIRA: MODELS-23 Change-Id: I9efe731abd301ef5db2603f383f990d23e4a9b75 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-22Change to trusty per Cloudify recommendationblsaws1-16/+10
JIRA: MODELS-23 Change-Id: Idf2d04ee3173b753f393a3b3ea31023684d0cf37 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-22Baseline of OpenWRT test.blsaws2-0/+282
JIRA: MODELS-23 Change-Id: Ie511bf48c025f486fede64a9a6e72f60ec2f0647 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-22Switch to trusty to fix issues with python not being pre-installed.blsaws1-10/+12
JIRA: MODELS-23 Change-Id: If7bcb140043112ef08a80cb16f9c4fea0c27d695 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-21Efforts to address SSH connection issuesblsaws2-4/+11
JIRA: MODELS-23 Change-Id: I1a230815e232c4cb5b50463d2be06cfb0227ea36 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-21Fix key filename, add network environment setupblsaws2-5/+42
JIRA: MODELS-23 Change-Id: Ifd7a973128cee263a60ad1855d3297e4d98455ad Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-21Add initial tests for Lamp Stack deployment via Ansibleblsaws2-0/+361
JIRA: MODELS-23 Change-Id: I927e7aed58afaf0ad2acf8839c7e960b5a94aa14 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-15Further updates in cloudify re-testingblsaws3-32/+56
JIRA: MODELS-23 Change-Id: Ie404b4c5056a8938fe1272af9c98141153bf79ba Signed-off-by: blsaws <bryan.sullivan@att.com>