Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # Name of this guest |
Renuka Apte | 0af143b | 2012-04-02 15:46:53 -0700 | [diff] [blame] | 4 | GUEST_NAME=${GUEST_NAME:-DevStackOSDomU} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 5 | |
| 6 | # Size of image |
Renuka Apte | 0af143b | 2012-04-02 15:46:53 -0700 | [diff] [blame] | 7 | VDI_MB=${VDI_MB:-5000} |
John Garbutt | daadf74 | 2012-04-27 18:28:28 +0100 | [diff] [blame] | 8 | OSDOMU_MEM_MB=1024 |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 9 | |
| 10 | # VM Password |
| 11 | GUEST_PASSWORD=${GUEST_PASSWORD:-secrete} |
| 12 | |
John Garbutt | daadf74 | 2012-04-27 18:28:28 +0100 | [diff] [blame] | 13 | # Host Interface, i.e. the interface on the nova vm you want to expose the services on |
| 14 | # Usually either eth2 (management network) or eth3 (public network) |
| 15 | # not eth0 (private network with XenServer host) or eth1 (VM traffic network) |
| 16 | HOST_IP_IFACE=${HOST_IP_IFACE:-eth3} |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 17 | |
| 18 | # Our nova host's network info |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 19 | VM_IP=${VM_IP:-10.255.255.255} # A host-only ip that let's the interface come up, otherwise unused |
| 20 | MGT_IP=${MGT_IP:-172.16.100.55} |
| 21 | PUB_IP=${PUB_IP:-192.168.1.55} |
| 22 | |
| 23 | # Public network |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 24 | PUB_BR=${PUB_BR:-"xenbr0"} |
| 25 | PUB_DEV=${PUB_DEV:-eth0} |
| 26 | PUB_VLAN=${PUB_VLAN:--1} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 27 | PUB_NETMASK=${PUB_NETMASK:-255.255.255.0} |
| 28 | |
| 29 | # VM network params |
| 30 | VM_NETMASK=${VM_NETMASK:-255.255.255.0} |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 31 | VM_BR=${VM_BR:-""} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 32 | VM_VLAN=${VM_VLAN:-100} |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 33 | VM_DEV=${VM_DEV:-eth0} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 34 | |
| 35 | # MGMT network params |
| 36 | MGT_NETMASK=${MGT_NETMASK:-255.255.255.0} |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 37 | MGT_BR=${MGT_BR:-""} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 38 | MGT_VLAN=${MGT_VLAN:-101} |
root | b115341 | 2012-01-19 13:28:21 -0800 | [diff] [blame] | 39 | MGT_DEV=${MGT_DEV:-eth0} |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 40 | |
John Garbutt | 030fb23 | 2012-04-27 18:28:28 +0100 | [diff] [blame^] | 41 | # Guest installer network |
| 42 | ENABLE_GI=true |
| 43 | |
Anthony Young | 1188904 | 2012-01-12 17:11:56 -0800 | [diff] [blame] | 44 | # Source params |
| 45 | cd ../.. && source ./stackrc && cd $TOP_DIR |