Created
April 8, 2014 15:55
-
-
Save Licenser/10147204 to your computer and use it in GitHub Desktop.
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
routes: | |
This is a key-value object that maps destinations to gateways. These | |
will be set as static routes in the VM. The destinations can be either | |
IPs or subnets in CIDR form. The gateways can either be IP addresses, or | |
can be of the form "nics[0]", which specifies a link-local route on the | |
numbered nic in that VM's nics array (the first nic is 0). As an | |
example: | |
{ | |
"10.2.2.0/24": "10.2.1.1", | |
"10.3.0.1": "nics[1]" | |
} | |
This sets two static routes: to the 10.2.2.0/24 subnet with a gateway | |
of 10.2.1.1, and a link-local route to the host 10.3.0.1 over the VM's | |
second nic. | |
type: object | |
vmtype: OS | |
listable: no | |
create: yes | |
update: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment