Сделаем платформу лучше — пройди опрос GitVerse

openvair

Форк
0

месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
месяц назад
README.md

Open vAir

Translations

Contents

  1. Preparation for Project Installation
  2. Project Configuration
  3. Application Tunneling
  4. Starting the Installation
  5. Uninstallation
  6. Documentation
  7. Daemons
  8. Links
  9. Contribution

Project Description

Open vAir is a lightweight solution based on the vAir project, designed for use as a development environment and virtualization system. The program operates in interactive mode, providing a flexible and convenient tool for managing virtual infrastructure.

Python FastAPI Linux Ubuntu Docker RabbitMQ Postgres


Technologies:

docker linux postgresql python rabbitMQ fastapi qemu


Installation

To install Open vAir on a clean Linux system, follow these steps. It is recommended to use Ubuntu 20.04, which is the most tested version. Ubuntu 22.04 is also supported.

Preparation for Project Installation

  1. Ensure all system packages are up to date. Execute the following commands:

    sudo apt update && sudo apt upgrade -y

    Important: Don't forget to restart the system after executing these commands to apply all changes.

  2. Execute the following commands to create and configure a user:

    1. Create a user:

      sudo useradd -s /bin/bash -d /opt/aero -m aero
    2. Assign necessary permissions:

      sudo chmod +x /opt/aero
    3. Add the user to the superuser list:

      echo "aero ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/aero
    4. Switch to the new user:

      sudo -u aero -i
  3. Download the project repository:

    git clone https://gitverse.ru/Aerodisk/openvair.git
  4. Configure the configuration file:

    vi ~/openvair/project_config.toml

Project Configuration

Before installing Open vAir, you need to set the login and password in the

/opt/aero/openvair/project_config.toml
file. This data is required for system authorization and access to all application functions.

Configuration example:

[default_user]
login = ''
password = ''

Note: The login and password fields must be filled in by the user. Otherwise, the installation will be aborted.

Application Tunneling

If the application needs to be run on a separate host as a server, configure tunneling to the virtual network. Determine the local IP address of the host by executing the command:

ip a

Specify the obtained IP address in the configuration file:

[web_app]
host = '192.168.1.2'
port = 8000

Starting the Installation

  1. Run the installation script:
./openvair/install.sh

Upon completion of the installation, you will receive a message with the current application address, login, and password for working with the system.

Uninstallation

To remove Open vAir, run the uninstallation script:

./openvair/uninstall.sh

Documentation

Documentation can be found in the

/docs/build/index.html
file, which will be created after the project installation. Documentation is also available at the
/docs/
endpoint after installation is complete.

Daemons

web-app Daemon

The web-app daemon ensures automatic startup and restart of the main FastAPI based application, which is responsible for API and GUI operations. The application is accessible at the address specified in the web_app section of the config.toml file. By default, this is

http://127.0.0.1:8000
.

  • Check daemon status:
sudo systemctl status web-app.service
  • Restart daemon:
sudo systemctl restart web-app.service
  • Stop daemon:
sudo systemctl stop web-app.service
  • View daemon logs:
sudo journalctl -fu web-app.service
service-layer Daemon

Service-layer daemons perform remote function calls of the service layer. Each module has its own service-layer daemon. To check the status and view logs, use similar commands, changing the service name to

<module>-service-layer.service
.

For example:

sudo systemctl status storage-service-layer.service
domain Daemon

ДDomain daemons perform remote function calls of the domain layer. Each module has its own domain daemon. To check the status and view logs, use similar commands, changing the service name to <имя_предметной_области>-domain.service.

sudo systemctl status storage-domain.service

Frontend of the project

  • To work with the user interface (Frontend), use the repository Open vAir UI.

Documentation of the project


Statistics (including documentation and frontend projects)

aerodisk

 aerodisk


Contribution

Instructions for contributing to the project:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Make changes and commit (git commit -m 'Added new feature')
  4. Push changes (git push origin feature/your-feature)
  5. Create a Pull Request

Описание

Open vAIR — это платформа виртуализации, разработанная для того, чтобы сделать процесс создания и управления виртуальными машинами максимально простым и гибким. Она позволяет пользователям легко развертывать, настраивать, управлять и интегрировать виртуальные среды в существующую ИТ-инфраструктуру.

Языки

Python

  • Mako
  • Jinja
  • Shell
Сообщить о нарушении

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.