Commit 83fcc3bb by Gunnar Billung-Meyer

remove Switch properties

parent a0af5055
......@@ -296,7 +296,12 @@
"Location": true,
"LogServices": true,
"Redundancy": true,
"SwitchType": true
"SwitchType": true,
"Manufacturer": true,
"Model": true,
"PartNumber": true,
"SKU": true,
"SerialNumber": true
},
"Links": {
"ManagedBy": true
......
......@@ -30,12 +30,6 @@
<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="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."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Annotation Term="OData.AdditionalProperties" Bool="false"/>
<Annotation Term="OData.Description" String="RECS|Box Switch extension"/>
<Annotation Term="OData.LongDescription" String="RECS|Box Switch extension" />
......
......@@ -30,12 +30,6 @@
<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="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."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Annotation Term="OData.AdditionalProperties" Bool="false"/>
<Annotation Term="OData.Description" String="RECS|Box Switch extension"/>
<Annotation Term="OData.LongDescription" String="RECS|Box Switch extension" />
......
......@@ -86,21 +86,15 @@ Switch contains properties describing a simple fabric switch.
<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>Oem extension object.</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Manufacturer</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>This is the manufacturer of this switch.</td></tr>
<tr><td>Model</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>The product model number of this switch.</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>&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(<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>
<li>Ethernet</li>
<li>PCIe</li>
</ul></td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>PartNumber</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>The part number for this switch.</td></tr>
<tr><td>Ports {</td><td>reference(<a href="portcollection.html#portcollection">PortCollection</a>)</td><td></td><td></td><td>read-only</td><td>A collection of references to the ports for this switch.</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>
......@@ -110,8 +104,6 @@ Switch contains properties describing a simple fabric switch.
<li>PoweringOn: A temporary state between Off and On.</li>
<li>PoweringOff: A temporary state between On and Off.</li>
</ul></td></tr>
<tr><td>SKU</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>This is the SKU for this switch.</td></tr>
<tr><td>SerialNumber</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>The serial number for this switch.</td></tr>
<tr><td>Status {</td><td>object</td><td></td><td></td><td>read-write</td><td>This type describes the status and health of a resource and its children.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;Health</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>This represents the health state of this resource in the absence of its dependent resources.<br />Possible Values:<ul>
<li>OK: Normal.</li>
......@@ -181,30 +173,18 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Manufacturer": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Model": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Name": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Oem": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"EID_47597": {
<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": "/redfish/v1/Baseboards/Baseboard1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"SwitchType": "Ethernet"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"PartNumber": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Ports": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/Switches/Switch1/Ports"
......@@ -213,10 +193,6 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"PowerState": "On",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"SKU": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"SerialNumber": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Status": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Health": "OK",
......
......@@ -20,19 +20,6 @@
}
},
"properties": {
"Baseboard": {
"anyOf": [
{
"$ref": "Baseboard_v1.xml/Baseboard.json#/definitions/Baseboard"
},
{
"type": "null"
}
],
"description": "The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard.",
"longDescription": "This object shall only contain a reference that complies to the Baseboard schema.",
"readonly": true
},
"SwitchType": {
"$ref": "#/definitions/SwitchType",
"description": "The type of the switch.",
......
......@@ -20,19 +20,6 @@
}
},
"properties": {
"Baseboard": {
"anyOf": [
{
"$ref": "Baseboard_v1.xml/Baseboard.json#/definitions/Baseboard"
},
{
"type": "null"
}
],
"description": "The Baseboard, the Switch is hosted on, or null if it is not hosted on a Baseboard.",
"longDescription": "This object shall only contain a reference that complies to the Baseboard schema.",
"readonly": true
},
"SwitchType": {
"$ref": "#/definitions/SwitchType",
"description": "The type of the switch.",
......
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