summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Update for Euphrates; build/use Tacker containerBryan Sullivan2-469/+202
JIRA: MODELS-2 Change-Id: I71db2f530a055e17d8012ba37487a9ae76be0fd1 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-11-08Fix compare logic; improve demo start/stop logicBryan Sullivan1-4/+4
JIRA: MODELS-2 Change-Id: I96e3e5fdfffbb01ca474871242993cc52f49d9ef Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-06-07Add util to setup OpenStack clientsBryan Sullivan1-0/+72
JIRA: MODELS-2 Change-Id: Id1b1894c5bc132f01dd6bc9ce59bec09f00ff286 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2017-06-01Remove /tacker/ from directory in which tacker.conf.sample residesAimee Ukasick1-1/+1
JIRA: VES-11 Change-Id: Ib42332f625a9487c83ce5afa69e751dd8612fb87 Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-06-01Comment out section that modifies tacker conf [openstack_vim] sectionAimee Ukasick1-23/+23
JIRA: VES-11 This section is only needed if you want to change the values in tacker.conf.sample. Change-Id: Ib20b568da330fb28061c23662dc225d3d0e0bc4b Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-06-01Update stack_retry_wait so tacker doesn't time out before heatAimee Ukasick1-2/+2
JIRA: VES-11 Tacker is timing out before Heat finishes creating the 5 VDU stack. Tacker then throws a VNF creation error, which is in fact not true. Tacker bases timeout on stack_retries * stack_retry_wait. See Tacker tacker.vnfm.infra_drivers.openstack.openstack.py for details. New timeout will be 10 minutes. Change-Id: Ief6b86361532fe74f4ce61f1aeb830f3f25e663f Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-05-17Merge "Update to install python-novaclient"Bryan Sullivan1-0/+1
2017-05-17Merge "Install nano editor in container"Bryan Sullivan1-0/+3
2017-05-17Update to install python-novaclientAimee Ukasick1-0/+1
Change-Id: Idd51bbbaffc965e6a75c62cda83ca8a61246621f Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-05-16Corrected web server address assignment.Aimee Ukasick1-1/+1
Change-Id: I9753ad9f7d1daee63f31c81bf557d09fa98746db Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-03-31Install nano editor in containerAimee Ukasick1-0/+3
Change-Id: Iaebe24c66eee9766207acf7947cc4b65b454aed9 Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-03-16Remove code specific to OPNFV Colorado JOIDAimee Ukasick1-6/+0
JIRA: MODELS-23 Setup function: removed workaround code to enable ML2 port functionality in the JOID Colorado release. Change-Id: If0c2f53b426701682ced97c7045465bbb77ee83c Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
2017-03-09Removed code specific to OPNFV Colorado Releasestable/danubeAimee Ukasick1-38/+33
JIRA: MODELS-23 Setup function: removed workaround code to enable ML2 port functionality in the JOID Colorado release. Change-Id: Id3ddb1f74e44c913d529f2d937cfe00a31a4480f Signed-off-by: Aimee Ukasick <aimeeu.opensource@gmail.com>
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 Sullivan3-8/+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. 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>