Created
February 11, 2016 00:08
-
-
Save dougwig/a73e9c59b008fe728aec to your computer and use it in GitHub Desktop.
devstack neutron single-vm single-nic default outbound internet
This file contains hidden or 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
| [[local|localrc]] LOGFILE=stack.sh.log | |
| LOGFILE=stack.sh.log | |
| SCREEN_LOGDIR=/opt/stack/data/log | |
| LOG_COLOR=False | |
| #OFFLINE=True | |
| RECLONE=yes | |
| disable_service swift | |
| disable_service cinder | |
| disable_service n-net | |
| enable_service q-svc | |
| enable_service q-dhcp | |
| enable_service q-l3 | |
| enable_service q-meta | |
| enable_service q-vpn | |
| enable_service q-metering | |
| enable_service q-lbaas | |
| enable_service q-fwaas | |
| enable_service neutron | |
| enable_service tempest | |
| # NOTE: Set this to your hosts IP | |
| HOST_IP=$(ip a | grep eth0 | grep inet | awk '{print $2}' | cut -f1 -d/) | |
| Q_PLUGIN=ml2 | |
| Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch,logger | |
| Q_AGENT=openvswitch | |
| enable_service q-agt | |
| ENABLE_TENANT_TUNNELS=True | |
| Q_ML2_TENANT_NETWORK_TYPE=vxlan | |
| Q_ML2_PLUGIN_TYPE_DRIVERS=vxlan | |
| Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS=(vni_ranges=1001:2000) | |
| Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_types=vxlan vxlan_udp_port=8472) | |
| Q_USE_NAMESPACE=True | |
| Q_USE_SECGROUP=True | |
| # The below is needed on Fedora/CentOS | |
| #disable_service rabbit | |
| #enable_service qpid | |
| HOST_NAME=$(hostname) | |
| SERVICE_HOST_NAME=${HOST_NAME} | |
| # NOTE: Set this to your HOST IP | |
| SERVICE_HOST=$HOST_IP | |
| # NOTE: Set this to your HOST IP | |
| VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP | |
| VNCSERVER_LISTEN=0.0.0.0 | |
| #FLOATING_RANGE=192.168.100.0/24 | |
| MYSQL_HOST=$SERVICE_HOST | |
| RABBIT_HOST=$SERVICE_HOST | |
| GLANCE_HOSTPORT=$SERVICE_HOST:9292 | |
| KEYSTONE_AUTH_HOST=$SERVICE_HOST | |
| KEYSTONE_SERVICE_HOST=$SERVICE_HOST | |
| MYSQL_PASSWORD=mysql | |
| RABBIT_PASSWORD=rabbit | |
| SERVICE_TOKEN=service | |
| SERVICE_PASSWORD=admin | |
| ADMIN_PASSWORD=admin | |
| MASQ=$(sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > /tmp/masq.out 2>&1) | |
| MTU_FILE=$(echo "dhcp-option-force=26,1400" | sudo tee /etc/dnsmasq-neutron.conf) | |
| [[post-config|/etc/neutron/dhcp_agent.ini]] | |
| [default] | |
| dnsmasq_config_file=/etc/dnsmasq-neutron.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment