File tree Expand file tree Collapse file tree 16 files changed +125
-15
lines changed
ci_dcn_site/templates/network-values
ci_gen_kustomize_values/templates
multi-namespace/network-values2
osasinfra-ipv6/network-values
shiftstack/network-values
uni01alpha-adoption/network-values
uni01alpha/network-values
uni04delta-ipv6-adoption/network-values
uni04delta-ipv6/network-values
uni05epsilon/network-values Expand file tree Collapse file tree 16 files changed +125
-15
lines changed Original file line number Diff line number Diff line change 33{% set ns = namespace (interfaces ={},
44 ocp_index =0,
55 lb_tools ={}) %}
6+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
7+ {% set filter ="^ocp-worker" %}
8+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
9+ {% set filter ="^crc" %}
10+ {% else %}
11+ {% set filter ="^ocp" %}
12+ {% endif %}
613data:
714{% for host in cifmw_networking_env_definition .instances .keys () -%}
815{% for network in cifmw_networking_env_definition .instances [host ]['networks' ].values () -%}
1320 },
1421 recursive =true ) -%}
1522{% endfor -%}
16- {% if host is match ('^(ocp|crc).*' ) %}
23+ {% if host is match (filter ) %}
1724 node_{{ ns.ocp_index }}:
1825{% set ns .ocp_index = ns .ocp_index +1 %}
1926 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 33{% set ns = namespace (interfaces ={},
44 ocp_index =0,
55 lb_tools ={}) %}
6+
67data:
78{% set node_groups = groups if 'rhoso-architecture-validate' not in ((zuul | default ({})).job | default ('' )) else test_groups %}
89{% for host in cifmw_networking_env_definition .instances .keys () -%}
Original file line number Diff line number Diff line change 33{% set ns = namespace (interfaces ={},
44 ocp_index =0,
55 lb_tools ={}) %}
6+
67data:
78{% set node_groups = groups if 'rhoso-architecture-validate' not in ((zuul | default ({})).job | default ('' )) else test_groups %}
89{% for host in cifmw_networking_env_definition .instances .keys () -%}
Original file line number Diff line number Diff line change 22# source: bmo01/network-values/values.yaml.j2
33{% set _ipv = cifmw_ci_gen_kustomize_values_ip_version_var_mapping %}
44{% set ns = namespace (ocp_index =0) %}
5+
6+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
7+ {% set filter ="^ocp-worker" %}
8+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
9+ {% set filter ="^crc" %}
10+ {% else %}
11+ {% set filter ="^ocp" %}
12+ {% endif %}
513data:
614{% for host in cifmw_networking_env_definition .instances .keys () -%}
7- {% if host is match ('^(ocp|crc).*' ) %}
15+ {% if host is match (filter ) %}
816 node_{{ ns.ocp_index }}:
917{% set ns .ocp_index = ns .ocp_index +1 %}
1018 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 44{% set ns = namespace (interfaces ={},
55 ocp_index =0,
66 lb_tools ={}) %}
7+
8+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
9+ {% set filter ="^ocp-worker" %}
10+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
11+ {% set filter ="^crc" %}
12+ {% else %}
13+ {% set filter ="^ocp" %}
14+ {% endif %}
15+
716data:
817{% for host in cifmw_networking_env_definition .instances .keys () -%}
9- {% if host is match ('^(ocp|crc).*' ) %}
18+ {% if host is match (filter ) %}
1019 node_{{ ns.ocp_index }}:
1120{% set ns .ocp_index = ns .ocp_index +1 %}
1221 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 33{% set ns = namespace (interfaces ={},
44 ocp_index =0,
55 lb_tools ={}) %}
6+
7+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
8+ {% set filter ="^ocp-worker" %}
9+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
10+ {% set filter ="^crc" %}
11+ {% else %}
12+ {% set filter ="^ocp" %}
13+ {% endif %}
614data:
715{% for host in cifmw_networking_env_definition .instances .keys () -%}
816{% for network in cifmw_networking_env_definition .instances [host ]['networks' ].values () -%}
1321 },
1422 recursive =true ) -%}
1523{% endfor -%}
16- {% if host is match ('^(ocp|crc).*' ) %}
24+ {% if host is match (filter ) %}
1725 node_{{ ns.ocp_index }}:
1826{% set ns .ocp_index = ns .ocp_index +1 %}
1927 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 44{% set ns = namespace (interfaces ={},
55 ocp_index =0,
66 lb_tools ={}) %}
7+
8+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
9+ {% set filter ="^ocp-worker" %}
10+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
11+ {% set filter ="^crc" %}
12+ {% else %}
13+ {% set filter ="^ocp" %}
14+ {% endif %}
715data:
816{% for host in cifmw_networking_env_definition .instances .keys () -%}
9- {% if host is match ('^(ocp|crc).*' ) %}
17+ {% if host is match (filter ) %}
1018 node_{{ ns.ocp_index }}:
1119{% set ns .ocp_index = ns .ocp_index +1 %}
1220 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 44{% set ns = namespace (interfaces ={},
55 ocp_index =0,
66 lb_tools ={}) %}
7+
8+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
9+ {% set filter ="^ocp-worker" %}
10+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
11+ {% set filter ="^crc" %}
12+ {% else %}
13+ {% set filter ="^ocp" %}
14+ {% endif %}
715data:
816{% for host in cifmw_networking_env_definition .instances .keys () -%}
9- {% if host is match ('^(ocp|crc).*' ) %}
17+ {% if host is match (filter ) %}
1018 node_{{ ns.ocp_index }}:
1119{% set ns .ocp_index = ns .ocp_index +1 %}
1220 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 11---
22# source: shiftstack/network-values/values.yaml.j2
33{% set ns = namespace (interfaces ={}, ocp_index =0, lb_tools ={}) %}
4-
4+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
5+ {% set filter ="^ocp-worker" %}
6+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
7+ {% set filter ="^crc" %}
8+ {% else %}
9+ {% set filter ="^ocp" %}
10+ {% endif %}
511data:
612{% for host in cifmw_networking_env_definition .instances .keys () -%}
7- {% if host is match ('^(ocp|crc).*' ) %}
13+ {% if host is match (filter ) %}
814 node_{{ ns.ocp_index }}:
915{% set ns .ocp_index = ns .ocp_index +1 %}
1016 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
Original file line number Diff line number Diff line change 44{% set ns = namespace (interfaces ={},
55 ocp_index =0,
66 lb_tools ={}) %}
7+ {% if cifmw_networking_env_definition .instances .keys () | select ('match' , '^ocp-worker' ) | list | length > 0 %}
8+ {% set filter ="^ocp-worker" %}
9+ {% elif cifmw_networking_env_definition .instances .keys () | select ('match' , 'crc' ) | list | length > 0 %}
10+ {% set filter ="^crc" %}
11+ {% else %}
12+ {% set filter ="^ocp" %}
13+ {% endif %}
714data:
815{% for host in cifmw_networking_env_definition .instances .keys () -%}
9- {% if host is match ('^(ocp|crc).*' ) %}
16+ {% if host is match (filter ) %}
1017 node_{{ ns.ocp_index }}:
1118{% set ns .ocp_index = ns .ocp_index +1 %}
1219 name: {{ cifmw_networking_env_definition.instances[host] ['hostname'] }}
You can’t perform that action at this time.
0 commit comments