(self, bay)
return BayID(new_bay.uuid)
Create a new bay.

        :param bay: a bay within the request body.
Create a new bay.
Create a new bay .
def post(self, bay):  # noqa
        """Create a new bay.

        :param bay: a bay within the request body.
        """
        new_bay, node_count, master_count = self._post(bay)
        pecan.request.rpcapi.cluster_create_async(new_bay,
                                                  master_count, node_count,
                                                  bay.bay_create_timeout)
        return BayID(new_bay.uuid)
def post ( self , bay ) : # noqa new_bay , node_count , master_count = self . _post ( bay ) pecan . request . rpcapi . cluster_create_async ( new_bay , master_count , node_count , bay . bay_create_timeout ) return BayID ( new_bay . uuid )