<commit_before>- id: neutron-db
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [database]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/db.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: neutron-keystone
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [keystone]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/keystone.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Anchor (empty task) for another tasks, say 'tenant network FW setup starting'
- id: openstack-network-start
  type: skipped
  groups: [primary-controller,controller,compute,ironic]
  requires: [neutron-keystone, neutron-db, netconfig, openstack-controller, top-role-compute, ironic-compute]
  required_for: [openstack-network-common-config]

- id: openstack-network-common-config
  type: puppet
  groups: [primary-controller,controller,compute,ironic]
  required_for: [openstack-network-end]
  requires: [openstack-network-start]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/common-config.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-server-config
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config]
  refresh_on: [neutron_config, neutron_api_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/server-config.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-plugins-l2
  type: puppet
  groups: [primary-controller,controller,compute,ironic]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config, openstack-network-server-config]
  refresh_on: [neutron_plugin_ml2, neutron_agent_ovs, neutron_config, neutron_api_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/plugins/ml2.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-networks
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-plugins-l2]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/networks.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-routers
  type: puppet
  groups: [primary-controller]
  condition: "settings:neutron_advanced_configuration.neutron_l3_ha.value == false"
  required_for: [openstack-network-end]
  requires: [openstack-network-networks]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/routers.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Additional task for routers when L3 HA is enabled
# HA routers must be created on post-deployment step when all L3 agents are available
- id: openstack-network-routers-ha
  type: puppet
  role: [primary-controller]
  condition: "settings:neutron_advanced_configuration.neutron_l3_ha.value == true"
  required_for: [post_deployment_end]
  requires: [post_deployment_start]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/routers.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800
    cwd: /

- id: openstack-network-agents-l3
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-networks, openstack-network-routers, openstack-network-plugins-l2]
  refresh_on: [neutron_l3_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/l3.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-server-nova
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-agents-l3]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/server-nova.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-agents-dhcp
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-server-nova,openstack-network-agents-l3]
  refresh_on: [neutron_dhcp_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/dhcp.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-agents-metadata
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-server-nova,openstack-network-agents-l3]
  refresh_on: [neutron_metadata_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/metadata.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-compute-nova
  type: puppet
  groups: [compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-agents-l3,openstack-network-agents-metadata]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/compute-nova.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Anchor (empty task) for another tasks, say 'tenant network FW setup done'
- id: openstack-network-end
  type: skipped
  groups: [primary-controller,controller,compute,ironic]
  required_for: [deploy_end]
  requires: []
<commit_msg>Remove openstack-network from ironic nodes<commit_after>- id: neutron-db
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [database]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/db.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: neutron-keystone
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [keystone]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/keystone.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Anchor (empty task) for another tasks, say 'tenant network FW setup starting'
- id: openstack-network-start
  type: skipped
  groups: [primary-controller,controller,compute]
  requires: [neutron-keystone, neutron-db, netconfig, openstack-controller, top-role-compute]
  required_for: [openstack-network-common-config]

- id: openstack-network-common-config
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-start]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/common-config.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-server-config
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config]
  refresh_on: [neutron_config, neutron_api_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/server-config.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-plugins-l2
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config, openstack-network-server-config]
  refresh_on: [neutron_plugin_ml2, neutron_agent_ovs, neutron_config, neutron_api_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/plugins/ml2.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-networks
  type: puppet
  groups: [primary-controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-plugins-l2]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/networks.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-routers
  type: puppet
  groups: [primary-controller]
  condition: "settings:neutron_advanced_configuration.neutron_l3_ha.value == false"
  required_for: [openstack-network-end]
  requires: [openstack-network-networks]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/routers.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Additional task for routers when L3 HA is enabled
# HA routers must be created on post-deployment step when all L3 agents are available
- id: openstack-network-routers-ha
  type: puppet
  role: [primary-controller]
  condition: "settings:neutron_advanced_configuration.neutron_l3_ha.value == true"
  required_for: [post_deployment_end]
  requires: [post_deployment_start]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/routers.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800
    cwd: /

- id: openstack-network-agents-l3
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-networks, openstack-network-routers, openstack-network-plugins-l2]
  refresh_on: [neutron_l3_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/l3.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-server-nova
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-agents-l3]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/server-nova.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-agents-dhcp
  type: puppet
  groups: [primary-controller,controller]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-server-nova,openstack-network-agents-l3]
  refresh_on: [neutron_dhcp_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/dhcp.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-agents-metadata
  type: puppet
  groups: [primary-controller,controller,compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-server-nova,openstack-network-agents-l3]
  refresh_on: [neutron_metadata_agent_config]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/agents/metadata.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

- id: openstack-network-compute-nova
  type: puppet
  groups: [compute]
  required_for: [openstack-network-end]
  requires: [openstack-network-common-config,openstack-network-agents-l3,openstack-network-agents-metadata]
  parameters:
    puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/openstack-network/compute-nova.pp
    puppet_modules: /etc/puppet/modules
    timeout: 1800

# Anchor (empty task) for another tasks, say 'tenant network FW setup done'
- id: openstack-network-end
  type: skipped
  groups: [primary-controller,controller,compute]
  required_for: [deploy_end]
  requires: []

{'fraction_non_alphanumeric': 0.10672073160210509, 'fraction_numerical': 0.011733241307911311, 'mean_word_length': 4.813440320962889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7660871', 'n_tokens_mistral': 4086, 'n_tokens_neox': 3923, 'n_words': 637}