
Update Nova NIC boot options to reflect the CLI Nova option names. That patch keep precedent attribute name to preserve compatibility with old template. Signed-off-by: Édouard Thuleau <edouard.thuleau@cloudwatt.com> Change-Id: I9b4a939a2ced4e9157df8685052cbe7594061ac8
104 lines
2.6 KiB
Plaintext
104 lines
2.6 KiB
Plaintext
# A template use the YAML syntaxe.
|
|
|
|
###############################################################################
|
|
# Authentification
|
|
# The program can read environement variables OS_*
|
|
###############################################################################
|
|
#username: demo
|
|
#password: ok
|
|
#project_name: demo
|
|
#auth_url: http://10.0.2.15:5000/v2.0
|
|
#region_name:
|
|
#path:
|
|
|
|
###############################################################################
|
|
# Key
|
|
###############################################################################
|
|
#key:
|
|
#- name: demo
|
|
# path: .
|
|
|
|
###############################################################################
|
|
# Volume
|
|
###############################################################################
|
|
#volume:
|
|
#- name: vol01
|
|
# size: 1
|
|
|
|
###############################################################################
|
|
# Security Groups & Rules
|
|
###############################################################################
|
|
#securitygroup:
|
|
#- name: sec01
|
|
# description: my security group
|
|
# rules:
|
|
# - ip_protocol: tcp
|
|
# from_port: 22
|
|
# to_port: 22
|
|
# cidr: 0.0.0.0/23
|
|
#
|
|
#securitygrouprule:
|
|
#- group: sec01
|
|
# ip_protocol: tcp
|
|
# from_port: 22
|
|
# to_port: 22
|
|
# cidr: 0.0.0.0/23
|
|
|
|
###############################################################################
|
|
# Server
|
|
###############################################################################
|
|
#server:
|
|
#- name: demo
|
|
# flavor: 1
|
|
# image: cirros-0.3.1-x86_64-uec
|
|
# volumes:
|
|
# - name: vol01
|
|
# device: /dev/sdh
|
|
# networks:
|
|
# - name: net01
|
|
# v4-fixed-ip: 10.123.2.25
|
|
# - name: net01
|
|
# v6-fixed-ip: dead:beef::25/64
|
|
# securitygroups: [demo, ]
|
|
|
|
###############################################################################
|
|
# Network & SubNet
|
|
###############################################################################
|
|
#network:
|
|
#- name: net01
|
|
# subnets:
|
|
# - cidr: 10.123.2.0/24
|
|
# ip_version: 4
|
|
# host_routes:
|
|
# - destination: 0.0.0.0/0
|
|
# nexthop: 10.123.2.1
|
|
# - destination: 10.0.0.0/24
|
|
# nexthop: 10.123.2.2
|
|
#
|
|
#subnet:
|
|
#- network: net01
|
|
# name: sub01
|
|
# cidr: 10.123.2.0/24
|
|
# ip_version: 4
|
|
# host_routes:
|
|
# - destination: 10.0.0.0/24
|
|
# nexthop: 10.123.2.2
|
|
#- network: net01
|
|
# name: sub02
|
|
# cidr: dead:beef::/64
|
|
# ip_version: 6
|
|
|
|
###############################################################################
|
|
# Router
|
|
###############################################################################
|
|
#router:
|
|
#- name: router01
|
|
# interfaces:
|
|
# - name: interface01
|
|
# subnet: sub01
|
|
# gateways:
|
|
# - name: gate01
|
|
# network: net01
|
|
|
|
|