def initialize_clientapps():
    with open('./initial_data/clientapps.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(
                models.LU_ClientApp,
                name=row[0],
            )
def initialize_os():
    with open('./initial_data/operating_systems.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(models.LU_OS,
                                     name=row[0],
                                     long_name=row[1],
                                     description=row[2])
def initialize_arch():
    with open('./initial_data/architectures.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(models.LU_Architecture,
                                     name=row[0],
                                     long_name=row[1],
                                     description=row[2])
def initialize_country():
    with open('./initial_data/countries.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(
                models.LU_Country,
                name=row[0],
                long_name=row[1],
            )
def initialize_os_variant():
    with open('./initial_data/os_variants.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(
                models.LU_Variant,
                name=row[0],
                description=row[1],
            )
def initialize_os_release():
    with open('./initial_data/os_releases.csv', 'r') as csvfile:
        my_reader = csv.reader(csvfile, delimiter=',', quotechar='"')
        for row in my_reader:
            models.get_one_or_create(
                models.LU_Release,
                name=row[0],
                long_name=row[1],
                description=row[2],
                release_date=row[3],
                eol_date=row[4],
            )
def initialize_uuid():
    models.get_one_or_create(
        models.LU_UUID,
        uuid=config.DEF_UUID,
    )
def initialize_ipaddress():
    models.get_one_or_create(
        models.LU_IPAddress,
        ip_address=config.DEF_IP,
    )