forked from uncloud/uncloud
Entry point /beta/vm/ works for creating VM + order
This commit is contained in:
parent
9ef5309b91
commit
028f1ebe6e
5 changed files with 28 additions and 38 deletions
|
|
@ -91,6 +91,12 @@ class VMProduct(Product):
|
|||
RecurringPeriod.PER_MONTH, RecurringPeriod.PER_HOUR],
|
||||
RecurringPeriod.choices))
|
||||
|
||||
def __str__(self):
|
||||
return "VM {} ({} Cores/{} GB RAM) running on {} in cluster {}".format(
|
||||
self.uuid, self.cores, self.ram_in_gb,
|
||||
self.vmhost, self.vmcluster)
|
||||
|
||||
|
||||
class VMWithOSProduct(VMProduct):
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue