Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjasghar/9229065472b7ea510c91 to your computer and use it in GitHub Desktop.
Save jjasghar/9229065472b7ea510c91 to your computer and use it in GitHub Desktop.
{
"chef_type": "environment",
"cookbook_versions": {},
"default_attributes": {
},
"description": "The 1+N environment",
"json_class": "Chef::Environment",
"name": "1+n environment",
"override_attributes": {
"openstack": {
"compute": {
"config": {
"allow_same_net_traffic": "False",
"ram_allocation_ratio": 5.0
},
"libvirt": {
"bind_interface": "eth0", //set this to an interface that is not public, and not the tenant network interface
"virt_type": "qemu",
},
"network": {
"multi_host": "true",
"public_interface": "eth0",
"service_type": "nova"
},
"networks": [
{
"bridge": "br100",
"bridge_dev": "eth1",
"dns1": "<dns ip>,
"dns2": "<dns ip>",
"ipv4_cidr": "192.168.56.0/22",
"label": "private",
"multi_host": "T",
"network_size": "1024",
"num_networks": "1"
}
]
},
"dashboard": {
"keystone_default_role": "_member_",
},
"developer_mode": false,
"endpoints": {
"bind-host": "<controller ip>",
"db": {
"host": "<mysql ip>"
},
"host": "<controller ip>",
"mq": {
"host": "<controller ip>"
}
},
"image": {
"image_upload": true,
"upload_image": {
"cirros": "https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img"
},
"upload_images": [
"cirros"
]
},
"release": "havanah",
"yum": {
"repo-key": "https://github.com/redhat-openstack/rdo-release/raw/master/RPM-GPG-KEY-RDO-Havana",
"uri": "http://repos.fedorapeople.org/repos/openstack/openstack-havana/epel-6/"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment