Commit e3d54455 by Gunnar Billung-Meyer

add ComposedNode property to HSLLConnection

make HSLLConnection.Width not-null
parent a99ee03f
......@@ -20,6 +20,9 @@
<edmx:Reference Uri="HSLLInterface_v1.xml">
<edmx:Include Namespace="HSLLInterface"/>
</edmx:Reference>
<edmx:Reference Uri="ComposedNode_v1.xml">
<edmx:Include Namespace="ComposedNode"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HSLLConnection">
......@@ -38,6 +41,12 @@
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The links object contains the links to other resources that are related to this resource."/>
</Property>
<NavigationProperty Name="ComposedNode" Type="ComposedNode.ComposedNode" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The ComposedNode this connection is part of"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the ComposedNode schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="EndpointA" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Description" String="The first endpoint of this connection"/>
......@@ -50,7 +59,7 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the HSLLInterface schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="Width" Type="Edm.Int64">
<Property Name="Width" Type="Edm.Int64" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/ReadWrite"/>
<Annotation Term="OData.Description" String="Connection width of the HSLLConnection specified in number of lanes"/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain the connection width of the HSLLConnection specified in number of lanes."/>
......
......@@ -20,6 +20,9 @@
<edmx:Reference Uri="HSLLInterface_v1.xml">
<edmx:Include Namespace="HSLLInterface"/>
</edmx:Reference>
<edmx:Reference Uri="ComposedNode_v1.xml">
<edmx:Include Namespace="ComposedNode"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HSLLConnection">
......@@ -38,6 +41,12 @@
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The links object contains the links to other resources that are related to this resource."/>
</Property>
<NavigationProperty Name="ComposedNode" Type="ComposedNode.ComposedNode" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The ComposedNode this connection is part of"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the ComposedNode schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="EndpointA" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="OData.Description" String="The first endpoint of this connection"/>
......@@ -50,7 +59,7 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the HSLLInterface schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="Width" Type="Edm.Int64">
<Property Name="Width" Type="Edm.Int64" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/ReadWrite"/>
<Annotation Term="OData.Description" String="Connection width of the HSLLConnection specified in number of lanes"/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain the connection width of the HSLLConnection specified in number of lanes."/>
......
......@@ -75,6 +75,9 @@ This is the schema definition for the HSLLConnection resource.
<tr><td>@odata.context</td><td>string</td><td></td><td></td><td>read-only</td><td>The OData description of a payload.<br />Format: uri</td></tr>
<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>ComposedNode {</td><td>reference(<a href="composednode.html#composednode">ComposedNode</a>)</td><td></td><td></td><td>read-only</td><td>The ComposedNode this connection is part of</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>
<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>
<tr><td>EndpointA {</td><td>reference(<a href="hsllinterface.html#hsllinterface">HSLLInterface</a>)</td><td></td><td></td><td>read-write</td><td>The first endpoint of this connection</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>
......@@ -88,7 +91,7 @@ This is the schema definition for the HSLLConnection resource.
<tr><td>}</td><td></td><td></td><td></td><td></td><td></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>Width</td><td>number</td><td>Yes</td><td></td><td>read-write</td><td>Connection width of the HSLLConnection specified in number of lanes<br />Minimum: 0</td></tr>
<tr><td>Width</td><td>number</td><td></td><td></td><td>read-write</td><td>Connection width of the HSLLConnection specified in number of lanes<br />Minimum: 0</td></tr>
</table>
<h2 id="operations">Operations</h2>
<h3 id="get">GET</h3>
......@@ -109,6 +112,12 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"@odata.type": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"ComposedNode": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/ComposedNodes/ComposedNode1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;},
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Description": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"EndpointA": {
......
......@@ -30,6 +30,12 @@
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
},
"ComposedNode": {
"$ref": "ComposedNode_v1.xml/ComposedNode.json#/definitions/ComposedNode",
"description": "The ComposedNode this connection is part of",
"longDescription": "This object shall only contain a reference that complies to the ComposedNode schema.",
"readonly": true
},
"Description": {
"anyOf": [
{
......@@ -76,10 +82,7 @@
"longDescription": "The value of this property shall contain the connection width of the HSLLConnection specified in number of lanes.",
"minimum": 0,
"readonly": false,
"type": [
"number",
"null"
]
"type": "number"
}
},
"required": [
......
......@@ -30,6 +30,12 @@
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/type"
},
"ComposedNode": {
"$ref": "ComposedNode_v1.xml/ComposedNode.json#/definitions/ComposedNode",
"description": "The ComposedNode this connection is part of",
"longDescription": "This object shall only contain a reference that complies to the ComposedNode schema.",
"readonly": true
},
"Description": {
"anyOf": [
{
......@@ -76,10 +82,7 @@
"longDescription": "The value of this property shall contain the connection width of the HSLLConnection specified in number of lanes.",
"minimum": 0,
"readonly": false,
"type": [
"number",
"null"
]
"type": "number"
}
},
"required": [
......
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