(self, baymodel_ident)
return BayModel.convert_with_links(baymodel)
Retrieve information about the given Baymodel.

        :param baymodel_ident: UUID or logical name of a baymodel.
Retrieve information about the given Baymodel.
Retrieve information about the given Baymodel .
def get_one(self, baymodel_ident):
        """Retrieve information about the given Baymodel.

        :param baymodel_ident: UUID or logical name of a baymodel.
        """
        context = pecan.request.context
        baymodel = api_utils.get_resource('ClusterTemplate', baymodel_ident)
        if not baymodel.public:
            policy.enforce(context, 'baymodel:get', baymodel.as_dict(),
                           action='baymodel:get')

        return BayModel.convert_with_links(baymodel)
def get_one ( self , baymodel_ident ) : context = pecan . request . context baymodel = api_utils . get_resource ( 'ClusterTemplate' , baymodel_ident ) if not baymodel . public : policy . enforce ( context , 'baymodel:get' , baymodel . as_dict ( ) , action = 'baymodel:get' ) return BayModel . convert_with_links ( baymodel )