Commit d7aec53e by Gunnar Billung-Meyer

make Baseboard.BladeSlot not-nullable

parent e7f314da
......@@ -90,7 +90,7 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain references to the resource that complies to the Switch schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="BladeSlot" Type="Edm.Int64">
<Property Name="BladeSlot" Type="Edm.Int64" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
<Annotation Term="OData.Description" String="The one-based position of the blade slot containing this Baseboard within the Chassis."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain the zero-based numeric position of the blade slot containing this Baseboard within the Chassis."/>
......
......@@ -90,7 +90,7 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain references to the resource that complies to the Switch schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="BladeSlot" Type="Edm.Int64">
<Property Name="BladeSlot" Type="Edm.Int64" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
<Annotation Term="OData.Description" String="The one-based position of the blade slot containing this Baseboard within the Chassis."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain the zero-based numeric position of the blade slot containing this Baseboard within the Chassis."/>
......
......@@ -87,7 +87,7 @@ This is the schema definition for the Baseboard resource.
<li>Apalis: This Baseboard can host Apalis nodes.</li>
<li>Jetson: This Baseboard can host Jetson nodes.</li>
</ul></td></tr>
<tr><td>BladeSlot</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The one-based position of the blade slot containing this Baseboard within the Chassis.<br />Minimum: 1</td></tr>
<tr><td>BladeSlot</td><td>number</td><td></td><td></td><td>read-only</td><td>The one-based position of the blade slot containing this Baseboard within the Chassis.<br />Minimum: 1</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>The Chassis hosting this Baseboard</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>
......
......@@ -77,10 +77,7 @@
"longDescription": "The value of this property shall contain the zero-based numeric position of the blade slot containing this Baseboard within the Chassis.",
"minimum": 1,
"readonly": true,
"type": [
"number",
"null"
]
"type": "number"
},
"Chassis": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
......
......@@ -77,10 +77,7 @@
"longDescription": "The value of this property shall contain the zero-based numeric position of the blade slot containing this Baseboard within the Chassis.",
"minimum": 1,
"readonly": true,
"type": [
"number",
"null"
]
"type": "number"
},
"Chassis": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Chassis.json#/definitions/Chassis",
......
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