Puppet Class: profile::openstack::codfw1dev::nova::compute::service

Defined in:
modules/profile/manifests/openstack/codfw1dev/nova/compute/service.pp

Overview

Parameters:

  • version (Any) (defaults to: lookup('profile::openstack::codfw1dev::version'))
  • network_flat_interface (String[1]) (defaults to: lookup('profile::openstack::codfw1dev::nova::network_flat_interface'))
  • network_flat_tagged_base_interface (Optional[String[1]]) (defaults to: lookup('profile::openstack::codfw1dev::nova::network_flat_tagged_base_interface', {default_value => undef}))
  • network_flat_interface_vlan (Any) (defaults to: lookup('profile::openstack::codfw1dev::nova::network_flat_interface_vlan'))
  • network_flat_name (Any) (defaults to: lookup('profile::openstack::codfw1dev::neutron::network_flat_name'))
  • physical_interface_mappings (Any) (defaults to: lookup('profile::openstack::codfw1dev::nova::physical_interface_mappings'))
  • libvirt_cpu_model (String) (defaults to: lookup('profile::openstack::codfw1dev::nova::libvirt_cpu_model'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'modules/profile/manifests/openstack/codfw1dev/nova/compute/service.pp', line 1

class profile::openstack::codfw1dev::nova::compute::service(
    $version = lookup('profile::openstack::codfw1dev::version'),
    String[1] $network_flat_interface = lookup('profile::openstack::codfw1dev::nova::network_flat_interface'),
    Optional[String[1]] $network_flat_tagged_base_interface = lookup('profile::openstack::codfw1dev::nova::network_flat_tagged_base_interface', {default_value => undef}),
    $network_flat_interface_vlan = lookup('profile::openstack::codfw1dev::nova::network_flat_interface_vlan'),
    $network_flat_name = lookup('profile::openstack::codfw1dev::neutron::network_flat_name'),
    $physical_interface_mappings = lookup('profile::openstack::codfw1dev::nova::physical_interface_mappings'),
    String $libvirt_cpu_model = lookup('profile::openstack::codfw1dev::nova::libvirt_cpu_model'),
    ) {

    require ::profile::openstack::codfw1dev::neutron::common
    class {'::profile::openstack::base::neutron::linuxbridge_agent':
        version                     => $version,
        physical_interface_mappings => $physical_interface_mappings,
    }
    contain '::profile::openstack::base::neutron::linuxbridge_agent'

    require ::profile::openstack::codfw1dev::nova::common
    $all_cloudvirts = unique(
        wmflib::class::hosts('profile::openstack::codfw1dev::nova::compute::service') << $facts['networking']['fqdn']
    ).sort
    class {'::profile::openstack::base::nova::compute::service':
        version                            => $version,
        network_flat_interface             => $network_flat_interface,
        network_flat_tagged_base_interface => $network_flat_tagged_base_interface,
        network_flat_interface_vlan        => $network_flat_interface_vlan,
        all_cloudvirts                     => $all_cloudvirts,
        libvirt_cpu_model                  => $libvirt_cpu_model,
        require                            => Class['::profile::openstack::base::neutron::linuxbridge_agent'],
    }
    contain '::profile::openstack::base::nova::compute::service'

}