Commit cca60639 by Gunnar Billung-Meyer

remove reset actions from Port and Switch

parent 73cb9fbf
......@@ -254,17 +254,7 @@
"ConnectedSwitches": true
},
"Actions": {
"#Port.Reset": {
"ResetType": [
"On",
"ForceOff",
"GracefulShutdown",
"GracefulRestart",
"ForceRestart",
"ForceOn",
"PushPowerButton"
]
}
"#Port.Reset": true
}
},
"Processor": {
......@@ -309,17 +299,7 @@
"ManagedBy": true
},
"Actions": {
"#Switch.Reset": {
"ResetType": [
"On",
"ForceOff",
"GracefulShutdown",
"GracefulRestart",
"ForceRestart",
"ForceOn",
"PushPowerButton"
]
}
"#Switch.Reset": true
}
}
}
\ No newline at end of file
......@@ -76,10 +76,6 @@ Port contains properties describing a port of a switch.
<tr><td>@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>@odata.type</td><td>string</td><td></td><td></td><td>read-only</td><td>The type of a resource.</td></tr>
<tr><td>Actions {</td><td>object</td><td></td><td></td><td>read-write</td><td>The available actions for this resource.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;#Port.Reset {</td><td>object</td><td></td><td></td><td>read-write</td><td>This action is used to reset this port.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;target</td><td>string</td><td></td><td></td><td>read-write</td><td>Link to invoke action<br />Format: uri</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title</td><td>string</td><td></td><td></td><td>read-write</td><td>Friendly action name</td></tr>
<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>The available OEM specific actions for this resource.</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Description</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>Provides a description of this resource and is used for commonality in the schema definitions.</td></tr>
......@@ -133,39 +129,6 @@ Port contains properties describing a port of a switch.
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Width</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The number of lanes, phys, or other physical transport links that this port contains.</td></tr>
</table>
<h2 id="actions">Actions</h2>
<h3 id="#port.reset">#Port.Reset</h3>
<h4 id="parameters">Parameters</h4>
<table class="datatable">
<tr><th>Property</th><th>Type</th><th>Nullable</th><th>Required</th><th>Permission</th><th>Description</th></tr>
<tr><td>ResetType</td><td>string</td><td></td><td>POST</td><td>read-write</td><td>The type of reset to be performed.<br />Possible Values:<ul>
<li>On: Turn the unit on.</li>
<li>ForceOff: Turn the unit off immediately (non-graceful shutdown).</li>
<li>GracefulShutdown: Perform a graceful shutdown and power off.</li>
<li>GracefulRestart: Perform a graceful shutdown followed by a restart of the system.</li>
<li>ForceRestart: Perform an immediate (non-graceful) shutdown, followed by a restart.</li>
<li>ForceOn: Turn the unit on immediately.</li>
<li>PushPowerButton: Simulate the pressing of the physical power button on this unit.</li>
</ul></td></tr>
</table>
<h4 id="request">Request</h4>
<div class="code">
POST /redfish/v1/Switches/Switch1/Ports/Port1/Actions/Port.Reset
<br />
Content-Type: application/json
<br />
{
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"ResetType": "On"
<br />
}
<br />
</div>
<h4 id="response">Response</h4>
<div class="code">
HTTP/1.1 204
<br />
</div>
<h2 id="operations">Operations</h2>
<h3 id="get">GET</h3>
<h4 id="request">Request</h4>
......@@ -187,16 +150,6 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Actions": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"#Port.Reset": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"target": "/redfish/v1/Switches/Switch1/Ports/Port1/Actions/Port.Reset",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"ResetType@Redfish.AllowableValues": ["On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart", "ForceOn", "PushPowerButton"],
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"title": "string"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Oem": { }
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}
......
......@@ -76,10 +76,6 @@ Switch contains properties describing a simple fabric switch.
<tr><td>@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>@odata.type</td><td>string</td><td></td><td></td><td>read-only</td><td>The type of a resource.</td></tr>
<tr><td>Actions {</td><td>object</td><td></td><td></td><td>read-write</td><td>The available actions for this resource.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;#Switch.Reset {</td><td>object</td><td></td><td></td><td>read-write</td><td>This action is used to reset this switch.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;target</td><td>string</td><td></td><td></td><td>read-write</td><td>Link to invoke action<br />Format: uri</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title</td><td>string</td><td></td><td></td><td>read-write</td><td>Friendly action name</td></tr>
<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>The available OEM specific actions for this resource.</td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>Description</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>Provides a description of this resource and is used for commonality in the schema definitions.</td></tr>
......@@ -144,39 +140,6 @@ Switch contains properties describing a simple fabric switch.
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>TotalSwitchWidth</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The total number of lanes, phys, or other physical transport links that this switch contains.</td></tr>
</table>
<h2 id="actions">Actions</h2>
<h3 id="#switch.reset">#Switch.Reset</h3>
<h4 id="parameters">Parameters</h4>
<table class="datatable">
<tr><th>Property</th><th>Type</th><th>Nullable</th><th>Required</th><th>Permission</th><th>Description</th></tr>
<tr><td>ResetType</td><td>string</td><td></td><td>POST</td><td>read-write</td><td>The type of reset to be performed.<br />Possible Values:<ul>
<li>On: Turn the unit on.</li>
<li>ForceOff: Turn the unit off immediately (non-graceful shutdown).</li>
<li>GracefulShutdown: Perform a graceful shutdown and power off.</li>
<li>GracefulRestart: Perform a graceful shutdown followed by a restart of the system.</li>
<li>ForceRestart: Perform an immediate (non-graceful) shutdown, followed by a restart.</li>
<li>ForceOn: Turn the unit on immediately.</li>
<li>PushPowerButton: Simulate the pressing of the physical power button on this unit.</li>
</ul></td></tr>
</table>
<h4 id="request">Request</h4>
<div class="code">
POST /redfish/v1/Switches/Switch1/Actions/Switch.Reset
<br />
Content-Type: application/json
<br />
{
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"ResetType": "On"
<br />
}
<br />
</div>
<h4 id="response">Response</h4>
<div class="code">
HTTP/1.1 204
<br />
</div>
<h2 id="operations">Operations</h2>
<h3 id="get">GET</h3>
<h4 id="request">Request</h4>
......@@ -198,16 +161,6 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Actions": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"#Switch.Reset": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"target": "/redfish/v1/Switches/Switch1/Actions/Switch.Reset",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"ResetType@Redfish.AllowableValues": ["On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart", "ForceOn", "PushPowerButton"],
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"title": "string"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Oem": { }
<br />
&nbsp;&nbsp;&nbsp;&nbsp;}
......
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