Skip to content

Instantly share code, notes, and snippets.

@garethr
Created November 11, 2015 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garethr/714c94bfc85e627b83b1 to your computer and use it in GitHub Desktop.
Save garethr/714c94bfc85e627b83b1 to your computer and use it in GitHub Desktop.
Mirage machine-readable parameters
{
version: 0.1,
parameters: {
"gateways": { "default": "10.0.0.1", "description": "The gateway of the unikernel."},
"ip": { "default": "10.0.0.2", "description": "The IP address of the unikernel."},
"netmask": { "default": "255.255.255.255", "description": "The netmask of the unikernel."},
"network": { "default": "tap0", "description": "The network interface listened by the unikernel."}
}
}
{
"title": "Network",
"type": "object",
"properties": {
"gateways": {
"description": "The gateway of the unikernel."
"type": "string",
"default": "10.0.0.1",
"pattern": "^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"
},
"ip": {
"description": "The IP address of the unikernel."
"type": "string",
"default": "10.0.0.2",
"pattern": "^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"
},
"netmask": {
"description": "The netmask of the unikernel."
"type": "string",
"default": "255.255.255.255",
"pattern": "^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$"
},
"network": {
"description": "The network interface listened by the unikernel."
"type": "string",
"default": "tap0"
}
},
"required": ["ip"]
}
Copy link

ghost commented Nov 11, 2015

Focused dashboard,!Fine-grained permissions..?Repositoryne..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment