1{ 2 "$id": "http://redfish.dmtf.org/schemas/v1/AllowDeny.v1_0_3.json", 3 "$ref": "#/definitions/AllowDeny", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 "copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", 6 "definitions": { 7 "Actions": { 8 "additionalProperties": false, 9 "description": "The available actions for this resource.", 10 "longDescription": "This type shall contain the available actions for this resource.", 11 "patternProperties": { 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 13 "description": "This property shall specify a valid odata or Redfish property.", 14 "type": [ 15 "array", 16 "boolean", 17 "integer", 18 "number", 19 "null", 20 "object", 21 "string" 22 ] 23 } 24 }, 25 "properties": { 26 "Oem": { 27 "$ref": "#/definitions/OemActions", 28 "description": "The available OEM-specific actions for this resource.", 29 "longDescription": "This property shall contain the available OEM-specific actions for this resource." 30 } 31 }, 32 "type": "object" 33 }, 34 "AllowDeny": { 35 "additionalProperties": false, 36 "description": "The `AllowDeny` schema represents a set of allow or deny configurations.", 37 "longDescription": "This resource shall represent an AllowDeny resource in a Redfish implementation.", 38 "patternProperties": { 39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 40 "description": "This property shall specify a valid odata or Redfish property.", 41 "type": [ 42 "array", 43 "boolean", 44 "integer", 45 "number", 46 "null", 47 "object", 48 "string" 49 ] 50 } 51 }, 52 "properties": { 53 "@odata.context": { 54 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 55 }, 56 "@odata.etag": { 57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 58 }, 59 "@odata.id": { 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" 61 }, 62 "@odata.type": { 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" 64 }, 65 "Actions": { 66 "$ref": "#/definitions/Actions", 67 "description": "The available actions for this resource.", 68 "longDescription": "This property shall contain the available actions for this resource." 69 }, 70 "AllowType": { 71 "anyOf": [ 72 { 73 "$ref": "#/definitions/AllowType" 74 }, 75 { 76 "type": "null" 77 } 78 ], 79 "description": "Indicates the type of permission.", 80 "longDescription": "This property shall indicate the type of permission.", 81 "readonly": false 82 }, 83 "Description": { 84 "anyOf": [ 85 { 86 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" 87 }, 88 { 89 "type": "null" 90 } 91 ], 92 "readonly": true 93 }, 94 "DestinationPortLower": { 95 "description": "The TCP, UDP, or other destination port to which this rule begins application, inclusive.", 96 "longDescription": "This property shall contain the TCP, UDP, or other destination port to which this rule begins application, inclusive.", 97 "readonly": false, 98 "type": [ 99 "integer", 100 "null" 101 ] 102 }, 103 "DestinationPortUpper": { 104 "description": "The TCP, UDP, or other destination port to which this rule ends application, inclusive.", 105 "longDescription": "This property shall contain the TCP, UDP, or other destination port to which this rule ends application, inclusive.", 106 "readonly": false, 107 "type": [ 108 "integer", 109 "null" 110 ] 111 }, 112 "Direction": { 113 "anyOf": [ 114 { 115 "$ref": "#/definitions/DataDirection" 116 }, 117 { 118 "type": "null" 119 } 120 ], 121 "description": "Indicates the direction of the data to which this permission applies.", 122 "longDescription": "This value shall indicate the direction of the data to which this permission applies for this network device function.", 123 "readonly": false 124 }, 125 "IANAProtocolNumber": { 126 "description": "The IANA protocol number to which this permission applies. For TCP, this is `6`. For UDP, this is `17`.", 127 "longDescription": "This property shall contain the IANA protocol number to which this permission applies.", 128 "readonly": false, 129 "type": [ 130 "integer", 131 "null" 132 ] 133 }, 134 "IPAddressLower": { 135 "description": "The lower IP address to which this permission applies.", 136 "longDescription": "This property shall contain the lower IP address to which this permission applies.", 137 "readonly": false, 138 "type": [ 139 "string", 140 "null" 141 ] 142 }, 143 "IPAddressType": { 144 "anyOf": [ 145 { 146 "$ref": "#/definitions/IPAddressType" 147 }, 148 { 149 "type": "null" 150 } 151 ], 152 "description": "The type of IP address populated in the `IPAddressLower` and `IPAddressUpper` properties.", 153 "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.", 154 "readonly": false 155 }, 156 "IPAddressUpper": { 157 "description": "The upper IP address to which this permission applies.", 158 "longDescription": "This property shall contain the upper IP address to which this permission applies.", 159 "readonly": false, 160 "type": [ 161 "string", 162 "null" 163 ] 164 }, 165 "Id": { 166 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", 167 "readonly": true 168 }, 169 "Name": { 170 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", 171 "readonly": true 172 }, 173 "Oem": { 174 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", 175 "description": "The OEM extension property.", 176 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." 177 }, 178 "SourcePortLower": { 179 "description": "The TCP, UDP, or other source port to which this rule begins application, inclusive.", 180 "longDescription": "This property shall contain the TCP, UDP, or other source port to which this rule begins application, inclusive.", 181 "readonly": false, 182 "type": [ 183 "integer", 184 "null" 185 ] 186 }, 187 "SourcePortUpper": { 188 "description": "The TCP, UDP or other source port to which this rule ends application, inclusive.", 189 "longDescription": "This property shall contain the TCP, UDP, or other source port to which this rule ends application, inclusive.", 190 "readonly": false, 191 "type": [ 192 "integer", 193 "null" 194 ] 195 }, 196 "StatefulSession": { 197 "description": "Indicates if this is a permission that only applies to stateful connections.", 198 "longDescription": "This property shall indicate if this permission only applies to stateful connections, which are those using SYN, ACK, and FIN.", 199 "readonly": false, 200 "type": [ 201 "boolean", 202 "null" 203 ] 204 } 205 }, 206 "required": [ 207 "@odata.id", 208 "@odata.type", 209 "Id", 210 "Name" 211 ], 212 "type": "object" 213 }, 214 "AllowType": { 215 "enum": [ 216 "Allow", 217 "Deny" 218 ], 219 "enumDescriptions": { 220 "Allow": "Indicates that traffic that matches the criteria in this resource is permitted.", 221 "Deny": "Indicates that traffic that matches the criteria in this resource is not permitted." 222 }, 223 "type": "string" 224 }, 225 "DataDirection": { 226 "enum": [ 227 "Ingress", 228 "Egress" 229 ], 230 "enumDescriptions": { 231 "Egress": "Indicates that this limit is enforced on packets and bytes transmitted by the network device function.", 232 "Ingress": "Indicates that this limit is enforced on packets and bytes received by the network device function." 233 }, 234 "type": "string" 235 }, 236 "IPAddressType": { 237 "enum": [ 238 "IPv4", 239 "IPv6" 240 ], 241 "enumDescriptions": { 242 "IPv4": "IPv4 addressing is used for all IP-fields in this object.", 243 "IPv6": "IPv6 addressing is used for all IP-fields in this object." 244 }, 245 "type": "string" 246 }, 247 "OemActions": { 248 "additionalProperties": true, 249 "description": "The available OEM-specific actions for this resource.", 250 "longDescription": "This type shall contain the available OEM-specific actions for this resource.", 251 "patternProperties": { 252 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 253 "description": "This property shall specify a valid odata or Redfish property.", 254 "type": [ 255 "array", 256 "boolean", 257 "integer", 258 "number", 259 "null", 260 "object", 261 "string" 262 ] 263 } 264 }, 265 "properties": {}, 266 "type": "object" 267 } 268 }, 269 "language": "en", 270 "owningEntity": "DMTF", 271 "release": "2021.2", 272 "title": "#AllowDeny.v1_0_3.AllowDeny" 273}