You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
This will enable common metadata to be used with machines and not require the driver to implement them. Example, is swarm support. Each driver must implement SwarmXX due to the way the driver architecture is today. This will enable new functionality without requiring the driver to be updated.
Sample Metadata:
Name
Provider
Region (us-east-1a, us-central-1a, nyc3)
MachineType (i.e. t1.micro, f1.micro, etc)
Memory
These also might need data from the driver so we will want to keep that in mind when refactoring the driver architecture. For example, instead of binding t1.micro in the metadata, we would do a lookup from the driver for something like driver.GetMachineType to account for resizes, etc.
I'm having a hard time wrapping my head around what this is exactly, although I think I might understand. Essentially there would be some kind of common base that the drivers use, e.g.:
typeSomeDriverstruct {
metadata*drivers.Metadata
}
// ... now implement the rest of the methods
Correct. If we refactor the internal api / store this might not be necessary. But for now, the idea was that instead of having to add something like SwarmHost etc. for each driver, the metadata would be able to hold that.
ehazlett
changed the title
machine metadata
Proposal: machine metadata
Mar 2, 2015
This will enable common metadata to be used with machines and not require the driver to implement them. Example, is
swarm
support. Each driver must implementSwarmXX
due to the way the driver architecture is today. This will enable new functionality without requiring the driver to be updated.Sample Metadata:
us-east-1a
,us-central-1a
,nyc3
)t1.micro
,f1.micro
, etc)These also might need data from the driver so we will want to keep that in mind when refactoring the driver architecture. For example, instead of binding
t1.micro
in the metadata, we would do a lookup from the driver for something likedriver.GetMachineType
to account for resizes, etc.Refs #553
The text was updated successfully, but these errors were encountered: