Skip to content

Instantly share code, notes, and snippets.

View evrardjp's full-sized avatar

Jean-Philippe Evrard evrardjp

View GitHub Profile
@evrardjp
evrardjp / osa-bulk-job-doer.sh
Created April 17, 2016 12:53 — forked from cloudnull/osa-bulk-job-doer.sh
Do something special on everything the OSA project supports.
#!/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
@evrardjp
evrardjp / gist:f970315fb9094acb65c9e424f54273b0
Created May 25, 2016 16:44 — forked from cloudnull/gist:e81115119dddee5e2a06
Example network interface file using a single bonded interface
## 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
---
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
---
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"
@evrardjp
evrardjp / cobbler-osa-multi-aio.sh
Created June 14, 2016 14:46 — forked from cloudnull/cobbler-osa-multi-aio.sh
Full Multi-Node OpenStack deployment using a single OnMetal host from the Rackspace Public Cloud. Read more in the "About this script" comment.
#!/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
@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)
    
@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 / tmux-cheatsheet.markdown
Created March 25, 2017 18:13 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@evrardjp
evrardjp / tmux-cheatsheet.markdown
Created March 25, 2017 18:13 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname