'Generate a template based on the specified type.
:param ctxt: RPC context.
:param type_name: The resource type name to generate a template for.
:param template_type: the template type to generate, cfn or hot.'

def generate_template(self, ctxt, type_name, template_type='cfn'):

    return self.call(ctxt, self.make_msg('generate_template', type_name=type_name, template_type=template_type), version='1.9')
