---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.14.0
    operatorframework.io/installed-alongside-4cc4933f31e34a7: openshift-sriov-network-operator/sriov-network-operator.v4.19.0-202510142112
  creationTimestamp: "2025-10-27T12:38:07Z"
  generation: 1
  labels:
    olm.managed: "true"
    operators.coreos.com/sriov-network-operator.openshift-sriov-network-operator: ""
  managedFields:
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:controller-gen.kubebuilder.io/version: {}
          f:operatorframework.io/installed-alongside-4cc4933f31e34a7: {}
        f:labels:
          .: {}
          f:olm.managed: {}
      f:spec:
        f:conversion:
          .: {}
          f:strategy: {}
        f:group: {}
        f:names:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:scope: {}
        f:versions: {}
    manager: catalog
    operation: Update
    time: "2025-10-27T12:38:07Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        f:acceptedNames:
          f:kind: {}
          f:listKind: {}
          f:plural: {}
          f:singular: {}
        f:conditions:
          k:{"type":"Established"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
          k:{"type":"NamesAccepted"}:
            .: {}
            f:lastTransitionTime: {}
            f:message: {}
            f:reason: {}
            f:status: {}
            f:type: {}
    manager: kube-apiserver
    operation: Update
    subresource: status
    time: "2025-10-27T12:38:07Z"
  - apiVersion: apiextensions.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:operators.coreos.com/sriov-network-operator.openshift-sriov-network-operator: {}
    manager: olm
    operation: Update
    time: "2025-10-27T12:38:18Z"
  name: sriovnetworknodestates.sriovnetwork.openshift.io
  resourceVersion: "49800"
  uid: bbaf3d3e-968d-4b72-9556-36bdb947afb1
spec:
  conversion:
    strategy: None
  group: sriovnetwork.openshift.io
  names:
    kind: SriovNetworkNodeState
    listKind: SriovNetworkNodeStateList
    plural: sriovnetworknodestates
    singular: sriovnetworknodestate
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .status.syncStatus
      name: Sync Status
      type: string
    - jsonPath: .metadata.annotations.sriovnetwork\.openshift\.io/desired-state
      name: Desired Sync State
      type: string
    - jsonPath: .metadata.annotations.sriovnetwork\.openshift\.io/current-state
      name: Current Sync State
      type: string
    - jsonPath: .metadata.creationTimestamp
      name: Age
      type: date
    name: v1
    schema:
      openAPIV3Schema:
        description: SriovNetworkNodeState is the Schema for the sriovnetworknodestates
          API
        properties:
          apiVersion:
            description: |-
              APIVersion defines the versioned schema of this representation of an object.
              Servers should convert recognized schemas to the latest internal value, and
              may reject unrecognized values.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
            type: string
          kind:
            description: |-
              Kind is a string value representing the REST resource this object represents.
              Servers may infer this from the endpoint the client submits requests to.
              Cannot be updated.
              In CamelCase.
              More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
            type: string
          metadata:
            type: object
          spec:
            description: SriovNetworkNodeStateSpec defines the desired state of SriovNetworkNodeState
            properties:
              bridges:
                description: Bridges contains list of bridges
                properties:
                  ovs:
                    items:
                      description: OVSConfigExt contains configuration for the concrete
                        OVS bridge
                      properties:
                        bridge:
                          description: bridge-level configuration for the bridge
                          properties:
                            datapathType:
                              description: configure datapath_type field in the Bridge
                                table in OVSDB
                              type: string
                            externalIDs:
                              additionalProperties:
                                type: string
                              description: IDs to inject to external_ids field in
                                the Bridge table in OVSDB
                              type: object
                            otherConfig:
                              additionalProperties:
                                type: string
                              description: additional options to inject to other_config
                                field in the bridge table in OVSDB
                              type: object
                          type: object
                        name:
                          description: name of the bridge
                          type: string
                        uplinks:
                          description: |-
                            uplink-level bridge configuration for each uplink(PF).
                            currently must contain only one element
                          items:
                            description: OVSUplinkConfigExt contains configuration
                              for the concrete OVS uplink(PF)
                            properties:
                              interface:
                                description: configuration from the Interface OVS
                                  table for the PF
                                properties:
                                  externalIDs:
                                    additionalProperties:
                                      type: string
                                    description: external_ids field in the Interface
                                      table in OVSDB
                                    type: object
                                  mtuRequest:
                                    description: mtu_request field in the Interface
                                      table in OVSDB
                                    type: integer
                                  options:
                                    additionalProperties:
                                      type: string
                                    description: options field in the Interface table
                                      in OVSDB
                                    type: object
                                  otherConfig:
                                    additionalProperties:
                                      type: string
                                    description: other_config field in the Interface
                                      table in OVSDB
                                    type: object
                                  type:
                                    description: type field in the Interface table
                                      in OVSDB
                                    type: string
                                type: object
                              name:
                                description: name of the PF interface
                                type: string
                              pciAddress:
                                description: pci address of the PF
                                type: string
                            required:
                            - pciAddress
                            type: object
                          type: array
                      required:
                      - name
                      type: object
                    type: array
                type: object
              interfaces:
                items:
                  properties:
                    eSwitchMode:
                      type: string
                    externallyManaged:
                      type: boolean
                    linkType:
                      type: string
                    mtu:
                      type: integer
                    name:
                      type: string
                    numVfs:
                      type: integer
                    pciAddress:
                      type: string
                    vfGroups:
                      items:
                        properties:
                          deviceType:
                            type: string
                          isRdma:
                            type: boolean
                          mtu:
                            type: integer
                          policyName:
                            type: string
                          resourceName:
                            type: string
                          vdpaType:
                            type: string
                          vfRange:
                            type: string
                        type: object
                      type: array
                  required:
                  - pciAddress
                  type: object
                type: array
              system:
                properties:
                  rdmaMode:
                    description: RDMA subsystem. Allowed value "shared", "exclusive".
                    enum:
                    - shared
                    - exclusive
                    type: string
                type: object
            type: object
          status:
            description: SriovNetworkNodeStateStatus defines the observed state of
              SriovNetworkNodeState
            properties:
              bridges:
                description: Bridges contains list of bridges
                properties:
                  ovs:
                    items:
                      description: OVSConfigExt contains configuration for the concrete
                        OVS bridge
                      properties:
                        bridge:
                          description: bridge-level configuration for the bridge
                          properties:
                            datapathType:
                              description: configure datapath_type field in the Bridge
                                table in OVSDB
                              type: string
                            externalIDs:
                              additionalProperties:
                                type: string
                              description: IDs to inject to external_ids field in
                                the Bridge table in OVSDB
                              type: object
                            otherConfig:
                              additionalProperties:
                                type: string
                              description: additional options to inject to other_config
                                field in the bridge table in OVSDB
                              type: object
                          type: object
                        name:
                          description: name of the bridge
                          type: string
                        uplinks:
                          description: |-
                            uplink-level bridge configuration for each uplink(PF).
                            currently must contain only one element
                          items:
                            description: OVSUplinkConfigExt contains configuration
                              for the concrete OVS uplink(PF)
                            properties:
                              interface:
                                description: configuration from the Interface OVS
                                  table for the PF
                                properties:
                                  externalIDs:
                                    additionalProperties:
                                      type: string
                                    description: external_ids field in the Interface
                                      table in OVSDB
                                    type: object
                                  mtuRequest:
                                    description: mtu_request field in the Interface
                                      table in OVSDB
                                    type: integer
                                  options:
                                    additionalProperties:
                                      type: string
                                    description: options field in the Interface table
                                      in OVSDB
                                    type: object
                                  otherConfig:
                                    additionalProperties:
                                      type: string
                                    description: other_config field in the Interface
                                      table in OVSDB
                                    type: object
                                  type:
                                    description: type field in the Interface table
                                      in OVSDB
                                    type: string
                                type: object
                              name:
                                description: name of the PF interface
                                type: string
                              pciAddress:
                                description: pci address of the PF
                                type: string
                            required:
                            - pciAddress
                            type: object
                          type: array
                      required:
                      - name
                      type: object
                    type: array
                type: object
              interfaces:
                items:
                  properties:
                    Vfs:
                      items:
                        properties:
                          Vlan:
                            type: integer
                          assigned:
                            type: string
                          deviceID:
                            type: string
                          driver:
                            type: string
                          guid:
                            type: string
                          mac:
                            type: string
                          mtu:
                            type: integer
                          name:
                            type: string
                          pciAddress:
                            type: string
                          representorName:
                            type: string
                          vdpaType:
                            type: string
                          vendor:
                            type: string
                          vfID:
                            type: integer
                        required:
                        - pciAddress
                        - vfID
                        type: object
                      type: array
                    deviceID:
                      type: string
                    driver:
                      type: string
                    eSwitchMode:
                      type: string
                    externallyManaged:
                      type: boolean
                    linkAdminState:
                      type: string
                    linkSpeed:
                      type: string
                    linkType:
                      type: string
                    mac:
                      type: string
                    mtu:
                      type: integer
                    name:
                      type: string
                    netFilter:
                      type: string
                    numVfs:
                      type: integer
                    pciAddress:
                      type: string
                    totalvfs:
                      type: integer
                    vendor:
                      type: string
                  required:
                  - pciAddress
                  type: object
                type: array
              lastSyncError:
                type: string
              syncStatus:
                type: string
              system:
                properties:
                  rdmaMode:
                    description: RDMA subsystem. Allowed value "shared", "exclusive".
                    enum:
                    - shared
                    - exclusive
                    type: string
                type: object
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: SriovNetworkNodeState
    listKind: SriovNetworkNodeStateList
    plural: sriovnetworknodestates
    singular: sriovnetworknodestate
  conditions:
  - lastTransitionTime: "2025-10-27T12:38:07Z"
    message: no conflicts found
    reason: NoConflicts
    status: "True"
    type: NamesAccepted
  - lastTransitionTime: "2025-10-27T12:38:07Z"
    message: the initial names have been accepted
    reason: InitialNamesAccepted
    status: "True"
    type: Established
  storedVersions:
  - v1
