---
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:17Z"
  name: ovsnetworks.sriovnetwork.openshift.io
  resourceVersion: "49788"
  uid: ea0d4873-fa59-4a1d-bffe-de83ed072596
spec:
  conversion:
    strategy: None
  group: sriovnetwork.openshift.io
  names:
    kind: OVSNetwork
    listKind: OVSNetworkList
    plural: ovsnetworks
    singular: ovsnetwork
  scope: Namespaced
  versions:
  - name: v1
    schema:
      openAPIV3Schema:
        description: OVSNetwork is the Schema for the ovsnetworks 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: OVSNetworkSpec defines the desired state of OVSNetwork
            properties:
              bridge:
                description: |-
                  name of the OVS bridge, if not set OVS will automatically select bridge
                  based on VF PCI address
                type: string
              capabilities:
                description: |-
                  Capabilities to be configured for this network.
                  Capabilities supported: (mac|ips), e.g. '{"mac": true}'
                type: string
              interfaceType:
                description: The type of interface on ovs.
                type: string
              ipam:
                description: IPAM configuration to be used for this network.
                type: string
              metaPlugins:
                description: MetaPluginsConfig configuration to be used in order to
                  chain metaplugins
                type: string
              mtu:
                description: Mtu for the OVS port
                type: integer
              networkNamespace:
                description: Namespace of the NetworkAttachmentDefinition custom resource
                type: string
              resourceName:
                description: OVS Network device plugin endpoint resource name
                type: string
              trunk:
                description: Trunk configuration for the OVS port
                items:
                  description: TrunkConfig contains configuration for bridge trunk
                  properties:
                    id:
                      maximum: 4095
                      minimum: 0
                      type: integer
                    maxID:
                      maximum: 4095
                      minimum: 0
                      type: integer
                    minID:
                      maximum: 4095
                      minimum: 0
                      type: integer
                  type: object
                type: array
              vlan:
                description: Vlan to assign for the OVS port
                maximum: 4095
                minimum: 0
                type: integer
            required:
            - resourceName
            type: object
          status:
            description: OVSNetworkStatus defines the observed state of OVSNetwork
            type: object
        type: object
    served: true
    storage: true
    subresources:
      status: {}
status:
  acceptedNames:
    kind: OVSNetwork
    listKind: OVSNetworkList
    plural: ovsnetworks
    singular: ovsnetwork
  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
