Commit f917a217 by Gunnar Billung-Meyer

remove EthernetInterface PATCH operation and other unused operations

parent 67abe96b
......@@ -13,23 +13,6 @@
"ComputerSystem": [
"PATCH"
],
"EthernetInterface": [
"PATCH"
],
"EthernetSwitchACL": [
"PATCH",
"DELETE"
],
"EthernetSwitchACLCollection": [
"POST"
],
"EthernetSwitchACLRule": [
"PATCH",
"DELETE"
],
"EthernetSwitchACLRuleCollection": [
"POST"
],
"HSLLConnection": [
"DELETE"
],
......
......@@ -29,7 +29,7 @@
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="MaxSpeedMbps" Type="Edm.Int64">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="Measures.Unit" String="Mbit/s"/>
<Annotation Term="OData.Description" String="This is the maximum speed in Mbps of this interface."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be the nominal link speed of the interface in Mbps."/>
......
......@@ -29,7 +29,7 @@
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="MaxSpeedMbps" Type="Edm.Int64">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="Measures.Unit" String="Mbit/s"/>
<Annotation Term="OData.Description" String="This is the maximum speed in Mbps of this interface."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be the nominal link speed of the interface in Mbps."/>
......
......@@ -86,7 +86,7 @@ The EthernetInterface schema represents a single, logical ethernet interface or
<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></td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MaxSpeedMbps</td><td>number</td><td>Yes</td><td></td><td>read-write</td><td>This is the maximum speed in Mbps of this interface.<br />Unit: Mbit/s</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MaxSpeedMbps</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>This is the maximum speed in Mbps of this interface.<br />Unit: Mbit/s</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provider {</td><td>reference</td><td></td><td></td><td>read-only</td><td>The provider of this EthernetInterface. This can either be a Port of a ComputerSystem or a PCIeFunction.</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>
......@@ -173,30 +173,11 @@ HTTP/1.1 405 Method Not Allowed
<br />
</div>
<h3 id="patch">PATCH</h3>
<h4 id="request">Request</h4>
<div class="code">
PATCH /redfish/v1/Systems/ComputerSystem1/EthernetInterfaces/EthernetInterface1
<br />
Content-Type: application/json
<br />
{
<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;"MaxSpeedMbps": 0
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}
This operation is not supported on this resource and will result in the following response:
<br />
}
<br />
</div>
<h4 id="response">Response</h4>
<div class="code">
HTTP/1.1 204 No Content
HTTP/1.1 405 Method Not Allowed
<br />
</div>
<h3 id="delete">DELETE</h3>
......
......@@ -21,7 +21,7 @@
"MaxSpeedMbps": {
"description": "This is the maximum speed in Mbps of this interface.",
"longDescription": "The value of this property shall be the nominal link speed of the interface in Mbps.",
"readonly": false,
"readonly": true,
"type": [
"number",
"null"
......
......@@ -21,7 +21,7 @@
"MaxSpeedMbps": {
"description": "This is the maximum speed in Mbps of this interface.",
"longDescription": "The value of this property shall be the nominal link speed of the interface in Mbps.",
"readonly": false,
"readonly": true,
"type": [
"number",
"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