summaryrefslogtreecommitdiffstats
path: root/tests/utils/tacker-setup.sh
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-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-26Include tacker.conf.sample due to issues with tox, etcBryan Sullivan1-14/+20
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-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 Sullivan1-94/+144
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>
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-09-14Align design of Cloudify and Tacker test scriptsblsaws1-77/+79
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 testingblsaws1-201/+238
JIRA: MODELS-23 Change-Id: Iabbf132a2bf3b1c8f475a113b519a97c9bedcae0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-06Updates in further testingblsaws1-27/+94
JIRA: MODELS-23 Change-Id: I55418cc967fdf5e59d60304d2513dbe1e80b7dcc 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.blsaws1-0/+251
JIRA: MODELS-23 Edits for Cloudify CLI test. Change-Id: I28ba88fa27d309d00167249e8255b521b514cc0c Signed-off-by: blsaws <bryan.sullivan@att.com>