Changes to make devstack work with the essex + xen
Change-Id: If932d82ec72494d871ad65ae863947816e719624
This commit is contained in:
parent
ea4a53da61
commit
419770faad
4
stack.sh
4
stack.sh
@ -1156,9 +1156,9 @@ if [ "$VIRT_DRIVER" = 'xenserver' ]; then
|
|||||||
add_nova_flag "--xenapi_connection_url=http://169.254.0.1"
|
add_nova_flag "--xenapi_connection_url=http://169.254.0.1"
|
||||||
add_nova_flag "--xenapi_connection_username=root"
|
add_nova_flag "--xenapi_connection_username=root"
|
||||||
add_nova_flag "--xenapi_connection_password=$XENAPI_PASSWORD"
|
add_nova_flag "--xenapi_connection_password=$XENAPI_PASSWORD"
|
||||||
add_nova_flag "--flat_injected=False"
|
add_nova_flag "--noflat_injected"
|
||||||
add_nova_flag "--flat_interface=eth1"
|
add_nova_flag "--flat_interface=eth1"
|
||||||
add_nova_flag "--flat_network_bridge=xenbr1"
|
add_nova_flag "--flat_network_bridge=xapi1"
|
||||||
add_nova_flag "--public_interface=eth3"
|
add_nova_flag "--public_interface=eth3"
|
||||||
else
|
else
|
||||||
add_nova_flag "--flat_network_bridge=$FLAT_NETWORK_BRIDGE"
|
add_nova_flag "--flat_network_bridge=$FLAT_NETWORK_BRIDGE"
|
||||||
|
@ -33,12 +33,12 @@ PUB_NETMASK=${PUB_NETMASK:-255.255.255.0}
|
|||||||
|
|
||||||
# VM network params
|
# VM network params
|
||||||
VM_NETMASK=${VM_NETMASK:-255.255.255.0}
|
VM_NETMASK=${VM_NETMASK:-255.255.255.0}
|
||||||
VM_BR=${VM_BR:-xenbr1}
|
VM_BR=${VM_BR:-xapi1}
|
||||||
VM_VLAN=${VM_VLAN:-100}
|
VM_VLAN=${VM_VLAN:-100}
|
||||||
|
|
||||||
# MGMT network params
|
# MGMT network params
|
||||||
MGT_NETMASK=${MGT_NETMASK:-255.255.255.0}
|
MGT_NETMASK=${MGT_NETMASK:-255.255.255.0}
|
||||||
MGT_BR=${MGT_BR:-xenbr2}
|
MGT_BR=${MGT_BR:-xapi2}
|
||||||
MGT_VLAN=${MGT_VLAN:-101}
|
MGT_VLAN=${MGT_VLAN:-101}
|
||||||
|
|
||||||
# VM Password
|
# VM Password
|
||||||
@ -205,8 +205,9 @@ fi
|
|||||||
|
|
||||||
# Checkout nova
|
# Checkout nova
|
||||||
if [ ! -d $TOP_DIR/nova ]; then
|
if [ ! -d $TOP_DIR/nova ]; then
|
||||||
git clone git://github.com/cloudbuilders/nova.git
|
git clone $NOVA_REPO
|
||||||
git checkout diablo
|
cd $TOP_DIR/nova
|
||||||
|
git checkout $NOVA_BRANCH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run devstack on launch
|
# Run devstack on launch
|
||||||
|
Loading…
Reference in New Issue
Block a user