Add validation for node creation.

This commit is contained in:
Rohit Jnagal
2015-03-24 17:24:07 +00:00
parent f3ebe30605
commit 49ff04765b
7 changed files with 230 additions and 14 deletions

View File

@@ -133,6 +133,10 @@ var aMinion string = `
"kind": "Minion",
"apiVersion": "v1beta1",
"id": "a",
"resources": {
"capacity": { "memory": "10", "cpu": "10"}
},
"externalID": "external",
"hostIP": "10.10.10.10"%s
}
`