models.py 462 Bytes
Newer Older
1 2
from django.db import models

3

4
# Create your models here.
5
class DataStore:
6 7 8 9

    """Collection of virtual disks.
    """

10 11 12 13 14 15 16 17 18 19 20 21 22
    name = models.CharField(
        max_length=100,
        unique=True,
        verbose_name="name",
        help_text="Name of the data store.",
    )
    remote_ID = models.CharField(
        max_length=40,
        unique=True,
        verbose_name="remote_ID",
        help_text="ID, which helps access the data store.",
    )
    # vm