예제 #1
0
 def create_storage_pool(self, context, body):
     #TO BE DONE
     body['cluster_id'] = 1
     res = db.pool_create(context, body)
     return res
예제 #2
0
 def create_storage_pool(self, context, body):
     #TO BE DONE
     body['cluster_id'] = db.cluster_get_all(context)[0]['id']  #1
     res = db.pool_create(context, body)
     return res
 def create_storage_pool(self, context, body):
     #TO BE DONE
     body['cluster_id'] = db.cluster_get_all(context)[0]['id']#1
     res = db.pool_create(context, body)
     return res
예제 #4
0
 def create_storage_pool(self, context, body):
     #TO BE DONE
     body['cluster_id'] = 1
     res = db.pool_create(context, body)
     return res