Commit a99ee03f by Gunnar Billung-Meyer

make Chassis property in ComposedNode not-null

parent d4bd55d1
......@@ -76,26 +76,26 @@
<Annotation Term="OData.Description" String="The available actions for this resource."/>
<Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
</Property>
<NavigationProperty Name="Chassis" Type="Chassis.Chassis">
<NavigationProperty Name="Chassis" Type="Chassis.Chassis" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to the Chassis, this ComposedNode is resides in."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the Chassis schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="ContainedResources" Type="Collection(Resource.Item)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode)."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain references to resources that comply to the ComputerSystem, PCIeDevice or Port schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="Connections" Type="HSLLConnectionCollection.HSLLConnectionCollection" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of HSLLConnections that connect the resources within this composition."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the HSLLConnectionCollection schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="ProvidedPorts" Type="PortCollection.PortCollection" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of Ports that are provided by this composition."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the PortCollection schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
......
......@@ -76,26 +76,26 @@
<Annotation Term="OData.Description" String="The available actions for this resource."/>
<Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
</Property>
<NavigationProperty Name="Chassis" Type="Chassis.Chassis">
<NavigationProperty Name="Chassis" Type="Chassis.Chassis" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to the Chassis, this ComposedNode is resides in."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the Chassis schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="ContainedResources" Type="Collection(Resource.Item)" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode)."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain references to resources that comply to the ComputerSystem, PCIeDevice or Port schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="Connections" Type="HSLLConnectionCollection.HSLLConnectionCollection" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of HSLLConnections that connect the resources within this composition."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the HSLLConnectionCollection schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="ProvidedPorts" Type="PortCollection.PortCollection" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of Ports that are provided by this composition."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a resource that complies to the PortCollection schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
......
......@@ -90,16 +90,16 @@ This is the schema definition for the ComposedNode resource.
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;Oem { }</td><td>object</td><td></td><td></td><td>read-write</td><td></td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Chassis {</td><td>reference(<a href="chassis.html#chassis">Chassis</a>)</td><td>Yes</td><td></td><td>read-only</td><td>This is a link to the Chassis, this ComposedNode is resides in.</td></tr>
<tr><td>Chassis {</td><td>reference(<a href="chassis.html#chassis">Chassis</a>)</td><td></td><td></td><td>read-only</td><td>This is a link to the Chassis, this ComposedNode is resides in.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;@odata.id</td><td>string</td><td></td><td></td><td>read-only</td><td>The unique identifier for a resource.<br />Format: uri</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>ComposedIn {</td><td>reference(<a href="composednode.html#composednode">ComposedNode</a>)</td><td>Yes</td><td></td><td>read-only</td><td>This is a link to the ComposedNode, this ComposedNode is composed in.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;@odata.id</td><td>string</td><td></td><td></td><td>read-only</td><td>The unique identifier for a resource.<br />Format: uri</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Connections {</td><td>reference(<a href="hsllconnectioncollection.html#hsllconnectioncollection">HSLLConnectionCollection</a>)</td><td></td><td></td><td>read-write</td><td>This is a link to a collection of HSLLConnections that connect the resources within this composition.</td></tr>
<tr><td>Connections {</td><td>reference(<a href="hsllconnectioncollection.html#hsllconnectioncollection">HSLLConnectionCollection</a>)</td><td></td><td></td><td>read-only</td><td>This is a link to a collection of HSLLConnections that connect the resources within this composition.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;@odata.id</td><td>string</td><td></td><td></td><td>read-only</td><td>The unique identifier for a resource.<br />Format: uri</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>ContainedResources [ {</td><td>array[reference]</td><td></td><td></td><td>read-write</td><td>An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode).</td></tr>
<tr><td>ContainedResources [ {</td><td>array[reference]</td><td></td><td></td><td>read-only</td><td>An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode).</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;@odata.id</td><td>string</td><td></td><td></td><td>read-only</td><td>The unique identifier for a resource.<br />Format: uri</td></tr>
<tr><td>} ]</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>ContainedResources@odata.count</td><td>number</td><td></td><td></td><td>read-only</td><td>The number of items in a collection.</td></tr>
......@@ -110,7 +110,7 @@ This is the schema definition for the ComposedNode resource.
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Name</td><td>string</td><td></td><td>GET</td><td>read-only</td><td>The name of the resource or array element.</td></tr>
<tr><td>Oem { }</td><td>object</td><td></td><td></td><td>read-write</td><td>This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.</td></tr>
<tr><td>ProvidedPorts {</td><td>reference(<a href="portcollection.html#portcollection">PortCollection</a>)</td><td></td><td></td><td>read-write</td><td>This is a link to a collection of Ports that are provided by this composition.</td></tr>
<tr><td>ProvidedPorts {</td><td>reference(<a href="portcollection.html#portcollection">PortCollection</a>)</td><td></td><td></td><td>read-only</td><td>This is a link to a collection of Ports that are provided by this composition.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;@odata.id</td><td>string</td><td></td><td></td><td>read-only</td><td>The unique identifier for a resource.<br />Format: uri</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Status {</td><td>object</td><td>Yes</td><td></td><td>read-write</td><td>This type describes the status and health of a resource and its children.</td></tr>
......
......@@ -108,14 +108,7 @@
"longDescription": "The Actions property shall contain the available actions for this resource."
},
"Chassis": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
{
"type": "null"
}
],
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
"description": "This is a link to the Chassis, this ComposedNode is resides in.",
"longDescription": "This object shall only contain a reference to a resource that complies to the Chassis schema.",
"readonly": true
......@@ -137,7 +130,7 @@
"$ref": "HSLLConnectionCollection_v1.xml/HSLLConnectionCollection.json#/definitions/HSLLConnectionCollection",
"description": "This is a link to a collection of HSLLConnections that connect the resources within this composition.",
"longDescription": "This object shall only contain a reference to a resource that complies to the HSLLConnectionCollection schema.",
"readonly": false
"readonly": true
},
"ContainedResources": {
"description": "An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode).",
......@@ -145,7 +138,7 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
},
"longDescription": "This object shall only contain references to resources that comply to the ComputerSystem, PCIeDevice or Port schema.",
"readonly": false,
"readonly": true,
"type": "array"
},
"ContainedResources@odata.count": {
......@@ -184,7 +177,7 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection",
"description": "This is a link to a collection of Ports that are provided by this composition.",
"longDescription": "This object shall only contain a reference to a resource that complies to the PortCollection schema.",
"readonly": false
"readonly": true
},
"Status": {
"anyOf": [
......
......@@ -108,14 +108,7 @@
"longDescription": "The Actions property shall contain the available actions for this resource."
},
"Chassis": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis"
},
{
"type": "null"
}
],
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
"description": "This is a link to the Chassis, this ComposedNode is resides in.",
"longDescription": "This object shall only contain a reference to a resource that complies to the Chassis schema.",
"readonly": true
......@@ -137,7 +130,7 @@
"$ref": "HSLLConnectionCollection_v1.xml/HSLLConnectionCollection.json#/definitions/HSLLConnectionCollection",
"description": "This is a link to a collection of HSLLConnections that connect the resources within this composition.",
"longDescription": "This object shall only contain a reference to a resource that complies to the HSLLConnectionCollection schema.",
"readonly": false
"readonly": true
},
"ContainedResources": {
"description": "An array of references to resources this ComposedNode consists of. This can either be a ComputerSystem, a PCIeDevice or a Port (of a PCIeSwitch or a ComposedNode).",
......@@ -145,7 +138,7 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
},
"longDescription": "This object shall only contain references to resources that comply to the ComputerSystem, PCIeDevice or Port schema.",
"readonly": false,
"readonly": true,
"type": "array"
},
"ContainedResources@odata.count": {
......@@ -184,7 +177,7 @@
"$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection",
"description": "This is a link to a collection of Ports that are provided by this composition.",
"longDescription": "This object shall only contain a reference to a resource that complies to the PortCollection schema.",
"readonly": false
"readonly": true
},
"Status": {
"anyOf": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment