Commit Graph

12 Commits

Author SHA1 Message Date
Nico Schottelius b017df4879 ignore iso, update nft rules 2020-01-12 13:20:38 +01:00
Nico Schottelius 29dfacfadb Update .gitignore for uncloud 2019-12-31 12:15:50 +01:00
Nico Schottelius 40176d2eaf Allow non existing configuration file
Fixes #1.
2019-12-07 13:45:01 +01:00
Nico Schottelius 6596e482ca ignore version.py (generated dynamically) 2019-12-07 13:08:55 +01:00
Nico Schottelius 95361c1759 Ignore local etcd config directory 2019-12-07 10:50:52 +01:00
ahmadbilalkhalid 1e7300b56e Efforts to make ucloud a python package 2019-12-03 15:40:41 +05:00
ahmadbilalkhalid fd042eb85d default.etcd removed from .gitignore as it is alpine only issue that forces us to use start-stop-daemon to start etcd cluster which uses the cur dir for storing data 2019-11-27 15:38:26 +05:00
Nico Schottelius e890c45dbf Ignore etcd leftovers 2019-11-27 11:05:01 +01:00
ahmadbilalkhalid 6fa77bce4d Remove ucloud_common and put its files under ucloud.common subpackage.
Remove individual config.py used by every component and put them into single config.py ucloud/config.py
Use /etc/ucloud/ucloud.conf for Environment Variables
Refactoring and a lot of it
Make ucloud repo a package and different components of ucloud a subpackage for avoiding code duplication.
Improved logging.
2019-11-18 22:39:57 +05:00
ahmadbilalkhalid da5a600ccb single node,w/o ceph networking implemented 2019-11-11 23:42:57 +05:00
ahmadbilalkhalid 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
ahmadbilalkhalid da77ac65eb ucloud-{api,scheduler,host,filescanner,imagescanner,metadata} combined 2019-10-25 11:42:40 +05:00