File tree Expand file tree Collapse file tree 16 files changed +63
-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/network-values
uni01alpha-adoption/network-values
uni04delta-ipv6/network-values
uni04delta-ipv6-adoption/network-values
uni05epsilon/network-values Expand file tree Collapse file tree 16 files changed +63
-15
lines changed Original file line number Diff line number Diff line change 3
3
{% set ns = namespace (interfaces ={},
4
4
ocp_index =0,
5
5
lb_tools ={}) %}
6
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
7
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
8
+
6
9
data:
7
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
10
+ {% for host in host_sorted_array -%}
8
11
{% for network in cifmw_networking_env_definition .instances [host ]['networks' ].values () -%}
9
12
{% set ns .interfaces = ns .interfaces |
10
13
combine ({network .network_name : (network .parent_interface |
Original file line number Diff line number Diff line change 3
3
{% set ns = namespace (interfaces ={},
4
4
ocp_index =0,
5
5
lb_tools ={}) %}
6
+
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
6
10
data:
7
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
8
12
{% set hostname = cifmw_networking_env_definition .instances [host ]['hostname' ] %}
9
13
{% if host is match ('^(ocp|crc).*' ) %}
10
14
node_{{ ns.ocp_index }}:
Original file line number Diff line number Diff line change 3
3
{% set ns = namespace (interfaces ={},
4
4
ocp_index =0,
5
5
lb_tools ={}) %}
6
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
7
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
8
+
6
9
data:
7
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
10
+ {% for host in host_sorted_array -%}
8
11
{% set hostname = cifmw_networking_env_definition .instances [host ]['hostname' ] %}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
Original file line number Diff line number Diff line change 2
2
# source: bmo01/network-values/values.yaml.j2
3
3
{% set _ipv = cifmw_ci_gen_kustomize_values_ip_version_var_mapping %}
4
4
{% set ns = namespace (ocp_index =0) %}
5
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
6
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
7
+
5
8
data:
6
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
9
+ {% for host in host_sorted_array -%}
7
10
{% if host is match ('^(ocp|crc).*' ) %}
8
11
node_{{ ns.ocp_index }}:
9
12
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 3
3
{% set ns = namespace (interfaces ={},
4
4
ocp_index =0,
5
5
lb_tools ={}) %}
6
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
7
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
8
+
6
9
data:
7
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
10
+ {% for host in host_sorted_array -%}
8
11
{% for network in cifmw_networking_env_definition .instances [host ]['networks' ].values () -%}
9
12
{% set ns .interfaces = ns .interfaces |
10
13
combine ({network .network_name : (network .parent_interface |
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 1
1
---
2
2
# source: shiftstack/network-values/values.yaml.j2
3
3
{% set ns = namespace (interfaces ={}, ocp_index =0, lb_tools ={}) %}
4
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
5
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
4
6
5
7
data:
6
8
{% for host in cifmw_networking_env_definition .instances .keys () -%}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in chost_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
Original file line number Diff line number Diff line change 4
4
{% set ns = namespace (interfaces ={},
5
5
ocp_index =0,
6
6
lb_tools ={}) %}
7
+ {% set host_unsorted_array =cifmw_networking_env_definition .instances .keys () %}
8
+ {% set host_sorted_array =host_unsorted_array .sort (reverse =True ) %}
9
+
7
10
data:
8
- {% for host in cifmw_networking_env_definition . instances . keys () -%}
11
+ {% for host in host_sorted_array -%}
9
12
{% if host is match ('^(ocp|crc).*' ) %}
10
13
node_{{ ns.ocp_index }}:
11
14
{% set ns .ocp_index = ns .ocp_index +1 %}
You can’t perform that action at this time.
0 commit comments