Commit 29f25187 by Gunnar Billung-Meyer

add back-reference from HSLLConnection to its HSLLConnectionSet

parent 6b44c500
......@@ -23,6 +23,9 @@
<edmx:Reference Uri="ComposedNode_v1.xml">
<edmx:Include Namespace="ComposedNode"/>
</edmx:Reference>
<edmx:Reference Uri="HSLLConnectionSet_v1.xml">
<edmx:Include Namespace="HSLLConnectionSet"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HSLLConnection">
......@@ -47,6 +50,12 @@
<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="ConnectionSet" Type="HSLLConnectionSet.HSLLConnectionSet" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The HSLLConnectionSet this connection is part of"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the HSLLConnectionSet schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="EndpointA" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="Redfish.RequiredOnCreate"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
......
......@@ -23,6 +23,9 @@
<edmx:Reference Uri="ComposedNode_v1.xml">
<edmx:Include Namespace="ComposedNode"/>
</edmx:Reference>
<edmx:Reference Uri="HSLLConnectionSet_v1.xml">
<edmx:Include Namespace="HSLLConnectionSet"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="HSLLConnection">
......@@ -47,6 +50,12 @@
<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="ConnectionSet" Type="HSLLConnectionSet.HSLLConnectionSet" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The HSLLConnectionSet this connection is part of"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the HSLLConnectionSet schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="EndpointA" Type="HSLLInterface.HSLLInterface" Nullable="false">
<Annotation Term="Redfish.RequiredOnCreate"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
......
......@@ -78,6 +78,9 @@ This is the schema definition for the HSLLConnection resource.
<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>ConnectionSet {</td><td>reference(<a href="hsllconnectionset.html#hsllconnectionset">HSLLConnectionSet</a>)</td><td></td><td></td><td>read-only</td><td>The HSLLConnectionSet 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>POST</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>
......@@ -118,6 +121,12 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;},
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"ConnectionSet": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/ComposedNodes/ComposedNode1/HSLLConnectionSet1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;},
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"Description": "string",
<br />
&nbsp;&nbsp;&nbsp;&nbsp;"EndpointA": {
......
......@@ -36,6 +36,12 @@
"longDescription": "This object shall only contain a reference that complies to the ComposedNode schema.",
"readonly": true
},
"ConnectionSet": {
"$ref": "HSLLConnectionSet_v1.xml/HSLLConnectionSet.json#/definitions/HSLLConnectionSet",
"description": "The HSLLConnectionSet this connection is part of",
"longDescription": "This object shall only contain a reference that complies to the HSLLConnectionSet schema.",
"readonly": true
},
"Description": {
"anyOf": [
{
......
......@@ -36,6 +36,12 @@
"longDescription": "This object shall only contain a reference that complies to the ComposedNode schema.",
"readonly": true
},
"ConnectionSet": {
"$ref": "HSLLConnectionSet_v1.xml/HSLLConnectionSet.json#/definitions/HSLLConnectionSet",
"description": "The HSLLConnectionSet this connection is part of",
"longDescription": "This object shall only contain a reference that complies to the HSLLConnectionSet schema.",
"readonly": true
},
"Description": {
"anyOf": [
{
......
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