blob: 102a492e04cbbe0fd005662d355ba987e8c09082 [file] [log] [blame]
Anthony Young11889042012-01-12 17:11:56 -08001#!/bin/bash
2
3# Name of this guest
Renuka Apte0af143b2012-04-02 15:46:53 -07004GUEST_NAME=${GUEST_NAME:-DevStackOSDomU}
Anthony Young11889042012-01-12 17:11:56 -08005
6# Size of image
Renuka Apte0af143b2012-04-02 15:46:53 -07007VDI_MB=${VDI_MB:-5000}
John Garbuttdaadf742012-04-27 18:28:28 +01008OSDOMU_MEM_MB=1024
Anthony Young11889042012-01-12 17:11:56 -08009
10# VM Password
11GUEST_PASSWORD=${GUEST_PASSWORD:-secrete}
12
John Garbuttdaadf742012-04-27 18:28:28 +010013# 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)
16HOST_IP_IFACE=${HOST_IP_IFACE:-eth3}
rootb1153412012-01-19 13:28:21 -080017
18# Our nova host's network info
Anthony Young11889042012-01-12 17:11:56 -080019VM_IP=${VM_IP:-10.255.255.255} # A host-only ip that let's the interface come up, otherwise unused
20MGT_IP=${MGT_IP:-172.16.100.55}
21PUB_IP=${PUB_IP:-192.168.1.55}
22
23# Public network
rootb1153412012-01-19 13:28:21 -080024PUB_BR=${PUB_BR:-"xenbr0"}
25PUB_DEV=${PUB_DEV:-eth0}
26PUB_VLAN=${PUB_VLAN:--1}
Anthony Young11889042012-01-12 17:11:56 -080027PUB_NETMASK=${PUB_NETMASK:-255.255.255.0}
28
29# VM network params
30VM_NETMASK=${VM_NETMASK:-255.255.255.0}
rootb1153412012-01-19 13:28:21 -080031VM_BR=${VM_BR:-""}
Anthony Young11889042012-01-12 17:11:56 -080032VM_VLAN=${VM_VLAN:-100}
rootb1153412012-01-19 13:28:21 -080033VM_DEV=${VM_DEV:-eth0}
Anthony Young11889042012-01-12 17:11:56 -080034
35# MGMT network params
36MGT_NETMASK=${MGT_NETMASK:-255.255.255.0}
rootb1153412012-01-19 13:28:21 -080037MGT_BR=${MGT_BR:-""}
Anthony Young11889042012-01-12 17:11:56 -080038MGT_VLAN=${MGT_VLAN:-101}
rootb1153412012-01-19 13:28:21 -080039MGT_DEV=${MGT_DEV:-eth0}
Anthony Young11889042012-01-12 17:11:56 -080040
John Garbutt030fb232012-04-27 18:28:28 +010041# Guest installer network
42ENABLE_GI=true
43
Anthony Young11889042012-01-12 17:11:56 -080044# Source params
45cd ../.. && source ./stackrc && cd $TOP_DIR