This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type OpenstackClusterProviderSpec struct { | |
| metav1.TypeMeta `json:",inline"` | |
| metav1.ObjectMeta `json:"metadata,omitempty"` | |
| Spec ClusterSpec `json:"spec,omitempty"` | |
| } | |
| type ClusterSpec struct { | |
| // NodeCIDR is the OpenStack Subnet to be created | |
| NodeCIDR string `json:"nodeCidr,omitempty"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "os/exec" | |
| "path" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > ansible-playbook --version | |
| ansible-playbook 2.5.1 | |
| > ansible-playbook blah.yml | |
| PLAY [local testing] ******************************************************************************************************************************************************************************************************************************************************************************************************************************************************* | |
| TASK [test set_fact] ******************************************************************************************************************************************************************************************************************************************************************************************************************************************************* | |
| ok: [localhost] => (item={u'path': u'/etc/kubernetes/ssl/apiserver.pem', u'no_srcs': True, u'sync_unneeded': False}) | |
| ok: [localhost] => (item={u'path': u'/etc/kubernetes/ssl/kube-scheduler.pem', u'no_srcs': True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # NOTE: This should be a role (or custom module), but currently include_role is too buggy to use | |
| - name: "sync_file | Set facts for directory and file when sync_file_path is defined" | |
| set_fact: | |
| sync_file_dir: "{{ sync_file_path | dirname }}" | |
| sync_file: "{{ sync_file_path | basename }}" | |
| when: sync_file_path is defined and sync_file_path != '' | |
| - name: "sync_file | Set fact for sync_file_path when undefined" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "title": "NetBox API", | |
| "description": "", | |
| "version": "" | |
| }, | |
| "host": "netbox-dev.mgmt.innovo-cloud.de", | |
| "schemes": [ | |
| "https" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heat_template_version: 2015-04-30 | |
| resources: | |
| network: | |
| type: OS::Neutron::Net | |
| properties: | |
| name: ceph_dev_net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DEFAULT] | |
| [oslo_concurrency] | |
| lock_path = /var/lib/tempest/run_lock | |
| [auth] | |
| test_accounts_file = /etc/tempest/accounts.yaml | |
| use_dynamic_credentials = false | |
| [identity] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| from kazoo.client import KazooClient | |
| from collections import Counter | |
| # id of ext-net | |
| DEFAULT_BRIDGE='caf8de33-1059-4473-a2c1-2a62d12294fa' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # | |
| # Copyright 2015 [email protected] | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import sys | |
| import dbus | |
| import time | |
| import json | |
| import argparse | |
| import threading | |
| import functools | |
| import http.server | |
| from gi.repository import GObject |