Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/u/tuskar-HEAD/tuskar/api/controllers/v1/data_center.py   tuskar(Download)
    def template(self):
        rcs = pecan.request.dbapi.get_heat_data()
        nova_utils = NovaClient()
        return render('overcloud.yaml', dict(resource_classes=rcs,
           nova_util=nova_utils))
    def post(self):
        # TODO: Currently all Heat parameters are hardcoded in
        #       template.
        params = {}
        rcs = pecan.request.dbapi.get_heat_data()