
This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: I2eecc45d29554825b959b6df1d9d28b30b4e9c8d
37 lines
2.1 KiB
Plaintext
37 lines
2.1 KiB
Plaintext
yum install git python-pip python-alembic python-flask
|
|
git clone https://git.openstack.org/openstack/tuning-box.git
|
|
pip install -e tuning-box
|
|
sudo -u postgres psql -c '\dt' nailgun | grep tuning_box
|
|
nailgun_syncdb
|
|
sudo -u postgres psql -c '\dt' nailgun | grep tuning_box
|
|
service nailgun restart
|
|
token_id=$(openstack token issue -c id -f value)
|
|
|
|
curl -H "X-Auth-Token: $token_id" http://10.20.0.2:8000/api/config/
|
|
- components
|
|
- environments
|
|
- components -H "Content-type: application/json" -d @component.json
|
|
- environments -H "Content-type: application/json" -d @environment.json
|
|
- environments/1/resources/resource1/values
|
|
- environments/1/resources/slashed/resource/values
|
|
- environments/1/resources/1/values
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values
|
|
- environments/1/resources/1/values -H "Content-type: application/json" -X PUT -d '{"global_key": "global_value"}'
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values -H "Content-type: application/json" -X PUT -d '{"node_key": "node_value"}'
|
|
- environments/1/resources/1/values
|
|
- environments/1/resources/1/values?effective
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values?effective
|
|
- environments/1/resources/1/overrides -H "Content-type: application/json" -X PUT -d '{"global_key": "global_override"}'
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values?effective
|
|
- environments/1/resources/1/values -H "Content-type: application/json" -X PUT -d '{"global_key": "global_value_new"}'
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values?effective
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/overrides -H "Content-type: application/json" -X PUT -d '{"global_key": "node_override"}'
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values?effective
|
|
- environments/1/nodes/node-2.domain.tld/resources/1/values?effective
|
|
- environments/1/resources/1/values
|
|
- environments/1/resources/1/values?effective
|
|
- environments/1/nodes/node-1.domain.tld/resources/1/values
|
|
|
|
curl -H "X-Auth-Token: $token_id" http://10.20.0.2:8000/api/config/
|