Jump to: navigation, search

Difference between revisions of "NovaCheetahToJinjaMigration"

(Nova Cheetah to Jinja Migration)
 
(Overview)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
Currently, Nova uses Cheetah for templating.  In order to reduce duplicate dependency functionality among projects, Nova should use the [Jinja2 http://jinja.pocoo.org/]  templating system instead, as per the mailing list discussion.
+
Currently, Nova uses Cheetah for templating.  In order to reduce duplicate dependency functionality among projects, Nova should use the [http://jinja.pocoo.org/ Jinja2]  templating system instead, as per the mailing list discussion.
  
 
This page will track classes that utilize Cheetah
 
This page will track classes that utilize Cheetah

Revision as of 14:45, 18 July 2013

Overview

Currently, Nova uses Cheetah for templating. In order to reduce duplicate dependency functionality among projects, Nova should use the Jinja2 templating system instead, as per the mailing list discussion.

This page will track classes that utilize Cheetah

Classes/Files

nova/virt/netutils.py
  • _late_load_cheetah()
  • build_template()
  • global Template
nova/virt/xenapi/vm_utils.py
  • _prepare_injectables()
nova/virt/baremetal/pxe.py
  • _get_cheetah()
  • global CHEETAH
  • build_pxe_config()
  • build_network_config()
nova/virt/baremetal/tilera.py
  • _get_cheetah()
  • global CHEETAH
  • build_network_config()
nova/console/xvp.py
  • from Cheetah import Template
  • XVPConsoleProxy . _rebuild_xvp_conf()