apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
  name: ceph-external-net-master-0
spec:
  desiredState:
    interfaces:
    - description: storage vlan interface
      ipv4:
        address:
        - ip: 10.153.48.109
          prefix-length: 24
        dhcp: false # todo: enable dhcp in storage net
        enabled: true
      ipv6:
        enabled: false
      name: storage
      state: up
      type: vlan
      vlan:
        base-iface: bond0
        id: 1201
        reorder-headers: true
  nodeSelector:
    kubernetes.io/hostname: master-0
---    
apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
  name: ceph-external-net-master-1
spec:
  desiredState:
    interfaces:
    - description: storage vlan interface
      ipv4:
        address:
        - ip: 10.153.48.110
          prefix-length: 24
        dhcp: false # todo: enable dhcp in storage net
        enabled: true
      ipv6:
        enabled: false
      name: storage
      state: up
      type: vlan
      vlan:
        base-iface: bond0
        id: 1201
        reorder-headers: true
  nodeSelector:
    kubernetes.io/hostname: master-1
---
apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
  name: ceph-external-net-master-2
spec:
  desiredState:
    interfaces:
    - description: storage vlan interface
      ipv4:
        address:
        - ip: 10.153.48.111
          prefix-length: 24
        dhcp: false # todo: enable dhcp in storage net
        enabled: true
      ipv6:
        enabled: false
      name: storage
      state: up
      type: vlan
      vlan:
        base-iface: bond0
        id: 1201
        reorder-headers: true
  nodeSelector:
    kubernetes.io/hostname: master-2