-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shay Rozen <[email protected]>
- Loading branch information
Showing
10 changed files
with
167 additions
and
14 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
conf/deployment/vsphere/upi_1az_rhcos_multus_public_cluster_vsan_3m_3w_ipv6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# This config is suppose to work on most of DCs we have. | ||
DEPLOYMENT: | ||
allow_lower_instance_requirements: false | ||
ipv6: true | ||
ENV_DATA: | ||
platform: "vsphere" | ||
deployment_type: "upi" | ||
worker_replicas: 3 | ||
master_replicas: 3 | ||
worker_num_cpus: "16" | ||
master_num_cpus: "4" | ||
master_memory: "16384" | ||
compute_memory: "65536" | ||
fio_storageutilization_min_mbps: 10.0 | ||
is_multus_enabled: true | ||
multus_public_net_interface: "ens224" | ||
multus_cluster_net_interface: "ens224" | ||
multus_create_public_net: true | ||
multus_create_cluster_net: true | ||
multus_public_net_namespace: "default" | ||
REPORTING: | ||
polarion: | ||
deployment_id: "OCS-6317" |
13 changes: 13 additions & 0 deletions
13
conf/ocsci/vsphere_upi_enable_multus_ipv6_single_stack.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This configuration file is to enable vsphere upi ipv6 single stack | ||
DEPLOYMENT: | ||
ipv6: true | ||
ENV_DATA: | ||
is_multus_enabled: true | ||
multus_public_net_interface: "ens224" | ||
multus_cluster_net_interface: "ens224" | ||
multus_create_public_net: true | ||
multus_create_cluster_net: true | ||
multus_public_net_namespace: "default" | ||
REPORTING: | ||
polarion: | ||
deployment_id: "OCS-6137" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
ocs_ci/templates/ocs-deployment/multus-cluster-net-ipv6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: "k8s.cni.cncf.io/v1" | ||
kind: NetworkAttachmentDefinition | ||
metadata: | ||
name: cluster-net | ||
namespace: openshift-storage | ||
labels: {} | ||
annotations: {} | ||
spec: | ||
config: '{ | ||
"cniVersion": "0.3.1", | ||
"type": "macvlan", | ||
"master": "br-ex", | ||
"mode": "bridge", | ||
"ipam": { | ||
"type": "whereabouts", | ||
"range": "fd01:db8:2:1::/96" | ||
} | ||
}' |
19 changes: 19 additions & 0 deletions
19
ocs_ci/templates/ocs-deployment/multus-public-net-ipv6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: "k8s.cni.cncf.io/v1" | ||
kind: NetworkAttachmentDefinition | ||
metadata: | ||
name: public-net | ||
namespace: openshift-storage | ||
labels: {} | ||
annotations: {} | ||
spec: | ||
config: '{ | ||
"cniVersion": "0.3.1", | ||
"type": "macvlan", | ||
"master": "br-ex", | ||
"mode": "bridge", | ||
"ipam": { | ||
"type": "whereabouts", | ||
"range": "fd01:db8:1:1::/96", | ||
"routes": [{"dst": "fd01:db8:3:1::/96"}] | ||
} | ||
}' |
31 changes: 31 additions & 0 deletions
31
ocs_ci/templates/ocs-deployment/node_network_configuration_policy_ipv6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: nmstate.io/v1 | ||
kind: NodeNetworkConfigurationPolicy | ||
metadata: | ||
name: ceph-public-net-shim-worker-node | ||
namespace: openshift-storage | ||
spec: | ||
nodeSelector: | ||
node-role.kubernetes.io/worker: "" | ||
kubernetes.io/hostname: worker-node | ||
desiredState: | ||
interfaces: | ||
- name: odf-pub-shim | ||
description: Shim interface used to connect host to OpenShift Data Foundation public Multus network | ||
type: mac-vlan | ||
state: up | ||
mac-vlan: | ||
base-iface: enp1s0f1 | ||
mode: bridge | ||
promiscuous: true | ||
ipv6: | ||
enabled: true | ||
dhcp: false | ||
address: | ||
- ip: fd01:db8:3:1::1 # STATIC IP FOR worker node | ||
prefix-length: 96 | ||
routes: | ||
config: | ||
- destination: fd01:db8:1:1::/96 | ||
next-hop-interface: odf-pub-shim | ||
- destination: fd01:db8:2:1::/96 | ||
next-hop-interface: odf-pub-shim |