From 7afe52d9cee0b51e16d9cd76899c02d96c48d56f Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Thu, 23 Jun 2022 16:23:08 -0400 Subject: [PATCH] Configure vlan for access to NESE storage x-branch: feature/nese-vlan --- .../overlays/nerc-ocp-infra/kustomization.yaml | 1 + .../vlan-2177-nese.yaml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 cluster-scope/overlays/nerc-ocp-infra/nodenetworkconfigurationpolicies/vlan-2177-nese.yaml diff --git a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml index 3982405b..4368e80f 100644 --- a/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml @@ -11,6 +11,7 @@ resources: - machineconfigs/disable-net-ifnames.yaml - machineconfigs/mellanox-udev-rules - machineconfigs/configure-bond0 +- nodenetworkconfigurationpolicies/vlan-2177-nese.yaml patches: - path: oauths/cluster_patch.yaml diff --git a/cluster-scope/overlays/nerc-ocp-infra/nodenetworkconfigurationpolicies/vlan-2177-nese.yaml b/cluster-scope/overlays/nerc-ocp-infra/nodenetworkconfigurationpolicies/vlan-2177-nese.yaml new file mode 100644 index 00000000..91a288fe --- /dev/null +++ b/cluster-scope/overlays/nerc-ocp-infra/nodenetworkconfigurationpolicies/vlan-2177-nese.yaml @@ -0,0 +1,18 @@ +apiVersion: nmstate.io/v1 +kind: NodeNetworkConfigurationPolicy +metadata: + name: vlan-2177-nese +spec: + desiredState: + interfaces: + - name: bond0.2177 + type: vlan + state: up + ipv4: + enabled: true + dhcp: true + auto-routes: true + vlan: + base-iface: bond0 + id: 2177 + mtu: 9000