start new:
tmux
start new with session name:
tmux new -s myname
| ### Note that you can't copy-paste this whole thing. | |
| ### Each line break is a plce where manual input is required, or | |
| ### bash will not retain anything else copied and execute it. | |
| # | |
| ###master sha update | |
| # | |
| cd ~/code/openstack-ansible | |
| git checkout master |
| # Create networks | |
| neutron net-create --shared \ | |
| --router:external=True \ | |
| --provider:physical_network vlan \ | |
| --provider:network_type vlan \ | |
| --provider:segmentation_id 1100 \ | |
| "GATEWAY_NET_V6" | |
| neutron subnet-create --dns-nameserver '8.8.8.8' \ | |
| --dns-nameserver '8.8.4.4' \ |
This brief overview assumes that Openstack Havana has been installed and setup with Neutron Networking. If you have not already done this, you could use "https://github.com/cloudnull/rcbops_allinone_inone" or devstack to setup a dev box and then perform the following actions.
install "openswan":
# (apt-get install openswan neutron-plugin-vpn-agent) || (yum install openswan openstack-neutron-vpn-agent && chkconfig neutron-vpn-agent on)
| #!/usr/bin/env bash | |
| # Copyright [2016] [Kevin Carter] | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
| --- | |
| cidr_networks: | |
| container: 10.2.31.0/24 # 172.29.236.0/22 | |
| tunnel: 172.22.1.0/24 # 172.29.240.0/22 | |
| storage: 172.20.98.0/24 # 172.29.244.0/22 | |
| used_ips: | |
| - "172.20.98.1,172.20.98.149" | |
| - "172.20.98.240,172.20.98.254" | |
| - "10.2.31.1,10.2.31.149" | |
| - "10.2.31.240,10.2.31.254" |
| --- | |
| keystone_service_adminuri_insecure: true | |
| keystone_service_internaluri_insecure: true | |
| haproxy_ssl_self_signed_subject: "/C=US/ST=GA/L=Atlanta/O=IT/CN=haproxy.vlab.cso.att.com" | |
| horizon_ssl_self_signed_regen: true | |
| ceilometer_db_type: mongodb | |
| ceilometer_db_ip: localhost | |
| ceilometer_db_port: 27017 | |
| swift_ceilometer_enabled: True | |
| heat_ceilometer_enabled: True |
| ## The default networking requires several bridges. These bridges were named to be informative | |
| ## however they can be named what ever you like and is adaptable to any network infrastructure | |
| ## environment. This file serves as an example of how to setup basic networking and was ONLY | |
| ## built for the purpose of being an example of an environment with a single bonded interface. | |
| # Physical interface | |
| # ------------------ | |
| # All nodes will have some physical interface | |
| auto eth0 |
| #!/usr/bin/env bash | |
| # This is a simple script to do bulk operations on all projects we support | |
| # Operation: | |
| # The script clones project config from OpenStack infra then parses the gerrit | |
| # projects for all of our known projects. Known projects are determined by the | |
| # name using "openstack/openstack-ansible". Once all projects are discovered a | |
| # string is built with the "<NAME>|<URL>" and printed. The script then clones | |
| # all projects into the workspace and runs the ``bulk_function``. When complete | |
| # the script commits the changes using the message provided and submits |