Created
November 11, 2015 09:45
-
-
Save garethr/714c94bfc85e627b83b1 to your computer and use it in GitHub Desktop.
Mirage machine-readable parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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."} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Focused dashboard,!Fine-grained permissions..?Repositoryne..!