package metadata

type Specification struct {
	Machine string  `yaml: "machine"`
	Cluster Cluster `yaml: "cluster"`
}

type Machine struct {
	Name       string      `yaml: "name"`
	Interfaces []Interface `yaml: "interfaces,omitempty"`
}

type Interface struct {
	Name string `yaml: "name"`
	Ip   string `yaml: "ip"`
}

type Cluster struct {
	Name     string           `yaml: "name"`
	State    string           `yaml: "state"`
	Machines []ClusterMachine `yaml: "machines"`
}

type ClusterMachine struct {
	Name      string `yaml: "name"`
	clusterIp string `yaml: "name"`
}

package metadata

type Machine struct {
	Name       string      `yaml: "name"`
	Interfaces []Interface `yaml: "interfaces,omitempty"`
}

type Interface struct {
	Name string `yaml: "name"`
	Ip   string `yaml: "ip"`
}

type Cluster struct {
	Name     string           `yaml: "name"`
	State    string           `yaml: "state"`
	Machines []ClusterMachine `yaml: "machines"`
}

type ClusterMachine struct {
	Name      string `yaml: "name"`
	clusterIp string `yaml: "name"`
}

--- 
+++ 
@@ -1,4 +1,9 @@
 package metadata
+
+type Specification struct {
+	Machine string  `yaml: "machine"`
+	Cluster Cluster `yaml: "cluster"`
+}
 
 type Machine struct {
 	Name       string      `yaml: "name"`
Add structure to hold spec from yaml
