Merge "Networking: dynamic backend support"

This commit is contained in:
Zuul 2018-02-27 00:18:49 +00:00 committed by Gerrit Code Review
commit 62698f7ea7
38 changed files with 375 additions and 180 deletions

View File

@ -16,12 +16,24 @@
check: check:
jobs: jobs:
- openstack-helm-linter - openstack-helm-linter
- openstack-helm-dev-deploy-ceph: - openstack-helm-dev-deploy-ceph-ovs:
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$ - ^doc/.*$
- ^releasenotes/.*$ - ^releasenotes/.*$
- openstack-helm-dev-deploy-nfs: - openstack-helm-dev-deploy-nfs-ovs:
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-dev-deploy-ceph-lb:
voting: false
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- openstack-helm-dev-deploy-nfs-lb:
voting: false
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$ - ^doc/.*$
@ -69,12 +81,12 @@
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$ - ^doc/.*$
- ^releasenotes/.*$ - ^releasenotes/.*$
- openstack-helm-dev-deploy-ceph: - openstack-helm-dev-deploy-ceph-ovs:
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$ - ^doc/.*$
- ^releasenotes/.*$ - ^releasenotes/.*$
- openstack-helm-dev-deploy-nfs: - openstack-helm-dev-deploy-nfs-ovs:
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^doc/.*$ - ^doc/.*$
@ -108,12 +120,34 @@
nodeset: openstack-helm-single-node nodeset: openstack-helm-single-node
- job: - job:
name: openstack-helm-dev-deploy-ceph name: openstack-helm-dev-deploy-ceph-ovs
vars:
osh_neutron_backend: openvswitch
parent: openstack-helm-dev-deploy parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-ceph.yaml run: tools/gate/playbooks/dev-deploy-ceph.yaml
- job: - job:
name: openstack-helm-dev-deploy-nfs name: openstack-helm-dev-deploy-nfs-ovs
vars:
osh_neutron_backend: openvswitch
parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-nfs.yaml
- job:
name: openstack-helm-dev-deploy-ceph-lb
vars:
osh_neutron_backend: linuxbridge
zuul_osh_infra_relative_path: ../openstack-helm-infra/
zuul_osh_extra_helm_args_relative_path: --values=./tools/overrides/backends/networking/linuxbridge.yaml
parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-ceph.yaml
- job:
name: openstack-helm-dev-deploy-nfs-lb
vars:
osh_neutron_backend: linuxbridge
zuul_osh_infra_relative_path: ../openstack-helm-infra/
zuul_osh_extra_helm_args_relative_path: --values=./tools/overrides/backends/networking/linuxbridge.yaml
parent: openstack-helm-dev-deploy parent: openstack-helm-dev-deploy
run: tools/gate/playbooks/dev-deploy-nfs.yaml run: tools/gate/playbooks/dev-deploy-nfs.yaml

View File

@ -0,0 +1,28 @@
{{/*
Copyright 2017 The Openstack-Helm Authors.
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.
*/}}
{{- define "helm-toolkit.utils.dependency_resolver" }}
{{- $envAll := index . "envAll" -}}
{{- $dependencyMixinParam := index . "dependencyMixinParam" -}}
{{- $dependencyKey := index . "dependencyKey" -}}
{{- if $dependencyMixinParam -}}
{{- $_ := set $envAll.Values "pod_dependency" dict -}}
{{- $_ := include "helm-toolkit.utils.merge" (tuple $envAll.Values.pod_dependency ( index $envAll.Values.dependencies.static $dependencyKey ) ( index $envAll.Values.dependencies.dynamic.targeted $dependencyMixinParam $dependencyKey ) ) -}}
{{- else -}}
{{- $_ := set $envAll.Values "pod_dependency" ( index $envAll.Values.dependencies.static $dependencyKey ) -}}
{{- end -}}
{{ $envAll.Values.pod_dependency | toYaml }}
{{- end }}

View File

@ -17,5 +17,6 @@ limitations under the License.
*/}} */}}
set -ex set -ex
chroot /mnt/host-rootfs modprobe bridge
chroot /mnt/host-rootfs modprobe ip6_tables chroot /mnt/host-rootfs modprobe ip6_tables
chroot /mnt/host-rootfs modprobe ebtables chroot /mnt/host-rootfs modprobe ebtables

View File

@ -92,6 +92,42 @@ limitations under the License.
{{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | set .Values.conf.metadata_agent.cache "memcache_servers" | quote | trunc 0 -}} {{- tuple "oslo_cache" "internal" "memcache" . | include "helm-toolkit.endpoints.host_and_port_endpoint_uri_lookup" | set .Values.conf.metadata_agent.cache "memcache_servers" | quote | trunc 0 -}}
{{- end -}} {{- end -}}
{{- if empty .Values.conf.neutron.DEFAULT.interface_driver -}}
{{- if eq .Values.network.backend "ovs" -}}
{{- set .Values.conf.neutron.DEFAULT "interface_driver" "openvswitch" | quote | trunc 0 -}}
{{- end -}}
{{- if eq .Values.network.backend "linuxbridge" -}}
{{- set .Values.conf.neutron.DEFAULT "interface_driver" "linuxbridge" | quote | trunc 0 -}}
{{- end -}}
{{- end -}}
{{- if empty .Values.conf.dhcp_agent.DEFAULT.interface_driver -}}
{{- if eq .Values.network.backend "ovs" -}}
{{- set .Values.conf.dhcp_agent.DEFAULT "interface_driver" "openvswitch" | quote | trunc 0 -}}
{{- end -}}
{{- if eq .Values.network.backend "linuxbridge" -}}
{{- set .Values.conf.dhcp_agent.DEFAULT "interface_driver" "linuxbridge" | quote | trunc 0 -}}
{{- end -}}
{{- end -}}
{{- if empty .Values.conf.l3_agent.DEFAULT.interface_driver -}}
{{- if eq .Values.network.backend "ovs" -}}
{{- set .Values.conf.l3_agent.DEFAULT "interface_driver" "openvswitch" | quote | trunc 0 -}}
{{- end -}}
{{- if eq .Values.network.backend "linuxbridge" -}}
{{- set .Values.conf.l3_agent.DEFAULT "interface_driver" "linuxbridge" | quote | trunc 0 -}}
{{- end -}}
{{- end -}}
{{- if empty .Values.conf.plugins.ml2_conf.ml2.mechanism_drivers -}}
{{- if eq .Values.network.backend "ovs" -}}
{{- set .Values.conf.plugins.ml2_conf.ml2 "mechanism_drivers" "openvswitch,l2population" | quote | trunc 0 -}}
{{- end -}}
{{- if eq .Values.network.backend "linuxbridge" -}}
{{- set .Values.conf.plugins.ml2_conf.ml2 "mechanism_drivers" "linuxbridge,l2population" | quote | trunc 0 -}}
{{- end -}}
{{- end -}}
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap

View File

@ -16,7 +16,9 @@ limitations under the License.
{{- if .Values.manifests.daemonset_dhcp_agent }} {{- if .Values.manifests.daemonset_dhcp_agent }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.dhcp }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "dhcp" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_dhcp_agent := .Values.pod.mounts.neutron_dhcp_agent.neutron_dhcp_agent }} {{- $mounts_neutron_dhcp_agent := .Values.pod.mounts.neutron_dhcp_agent.neutron_dhcp_agent }}
{{- $mounts_neutron_dhcp_agent_init := .Values.pod.mounts.neutron_dhcp_agent.init_container }} {{- $mounts_neutron_dhcp_agent_init := .Values.pod.mounts.neutron_dhcp_agent.init_container }}

View File

@ -16,7 +16,9 @@ limitations under the License.
{{- if .Values.manifests.daemonset_l3_agent }} {{- if .Values.manifests.daemonset_l3_agent }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.l3 }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "l3" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_l3_agent := .Values.pod.mounts.neutron_l3_agent.neutron_l3_agent }} {{- $mounts_neutron_l3_agent := .Values.pod.mounts.neutron_l3_agent.neutron_l3_agent }}
{{- $mounts_neutron_l3_agent_init := .Values.pod.mounts.neutron_l3_agent.init_container }} {{- $mounts_neutron_l3_agent_init := .Values.pod.mounts.neutron_l3_agent.init_container }}

View File

@ -14,9 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/}} */}}
{{- if .Values.manifests.daemonset_lb_agent }} {{- if and .Values.manifests.daemonset_lb_agent ( eq .Values.network.backend "linuxbridge" ) }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.lb_agent }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "lb_agent" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_lb_agent := .Values.pod.mounts.neutron_lb_agent.neutron_lb_agent }} {{- $mounts_neutron_lb_agent := .Values.pod.mounts.neutron_lb_agent.neutron_lb_agent }}
{{- $mounts_neutron_lb_agent_init := .Values.pod.mounts.neutron_lb_agent.init_container }} {{- $mounts_neutron_lb_agent_init := .Values.pod.mounts.neutron_lb_agent.init_container }}

View File

@ -16,7 +16,9 @@ limitations under the License.
{{- if .Values.manifests.daemonset_metadata_agent }} {{- if .Values.manifests.daemonset_metadata_agent }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.metadata }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "metadata" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_metadata_agent := .Values.pod.mounts.neutron_metadata_agent.neutron_metadata_agent }} {{- $mounts_neutron_metadata_agent := .Values.pod.mounts.neutron_metadata_agent.neutron_metadata_agent }}
{{- $mounts_neutron_metadata_agent_init := .Values.pod.mounts.neutron_metadata_agent.init_container }} {{- $mounts_neutron_metadata_agent_init := .Values.pod.mounts.neutron_metadata_agent.init_container }}

View File

@ -14,9 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/}} */}}
{{- if .Values.manifests.daemonset_ovs_agent }} {{- if and .Values.manifests.daemonset_ovs_agent ( eq .Values.network.backend "ovs" ) }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.ovs_agent }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "ovs_agent" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_ovs_agent := .Values.pod.mounts.neutron_ovs_agent.neutron_ovs_agent }} {{- $mounts_neutron_ovs_agent := .Values.pod.mounts.neutron_ovs_agent.neutron_ovs_agent }}
{{- $mounts_neutron_ovs_agent_init := .Values.pod.mounts.neutron_ovs_agent.init_container }} {{- $mounts_neutron_ovs_agent_init := .Values.pod.mounts.neutron_ovs_agent.init_container }}

View File

@ -16,7 +16,9 @@ limitations under the License.
{{- if .Values.manifests.deployment_server }} {{- if .Values.manifests.deployment_server }}
{{- $envAll := . }} {{- $envAll := . }}
{{- $dependencies := .Values.dependencies.static.server }}
{{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "server" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{- $mounts_neutron_server := .Values.pod.mounts.neutron_server.neutron_server }} {{- $mounts_neutron_server := .Values.pod.mounts.neutron_server.neutron_server }}
{{- $mounts_neutron_server_init := .Values.pod.mounts.neutron_server.init_container }} {{- $mounts_neutron_server_init := .Values.pod.mounts.neutron_server.init_container }}

View File

@ -112,6 +112,28 @@ bootstrap:
openstack token issue openstack token issue
dependencies: dependencies:
dynamic:
targeted:
ovs:
dhcp:
daemonset:
- neutron-ovs-agent
l3:
daemonset:
- neutron-ovs-agent
metadata:
daemonset:
- neutron-ovs-agent
linuxbridge:
dhcp:
daemonset:
- neutron-lb-agent
l3:
daemonset:
- neutron-lb-agent
metadata:
daemonset:
- neutron-lb-agent
static: static:
bootstrap: bootstrap:
services: services:
@ -134,9 +156,7 @@ dependencies:
- endpoint: internal - endpoint: internal
service: oslo_db service: oslo_db
dhcp: dhcp:
daemonset: daemonset: null
# this should be set to corresponding neutron L2 agent
- neutron-ovs-agent
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging
@ -159,9 +179,7 @@ dependencies:
- endpoint: internal - endpoint: internal
service: identity service: identity
l3: l3:
daemonset: daemonset: null
# this should be set to corresponding neutron L2 agent
- neutron-ovs-agent
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging
@ -176,9 +194,7 @@ dependencies:
- endpoint: internal - endpoint: internal
service: network service: network
metadata: metadata:
daemonset: daemonset: null
# this should be set to corresponding neutron L2 agent
- neutron-ovs-agent
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging
@ -928,8 +944,9 @@ conf:
dhcp_agents_per_network: 3 dhcp_agents_per_network: 3
network_auto_schedule: True network_auto_schedule: True
router_auto_schedule: True router_auto_schedule: True
# we can define here, which driver we are using: openvswitch or linuxbridge #(NOTE)portdirect: if unset this is populated dyanmicly from the value in
interface_driver: openvswitch # 'network.backend' to sane defaults.
interface_driver: null
oslo_concurrency: oslo_concurrency:
lock_path: /var/lib/neutron/tmp lock_path: /var/lib/neutron/tmp
database: database:
@ -949,9 +966,9 @@ conf:
ml2_conf: ml2_conf:
ml2: ml2:
extension_drivers: port_security extension_drivers: port_security
# mechnism_drivers can be: openvswitch, linuxbridge, #(NOTE)portdirect: if unset this is populated dyanmicly from the value
# opendaylight, ovn # in 'network.backend' to sane defaults.
mechanism_drivers: openvswitch,l2population mechanism_drivers: null
type_drivers: flat,vlan,vxlan type_drivers: flat,vlan,vxlan
tenant_network_types: vxlan tenant_network_types: vxlan
ml2_type_vxlan: ml2_type_vxlan:
@ -992,16 +1009,16 @@ conf:
sriov_agent: null sriov_agent: null
dhcp_agent: dhcp_agent:
DEFAULT: DEFAULT:
# we can define here, which driver we are using: #(NOTE)portdirect: if unset this is populated dyanmicly from the value in
# openvswitch or linuxbridge # 'network.backend' to sane defaults.
interface_driver: openvswitch interface_driver: null
dnsmasq_config_file: /etc/neutron/dnsmasq.conf dnsmasq_config_file: /etc/neutron/dnsmasq.conf
force_metadata: True force_metadata: True
l3_agent: l3_agent:
DEFAULT: DEFAULT:
# we can define here, which driver we are using: #(NOTE)portdirect: if unset this is populated dyanmicly from the value in
# openvswitch or linuxbridge # 'network.backend' to sane defaults.
interface_driver: openvswitch interface_driver: null
agent_mode: legacy agent_mode: legacy
metering_agent: null metering_agent: null
metadata_agent: metadata_agent:
@ -1168,7 +1185,7 @@ manifests:
configmap_etc: true configmap_etc: true
daemonset_dhcp_agent: true daemonset_dhcp_agent: true
daemonset_l3_agent: true daemonset_l3_agent: true
daemonset_lb_agent: false daemonset_lb_agent: true
daemonset_metadata_agent: true daemonset_metadata_agent: true
daemonset_ovs_agent: true daemonset_ovs_agent: true
deployment_server: true deployment_server: true

View File

@ -296,11 +296,14 @@ spec:
{{ if $mounts_nova_compute.volumes }}{{ toYaml $mounts_nova_compute.volumes | indent 8 }}{{ end }} {{ if $mounts_nova_compute.volumes }}{{ toYaml $mounts_nova_compute.volumes | indent 8 }}{{ end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.manifests.daemonset_compute }} {{- if .Values.manifests.daemonset_compute }}
{{- $envAll := . }}
{{- $daemonset := "compute" }} {{- $daemonset := "compute" }}
{{- $configMapName := "nova-etc" }} {{- $configMapName := "nova-etc" }}
{{- $serviceAccountName := "nova-compute" }} {{- $serviceAccountName := "nova-compute" }}
{{- $dependencies := .Values.dependencies.static.compute }} {{- $dependencyOpts := dict "envAll" $envAll "dependencyMixinParam" $envAll.Values.network.backend "dependencyKey" "compute" -}}
{{- $dependencies := include "helm-toolkit.utils.dependency_resolver" $dependencyOpts | toString | fromYaml }}
{{ tuple . $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} {{ tuple . $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }}
{{- $daemonset_yaml := list $daemonset $configMapName $serviceAccountName $dependencies . | include "nova.compute.daemonset" | toString | fromYaml }} {{- $daemonset_yaml := list $daemonset $configMapName $serviceAccountName $dependencies . | include "nova.compute.daemonset" | toString | fromYaml }}
{{- $configmap_yaml := "nova.configmap.etc" }} {{- $configmap_yaml := "nova.configmap.etc" }}

View File

@ -124,6 +124,7 @@ bootstrap:
vcpus: 8 vcpus: 8
network: network:
backend: ovs
osapi: osapi:
port: 8774 port: 8774
ingress: ingress:
@ -182,6 +183,16 @@ ceph:
secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337 secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
dependencies: dependencies:
dynamic:
targeted:
ovs:
compute:
daemonset:
- neutron-ovs-agent
linuxbridge:
compute:
daemonset:
- neutron-lb-agent
static: static:
api: api:
jobs: jobs:
@ -218,8 +229,6 @@ dependencies:
compute: compute:
daemonset: daemonset:
- libvirt - libvirt
# this should be set to corresponding neutron L2 agent
- neutron-ovs-agent
jobs: jobs:
- nova-db-sync - nova-db-sync
services: services:

View File

@ -20,10 +20,10 @@ set -xe
make pull-images memcached make pull-images memcached
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install memcached ./memcached \ helm upgrade --install memcached ./memcached \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,7 +20,7 @@ set -xe
make pull-images ceph make pull-images ceph
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
uuidgen > /tmp/ceph-fs-uuid.txt uuidgen > /tmp/ceph-fs-uuid.txt
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)" CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
#NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this #NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this
@ -157,7 +157,7 @@ EOF
helm upgrade --install ceph ./ceph \ helm upgrade --install ceph ./ceph \
--namespace=ceph \ --namespace=ceph \
--values=/tmp/ceph.yaml \ --values=/tmp/ceph.yaml \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh ceph ./tools/deployment/common/wait-for-pods.sh ceph

View File

@ -20,7 +20,7 @@ set -xe
make pull-images ceph make pull-images ceph
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)" CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
tee /tmp/ceph-openstack-config.yaml <<EOF tee /tmp/ceph-openstack-config.yaml <<EOF
endpoints: endpoints:
@ -52,7 +52,7 @@ EOF
helm upgrade --install ceph-openstack-config ./ceph \ helm upgrade --install ceph-openstack-config ./ceph \
--namespace=openstack \ --namespace=openstack \
--values=/tmp/ceph-openstack-config.yaml \ --values=/tmp/ceph-openstack-config.yaml \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,7 +20,7 @@ set -xe
make pull-images ceph make pull-images ceph
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)" CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
tee /tmp/radosgw-openstack.yaml <<EOF tee /tmp/radosgw-openstack.yaml <<EOF
endpoints: endpoints:
@ -52,7 +52,7 @@ EOF
helm upgrade --install radosgw-openstack ./ceph \ helm upgrade --install radosgw-openstack ./ceph \
--namespace=openstack \ --namespace=openstack \
--values=/tmp/radosgw-openstack.yaml \ --values=/tmp/radosgw-openstack.yaml \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,12 +20,12 @@ set -xe
make pull-images glance make pull-images glance
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
GLANCE_BACKEND="radosgw" # NOTE(portdirect), this could be: radosgw, rbd, swift or pvc GLANCE_BACKEND="radosgw" # NOTE(portdirect), this could be: radosgw, rbd, swift or pvc
helm upgrade --install glance ./glance \ helm upgrade --install glance ./glance \
--namespace=openstack \ --namespace=openstack \
--set storage=${GLANCE_BACKEND} \ --set storage=${GLANCE_BACKEND} \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,10 +19,10 @@ set -xe
make pull-images cinder make pull-images cinder
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install cinder ./cinder \ helm upgrade --install cinder ./cinder \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,10 +19,10 @@ set -xe
make pull-images libvirt make pull-images libvirt
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install libvirt ./libvirt \ helm upgrade --install libvirt ./libvirt \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,18 +20,18 @@ make pull-images nova
make pull-images neutron make pull-images neutron
#NOTE: Deploy nova #NOTE: Deploy nova
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
if [ "x$(systemd-detect-virt)" == "xnone" ]; then if [ "x$(systemd-detect-virt)" == "xnone" ]; then
echo 'OSH is not being deployed in virtualized environment' echo 'OSH is not being deployed in virtualized environment'
helm upgrade --install nova ./nova \ helm upgrade --install nova ./nova \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
else else
echo 'OSH is being deployed in virtualized environment, using qemu for nova' echo 'OSH is being deployed in virtualized environment, using qemu for nova'
helm upgrade --install nova ./nova \ helm upgrade --install nova ./nova \
--namespace=openstack \ --namespace=openstack \
--set conf.nova.libvirt.virt_type=qemu \ --set conf.nova.libvirt.virt_type=qemu \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
fi fi
#NOTE: Deploy neutron #NOTE: Deploy neutron
@ -51,16 +51,21 @@ conf:
ml2_conf: ml2_conf:
ml2_type_flat: ml2_type_flat:
flat_networks: public flat_networks: public
#NOTE(portdirect): for clarity we include options for all the neutron
# backends here.
openvswitch_agent: openvswitch_agent:
agent: agent:
tunnel_types: vxlan tunnel_types: vxlan
ovs: ovs:
bridge_mappings: public:br-ex bridge_mappings: public:br-ex
linuxbridge_agent:
linux_bridge:
bridge_mappings: public:br-ex
EOF EOF
helm upgrade --install neutron ./neutron \ helm upgrade --install neutron ./neutron \
--namespace=openstack \ --namespace=openstack \
--values=/tmp/neutron.yaml \ --values=/tmp/neutron.yaml \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,7 +20,7 @@ set -xe
make pull-images ingress make pull-images ingress
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
tee /tmp/ingress-kube-system.yaml << EOF tee /tmp/ingress-kube-system.yaml << EOF
deployment: deployment:
mode: cluster mode: cluster
@ -31,7 +31,7 @@ EOF
helm upgrade --install ingress-kube-system ./ingress \ helm upgrade --install ingress-kube-system ./ingress \
--namespace=kube-system \ --namespace=kube-system \
--values=/tmp/ingress-kube-system.yaml \ --values=/tmp/ingress-kube-system.yaml \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Deploy namespace ingress #NOTE: Deploy namespace ingress
helm upgrade --install ingress-openstack ./ingress \ helm upgrade --install ingress-openstack ./ingress \

View File

@ -20,11 +20,11 @@ set -xe
make pull-images mariadb make pull-images mariadb
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install mariadb ./mariadb \ helm upgrade --install mariadb ./mariadb \
--namespace=openstack \ --namespace=openstack \
--set pod.replicas.server=1 \ --set pod.replicas.server=1 \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,11 +20,11 @@ set -xe
make pull-images rabbitmq make pull-images rabbitmq
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install rabbitmq ./rabbitmq \ helm upgrade --install rabbitmq ./rabbitmq \
--namespace=openstack \ --namespace=openstack \
--set pod.replicas.server=1 \ --set pod.replicas.server=1 \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,10 +20,10 @@ set -xe
make pull-images keystone make pull-images keystone
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install keystone ./keystone \ helm upgrade --install keystone ./keystone \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,10 +19,10 @@ set -xe
make pull-images heat make pull-images heat
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install heat ./heat \ helm upgrade --install heat ./heat \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,12 +20,12 @@ set -xe
make pull-images horizon make pull-images horizon
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install horizon ./horizon \ helm upgrade --install horizon ./horizon \
--namespace=openstack \ --namespace=openstack \
--set network.node_port.enabled=true \ --set network.node_port.enabled=true \
--set network.node_port.port=31000 \ --set network.node_port.port=31000 \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,10 +19,10 @@ set -xe
make pull-images openvswitch make pull-images openvswitch
#NOTE: Deploy command #NOTE: Deploy command
: ${EXTRA_CONFIG:=""} : ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install openvswitch ./openvswitch \ helm upgrade --install openvswitch ./openvswitch \
--namespace=openstack \ --namespace=openstack \
${EXTRA_CONFIG} ${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,9 +20,11 @@ set -xe
make pull-images glance make pull-images glance
#NOTE: Deploy command #NOTE: Deploy command
: ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install glance ./glance \ helm upgrade --install glance ./glance \
--namespace=openstack \ --namespace=openstack \
--set storage=pvc --set storage=pvc \
${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -19,9 +19,11 @@ set -xe
make pull-images libvirt make pull-images libvirt
#NOTE: Deploy command #NOTE: Deploy command
: ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install libvirt ./libvirt \ helm upgrade --install libvirt ./libvirt \
--namespace=openstack \ --namespace=openstack \
--set ceph.enabled=false --set ceph.enabled=false \
${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -20,17 +20,20 @@ make pull-images nova
make pull-images neutron make pull-images neutron
#NOTE: Deploy nova #NOTE: Deploy nova
: ${OSH_EXTRA_HELM_ARGS:=""}
if [ "x$(systemd-detect-virt)" == "xnone" ]; then if [ "x$(systemd-detect-virt)" == "xnone" ]; then
echo 'OSH is not being deployed in virtualized environment' echo 'OSH is not being deployed in virtualized environment'
helm upgrade --install nova ./nova \ helm upgrade --install nova ./nova \
--namespace=openstack \ --namespace=openstack \
--set ceph.enabled=false --set ceph.enabled=false \
${OSH_EXTRA_HELM_ARGS}
else else
echo 'OSH is being deployed in virtualized environment, using qemu for nova' echo 'OSH is being deployed in virtualized environment, using qemu for nova'
helm upgrade --install nova ./nova \ helm upgrade --install nova ./nova \
--namespace=openstack \ --namespace=openstack \
--set ceph.enabled=false \ --set ceph.enabled=false \
--set conf.nova.libvirt.virt_type=qemu --set conf.nova.libvirt.virt_type=qemu \
${OSH_EXTRA_HELM_ARGS}
fi fi
#NOTE: Deploy neutron #NOTE: Deploy neutron
@ -55,10 +58,14 @@ conf:
tunnel_types: vxlan tunnel_types: vxlan
ovs: ovs:
bridge_mappings: public:br-ex bridge_mappings: public:br-ex
linuxbridge_agent:
linux_bridge:
bridge_mappings: public:br-ex
EOF EOF
helm upgrade --install neutron ./neutron \ helm upgrade --install neutron ./neutron \
--namespace=openstack \ --namespace=openstack \
--values=/tmp/neutron.yaml --values=/tmp/neutron.yaml \
${OSH_EXTRA_HELM_ARGS}
#NOTE: Wait for deploy #NOTE: Wait for deploy
./tools/deployment/common/wait-for-pods.sh openstack ./tools/deployment/common/wait-for-pods.sh openstack

View File

@ -18,13 +18,17 @@
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/000-install-packages.sh ./tools/deployment/developer/ceph/000-install-packages.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Required packages - name: Deploy Required packages
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/010-deploy-k8s.sh ./tools/deployment/developer/ceph/010-deploy-k8s.sh
vars: environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}" OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
@ -32,54 +36,81 @@
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/020-setup-client.sh ./tools/deployment/developer/ceph/020-setup-client.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ingress - name: Deploy Ingress
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/030-ingress.sh ./tools/deployment/developer/ceph/030-ingress.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph - name: Deploy Ceph
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/040-ceph.sh ./tools/deployment/developer/ceph/040-ceph.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph NS Activate - name: Deploy Ceph NS Activate
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/045-ceph-ns-activate.sh ./tools/deployment/developer/ceph/045-ceph-ns-activate.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Mariadb - name: Deploy Mariadb
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/050-mariadb.sh ./tools/deployment/developer/ceph/050-mariadb.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy RabbitMQ - name: Deploy RabbitMQ
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/060-rabbitmq.sh ./tools/deployment/developer/ceph/060-rabbitmq.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Memcached - name: Deploy Memcached
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/070-memcached.sh ./tools/deployment/developer/ceph/070-memcached.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone - name: Deploy Keystone
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/080-keystone.sh ./tools/deployment/developer/ceph/080-keystone.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Heat - name: Deploy Heat
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/090-heat.sh ./tools/deployment/developer/ceph/090-heat.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Horizon # - name: Deploy Horizon
@ -92,12 +123,18 @@
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/110-ceph-radosgateway.sh ./tools/deployment/developer/ceph/110-ceph-radosgateway.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Glance - name: Deploy Glance
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/120-glance.sh ./tools/deployment/developer/ceph/120-glance.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Cinder # - name: Deploy Cinder
@ -107,32 +144,48 @@
# args: # args:
# chdir: "{{ zuul.project.src_dir }}" # chdir: "{{ zuul.project.src_dir }}"
- name: Deploy OpenvSwitch - name: Deploy OpenvSwitch
when: osh_neutron_backend == 'openvswitch'
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/140-openvswitch.sh ./tools/deployment/developer/ceph/140-openvswitch.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Libvirt - name: Deploy Libvirt
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/150-libvirt.sh ./tools/deployment/developer/ceph/150-libvirt.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy VM Compute Kit - name: Deploy VM Compute Kit
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/160-compute-kit.sh ./tools/deployment/developer/ceph/160-compute-kit.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Setup Gateway - name: Setup Gateway
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/170-setup-gateway.sh ./tools/deployment/developer/ceph/170-setup-gateway.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy use the cloud - name: Deploy use the cloud
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/ceph/900-use-it.sh ./tools/deployment/developer/ceph/900-use-it.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"

View File

@ -18,6 +18,9 @@
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/000-install-packages.sh ./tools/deployment/developer/nfs/000-install-packages.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Required packages - name: Deploy Required packages
@ -25,6 +28,7 @@
set -xe; set -xe;
./tools/deployment/developer/nfs/010-deploy-k8s.sh ./tools/deployment/developer/nfs/010-deploy-k8s.sh
environment: environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}" OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
@ -32,89 +36,135 @@
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/020-setup-client.sh ./tools/deployment/developer/nfs/020-setup-client.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ingress - name: Deploy Ingress
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/030-ingress.sh ./tools/deployment/developer/nfs/030-ingress.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy NFS - name: Deploy NFS
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/040-nfs-provisioner.sh ./tools/deployment/developer/nfs/040-nfs-provisioner.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Mariadb - name: Deploy Mariadb
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/050-mariadb.sh ./tools/deployment/developer/nfs/050-mariadb.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy RabbitMQ - name: Deploy RabbitMQ
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/060-rabbitmq.sh ./tools/deployment/developer/nfs/060-rabbitmq.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Memcached - name: Deploy Memcached
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/070-memcached.sh ./tools/deployment/developer/nfs/070-memcached.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone - name: Deploy Keystone
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/080-keystone.sh ./tools/deployment/developer/nfs/080-keystone.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Heat - name: Deploy Heat
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/090-heat.sh ./tools/deployment/developer/nfs/090-heat.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Horizon - name: Deploy Horizon
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/100-horizon.sh ./tools/deployment/developer/nfs/100-horizon.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Glance - name: Deploy Glance
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/120-glance.sh ./tools/deployment/developer/nfs/120-glance.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy OpenvSwitch - name: Deploy OpenvSwitch
when: osh_neutron_backend == 'openvswitch'
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/140-openvswitch.sh ./tools/deployment/developer/nfs/140-openvswitch.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Libvirt - name: Deploy Libvirt
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/150-libvirt.sh ./tools/deployment/developer/nfs/150-libvirt.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy VM Compute Kit - name: Deploy VM Compute Kit
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/160-compute-kit.sh ./tools/deployment/developer/nfs/160-compute-kit.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Setup Gateway - name: Setup Gateway
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/170-setup-gateway.sh ./tools/deployment/developer/nfs/170-setup-gateway.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy use the cloud - name: Deploy use the cloud
shell: | shell: |
set -xe; set -xe;
./tools/deployment/developer/nfs/900-use-it.sh ./tools/deployment/developer/nfs/900-use-it.sh
environment:
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"

View File

@ -19,7 +19,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/000-install-packages.sh ./tools/deployment/developer/ceph/000-install-packages.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Required packages - name: Deploy Required packages
@ -27,7 +27,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/010-deploy-k8s.sh ./tools/deployment/developer/ceph/010-deploy-k8s.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}" OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('') }}"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
@ -36,7 +36,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/020-setup-client.sh ./tools/deployment/developer/ceph/020-setup-client.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ingress - name: Deploy Ingress
@ -44,7 +44,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/030-ingress.sh ./tools/deployment/developer/ceph/030-ingress.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph - name: Deploy Ceph
@ -52,7 +52,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/040-ceph.sh ./tools/deployment/developer/ceph/040-ceph.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph NS Activate - name: Deploy Ceph NS Activate
@ -60,7 +60,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/045-ceph-ns-activate.sh ./tools/deployment/developer/ceph/045-ceph-ns-activate.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Mariadb - name: Deploy Mariadb
@ -68,7 +68,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/050-mariadb.sh ./tools/deployment/developer/ceph/050-mariadb.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy RabbitMQ - name: Deploy RabbitMQ
@ -76,7 +76,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/060-rabbitmq.sh ./tools/deployment/developer/ceph/060-rabbitmq.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Memcached - name: Deploy Memcached
@ -84,7 +84,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/070-memcached.sh ./tools/deployment/developer/ceph/070-memcached.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone - name: Deploy Keystone
@ -92,7 +92,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/080-keystone.sh ./tools/deployment/developer/ceph/080-keystone.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Heat - name: Deploy Heat
@ -100,7 +100,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/090-heat.sh ./tools/deployment/developer/ceph/090-heat.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Horizon # - name: Deploy Horizon
@ -114,7 +114,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/110-ceph-radosgateway.sh ./tools/deployment/developer/ceph/110-ceph-radosgateway.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Glance - name: Deploy Glance
@ -122,7 +122,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/120-glance.sh ./tools/deployment/developer/ceph/120-glance.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
# - name: Deploy Cinder # - name: Deploy Cinder
@ -130,7 +130,7 @@
# set -xe; # set -xe;
# ./tools/deployment/developer/ceph/130-cinder.sh # ./tools/deployment/developer/ceph/130-cinder.sh
# environment: # environment:
# EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" # OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
# args: # args:
# chdir: "{{ zuul.project.src_dir }}" # chdir: "{{ zuul.project.src_dir }}"
- name: Deploy OpenvSwitch - name: Deploy OpenvSwitch
@ -138,7 +138,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/140-openvswitch.sh ./tools/deployment/developer/ceph/140-openvswitch.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Libvirt - name: Deploy Libvirt
@ -146,7 +146,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/150-libvirt.sh ./tools/deployment/developer/ceph/150-libvirt.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy VM Compute Kit - name: Deploy VM Compute Kit
@ -154,7 +154,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/160-compute-kit.sh ./tools/deployment/developer/ceph/160-compute-kit.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Setup Gateway - name: Setup Gateway
@ -162,7 +162,7 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/170-setup-gateway.sh ./tools/deployment/developer/ceph/170-setup-gateway.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"
- name: Deploy use the cloud - name: Deploy use the cloud
@ -170,6 +170,6 @@
set -xe; set -xe;
./tools/deployment/developer/ceph/900-use-it.sh ./tools/deployment/developer/ceph/900-use-it.sh
environment: environment:
EXTRA_CONFIG: "--values=./tools/overrides/releases/newton/kolla.yaml" OSH_EXTRA_HELM_ARGS: "--values=./tools/overrides/releases/newton/kolla.yaml"
args: args:
chdir: "{{ zuul.project.src_dir }}" chdir: "{{ zuul.project.src_dir }}"

View File

@ -0,0 +1,21 @@
# Copyright 2017 The Openstack-Helm Authors.
#
# 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.
# Values for neutron using Linux Bridge.
# This file contains overrides to launch a MVP deployment of neutron and nova
# using Linux Bridge for the OpenStack-Helm gates, and local development use.
# It should be kept to the bare minimum required for this purpose.
network:
backend: linuxbridge

View File

@ -12,11 +12,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# MVP values for neutron using Linux Bridge.
# This file contains overrides to launch a MVP deployment of neutron using
# Linux Bridge for the OpenStack-Helm gates, and local development use.
# It should be kept to the bare minimum required for this purpose.
# This example sets the default domain to be LDAP based, and adds in a new # This example sets the default domain to be LDAP based, and adds in a new
# dbdomain that is SQL-backed. Note that for this to work, you need to set # dbdomain that is SQL-backed. Note that for this to work, you need to set
# an admin (env: OS_USERNAME and OS_PASSWORD) that is valid in the LDAP. # an admin (env: OS_USERNAME and OS_PASSWORD) that is valid in the LDAP.

View File

@ -1,15 +0,0 @@
============================
OpenStack-Helm MVP Overrides
============================
The project specific overrides in this directory allow you to reduce the default
resilience of OpenStack-Helm, by turning off HA of the Neutron Agents.
Additionally the default distributed storage backend, Ceph, is disabled and
replaced by local storage for OpenStack components.
These changed are made to achieve these goals:
* Demonstrating how values can be set and defined within OpenStack-Helm
* Allowing OpenStack-Helm to run on a single node for:
* Development
* Demonstration
* Basic integration pipelines in a CI System

View File

@ -1,65 +0,0 @@
# Copyright 2017 The Openstack-Helm Authors.
#
# 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.
# MVP values for neutron using Linux Bridge.
# This file contains overrides to launch a MVP deployment of neutron using
# Linux Bridge for the OpenStack-Helm gates, and local development use.
# It should be kept to the bare minimum required for this purpose.
network:
backend: linuxbridge
interface:
tunnel: docker0
manifests:
daemonset_lb_agent: true
daemonset_ovs_agent: false
daemonset_ovs_db: false
daemonset_ovs_vswitchd: false
dependencies:
dhcp:
daemonset:
- neutron-lb-agent
l3:
daemonset:
- neutron-lb-agent
metadata:
daemonset:
- neutron-lb-agent
conf:
neutron:
DEFAULT:
interface_driver: linuxbridge
l3_ha: False
min_l3_agents_per_router: 1
max_l3_agents_per_router: 1
l3_ha_network_type: vxlan
dhcp_agents_per_network: 1
dhcp_agent:
DEFAULT:
interface_driver: linuxbridge
l3_agent:
DEFAULT:
interface_driver: linuxbridge
plugins:
ml2_conf:
ml2:
mechanism_drivers: linuxbridge, l2population
ml2_type_flat:
flat_networks: public
linuxbridge_agent:
linux_bridge:
bridge_mappings: "public:br-ex"