コード例 #1
0
ファイル: service.py プロジェクト: B-Rich/heat
 def show_software_deployment(self, cnxt, deployment_id):
     sd = db_api.software_deployment_get(cnxt, deployment_id)
     return api.format_software_deployment(sd)
コード例 #2
0
ファイル: service.py プロジェクト: HuaiJiang/heat
 def show_software_deployment(self, cnxt, deployment_id):
     sd = db_api.software_deployment_get(cnxt, deployment_id)
     return api.format_software_deployment(sd)
コード例 #3
0
ファイル: software_deployment.py プロジェクト: srz01/heat
 def get_by_id(cls, context, deployment_id):
     return cls._from_db_object(
         context, cls(),
         db_api.software_deployment_get(context, deployment_id))
コード例 #4
0
 def get_by_id(cls, context, deployment_id):
     return cls._from_db_object(
         context, cls(),
         db_api.software_deployment_get(context, deployment_id))
コード例 #5
0
 def get_by_id(cls, context, deployment_id):
     LOG.info(_LI("soumiyajit::  /home/pankaj/python_program/logs/software_deployment.py\Class SoftwareDeploymentget_by_id "))
     : LOG.info(_LI("soumiyajit::  class SoftwareDeployment(base.VersionedObject, "))
     return cls._from_db_object(
         context, cls(),
         db_api.software_deployment_get(context, deployment_id))