Commit bc5de44c by Gunnar Billung-Meyer

add EthernetInterface.Provider property

parent 8ae0a75b
......@@ -16,12 +16,21 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
<edmx:Include Namespace="Resource"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml">
<edmx:Include Namespace="ComputerSystem"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EID_47597_RECSBox_EthernetInterface.v1_0_0">
<ComplexType Name="EthernetInterface" BaseType="Resource.OemObject">
<NavigationProperty Name="Provider" Type="ComputerSystem.ComputerSystem" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The ComputerSystem providing this Interface."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the ComputerSystem schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="MaxSpeedMbps" Type="Edm.Int64">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="Measures.Unit" String="Mbit/s"/>
......
......@@ -16,12 +16,21 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
<edmx:Include Namespace="Resource"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml">
<edmx:Include Namespace="ComputerSystem"/>
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EID_47597_RECSBox_EthernetInterface.v1_0_0">
<ComplexType Name="EthernetInterface" BaseType="Resource.OemObject">
<NavigationProperty Name="Provider" Type="ComputerSystem.ComputerSystem" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The ComputerSystem providing this Interface."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the ComputerSystem schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="MaxSpeedMbps" Type="Edm.Int64">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
<Annotation Term="Measures.Unit" String="Mbit/s"/>
......
......@@ -87,6 +87,9 @@ The EthernetInterface schema represents a single, logical ethernet interface or
<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;Provider {</td><td>reference(<a href="computersystem.html#computersystem">ComputerSystem</a>)</td><td></td><td></td><td>read-only</td><td>The ComputerSystem providing this Interface.</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>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>}</td><td></td><td></td><td></td><td></td><td></td></tr>
<tr><td>PermanentMACAddress</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>This is the permanent MAC address assigned to this interface (port).<br />Pattern: ^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$</td></tr>
......@@ -136,7 +139,13 @@ Content-Type: application/json
<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
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"MaxSpeedMbps": 0,
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Provider": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/Systems/ComputerSystem1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
......
......@@ -27,6 +27,12 @@
"null"
],
"units": "Mbit/s"
},
"Provider": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem",
"description": "The ComputerSystem providing this Interface.",
"longDescription": "This object shall only contain a reference that complies to the ComputerSystem schema.",
"readonly": true
}
},
"type": "object"
......
......@@ -27,6 +27,12 @@
"null"
],
"units": "Mbit/s"
},
"Provider": {
"$ref": "http://redfish.dmtf.org/schemas/v1/ComputerSystem.json#/definitions/ComputerSystem",
"description": "The ComputerSystem providing this Interface.",
"longDescription": "This object shall only contain a reference that complies to the ComputerSystem schema.",
"readonly": true
}
},
"type": "object"
......
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