aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
AgeCommit message (Expand)AuthorFilesLines
2017-05-03build: Automated VPP buildMartin Klozik1-0/+1
2016-08-18cuse: Remove vHost Cuse supportMartin Klozik1-1/+1
2015-10-29Fix Make, Make clean and when the src directories are clonedRadek Zetik1-2/+2
2015-10-07The 'make' creates all required variants of vSwitchRadek Zetik1-10/+16
2015-08-12Merge "src: Add QEMU makefile"Maryam Tahhan1-0/+1
2015-08-05src/ovs: Add support for building vanilla OVS with kernel moduleMartin Klozik1-0/+4
2015-08-05src/dpdk: Enable building of vhost-user in src/dpdk.Martin Klozik1-0/+2
2015-08-04src: Add QEMU makefileDino Simeon Madarang1-0/+1
2015-05-06Add l2 fwd kernel moduleEugene Snider1-0/+1
2015-03-12added mechanism to pull upstream packages and provided single top-level makeAihua Li1-0/+32
ribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# Copyright 2016 Red Hat, Inc.
#
# 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.
#
# == Class: tripleo::profile::base::swift::storage
#
# Swift storage profile for tripleo
#
# === Parameters
#
# [*enable_swift_storage*]
#   (Optional) enable_swift_storage
#   Deprecated: defaults to true
#
# [*step*]
#   (Optional) The current step in deployment. See tripleo-heat-templates
#   for more details.
#   Defaults to hiera('step')
#
class tripleo::profile::base::swift::storage (
  # Deprecated conditional to support ControllerEnableSwiftStorage parameter
  $enable_swift_storage = true,
  $step                 = hiera('step'),
) {
  if $step >= 4 {
    if $enable_swift_storage {
      include ::swift
      include ::swift::config
      include ::swift::storage::disks
      include ::swift::storage::loopbacks
      include ::swift::storage::all
      if(!defined(File['/srv/node'])) {
        file { '/srv/node':
          ensure  => directory,
          owner   => 'swift',
          group   => 'swift',
          require => Package['swift'],
        }
      }
      $swift_components = ['account', 'container', 'object']
      swift::storage::filter::recon { $swift_components : }
      swift::storage::filter::healthcheck { $swift_components : }
    }
  }
}