Jump to: navigation, search

NovaCheetahToJinjaMigration

Revision as of 18:03, 15 May 2014 by Fifieldt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning.svg Old Design Page

This page was used to help design a feature for a previous release of OpenStack. It may or may not have been implemented. As a result, this page is unlikely to be updated and could contain outdated information. It was last updated on 2014-05-15

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()