diff --git a/devstack/local.conf.singlenode.nova_neutron_storage b/devstack/local.conf.singlenode.nova_neutron_storage index f03e08e..74b6aa6 100644 --- a/devstack/local.conf.singlenode.nova_neutron_storage +++ b/devstack/local.conf.singlenode.nova_neutron_storage @@ -8,17 +8,30 @@ SERVICE_TOKEN=$ADMIN_PASSWORD LOGFILE=$DEST/logs/stack.sh.log SCREEN_LOGDIR=$DEST/logs/screen -# Set to True to install the latest zhmcclient from source -INSTALL_ZHMCCLIENT=TRUE +# --------------------------------- +# Networking +# --------------------------------- # Configure Neutron DPM Agent enable_plugin networking-dpm http://git.openstack.org/openstack/networking-dpm enable_service q-dpm-agt + +# provider network +# The name of the physical network that should be used. It must match the name +# given in the physical_network_adapter_mappings. +PHYSICAL_NETWORK=provider +OVS_PHYSICAL_BRIDGE=br-provider PUBLIC_INTERFACE= +# public network +PUBLIC_PHYSICAL_NETWORK=public + +# Note: br-provider must be created manually upfront +# ovs-vsctl add-br br-provider +OVS_BRIDGE_MAPPINGS=provider:br-provider,public:br-ex + # Use IPv4 only IP_VERSION=4 - # The Subnet that should be used in CIDR format. Make sure that this is unique! # Using the same Subnet on different devstack installations causes IP # conflicts! Make also sure you do not use a subnet that is already used by @@ -28,17 +41,24 @@ IP_VERSION=4 # IPV4_ADDRS_SAFE_TO_USE=192.168.224.0/24 # ... IPV4_ADDRS_SAFE_TO_USE= - # Usually the first IP address in your subnet. E.g. 192.168.221.1 NETWORK_GATEWAY= -# The name of the physcial network that should be used. It must match the name -# given in the physical_network_adapter_mappings. -PHYSICAL_NETWORK=provider + +# --------------------------------- +# Compute +# --------------------------------- # Configure Nova DPM Driver enable_plugin nova-dpm http://git.openstack.org/openstack/nova-dpm +# --------------------------------- +# HMC +# --------------------------------- + +# Set to True to install the latest zhmcclient from source +INSTALL_ZHMCCLIENT=TRUE + HMC= HMC_USERNAME= HMC_PASSWORD= @@ -46,6 +66,13 @@ CPC_OBJECT_ID= [[post-config|$NOVA_CONF]] [DEFAULT] +# It's important that the compute node services (q-dpm-agt, n-cpu) use the +# same 'host' value. It's also important that the network node services +# (q-agt, q-l3, q-dhcp, q-meta) use a different 'host' value than the compute +# node services. Doing so we simulated 2 hosts on the same system. +# We achieve this by letting all service pick the default 'host' +# value (the hostname of the system) but only specify a different hostname for +# the compute node services. host = foo reserved_host_memory_mb = 0 [dpm] @@ -59,6 +86,13 @@ physical_storage_adapter_mappings = ":" [[post-config|/$DPM_AGENT_CONF]] [DEFAULT] +# It's important that the compute node services (q-dpm-agt, n-cpu) use the +# same 'host' value. It's also important that the network node services +# (q-agt, q-l3, q-dhcp, q-meta) use a different 'host' value than the compute +# node services. Doing so we simulated 2 hosts on the same system. +# We achieve this by letting all service pick the default 'host' +# value (the hostname of the system) but only specify a different hostname for +# the compute node services. host = foo [dpm] @@ -66,4 +100,4 @@ cpc_object_id = $CPC_OBJECT_ID hmc_password = $HMC_PASSWORD hmc_username = $HMC_USERNAME hmc = $HMC -physical_network_adapter_mappings = "public::" +physical_network_adapter_mappings = "provider::"