Skip to content

Instantly share code, notes, and snippets.

@kmadac
kmadac / gist:6074003
Last active December 20, 2015 04:49
Create provider network
Storage provider network will be on interface eth2. I need to put eth2 to ovs bridge. I called it br-stor
root@ostack-grizzly:/etc/network# sudo ovs-vsctl add-br br-stor
root@ostack-grizzly:/etc/network# sudo ovs-vsctl add-port br-stor eth2
Storage bridge br-stor has to be mapped to physical network. I called it storage-net and network_vlan_ranges have to be set without defining vlans. Add following two lines into /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
network_vlan_ranges = storage-net
bridge_mappings = storage-net:br-stor
@kmadac
kmadac / gist:6064276
Created July 23, 2013 17:25
Update dns-nameservers in quantum
quantum subnet-update subnet_id --dns_nameservers 8.8.8.8 8.8.4.4
@kmadac
kmadac / gist:6054402
Last active December 20, 2015 02:09
Create quantum networks
quantum net-create public --router:external=True
quantum subnet-create public 192.168.122.0/24 --gateway 192.168.122.1 --allocation-pool start=192.168.122.170,end=192.168.122.180 --enable_dhcp False
quantum net-create private
quantum subnet-create net1 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8
quantum net-create private_storage
quantum subnet-create net1 10.1.0.0/24
quantum router-create router1
quantum router-interface-add router1 <subnet1-uuid>
quantum router-interface-add router1 <subnet2-uuid>
quantum router-gateway-set router1 <ext-net-id>
@kmadac
kmadac / stackgeek.manifest
Last active December 13, 2015 20:38
NetappNFSdriver in Folsom for StackGeek
# 'title' should be 50 characters or less, as a rule of thumb
# 'summary' will be used as the article summary on some pages instead of the article text
# 'published' is an epoch timestamp. you can convert your timestamps here: http://www.epochconverter.com/
# 'type' can be one of ['post', 'guide', 'video'] and is used for routing articles to the correct pages
title: NetappNFSdriver in Folsom
author: http://github.com/kmadac
summary: Article about using and configuration of NetappNFSdriver in Cinder in OpenStack Folsom
published: 1361101244
type: post