1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: AllowDeny v1.0.3 --> 5<!--# --> 6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7<!--# available at http://www.dmtf.org/standards/redfish --> 8<!--# Copyright 2014-2024 DMTF. --> 9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10<!--################################################################################ --> 11<!----> 12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 13 14 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> 15 <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> 16 </edmx:Reference> 17 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> 18 <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> 19 </edmx:Reference> 20 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml"> 21 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/> 22 </edmx:Reference> 23 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 24 <edmx:Include Namespace="Resource"/> 25 <edmx:Include Namespace="Resource.v1_0_0"/> 26 </edmx:Reference> 27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 28 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 29 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 30 </edmx:Reference> 31 32 <edmx:DataServices> 33 34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AllowDeny"> 35 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 36 <Annotation Term="Redfish.Language" String="en"/> 37 38 <EntityType Name="AllowDeny" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 39 <Annotation Term="OData.Description" String="The `AllowDeny` schema represents a set of allow or deny configurations."/> 40 <Annotation Term="OData.LongDescription" String="This resource shall represent an AllowDeny resource in a Redfish implementation."/> 41 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 42 <Annotation Term="Capabilities.InsertRestrictions"> 43 <Record> 44 <PropertyValue Property="Insertable" Bool="false"/> 45 </Record> 46 </Annotation> 47 <Annotation Term="Capabilities.UpdateRestrictions"> 48 <Record> 49 <PropertyValue Property="Updatable" Bool="true"/> 50 </Record> 51 </Annotation> 52 <Annotation Term="Capabilities.DeleteRestrictions"> 53 <Record> 54 <PropertyValue Property="Deletable" Bool="true"/> 55 </Record> 56 </Annotation> 57 <Annotation Term="Redfish.Uris"> 58 <Collection> 59 <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 60 <String>/redfish/v1/Systems/{ComputerSystemId}/NetworkInterfaces/{NetworkInterfaceId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 61 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/NetworkInterfaces/{NetworkInterfaceId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 62 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/NetworkInterfaces/{NetworkInterfaceId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 63 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/NetworkInterfaces/{NetworkInterfaceId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 64 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/NetworkInterfaces/{NetworkInterfaceId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/AllowDeny/{AllowDenyId}</String> 65 </Collection> 66 </Annotation> 67 </EntityType> 68 </Schema> 69 70 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AllowDeny.v1_0_0"> 71 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 72 <Annotation Term="Redfish.Release" String="2021.2"/> 73 74 <EntityType Name="AllowDeny" BaseType="AllowDeny.AllowDeny"> 75 <Property Name="Direction" Type="AllowDeny.v1_0_0.DataDirection"> 76 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 77 <Annotation Term="OData.Description" String="Indicates the direction of the data to which this permission applies."/> 78 <Annotation Term="OData.LongDescription" String="This value shall indicate the direction of the data to which this permission applies for this network device function."/> 79 </Property> 80 <Property Name="AllowType" Type="AllowDeny.v1_0_0.AllowType"> 81 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 82 <Annotation Term="OData.Description" String="Indicates the type of permission."/> 83 <Annotation Term="OData.LongDescription" String="This property shall indicate the type of permission."/> 84 </Property> 85 <Property Name="StatefulSession" Type="Edm.Boolean"> 86 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 87 <Annotation Term="OData.Description" String="Indicates if this is a permission that only applies to stateful connections."/> 88 <Annotation Term="OData.LongDescription" String="This property shall indicate if this permission only applies to stateful connections, which are those using SYN, ACK, and FIN."/> 89 </Property> 90 <Property Name="IPAddressType" Type="AllowDeny.v1_0_0.IPAddressType"> 91 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 92 <Annotation Term="OData.Description" String="The type of IP address populated in the `IPAddressLower` and `IPAddressUpper` properties."/> 93 <Annotation Term="OData.LongDescription" String="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."/> 94 </Property> 95 <Property Name="IPAddressLower" Type="Edm.String"> 96 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 97 <Annotation Term="OData.Description" String="The lower IP address to which this permission applies."/> 98 <Annotation Term="OData.LongDescription" String="This property shall contain the lower IP address to which this permission applies."/> 99 </Property> 100 <Property Name="IPAddressUpper" Type="Edm.String"> 101 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 102 <Annotation Term="OData.Description" String="The upper IP address to which this permission applies."/> 103 <Annotation Term="OData.LongDescription" String="This property shall contain the upper IP address to which this permission applies."/> 104 </Property> 105 <Property Name="IANAProtocolNumber" Type="Edm.Int64"> 106 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 107 <Annotation Term="OData.Description" String="The IANA protocol number to which this permission applies. For TCP, this is `6`. For UDP, this is `17`."/> 108 <Annotation Term="OData.LongDescription" String="This property shall contain the IANA protocol number to which this permission applies."/> 109 </Property> 110 <Property Name="SourcePortLower" Type="Edm.Int64"> 111 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 112 <Annotation Term="OData.Description" String="The TCP, UDP, or other source port to which this rule begins application, inclusive."/> 113 <Annotation Term="OData.LongDescription" String="This property shall contain the TCP, UDP, or other source port to which this rule begins application, inclusive."/> 114 </Property> 115 <Property Name="SourcePortUpper" Type="Edm.Int64"> 116 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 117 <Annotation Term="OData.Description" String="The TCP, UDP or other source port to which this rule ends application, inclusive."/> 118 <Annotation Term="OData.LongDescription" String="This property shall contain the TCP, UDP, or other source port to which this rule ends application, inclusive."/> 119 </Property> 120 <Property Name="DestinationPortLower" Type="Edm.Int64"> 121 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 122 <Annotation Term="OData.Description" String="The TCP, UDP, or other destination port to which this rule begins application, inclusive."/> 123 <Annotation Term="OData.LongDescription" String="This property shall contain the TCP, UDP, or other destination port to which this rule begins application, inclusive."/> 124 </Property> 125 <Property Name="DestinationPortUpper" Type="Edm.Int64"> 126 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 127 <Annotation Term="OData.Description" String="The TCP, UDP, or other destination port to which this rule ends application, inclusive."/> 128 <Annotation Term="OData.LongDescription" String="This property shall contain the TCP, UDP, or other destination port to which this rule ends application, inclusive."/> 129 </Property> 130 <Property Name="Actions" Type="AllowDeny.v1_0_0.Actions" Nullable="false"> 131 <Annotation Term="OData.Description" String="The available actions for this resource."/> 132 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 133 </Property> 134 </EntityType> 135 136 <ComplexType Name="Actions"> 137 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 138 <Annotation Term="OData.Description" String="The available actions for this resource."/> 139 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 140 <Property Name="Oem" Type="AllowDeny.v1_0_0.OemActions" Nullable="false"> 141 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 142 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 143 </Property> 144 </ComplexType> 145 146 <ComplexType Name="OemActions"> 147 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 148 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 149 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 150 </ComplexType> 151 152 <EnumType Name="IPAddressType"> 153 <Member Name="IPv4"> 154 <Annotation Term="OData.Description" String="IPv4 addressing is used for all IP-fields in this object."/> 155 </Member> 156 <Member Name="IPv6"> 157 <Annotation Term="OData.Description" String="IPv6 addressing is used for all IP-fields in this object."/> 158 </Member> 159 </EnumType> 160 161 <EnumType Name="AllowType"> 162 <Member Name="Allow"> 163 <Annotation Term="OData.Description" String="Indicates that traffic that matches the criteria in this resource is permitted."/> 164 </Member> 165 <Member Name="Deny"> 166 <Annotation Term="OData.Description" String="Indicates that traffic that matches the criteria in this resource is not permitted."/> 167 </Member> 168 </EnumType> 169 170 <EnumType Name="DataDirection"> 171 <Member Name="Ingress"> 172 <Annotation Term="OData.Description" String="Indicates that this limit is enforced on packets and bytes received by the network device function."/> 173 </Member> 174 <Member Name="Egress"> 175 <Annotation Term="OData.Description" String="Indicates that this limit is enforced on packets and bytes transmitted by the network device function."/> 176 </Member> 177 </EnumType> 178 </Schema> 179 180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AllowDeny.v1_0_1"> 181 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 182 <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/> 183 <EntityType Name="AllowDeny" BaseType="AllowDeny.v1_0_0.AllowDeny"/> 184 </Schema> 185 186 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AllowDeny.v1_0_2"> 187 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 188 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 189 <EntityType Name="AllowDeny" BaseType="AllowDeny.v1_0_1.AllowDeny"/> 190 </Schema> 191 192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="AllowDeny.v1_0_3"> 193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 194 <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references. It was also created to correct various typographical errors."/> 195 <EntityType Name="AllowDeny" BaseType="AllowDeny.v1_0_2.AllowDeny"/> 196 </Schema> 197 198 </edmx:DataServices> 199</edmx:Edmx> 200