Commit 0a46b3c9 by Gunnar Billung-Meyer

fix reference of Switch to Baseboard to be strongly typed

parent 13d0cc91
......@@ -30,7 +30,7 @@
<Annotation Term="OData.Description" String="The type of the switch."/>
<Annotation Term="OData.LongDescription" String="An enumeration that indicates the type of the switch."/>
</Property>
<NavigationProperty Name="Baseboard" Type="Resource.Item">
<NavigationProperty Name="Baseboard" Type="Baseboard.Baseboard">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the Baseboard schema."/>
......
......@@ -30,7 +30,7 @@
<Annotation Term="OData.Description" String="The type of the switch."/>
<Annotation Term="OData.LongDescription" String="An enumeration that indicates the type of the switch."/>
</Property>
<NavigationProperty Name="Baseboard" Type="Resource.Item">
<NavigationProperty Name="Baseboard" Type="Baseboard.Baseboard">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the Baseboard schema."/>
......
......@@ -95,7 +95,7 @@ Switch contains properties describing a simple fabric switch.
<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>&nbsp;&nbsp;&nbsp;&nbsp;EID_47597 {</td><td>object</td><td></td><td></td><td>read-write</td><td>RECS|Box Switch extension</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Baseboard {</td><td>reference</td><td>Yes</td><td></td><td>read-only</td><td>The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Baseboard {</td><td>reference(<a href="baseboard.html#baseboard">Baseboard</a>)</td><td>Yes</td><td></td><td>read-only</td><td>The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SwitchType</td><td>string</td><td></td><td></td><td>read-only</td><td>The type of the switch.<br />Possible Values:<ul>
......@@ -238,7 +238,7 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Baseboard": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "uri"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/Baseboards/Baseboard1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
......
......@@ -23,7 +23,7 @@
"Baseboard": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
"$ref": "Baseboard_v1.xml/Baseboard.json#/definitions/Baseboard"
},
{
"type": "null"
......
......@@ -23,7 +23,7 @@
"Baseboard": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/idRef"
"$ref": "Baseboard_v1.xml/Baseboard.json#/definitions/Baseboard"
},
{
"type": "null"
......
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