networking

This commit is contained in:
2025-05-17 20:13:10 -05:00
parent b2ee8b1cb3
commit 5ad067785d
3 changed files with 60 additions and 31 deletions

View File

@@ -2,38 +2,29 @@
apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
name: vlan121-localnet
name: storage-network-ocp-hub
spec:
nodeSelector:
kubernetes.io/hostname: ocp-hub
desiredState:
ovn:
bridge-mappings:
- localnet: vlan121-net
bridge: br-ex
vlan-id: 121
ip-address:
- ip: 10.10.121.10
prefix-length: 24
state: present
interfaces:
- name: enp1s0f0.121
state: up
type: vlan
vlan:
base-iface: enp1s0f0
id: 121
- bridge:
port:
- name: enp1s0f0.121
ipv4:
address:
- ip: 10.10.121.10
prefix-length: 24
enabled: true
name: br-iscsi
state: up
type: linux-bridge
description: OVS bridge with enp1s0f0 as a port on VLAN 121
# interfaces:
# - name: enp1s0.121
# state: up
# type: vlan
# vlan:
# base-iface: enp1s0
# id: 121
# - bridge:
# port:
# - name: enp1s0.121
# ipv4:
# address:
# - ip: 10.10.121.10
# prefix-length: 24
# enabled: true
# name: storage-network
# state: up
# type: linux-bridge
# description: Linux bridge with enp1s0 as a port on VLAN 121