Giter VIP home page Giter VIP logo

csi-local's Introduction

# Overview

Blivet provides high level APIs to most Linux storage technologies.

This is a prototype of a CSI driver over the Blivet API.

Currently just a LVM pool is used, but future enhancements will add more
features.


## Notes

Blivet code: https://github.com/storaged-project/blivet

Prototype grpc server for local storage

python --version
Python 3.10.2

## Start Server
sudo python grpc/server.py

# Add disks for volume creation to the storage_devs.json
# Update the use_for_csi_storage array in the JSON with a list
# of EMPTY devices for use for CSI volumes.  Any disk added to the
# list must be empty (no label/partition).  The contents of disks
# added to the use_for_csi_storage will be overwritten.
# 
cp storage_devs_example.json storage_devs.json


# Update the grpc interfaces from the grpc directory
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. api.proto

## Dependencies

pip3 install blivet
pip3 install vext
pip3 install vext.gi
pip3 install gobject
dnf install python3-gi

csi-local's People

Contributors

trgill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.