Skip to content

Instantly share code, notes, and snippets.

View evrardjp's full-sized avatar

Jean-Philippe Evrard evrardjp

View GitHub Profile
@evrardjp
evrardjp / clouds.yaml
Last active September 8, 2016 13:17
.config/openstack/clouds.yaml
clouds:
rax:
profile: rackspace
regions:
- IAD
- DFW
- HKG
auth:
username: {{ rax_username }}
project_id: {{ rax_projectid }}
@evrardjp
evrardjp / inventory
Created September 8, 2016 14:23
os_network on RAX usage
[iad]
evrardjp-lab-1
evrardjp-lab-2
evrardjp-lab-3
@evrardjp
evrardjp / neutron-vpnaas-fwaas-lbaas-configSetup.rst
Created September 13, 2016 15:18 — forked from cloudnull/neutron-vpnaas-fwaas-lbaas-configSetup.rst
Setup Openstack Havana with Neutron using VPNaaS (VPN as a Service), FWaaS (Firewall as a Service), LBaaS (Load Balancer as a Service).

Installing Openstack VPNaaS, LBaaS, and FWaaS

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)
    
{
"_meta": {
"hostvars": {
"aio1": {
"ansible_host": "172.29.236.100",
"ansible_ssh_host": "172.29.236.100",
"cinder_backends": {
"lvm": {
"iscsi_ip_address": "172.29.236.100",
"volume_backend_name": "LVM_iSCSI",
@evrardjp
evrardjp / neutron-ipv6-network.sh
Created October 13, 2016 08:11 — forked from cloudnull/neutron-ipv6-network.sh
creaet ipv6 network and subnet
# 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' \
@evrardjp
evrardjp / release.sh
Created November 4, 2016 15:08 — forked from odyssey4me/release.sh
OpenStack-Ansible Release Procedure (Nov 4 2016)
### 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
@evrardjp
evrardjp / facts-show.yml
Created November 8, 2016 10:51
ansible facts show
---
- hosts: localhost
connection: local
tasks:
- action: setup
register: facts
- debug: msg="{{ facts }}"
- debug: msg="{{ ansible_service_mgr }}"
pip_url: "{{ lookup('url', 'http://127.0.0.1/mirror/get-pip.py') | ternary('mirror_url','https://bootstrap.pypa.io/get-pip.py') }}"
@evrardjp
evrardjp / user_rax_apt_repo_variables.yml
Last active January 27, 2017 11:37
Using RAX apt repo.
# Base variables
rax_deb_line: "deb {{ rax_repo_url }} {{ artifacts_version }}-{{ ansible_distribution_release }} main"
rax_repo_url: "http://rpc-repo.rackspace.com/apt-mirror/integrated/"
artifacts_version: "rpc-14.0.0rc1" #Move to reading variable
rax_repo_filename: rax
gpg_key_location: "http://rpc-repo.rackspace.com/apt-mirror/"
gpg_key_name: "rcbops-release-signing-key.asc"
gpg_key_id: 22A9BF80 #SET IN STATIC (to force key verification per release).
# For convenience
@evrardjp
evrardjp / env.d__etcd.yml
Created January 24, 2017 18:51
Dragonflow implementation (/etc/openstack_deploy)
component_skel:
etcd:
belongs_to:
- etcd_all
container_skel:
etcd_container:
belongs_to:
- infra_containers
- shared-infra_containers
contains: