Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
| 4 | <!--# Redfish Schema: ResourceBlock v1.1.0--> |
| 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-2018 Distributed Management Task Force, Inc. (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://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 21 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 22 | <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> |
| 23 | </edmx:Reference> |
| 24 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 25 | <edmx:Include Namespace="Resource"/> |
| 26 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 27 | </edmx:Reference> |
| 28 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Chassis_v1.xml"> |
| 29 | <edmx:Include Namespace="Chassis"/> |
| 30 | </edmx:Reference> |
| 31 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml"> |
| 32 | <edmx:Include Namespace="ComputerSystem"/> |
| 33 | </edmx:Reference> |
| 34 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/EthernetInterface_v1.xml"> |
| 35 | <edmx:Include Namespace="EthernetInterface"/> |
| 36 | </edmx:Reference> |
| 37 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Memory_v1.xml"> |
| 38 | <edmx:Include Namespace="Memory"/> |
| 39 | </edmx:Reference> |
| 40 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/NetworkInterface_v1.xml"> |
| 41 | <edmx:Include Namespace="NetworkInterface"/> |
| 42 | </edmx:Reference> |
| 43 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Processor_v1.xml"> |
| 44 | <edmx:Include Namespace="Processor"/> |
| 45 | </edmx:Reference> |
| 46 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SimpleStorage_v1.xml"> |
| 47 | <edmx:Include Namespace="SimpleStorage"/> |
| 48 | </edmx:Reference> |
| 49 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Storage_v1.xml"> |
| 50 | <edmx:Include Namespace="Storage"/> |
| 51 | </edmx:Reference> |
| 52 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Zone_v1.xml"> |
| 53 | <edmx:Include Namespace="Zone"/> |
| 54 | </edmx:Reference> |
| 55 | |
| 56 | <edmx:DataServices> |
| 57 | |
| 58 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ResourceBlock"> |
| 59 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 60 | |
| 61 | <EntityType Name="ResourceBlock" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 62 | <Annotation Term="OData.Description" String="This is the schema definition of the Resource Block, its components, and affinity to composed devices."/> |
| 63 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a Resource Block for a Redfish implementation."/> |
| 64 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 65 | <Record> |
| 66 | <PropertyValue Property="Insertable" Bool="false"/> |
| 67 | </Record> |
| 68 | </Annotation> |
| 69 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 70 | <Record> |
| 71 | <PropertyValue Property="Updatable" Bool="true"/> |
| 72 | <Annotation Term="OData.Description" String="Resource Blocks can be updated to change the reservation setting and other writable properties."/> |
| 73 | </Record> |
| 74 | </Annotation> |
| 75 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 76 | <Record> |
| 77 | <PropertyValue Property="Deletable" Bool="false"/> |
| 78 | </Record> |
| 79 | </Annotation> |
| 80 | </EntityType> |
| 81 | |
| 82 | </Schema> |
| 83 | |
| 84 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ResourceBlock.v1_0_0"> |
| 85 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 86 | |
| 87 | <EntityType Name="ResourceBlock" BaseType="ResourceBlock.ResourceBlock"> |
| 88 | <Annotation Term="OData.Description" String="This schema defines a Resource Block resource."/> |
| 89 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent a Resource Block for a Redfish implementation."/> |
| 90 | <Property Name="Status" Type="Resource.Status" Nullable="false"/> |
| 91 | <Property Name="CompositionStatus" Type="ResourceBlock.v1_0_0.CompositionStatus" Nullable="false"> |
| 92 | <Annotation Term="OData.Description" String="This property describes the composition status details for this Resource Block."/> |
| 93 | <Annotation Term="OData.LongDescription" String="The value of this property shall contain composition status information about this Resource Block."/> |
| 94 | <Annotation Term="Redfish.Required"/> |
| 95 | </Property> |
| 96 | <Property Name="ResourceBlockType" Type="Collection(ResourceBlock.v1_0_0.ResourceBlockType)" Nullable="false"> |
| 97 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 98 | <Annotation Term="OData.Description" String="This property represents the types of resources available on this Resource Block."/> |
| 99 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of enumerated values describing type of resources available."/> |
| 100 | <Annotation Term="Redfish.Required"/> |
| 101 | </Property> |
| 102 | <Property Name="Links" Type="ResourceBlock.v1_0_0.Links" Nullable="false"> |
| 103 | <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/> |
| 104 | <Annotation Term="OData.LongDescription" String="The Links property, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/> |
| 105 | </Property> |
| 106 | <Property Name="Actions" Type="ResourceBlock.v1_0_0.Actions" Nullable="false"> |
| 107 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 108 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 109 | </Property> |
| 110 | <NavigationProperty Name="Processors" Type="Collection(Processor.Processor)"> |
| 111 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 112 | <Annotation Term="OData.Description" String="An array of references to the Processors available in this Resource Block."/> |
| 113 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type Processor that are in this Resource Block."/> |
| 114 | <Annotation Term="OData.AutoExpandReferences"/> |
| 115 | </NavigationProperty> |
| 116 | <NavigationProperty Name="Memory" Type="Collection(Memory.Memory)"> |
| 117 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 118 | <Annotation Term="OData.Description" String="An array of references to the Memory available in this Resource Block."/> |
| 119 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type Memory that are in this Resource Block."/> |
| 120 | <Annotation Term="OData.AutoExpandReferences"/> |
| 121 | </NavigationProperty> |
| 122 | <NavigationProperty Name="Storage" Type="Collection(Storage.Storage)"> |
| 123 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 124 | <Annotation Term="OData.Description" String="An array of references to the Storage available in this Resource Block."/> |
| 125 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type Storage that are in this Resource Block."/> |
| 126 | <Annotation Term="OData.AutoExpandReferences"/> |
| 127 | </NavigationProperty> |
| 128 | <NavigationProperty Name="SimpleStorage" Type="Collection(SimpleStorage.SimpleStorage)"> |
| 129 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 130 | <Annotation Term="OData.Description" String="An array of references to the Simple Storage available in this Resource Block."/> |
| 131 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type SimpleStorage that are in this Resource Block."/> |
| 132 | <Annotation Term="OData.AutoExpandReferences"/> |
| 133 | </NavigationProperty> |
| 134 | <NavigationProperty Name="EthernetInterfaces" Type="Collection(EthernetInterface.EthernetInterface)"> |
| 135 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 136 | <Annotation Term="OData.Description" String="An array of references to the Ethernet Interfaces available in this Resource Block."/> |
| 137 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type EthernetInterface that are in this Resource Block."/> |
| 138 | <Annotation Term="OData.AutoExpandReferences"/> |
| 139 | </NavigationProperty> |
| 140 | <NavigationProperty Name="NetworkInterfaces" Type="Collection(NetworkInterface.NetworkInterface)"> |
| 141 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 142 | <Annotation Term="OData.Description" String="An array of references to the Network Interfaces available in this Resource Block."/> |
| 143 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type NetworkInterface that are in this Resource Block."/> |
| 144 | <Annotation Term="OData.AutoExpandReferences"/> |
| 145 | </NavigationProperty> |
| 146 | <NavigationProperty Name="ComputerSystems" Type="Collection(ComputerSystem.ComputerSystem)"> |
| 147 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 148 | <Annotation Term="OData.Description" String="An array of references to the Computer Systems available in this Resource Block."/> |
| 149 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type ComputerSystem that are in this Resource Block."/> |
| 150 | <Annotation Term="OData.AutoExpandReferences"/> |
| 151 | </NavigationProperty> |
| 152 | </EntityType> |
| 153 | |
| 154 | <ComplexType Name="Links" BaseType="Resource.Links"> |
| 155 | <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/> |
| 156 | <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/> |
| 157 | <NavigationProperty Name="ComputerSystems" Type="Collection(ComputerSystem.ComputerSystem)"> |
| 158 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 159 | <Annotation Term="OData.Description" String="An array of references to the Computer Systems that are composed from this Resource Block."/> |
| 160 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type ComputerSystem that represent the Computer Systems composed from this Resource Block."/> |
| 161 | <Annotation Term="OData.AutoExpandReferences"/> |
| 162 | </NavigationProperty> |
| 163 | <NavigationProperty Name="Chassis" Type="Collection(Chassis.Chassis)"> |
| 164 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 165 | <Annotation Term="OData.Description" String="An array of references to the Chassis in which this Resource Block is contained."/> |
| 166 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type Chassis that represent the physical container associated with this Resource Block."/> |
| 167 | <Annotation Term="OData.AutoExpandReferences"/> |
| 168 | </NavigationProperty> |
| 169 | <NavigationProperty Name="Zones" Type="Collection(Zone.Zone)"> |
| 170 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 171 | <Annotation Term="OData.Description" String="An array of references to the Zones in which this Resource Block is bound."/> |
| 172 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type Zone that represent the binding constraints associated with this Resource Block."/> |
| 173 | <Annotation Term="OData.AutoExpandReferences"/> |
| 174 | </NavigationProperty> |
| 175 | </ComplexType> |
| 176 | |
| 177 | <ComplexType Name="Actions"> |
| 178 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 179 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 180 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
| 181 | <Property Name="Oem" Type="ResourceBlock.v1_0_0.OemActions" Nullable="false"/> |
| 182 | </ComplexType> |
| 183 | |
| 184 | <ComplexType Name="OemActions"> |
| 185 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 186 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 187 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 188 | </ComplexType> |
| 189 | |
| 190 | <EnumType Name="ResourceBlockType"> |
| 191 | <Member Name="Compute"> |
| 192 | <Annotation Term="OData.Description" String="This Resource Block contains both Processor and Memory resources in a manner that creates a compute complex."/> |
| 193 | </Member> |
| 194 | <Member Name="Processor"> |
| 195 | <Annotation Term="OData.Description" String="This Resource Block contains Processor resources."/> |
| 196 | </Member> |
| 197 | <Member Name="Memory"> |
| 198 | <Annotation Term="OData.Description" String="This Resource Block contains Memory resources."/> |
| 199 | </Member> |
| 200 | <Member Name="Network"> |
| 201 | <Annotation Term="OData.Description" String="This Resource Block contains Network resources, such as Ethernet Interfaces."/> |
| 202 | </Member> |
| 203 | <Member Name="Storage"> |
| 204 | <Annotation Term="OData.Description" String="This Resource Block contains Storage resources, such as Storage and Simple Storage."/> |
| 205 | </Member> |
| 206 | <Member Name="ComputerSystem"> |
| 207 | <Annotation Term="OData.Description" String="This Resource Block contains ComputerSystem resources."/> |
| 208 | </Member> |
| 209 | </EnumType> |
| 210 | |
| 211 | <ComplexType Name="CompositionStatus"> |
| 212 | <Annotation Term="OData.Description" String="Composition status of the Resource Block."/> |
| 213 | <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe the high level composition status of the Resource Block."/> |
| 214 | <Property Name="Reserved" Type="Edm.Boolean"> |
| 215 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 216 | <Annotation Term="OData.Description" String="This represents if the Resource Block is reserved by any client."/> |
| 217 | <Annotation Term="OData.LongDescription" String="This property shall be a boolean that is set by client once the Resource Block is identified to be composed. It shall provide multiple clients a way to negotiate its ownership. This will help clients to know if a Resource Block is reserved by other client."/> |
| 218 | </Property> |
| 219 | <Property Name="CompositionState" Type="ResourceBlock.v1_0_0.CompositionState"> |
| 220 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 221 | <Annotation Term="OData.Description" String="This property represents the current state of the Resource Block from a composition perspective."/> |
| 222 | <Annotation Term="OData.LongDescription" String="The value of this property shall be an enumerated value describing composition state of the Resource Block."/> |
| 223 | <Annotation Term="Redfish.Required"/> |
| 224 | </Property> |
| 225 | </ComplexType> |
| 226 | |
| 227 | <EnumType Name="CompositionState"> |
| 228 | <Member Name="Composing"> |
| 229 | <Annotation Term="OData.Description" String="Intermediate state indicating composition is in progress."/> |
| 230 | </Member> |
| 231 | <Member Name="ComposedAndAvailable"> |
| 232 | <Annotation Term="OData.Description" String="Indicates the Resource Block is currently participating in one or more compositions, and is available to be used in more compositions."/> |
| 233 | </Member> |
| 234 | <Member Name="Composed"> |
| 235 | <Annotation Term="OData.Description" String="Final successful state of a Resource Block which has participated in composition."/> |
| 236 | </Member> |
| 237 | <Member Name="Unused"> |
| 238 | <Annotation Term="OData.Description" String="Indicates the Resource Block is free and can participate in composition."/> |
| 239 | </Member> |
| 240 | <Member Name="Failed"> |
| 241 | <Annotation Term="OData.Description" String="The final composition resulted in failure and manual intervention may be required to fix it."/> |
| 242 | </Member> |
| 243 | </EnumType> |
| 244 | |
| 245 | </Schema> |
| 246 | |
| 247 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ResourceBlock.v1_1_0"> |
| 248 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 249 | |
| 250 | <EntityType Name="ResourceBlock" BaseType="ResourceBlock.v1_0_0.ResourceBlock"/> |
| 251 | |
| 252 | <ComplexType Name="CompositionStatus" BaseType="ResourceBlock.v1_0_0.CompositionStatus"> |
| 253 | <Property Name="SharingCapable" Type="Edm.Boolean"> |
| 254 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 255 | <Annotation Term="OData.Description" String="Indicates if this Resource Block is capable of participating in multiple compositions simultaneously."/> |
| 256 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this Resource Block is capable of participating in multiple compositions simultaneously. If this property is not provided, it shall be assumed that this Resource Block is not capable of being shared."/> |
| 257 | </Property> |
| 258 | <Property Name="SharingEnabled" Type="Edm.Boolean"> |
| 259 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 260 | <Annotation Term="OData.Description" String="Indicates if this Resource Block is allowed to participate in multiple compositions simultaneously."/> |
| 261 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this Resource Block is allowed to participate in multiple compositions simultaneously. The service shall reject modifications of this property with HTTP 400 Bad Request if this Resource Block already being used as part of a composed resource. If this property is set to false, the service shall not use the ComposedAndAvailable state for this Resource Block."/> |
| 262 | </Property> |
| 263 | <Property Name="MaxCompositions" Type="Edm.Int64"> |
| 264 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 265 | <Annotation Term="OData.Description" String="The maximum number of compositions in which this Resource Block is capable of participating simultaneously."/> |
| 266 | <Annotation Term="OData.LongDescription" String="The value of this property shall be a number indicating the maximum number of compositions in which this Resource Block is capable of participating simultaneously. Services may have additional constraints that prevent this value from being achieved, such as due to system topology and current composed resource utilization. If SharingCapable is set to false, this value shall be set to 1. The service shall support this property if SharingCapable supported."/> |
| 267 | <Annotation Term="Validation.Minimum" Int="1"/> |
| 268 | </Property> |
| 269 | <Property Name="NumberOfCompositions" Type="Edm.Int64"> |
| 270 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 271 | <Annotation Term="OData.Description" String="The number of compositions in which this Resource Block is currently participating."/> |
| 272 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the number of compositions in which this Resource Block is currently participating."/> |
| 273 | <Annotation Term="Validation.Minimum" Int="0"/> |
| 274 | </Property> |
| 275 | </ComplexType> |
| 276 | |
| 277 | </Schema> |
| 278 | |
| 279 | </edmx:DataServices> |
| 280 | </edmx:Edmx> |