Skip to content

Instantly share code, notes, and snippets.

@logan2211
Last active June 15, 2017 17:53
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 logan2211/88a591fcf5ea54d0f17cc98123810851 to your computer and use it in GitHub Desktop.
Save logan2211/88a591fcf5ea54d0f17cc98123810851 to your computer and use it in GitHub Desktop.
Split compute_hosts groups
---
# Excerpted from /etc/openstack_deploy/group_vars/kvm-compute_hosts.yml
# Copyright 2016, Logan Vig <logan2211@gmail.com>
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Set any options here that are specific to KVM compute hosts only.
---
# Excerpted from /etc/openstack_deploy/group_vars/lxd-compute_hosts.yml
# Copyright 2016, Logan Vig <logan2211@gmail.com>
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#set the hypervisor type to LXD
nova_virt_type: lxd
---
# Excerpted from /etc/openstack_deploy/env.d/nova.yml
# Copyright 2016, Logan Vig <logan2211@gmail.com>
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
container_skel:
nova_compute_container:
belongs_to:
- kvm-compute_containers
- lxd-compute_containers
physical_skel:
kvm-compute_containers:
belongs_to:
- compute_containers
lxd-compute_containers:
belongs_to:
- compute_containers
kvm-compute_hosts:
belongs_to:
- compute_hosts
lxd-compute_hosts:
belongs_to:
- compute_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment