forked from openstack/nova
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cheetah is unmaintained since 2010 and it's unlikely to get Python3 support soon. Also, the rest of OpenStack (mostly) standardized on Jinja2. Implements: blueprint jinja-templating-conversion Change-Id: Ia15f00ee96d3c1d55d7c290f20ccc988e4c52e1a
- Loading branch information
Showing
13 changed files
with
103 additions
and
141 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[run] | ||
branch = True | ||
source = nova | ||
omit = nova/tests/*,nova/openstack/*,DynamicallyCompiledCheetahTemplate.py | ||
omit = nova/tests/*,nova/openstack/* | ||
|
||
[report] | ||
ignore-errors = True |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# One time password use with time window | ||
OTP ALLOW IPCHECK HTTP 60 | ||
#if $multiplex_port | ||
MULTIPLEX $multiplex_port | ||
#end if | ||
{% if multiplex_port %} | ||
MULTIPLEX {{ multiplex_port }} | ||
{% endif %} | ||
|
||
#for $pool in $pools | ||
POOL $pool.address | ||
DOMAIN $pool.address | ||
MANAGER root $pool.password | ||
HOST $pool.address | ||
{% for pool in pools %} | ||
POOL {{ pool.address }} | ||
DOMAIN {{ pool.address }} | ||
MANAGER root {{ pool.password }} | ||
HOST {{ pool.address }} | ||
VM - dummy 0123456789ABCDEF | ||
#for $console in $pool.consoles | ||
VM #if $multiplex_port then '-' else $console.port # $console.instance_name $pass_encode($console.password) | ||
#end for | ||
#end for | ||
{% for console in pool.console %} | ||
VM {% if multiplex_port %}-{% else %}{{ console.port }} # {{ console.instance_name }} {{ console.password|pass_encode }}{% endif %} | ||
{% endfor %} | ||
{% endfor %} |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
default deploy | ||
|
||
label deploy | ||
kernel ${pxe_options.deployment_aki_path} | ||
append initrd=${pxe_options.deployment_ari_path} selinux=0 disk=cciss/c0d0,sda,hda,vda iscsi_target_iqn=${pxe_options.deployment_iscsi_iqn} deployment_id=${pxe_options.deployment_id} deployment_key=${pxe_options.deployment_key} troubleshoot=0 ${pxe_options.pxe_append_params} | ||
kernel {{ pxe_options.deployment_aki_path }} | ||
append initrd={{ pxe_options.deployment_ari_path }} selinux=0 disk=cciss/c0d0,sda,hda,vda iscsi_target_iqn={{ pxe_options.deployment_iscsi_iqn }} deployment_id={{ pxe_options.deployment_id }} deployment_key={{ pxe_options.deployment_key }} troubleshoot=0 {{ pxe_options.pxe_append_params|default("", true) }} | ||
ipappend 3 | ||
|
||
|
||
label boot | ||
kernel ${pxe_options.aki_path} | ||
append initrd=${pxe_options.ari_path} root=${ROOT} ro ${pxe_options.pxe_append_params} ${pxe_options.pxe_network_config} | ||
kernel {{ pxe_options.aki_path }} | ||
append initrd={{ pxe_options.ari_path }} root={{ ROOT }} ro {{ pxe_options.pxe_append_params|default("", true) }} {{ pxe_options.pxe_network_config|default("", true) }} |
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
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
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
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
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