Commit 0d9e2a2a by Gunnar Billung-Meyer

change some Nullable values

parent 29f25187
......@@ -48,10 +48,10 @@
<Action Name="Allocate" IsBound="true">
<Parameter Name="ComposedNodeCollection" Type="ComposedNodeCollection.Actions"/>
<Parameter Name="Name" Type="Edm.String">
<Parameter Name="Name" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The name of the ComposedNode" />
</Parameter>
<Parameter Name="Description" Type="Edm.String">
<Parameter Name="Description" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The description of the ComposedNode" />
</Parameter>
<Parameter Name="Systems" Type="Collection(ComposedNodeAllocationRequirement.v1_0_0.System)"/>
......
......@@ -76,14 +76,14 @@
<Action Name="ExposePort" IsBound="true">
<Parameter Name="ComposedNode" Type="ComposedNode.v1_0_0.Actions"/>
<Parameter Name="Name" Type="Edm.String">
<Parameter Name="Name" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The name of the Port" />
</Parameter>
<Parameter Name="Description" Type="Edm.String">
<Annotation Term="OData.Description" String="The description of the Port" />
</Parameter>
<Parameter Name="Width" Type="Edm.Int64">
<Annotation Term="OData.Description" String="The number of (usable) lanes that this port contains." />
<Annotation Term="OData.Description" String="The number of (usable) lanes that this port contains. All available lanes of the HSLLInterface will be used, if set to null." />
</Parameter>
<Parameter Name="HSLLInterface" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="OData.Description" String="The URI of a HSLLInterface resource, on which the Port is exposed." />
......@@ -96,7 +96,7 @@
<Action Name="RemovePort" IsBound="true">
<Parameter Name="ComposedNode" Type="ComposedNode.v1_0_0.Actions"/>
<Parameter Name="Port" Type="Port.Port">
<Parameter Name="Port" Type="Port.Port" Nullable="false">
<Annotation Term="OData.Description" String="The URI of the Port resource to remove." />
</Parameter>
<Annotation Term="OData.Description" String="This action is used to expose a port of a composed node."/>
......
......@@ -48,10 +48,10 @@
<Action Name="Allocate" IsBound="true">
<Parameter Name="ComposedNodeCollection" Type="ComposedNodeCollection.Actions"/>
<Parameter Name="Name" Type="Edm.String">
<Parameter Name="Name" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The name of the ComposedNode" />
</Parameter>
<Parameter Name="Description" Type="Edm.String">
<Parameter Name="Description" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The description of the ComposedNode" />
</Parameter>
<Parameter Name="Systems" Type="Collection(ComposedNodeAllocationRequirement.v1_0_0.System)"/>
......
......@@ -76,14 +76,14 @@
<Action Name="ExposePort" IsBound="true">
<Parameter Name="ComposedNode" Type="ComposedNode.v1_0_0.Actions"/>
<Parameter Name="Name" Type="Edm.String">
<Parameter Name="Name" Type="Edm.String" Nullable="false">
<Annotation Term="OData.Description" String="The name of the Port" />
</Parameter>
<Parameter Name="Description" Type="Edm.String">
<Annotation Term="OData.Description" String="The description of the Port" />
</Parameter>
<Parameter Name="Width" Type="Edm.Int64">
<Annotation Term="OData.Description" String="The number of (usable) lanes that this port contains." />
<Annotation Term="OData.Description" String="The number of (usable) lanes that this port contains. All available lanes of the HSLLInterface will be used, if set to null." />
</Parameter>
<Parameter Name="HSLLInterface" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="OData.Description" String="The URI of a HSLLInterface resource, on which the Port is exposed." />
......@@ -96,7 +96,7 @@
<Action Name="RemovePort" IsBound="true">
<Parameter Name="ComposedNode" Type="ComposedNode.v1_0_0.Actions"/>
<Parameter Name="Port" Type="Port.Port">
<Parameter Name="Port" Type="Port.Port" Nullable="false">
<Annotation Term="OData.Description" String="The URI of the Port resource to remove." />
</Parameter>
<Annotation Term="OData.Description" String="This action is used to expose a port of a composed node."/>
......
......@@ -225,9 +225,9 @@ HTTP/1.1 204
<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>Name</td><td>string</td><td>Yes</td><td></td><td>read-write</td><td>The name of the Port</td></tr>
<tr><td>Name</td><td>string</td><td></td><td>POST</td><td>read-write</td><td>The name of the Port</td></tr>
<tr><td>Description</td><td>string</td><td>Yes</td><td></td><td>read-write</td><td>The description of the Port</td></tr>
<tr><td>Width</td><td>number</td><td>Yes</td><td></td><td>read-write</td><td>The number of (usable) lanes that this port contains.</td></tr>
<tr><td>Width</td><td>number</td><td>Yes</td><td></td><td>read-write</td><td>The number of (usable) lanes that this port contains. All available lanes of the HSLLInterface will be used, if set to null.</td></tr>
<tr><td>HSLLInterface {</td><td>reference(<a href="hsllinterface.html#hsllinterface">HSLLInterface</a>)</td><td></td><td>POST</td><td>read-write</td><td>The URI of a HSLLInterface resource, on which the Port is exposed.</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>
......@@ -351,7 +351,7 @@ HTTP/1.1 204
<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>Port {</td><td>reference(<a href="port.html#port">Port</a>)</td><td>Yes</td><td></td><td>read-write</td><td>The URI of the Port resource to remove.</td></tr>
<tr><td>Port {</td><td>reference(<a href="port.html#port">Port</a>)</td><td></td><td>POST</td><td>read-write</td><td>The URI of the Port resource to remove.</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>
</table>
......
......@@ -94,8 +94,8 @@ table { border-collapse: collapse; }
<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>Name</td><td>string</td><td>Yes</td><td></td><td>read-write</td><td>The name of the ComposedNode</td></tr>
<tr><td>Description</td><td>string</td><td>Yes</td><td></td><td>read-write</td><td>The description of the ComposedNode</td></tr>
<tr><td>Name</td><td>string</td><td></td><td>POST</td><td>read-write</td><td>The name of the ComposedNode</td></tr>
<tr><td>Description</td><td>string</td><td></td><td>POST</td><td>read-write</td><td>The description of the ComposedNode</td></tr>
<tr><td>Systems [ {</td><td>array[object]</td><td>Yes</td><td></td><td>read-write</td><td>The requirements for a system</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;Baseboard {</td><td>reference(<a href="baseboard.html#baseboard">Baseboard</a>)</td><td>Yes</td><td></td><td>read-write</td><td>The Baseboard where applicable resources are located</td></tr>
<tr><td>&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>
......
......@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<title>RECS|Box Redfish API v0.1.0</title>
<title>RECS|Box Redfish API v1.1.0</title>
<style type="text/css">
body { font-family: Georgia, 'Times New Roman', Times, serif; }
h1 { font-size: 2.2em; }
......
......@@ -265,6 +265,7 @@
},
"Name": {
"description": "The name of the Port",
"requiredParameter": true,
"type": "string"
},
"PCIeFunctions": {
......@@ -275,7 +276,7 @@
"type": "array"
},
"Width": {
"description": "The number of (usable) lanes that this port contains.",
"description": "The number of (usable) lanes that this port contains. All available lanes of the HSLLInterface will be used, if set to null.",
"type": "number"
}
},
......@@ -383,7 +384,8 @@
"parameters": {
"Port": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Port.json#/definitions/Port",
"description": "The URI of the Port resource to remove."
"description": "The URI of the Port resource to remove.",
"requiredParameter": true
}
},
"patternProperties": {
......
......@@ -40,6 +40,7 @@
},
"Description": {
"description": "The description of the ComposedNode",
"requiredParameter": true,
"type": "string"
},
"Devices": {
......@@ -50,6 +51,7 @@
},
"Name": {
"description": "The name of the ComposedNode",
"requiredParameter": true,
"type": "string"
},
"Ports": {
......
......@@ -265,6 +265,7 @@
},
"Name": {
"description": "The name of the Port",
"requiredParameter": true,
"type": "string"
},
"PCIeFunctions": {
......@@ -275,7 +276,7 @@
"type": "array"
},
"Width": {
"description": "The number of (usable) lanes that this port contains.",
"description": "The number of (usable) lanes that this port contains. All available lanes of the HSLLInterface will be used, if set to null.",
"type": "number"
}
},
......@@ -383,7 +384,8 @@
"parameters": {
"Port": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Port.json#/definitions/Port",
"description": "The URI of the Port resource to remove."
"description": "The URI of the Port resource to remove.",
"requiredParameter": true
}
},
"patternProperties": {
......
......@@ -40,6 +40,7 @@
},
"Description": {
"description": "The description of the ComposedNode",
"requiredParameter": true,
"type": "string"
},
"Devices": {
......@@ -50,6 +51,7 @@
},
"Name": {
"description": "The name of the ComposedNode",
"requiredParameter": true,
"type": "string"
},
"Ports": {
......
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