components:
  schemas:
    AllowDeny_v1_0_3_Actions:
      additionalProperties: false
      description: The available actions for this resource.
      properties:
        Oem:
          $ref: '#/components/schemas/AllowDeny_v1_0_3_OemActions'
          description: The available OEM-specific actions for this resource.
          x-longDescription: This property shall contain the available OEM-specific
            actions for this resource.
      type: object
      x-longDescription: This type shall contain the available actions for this resource.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
    AllowDeny_v1_0_3_AllowDeny:
      additionalProperties: false
      description: The `AllowDeny` schema represents a set of allow or deny configurations.
      properties:
        '@odata.context':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_context
        '@odata.etag':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_etag
        '@odata.id':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_id
        '@odata.type':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_type
        Actions:
          $ref: '#/components/schemas/AllowDeny_v1_0_3_Actions'
          description: The available actions for this resource.
          x-longDescription: This property shall contain the available actions for
            this resource.
        AllowType:
          description: Indicates the type of permission.
          oneOf:
          - $ref: '#/components/schemas/AllowDeny_v1_0_3_AllowType'
          - enum:
            - null
          readOnly: false
          x-longDescription: This property shall indicate the type of permission.
        Description:
          oneOf:
          - $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Description
          - enum:
            - null
          readOnly: true
        DestinationPortLower:
          description: The TCP, UDP, or other destination port to which this rule
            begins application, inclusive.
          format: int64
          nullable: true
          readOnly: false
          type: integer
          x-longDescription: This property shall contain the TCP, UDP, or other destination
            port to which this rule begins application, inclusive.
        DestinationPortUpper:
          description: The TCP, UDP, or other destination port to which this rule
            ends application, inclusive.
          format: int64
          nullable: true
          readOnly: false
          type: integer
          x-longDescription: This property shall contain the TCP, UDP, or other destination
            port to which this rule ends application, inclusive.
        Direction:
          description: Indicates the direction of the data to which this permission
            applies.
          oneOf:
          - $ref: '#/components/schemas/AllowDeny_v1_0_3_DataDirection'
          - enum:
            - null
          readOnly: false
          x-longDescription: This value shall indicate the direction of the data to
            which this permission applies for this network device function.
        IANAProtocolNumber:
          description: The IANA protocol number to which this permission applies.  For
            TCP, this is `6`.  For UDP, this is `17`.
          format: int64
          nullable: true
          readOnly: false
          type: integer
          x-longDescription: This property shall contain the IANA protocol number
            to which this permission applies.
        IPAddressLower:
          description: The lower IP address to which this permission applies.
          nullable: true
          readOnly: false
          type: string
          x-longDescription: This property shall contain the lower IP address to which
            this permission applies.
        IPAddressType:
          description: The type of IP address populated in the `IPAddressLower` and
            `IPAddressUpper` properties.
          oneOf:
          - $ref: '#/components/schemas/AllowDeny_v1_0_3_IPAddressType'
          - enum:
            - null
          readOnly: false
          x-longDescription: This property shall contain the type of IP address populated
            in the `IPAddressLower` and `IPAddressUpper` properties.  Services shall
            not permit mixing IPv6 and IPv4 addresses on the same resource.
        IPAddressUpper:
          description: The upper IP address to which this permission applies.
          nullable: true
          readOnly: false
          type: string
          x-longDescription: This property shall contain the upper IP address to which
            this permission applies.
        Id:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Id
          readOnly: true
        Name:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Name
          readOnly: true
        Oem:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Oem
          description: The OEM extension property.
          x-longDescription: This property shall contain the OEM extensions.  All
            values for properties that this object contains shall conform to the Redfish
            Specification-described requirements.
        SourcePortLower:
          description: The TCP, UDP, or other source port to which this rule begins
            application, inclusive.
          format: int64
          nullable: true
          readOnly: false
          type: integer
          x-longDescription: This property shall contain the TCP, UDP, or other source
            port to which this rule begins application, inclusive.
        SourcePortUpper:
          description: The TCP, UDP or other source port to which this rule ends application,
            inclusive.
          format: int64
          nullable: true
          readOnly: false
          type: integer
          x-longDescription: This property shall contain the TCP, UDP, or other source
            port to which this rule ends application, inclusive.
        StatefulSession:
          description: Indicates if this is a permission that only applies to stateful
            connections.
          nullable: true
          readOnly: false
          type: boolean
          x-longDescription: This property shall indicate if this permission only
            applies to stateful connections, which are those using SYN, ACK, and FIN.
      required:
      - '@odata.id'
      - '@odata.type'
      - Id
      - Name
      type: object
      x-longDescription: This resource shall represent an AllowDeny resource in a
        Redfish implementation.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
    AllowDeny_v1_0_3_AllowType:
      enum:
      - Allow
      - Deny
      type: string
      x-enumDescriptions:
        Allow: Indicates that traffic that matches the criteria in this resource is
          permitted.
        Deny: Indicates that traffic that matches the criteria in this resource is
          not permitted.
    AllowDeny_v1_0_3_DataDirection:
      enum:
      - Ingress
      - Egress
      type: string
      x-enumDescriptions:
        Egress: Indicates that this limit is enforced on packets and bytes transmitted
          by the network device function.
        Ingress: Indicates that this limit is enforced on packets and bytes received
          by the network device function.
    AllowDeny_v1_0_3_IPAddressType:
      enum:
      - IPv4
      - IPv6
      type: string
      x-enumDescriptions:
        IPv4: IPv4 addressing is used for all IP-fields in this object.
        IPv6: IPv6 addressing is used for all IP-fields in this object.
    AllowDeny_v1_0_3_OemActions:
      additionalProperties: true
      description: The available OEM-specific actions for this resource.
      properties: {}
      type: object
      x-longDescription: This type shall contain the available OEM-specific actions
        for this resource.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
title: '#AllowDeny.v1_0_3.AllowDeny'
x-copyright: Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
x-language: en
x-owningEntity: DMTF
x-release: '2021.2'
