...
 
......@@ -19,9 +19,6 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Port_v1.xml">
<edmx:Include Namespace="Port"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeFunction_v1.xml">
<edmx:Include Namespace="PCIeFunction"/>
</edmx:Reference>
<edmx:DataServices>
......@@ -76,18 +73,6 @@
<Annotation Term="OData.Description" String="The instance number of this PCIe function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be the PCI instance number of the PCIe function."/>
</Property>
<NavigationProperty Name="PhysicalSuperFunction" Type="PCIeFunction.PCIeFunction">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="Reference to the physical PCIeFunction that provides this PCIeFunction, if it is a virtual function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the PCIeFunction resource that provides this PCIeFunction."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="VirtualSubFunctions" Type="Collection(PCIeFunction.PCIeFunction)">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="An array of references to virtual PCIeFunctions provided by this PCIeFunction, if it is a physical function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain references to the PCIeFunction resources that this function provides."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="Links" Type="EID_47597_RECSBox_PCIeFunction.v1_1_0.Links" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="RECS|Box PCIeFunction links extension."/>
......
......@@ -19,9 +19,6 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Port_v1.xml">
<edmx:Include Namespace="Port"/>
</edmx:Reference>
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/PCIeFunction_v1.xml">
<edmx:Include Namespace="PCIeFunction"/>
</edmx:Reference>
<edmx:DataServices>
......@@ -76,19 +73,7 @@
<Annotation Term="OData.Description" String="The instance number of this PCIe function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be the PCI instance number of the PCIe function."/>
</Property>
<NavigationProperty Name="PhysicalSuperFunction" Type="PCIeFunction.PCIeFunction">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="Reference to the physical PCIeFunction that provides this PCIeFunction, if it is a virtual function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall be a reference to the PCIeFunction resource that provides this PCIeFunction."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="VirtualSubFunctions" Type="Collection(PCIeFunction.PCIeFunction)">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="An array of references to virtual PCIeFunctions provided by this PCIeFunction, if it is a physical function."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall contain references to the PCIeFunction resources that this function provides."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<Property Name="Links" Type="EID_47597_RECSBox_PCIeFunction.v1_0_0.Links" Nullable="false">
<Property Name="Links" Type="EID_47597_RECSBox_PCIeFunction.v1_1_0.Links" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="RECS|Box PCIeFunction links extension."/>
</Property>
......@@ -96,6 +81,15 @@
<Annotation Term="OData.Description" String="RECS|Box PCIeFunction extension"/>
<Annotation Term="OData.LongDescription" String="RECS|Box PCIeFunction extension" />
</ComplexType>
<ComplexType Name="Links" BaseType="Resource.OemObject">
<NavigationProperty Name="Provider" Type="Resource.Item" Nullable="false">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The provider of this PCIeFunction. This can either be a PCIeDevice or a Port."/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the PCIeDevice or Port schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
</ComplexType>
</Schema>
</edmx:DataServices>
......
......@@ -132,14 +132,7 @@ This is the schema definition for the PCIeFunction resource. It represents the
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DomainId</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>The domain ID of this PCIe function.<br />Pattern: ^0[xX](([a-fA-F]|[0-9]){2}){2}$</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FunctionNumber</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The function number of this PCIe function.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InstanceNumber</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The instance number of this PCIe function.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PhysicalSuperFunction {</td><td>reference(<a href="pciefunction.html#pciefunction">PCIeFunction</a>)</td><td>Yes</td><td></td><td>read-only</td><td>Reference to the physical PCIeFunction that provides this PCIeFunction, if it is a virtual function.</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;&nbsp;&nbsp;&nbsp;&nbsp;SlotId</td><td>number</td><td>Yes</td><td></td><td>read-only</td><td>The slot ID of this PCIe function.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VirtualSubFunctions [ {</td><td>array[reference(<a href="pciefunction.html#pciefunction">PCIeFunction</a>)]</td><td></td><td></td><td>read-only</td><td>An array of references to virtual PCIeFunctions provided by this PCIeFunction, if it is a physical function.</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;&nbsp;&nbsp;&nbsp;&nbsp;VirtualSubFunctions@odata.count</td><td>number</td><td></td><td></td><td>read-only</td><td>The number of items in a collection.</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>RevisionId</td><td>string</td><td>Yes</td><td></td><td>read-only</td><td>The Revision ID of this PCIe function.<br />Pattern: ^0[xX](([a-fA-F]|[0-9]){2}){1}$</td></tr>
......@@ -226,21 +219,7 @@ Content-Type: application/json
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"InstanceNumber": 0,
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"PhysicalSuperFunction": {
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/PCIeDevices/PCIeDevice1/PCIeFunction1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"SlotId": 0,
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"VirtualSubFunctions": [{
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"@odata.id": "/redfish/v1/PCIeDevices/PCIeDevice1/PCIeFunction1"
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}],
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"VirtualSubFunctions@odata.count": 1
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"SlotId": 0
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
<br />
......
......@@ -87,19 +87,6 @@
"description": "RECS|Box PCIeFunction links extension.",
"readonly": true
},
"PhysicalSuperFunction": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
},
{
"type": "null"
}
],
"description": "Reference to the physical PCIeFunction that provides this PCIeFunction, if it is a virtual function.",
"longDescription": "The value of this property shall be a reference to the PCIeFunction resource that provides this PCIeFunction.",
"readonly": true
},
"SlotId": {
"description": "The slot ID of this PCIe function.",
"longDescription": "The value of this property shall be the PCI slot ID of the PCIe function.",
......@@ -108,18 +95,6 @@
"number",
"null"
]
},
"VirtualSubFunctions": {
"description": "An array of references to virtual PCIeFunctions provided by this PCIeFunction, if it is a physical function.",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
},
"longDescription": "The value of this property shall contain references to the PCIeFunction resources that this function provides.",
"readonly": true,
"type": "array"
},
"VirtualSubFunctions@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count"
}
},
"type": "object"
......
......@@ -87,19 +87,6 @@
"description": "RECS|Box PCIeFunction links extension.",
"readonly": true
},
"PhysicalSuperFunction": {
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
},
{
"type": "null"
}
],
"description": "Reference to the physical PCIeFunction that provides this PCIeFunction, if it is a virtual function.",
"longDescription": "The value of this property shall be a reference to the PCIeFunction resource that provides this PCIeFunction.",
"readonly": true
},
"SlotId": {
"description": "The slot ID of this PCIe function.",
"longDescription": "The value of this property shall be the PCI slot ID of the PCIe function.",
......@@ -108,18 +95,6 @@
"number",
"null"
]
},
"VirtualSubFunctions": {
"description": "An array of references to virtual PCIeFunctions provided by this PCIeFunction, if it is a physical function.",
"items": {
"$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunction.json#/definitions/PCIeFunction"
},
"longDescription": "The value of this property shall contain references to the PCIeFunction resources that this function provides.",
"readonly": true,
"type": "array"
},
"VirtualSubFunctions@odata.count": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_1.json#/definitions/count"
}
},
"type": "object"
......