From 2a74078a0a4891009e12b4344f042f5cac159a9b Mon Sep 17 00:00:00 2001 From: Augustine Abaris Date: Wed, 5 Feb 2025 14:50:28 -0500 Subject: [PATCH] Add vlan 935 interfaces on obs cluster to access SNMP on MOC switches This adds vlan 935 tagged interfaces to obs cluster nodes in order to to access and monitor MOC switches. --- .../kustomization.yaml | 1 + .../vlan-935-moc-swmon.yaml | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/vlan-935-moc-swmon.yaml diff --git a/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/kustomization.yaml index a7405b3a..ad62a2cf 100644 --- a/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/kustomization.yaml @@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - vlan-2177-nese.yaml +- vlan-935-moc-swmon.yaml diff --git a/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/vlan-935-moc-swmon.yaml b/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/vlan-935-moc-swmon.yaml new file mode 100644 index 00000000..a74dc0f4 --- /dev/null +++ b/cluster-scope/overlays/nerc-ocp-obs/nodenetworkconfigurationpolicies/vlan-935-moc-swmon.yaml @@ -0,0 +1,20 @@ +apiVersion: nmstate.io/v1 +kind: NodeNetworkConfigurationPolicy +metadata: + name: vlan-935-moc-swmon +spec: + nodeSelector: + node-role.kubernetes.io/worker: "" + desiredState: + interfaces: + - name: bond0.935 + type: vlan + state: up + ipv4: + enabled: true + dhcp: true + auto-routes: true + vlan: + base-iface: bond0 + id: 935 + mtu: 9000