summaryrefslogtreecommitdiffstats
path: root/tests/utils
AgeCommit message (Collapse)AuthorFilesLines
2018-02-06Fix anteater issue with use of /tmpBryan Sullivan1-8/+8
JIRA: MODELS-2 Change-Id: I4352dacc102fab89aa307ef25877ee6f3ba8248e Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2018-02-06Fix anteater issue with use of /tmpBryan Sullivan1-88/+68
JIRA: MODELS-2 Change-Id: Ia24b89710633191066a89c70b981486e71d6a5fd Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2018-02-06Fix anteater issue with use of /tmpBryan Sullivan1-30/+29
JIRA: MODELS-2 Change-Id: I9657df78ab5412a69eb46a1054cf080858964c5e Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2018-02-06Remove scripts no longer maintainedBryan Sullivan2-280/+0
JIRA: MODELS-2 Change-Id: I1870fa48bafec54e1ae26183f7d4b4d55803f1b4 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2018-01-10Add copy of MCP CA cert if existing into tacker containerBryan Sullivan1-1/+4
JIRA: MODELS-2 Change-Id: I9ee0490b5d78910d1e09a53c0596d9eceb69763c Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
2018-01-09Update for Euphrates; build/use Tacker containerBryan Sullivan1-361/+40
JIRA: MODELS-2 Change-Id: I71db2f530a055e17d8012ba37487a9ae76be0fd1 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-17Update to install python-novaclientAimee Ukasick1-0/+1
Change-Id: Idd51bbbaffc965e6a75c62cda83ca8a61246621f 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-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>