This file contains 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
<html lang="en"> | |
<head> | |
<title>Single Page VueJS Minimal Example</title> | |
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.0"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css" crossorigin="anonymous"> | |
</head> | |
<body> | |
<div id="application"> | |
<section class="section" v-if="loggedIn"> |
This file contains 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
import os | |
import click | |
import git | |
from github import Github | |
GITHUB_API_KEY = os.environ['GITHUB_API_KEY'] | |
BASE_DIR = os.environ['SRC_BASE_DIR'] |
This file contains 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 | |
import glob | |
import json | |
DNSMASQ_PATH = '/var/lib/libvirt/dnsmasq/*.status' | |
HOSTS_PATH = '/etc/hosts' | |
COMMENT = '# libvirt instances\n' | |
vms = [] |
This file contains 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
[[local|localrc]] | |
MYSQL_PASSWORD=secretmysql | |
DATABASE_PASSWORD=secretdatabase | |
RABBIT_PASSWORD=secretrabbit | |
ADMIN_PASSWORD=secretadmin | |
SERVICE_PASSWORD=secretservice | |
SERVICE_TOKEN=111222333444 | |
DATABASE_TYPE=mysql |
This file contains 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
https://youtu.be/XRj32-jG4kU | |
https://youtu.be/nLIDF9X-sDM | |
https://github.com/e0ne/openstack-ansible/tree/aio-cinder-hack | |
https://github.com/e0ne/openstack-ansible-os_cinder/tree/aio-cinder-hack | |
https://review.openstack.org/457963 |
This file contains 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/python | |
import os | |
import brick_cinderclient_ext | |
from cinderclient import client | |
from cinderclient.contrib import noauth | |
from keystoneauth1 import loading | |
from keystoneauth1 import session |
This file contains 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
[[local|localrc]] | |
DATABASE_PASSWORD=mydb | |
RABBIT_PASSWORD=guest | |
SERVICE_TOKEN=admin | |
SERVICE_PASSWORD=admin | |
DATABASE_TYPE=mysql | |
ADMIN_PASSWORD=admin | |
ENABLED_SERVICES=c-sch,c-api,c-vol,keystone,rabbit,$DATABASE_TYPE |
This file contains 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
[[local|localrc]] | |
# Credentials | |
ADMIN_PASSWORD=password | |
DATABASE_PASSWORD=password | |
RABBIT_PASSWORD=password | |
SERVICE_PASSWORD=password | |
SERVICE_TOKEN=password | |
SWIFT_HASH=password | |
SWIFT_TEMPURL_KEY=password |
This file contains 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
DATABASE_PASSWORD=mydb | |
RABBIT_PASSWORD=guest | |
SERVICE_TOKEN=admin | |
SERVICE_PASSWORD=admin | |
DATABASE_TYPE=mysql | |
ADMIN_PASSWORD=admin | |
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE | |
LIBVIRT_TYPE=qemu | |
ENABLED_SERVICES+=,ceph | |
CINDER_ENABLED_BACKENDS+=ceph:ceph |
This file contains 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
""" Usage example: | |
python create_volumes.py --config-file /etc/cinder/cinder.conf vol_count user_id tenant_id | |
""" | |
import sys | |
from oslo_config import cfg | |
from cinder import context | |
from cinder.db import api |
NewerOlder