LunaNode / lobster

Hourly billing panel for virtual machines
http://lobster.lunanode.com
Other
84 stars 22 forks source link

Plan metadata to add VM creation parameters #71

Closed uakfdotb closed 8 years ago

uakfdotb commented 8 years ago

See #66 and #67.

Plans will have associated metadata, which will be arbitrary key-value pairs. These will be passed to the VM interface, which can look at the metadata to adjust the VM creation (and possibly other actions).

Schema:

CREATE TABLE plan_metadata (
    id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
    plan_id INT NOT NULL,
    k VARCHAR(64) NOT NULL,
    v VARCHAR(256) NOT NULL,
    KEY (plan_id)
);

Frontend will allow (un)setting metadata from the plan details page.

uakfdotb commented 8 years ago

For Vultr, you can now set these metadata keys:

Set to "yes" to enable, "no" to disable. By default private networking and IPv6 are enabled, automatic backups and no notification are disabled.