summaryrefslogtreecommitdiffstats
path: root/tests/vHello_Tacker.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-01-09Update for Euphrates; build/use Tacker containerBryan Sullivan1-108/+162
JIRA: MODELS-2 Change-Id: I71db2f530a055e17d8012ba37487a9ae76be0fd1 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.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-03Move image setup to tacker-setup.shBryan Sullivan1-4/+0
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-8/+27
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-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-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 Sullivan1-20/+67
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 testbryan1-10/+12
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 2bryan1-34/+33
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-26Include tacker.conf.sample due to issues with tox, etcBryan Sullivan1-20/+28
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-23Update for Danube/Newton, support Devstack testing.Bryan Sullivan1-47/+71
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-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 Sullivan1-73/+76
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 Sullivan1-1/+6
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-22Add user data support (verified) to blueprintBryan Sullivan1-25/+0
JIRA: MODELS-23 Change-Id: Ib187e31aee6534b1a1fad230605677ce87913cce 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 Sullivan1-0/+3
JIRA: MODELS-23 Change-Id: Ibda1d346d85c153bd5ebe36eafa52045b29e7038 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-15Further updates in cloudify re-testingblsaws1-18/+2
JIRA: MODELS-23 Change-Id: Ie404b4c5056a8938fe1272af9c98141153bf79ba Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-14Align design of Cloudify and Tacker test scriptsblsaws1-4/+22
JIRA: MODELS-23 Change-Id: Iaa4efef6b5c993381ad6d7e5583859e860a52d0f Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Fix location of downloaded imageblsaws1-1/+1
JIRA: MODELS-23 Change-Id: Ie5e135318d2ecc69c16bc304e1919371dc8ec21d Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Add run as combination of setup and startblsaws1-13/+36
JIRA: MODELS-23 Change-Id: Id2207d3ba94dfef8fa9ee1b4594d8a7ed6c24d72 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Add input case statement, "run" optionblsaws1-77/+99
JIRA: MODELS-23 Change-Id: I3f71a92663d8c411971f50aafffde244b27a3add Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12One more fix to error checkblsaws1-1/+1
JIRA: MODELS-23 Change-Id: I04d91542f580174de3900054861dcbb517416c1b Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Further fixes to error check...blsaws1-1/+1
JIRA: MODELS-23 Change-Id: I767fdf6d2bc0a42b5b3252fa172349a0448cef8c Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Fix error checkblsaws1-1/+1
JIRA: MODELS-23 Change-Id: I948c42c82d830552f1c6c1585fd5bb5d73f15860 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12wait 30 seconds for vHello server to startupblsaws1-7/+14
JIRA: MODELS-23 Change-Id: I28e13d37965bc5af9c6e0ed61cb3145a30afe52a Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-13Add nohup to python; add /bin/bash to exec commands; etcblsaws1-6/+12
JIRA: MODELS-23 Change-Id: I565e6fe234279dcf2fab70cdd48c497ec768f5b1 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Add /bin/bash to prevent docker hangingblsaws1-1/+1
JIRA: MODELS-23 Change-Id: I18d8a950bc065ad6e17534073792841ccb247f97 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Add router interface for mgmt net; fix curl commandblsaws1-1/+6
JIRA: MODELS-23 Change-Id: Ia650447e7f30139366df3867d8f393f6335ead19 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-12Incorrect logic on image createblsaws1-4/+3
JIRA: MODELS-23 Change-Id: I9a27ddc2232038472ba33b36308b8aff27c6e027 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-10Add keys for pre-prepared imageblsaws1-14/+18
JIRA: MODELS-23 Change-Id: I899d5256a7727605c3317f7872e5c76c4f555ea0 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-09Include start script directlyblsaws1-2/+19
JIRA: MODELS-23 Change-Id: I12eac5ee6320fc547e6f52feba89b1aeb871ca42 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-09Add key-injected imageblsaws1-42/+68
JIRA: MODELS-23 Change-Id: Ia6f543903431224f16bf738629b0c506a266d681 Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-08Fix line endingsblsaws1-179/+179
JIRA: MODELS-23 Change-Id: I594cafd7773dcffc5683a0839e3b8b9d9c6d9a5e Signed-off-by: blsaws <bryan.sullivan@att.com>
2016-09-08Added blueprints and startup script, etcblsaws1-0/+179
JIRA: MODELS-23 Change-Id: I13ea12d8d9791fd2aa6861909d6194caaa47733f Signed-off-by: blsaws <bryan.sullivan@att.com>