<commit_before># OTC Connect Cheat Sheet

How to connect to the Open Telekom Cloud
----------------------------------------

Install prerequisites as root on your Ubuntu 16.04 machine:

```
apt-get update
apt-get -y install curl git ansible python-openstackclient python-pip python-jmespath python-netaddr libs3-2 jq
pip install python-otcclient
pip install ansible==2.2.0.0
```

Follow instruction as normal user. You need always username, password, domain data.


# 1. Openstack-Client

```
mkdir -p ~/.config/openstack
touch ~/.config/openstack/clouds.yml
chmod 600 ~/.config/openstack/clouds.yml
vi ~/.config/openstack/clouds.yml
```

clouds.yml:
```
clouds:
    otc.10000:
        auth:
            auth_url: https://iam.eu-de.otc.t-systems.com:443/v3
            username: xxxxxx
            password: <PASSWORD>
            project_name: eu-de
            project_domain_name: Default
            user_domain_name: OTC-EU-DE-00000000001000010000
        region_name: eu-de
    otc.19720:
        auth:<commit_msg>fix ansible installation<commit_after># OTC Connect Cheat Sheet

How to connect to the Open Telekom Cloud
----------------------------------------

Install prerequisites as root on your Ubuntu 16.04 machine:

```
apt-get update
apt-get -y install curl git python-openstackclient python-pip python-jmespath python-netaddr libs3-2 jq
pip install python-otcclient
pip install ansible==2.2.0.0
```

Follow instruction as normal user. You need always username, password, domain data.


# 1. Openstack-Client

```
mkdir -p ~/.config/openstack
touch ~/.config/openstack/clouds.yml
chmod 600 ~/.config/openstack/clouds.yml
vi ~/.config/openstack/clouds.yml
```

clouds.yml:
```
clouds:
    otc.10000:
        auth:
            auth_url: https://iam.eu-de.otc.t-systems.com:443/v3
            username: xxxxxx
            password: <PASSWORD>
            project_name: eu-de
            project_domain_name: Default
            user_domain_name: OTC-EU-DE-00000000001000010000
        region_name: eu-de
    otc.19720:
        auth:
{'fraction_non_alphanumeric': 0.136074400391581, 'fraction_numerical': 0.04698972099853157, 'mean_word_length': 2.4295302013422817, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2386703', 'n_tokens_mistral': 742, 'n_tokens_neox': 633, 'n_words': 172}