1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 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: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Thu, 27 Jul 2017 23:42:29 +0200
11 Subject: [PATCH] mcp: salt-formulas: opendaylight: AArch64 leveldb
13 ODL requires native leveldbjni support on architectures like AArch64.
14 Armband provides a Debian package that provides exactly that,
15 specially tailored to be applied on top of upstream Opendaylight
18 Install <armband-odl-leveldb-fix> as part of the existing Opendaylight
19 salt-formula (and not as part of Armband's separate salt-formula, like
22 Some dependencies are not self-contained in this formula yet, and
23 should be handled before upstreaming this patch:
24 - Armband DEB repository (mcp-repos) is added by "openstack" state;
25 - only Debian systems are supported (no equivalent RPM provided);
26 - only systemd is supported (unlikely to change);
28 JIRA: https://jira.opnfv.org/browse/ARMBAND-283
30 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
32 mcp/salt-formulas/opendaylight/server.sls | 5 +++++
33 1 file changed, 5 insertions(+)
35 diff --git a/mcp/salt-formulas/opendaylight/server.sls b/mcp/salt-formulas/opendaylight/server.sls
36 index f7a9741..adb9e8a 100644
37 --- a/mcp/salt-formulas/opendaylight/server.sls
38 +++ b/mcp/salt-formulas/opendaylight/server.sls
39 @@ -65,4 +65,9 @@ opendaylight:
40 - service: opendaylight
43 +opendaylight_aarch64_leveldbjni:
45 + {% if grains['cpuarch'] == 'aarch64'%}
46 + - name: armband-odl-leveldb-fix