1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2018 Mirantis Inc., Enea AB and others.
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Michael Polenchuk <mpolenchuk@mirantis.com>
10 Date: Mon, 12 Mar 2018 16:32:50 +0400
11 Subject: [PATCH] Apply opendaylight client state on compute only
13 Change-Id: I07cd760fdb4ce84aba21450af9246c8c9128118f
15 diff --git a/neutron/compute.sls b/neutron/compute.sls
16 index 418282d..7ff136a 100644
17 --- a/neutron/compute.sls
18 +++ b/neutron/compute.sls
20 {%- if compute.enabled %}
22 {% if compute.backend.engine == "ml2" %}
23 +{%- if compute.opendaylight is defined %}
25 + - .opendaylight.client
27 neutron_compute_packages:
29 - names: {{ compute.pkgs }}
30 @@ -243,9 +247,6 @@ rabbitmq_ca_neutron_compute:
34 -{%- if compute.opendaylight is defined %}
36 - - .opendaylight.client
39 {%- elif compute.backend.engine == "ovn" %}