commit | b8d04d575b1cb8b05aace823de64d74e0d0e4c48 | [log] [tgz] |
---|---|---|
author | Hanna Arhipova <harhipova@mirantis.com> | Fri Dec 28 13:19:17 2018 +0200 |
committer | Hanna Arhipova <harhipova@mirantis.com> | Fri Dec 28 13:19:17 2018 +0200 |
tree | 0c4edaf1d128461ba2354c4f9b96d2495c05fd48 | |
parent | feebf9e482a3e8d64eb205797424894e3430743a [diff] |
Remove ldap_server component from test_drivetrain_components_and_versions Change-Id: Idc8e8581f828334db511b0ca2149ad812e71a6c3 Fixes-Bug: #PROD-26151(PROD:26151)
This is salt-based set of tests for basic verification of MCP deployments
# root@cfg-01:~/# git clone https://github.com/Mirantis/cvp-sanity-checks # cd cvp-sanity-checks
Use git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 if needed.
# curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz # tar xvfz virtualenv-X.X.tar.gz # cd virtualenv-X.X # sudo python setup.py install
or 1```bash
3) Create virtualenv and install requirements and package: ```bash # virtualenv --system-site-packages .venv # source .venv/bin/activate # pip install --proxy http://$PROXY:8678 -r requirements.txt # python setup.py install # python setup.py develop
# vim cvp_checks/global_config.yaml
SALT credentials are mandatory for tests.
Other settings are optional (please keep uncommented with default values)
Alternatively, you can specify these settings via env variables:
export SALT_URL=http://10.0.0.1:6969
For array-type settings please do:
export skipped_nodes='ctl01.example.com,ctl02.example.com'
# pytest --tb=short -sv cvp_checks/tests/
or
# pytest -sv cvp_checks/tests/ --ignore cvp_checks/tests/test_mtu.py