uncloud/archive/uncloud_django_based/notes-abk.md

640 B

TODO 2020-02-22

  • move the current rest api to /opennebula
  • make the /opennebula api only accessible by an admin account
  • create a new filtered api on /vm/list that
    • a) requires authentication
    • b) only shows the VMs of the current user
  • the new api should not contain all details, but: cpus (as read by the vcpu field), ram, ips, disks
  • also make a (random) uuid the primary key for VMs - everything in this uncloud hack will use uuids as the id
  • still expose the opennebula id as opennebula_id
  • note put all secrets/configs into uncloud.secrets - I added a sample file into the repo