uncloud/api
meow 93dee1c9fc New Features + Refactoring
1. User can now use image name instead of image uuid when creation vm.
   For Example, now user can create an alpine vm using the following
   command
   ```shell
   ucloud-cli vm create --vm-name myvm --cpu 2 --ram '2GB' \
       --os-ssd '10GB' --image images:alpine
   ```
2. Instead of directly running code, code is now placed under a function
   main and is called using the following code
   ```python
   if __name__ == "__main__":
       main()
   ```
3. Multiprocess (Process) is used instead of threading (Thread) to update
   heart beat of host.
4. IP Address of vm is included in vm's status which is retrieved by the
   following command
   ```shell
   ucloud-cli vm status --vm-name myvm
   ```
2019-11-02 20:42:24 +05:00
..
common_fields.py ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00
config.py ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00
create_image_store.py ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00
helper.py New Features + Refactoring 2019-11-02 20:42:24 +05:00
main.py New Features + Refactoring 2019-11-02 20:42:24 +05:00
README.md ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00
schemas.py New Features + Refactoring 2019-11-02 20:42:24 +05:00

ucloud-api

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

Installation

Make sure you have Python >= 3.5 and Pipenv installed.

  1. Clone the repository and cd into it.
  2. Run the following commands
    • pipenv install
    • pipenv shell
    • python main.py