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