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
heat_template_version: 2013-05-23 | |
# Author: Graham Land | |
# Date: 25/09/2016 | |
# Purpose: Project 1 Demo HOT Infrastructure Template | |
# Twitter: @allthingsclowd | |
# Blog : https://allthingscloud.eu | |
description: K5 template to build an environment within a Project | |
# Input parameters |
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
heat_template_version: 2013-05-23 | |
# Author: Graham Land | |
# Purpose: Demo Project 2 with Inter-Project-Routing | |
# Date: 25/09/2016 | |
# Twitter: @allthingsclowd | |
# Blog : https://allthingscloud.eu | |
description: Fujitsu K5 demo heat template to build an environment within a Project | |
# Input parameters |
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
# Author : Graham Land | |
# Date: 03/10/2016 | |
# | |
# Purpose: Simple python 2.7 script to demonstrate how to use the Fujitsu K5 IaaS API | |
# The script creates a security group in a project | |
# | |
# blog: https://allthingscloud.eu | |
# twitter: @allthingsclowd | |
import requests |
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 | |
adminUser = 'username' | |
adminPassword = 'password' | |
contract = 'contract_name' | |
contractid = 'contract_id' | |
defaultid = 'default_project_id' | |
project = 'working_project' | |
region = 'uk-1' |
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 | |
# Author : Graham Land | |
# Date: 08/10/2016 | |
# | |
# Purpose: Upload a custom image to K5 Object Storage and then register with K5 Glance | |
# If the image is greater than 1GB it will be broken down into 1GB chunks | |
# and then uploaded | |
# Command line parameters - | |
# -i image_path | |
# -c container_name |
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
heat_template_version: 2013-05-23 | |
# Author: Graham Land | |
# Date: 13/10/2016 | |
# Purpose: Simple template to demonstrate the basic format/usage of HOT stacks on our K5 platform | |
description: Demo K5 template to build a private network, subnet, and instance with a global ip address - router and external network are prerequisites | |
# Input parameters | |
parameters: | |
image: |
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
heat_template_version: 2013-05-23 | |
# Author: Graham Land | |
# Date: 21/10/2016 | |
# Purpose: Create two subnets, one in each availability zone, within the same project and then join these subnets | |
# using a network connector. The subnets also get configured with the new routes. | |
# | |
# Twitter: @allthingsclowd | |
# Blog: https://allthingscloud.eu |
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
# Input parameters | |
parameters: | |
centos_image: | |
type: string | |
label: Image name or ID | |
description: Image to be used for compute instance | |
default: "CentOS 7.2 64bit (English) 01" | |
flavor_S2: | |
type: string | |
label: Flavor |
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
# Create a private network in availability zone 1 | |
private_net_az1: | |
type: OS::Neutron::Net | |
properties: | |
availability_zone: { get_param: az1 } | |
name: "private_net_az1" | |
# Create a new subnet on the private network | |
private_subnet_az1: | |
type: OS::Neutron::Subnet |
OlderNewer