Commit a3795b54 by Gunnar Billung-Meyer

make VLANs and PCIeFunctions properties of Port resource nullable

parent bcd8a461
......@@ -43,13 +43,13 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the Switch or ComposedNode schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="PCIeFunctions" Type="PCIeFunctionCollection.PCIeFunctionCollection" Nullable="false">
<NavigationProperty Name="PCIeFunctions" Type="PCIeFunctionCollection.PCIeFunctionCollection">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of PCIeFunctions exposed by this port"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a collection of resources that comply to the PCIeFunction schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="VLANs" Type="VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection" Nullable="false">
<NavigationProperty Name="VLANs" Type="VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a reference to a collection of VLANs."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall reference a collection of VLAN resources."/>
......
......@@ -43,13 +43,13 @@
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference that complies to the Switch or ComposedNode schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="PCIeFunctions" Type="PCIeFunctionCollection.PCIeFunctionCollection" Nullable="false">
<NavigationProperty Name="PCIeFunctions" Type="PCIeFunctionCollection.PCIeFunctionCollection">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a link to a collection of PCIeFunctions exposed by this port"/>
<Annotation Term="OData.LongDescription" String="This object shall only contain a reference to a collection of resources that comply to the PCIeFunction schema."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="VLANs" Type="VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection" Nullable="false">
<NavigationProperty Name="VLANs" Type="VLanNetworkInterfaceCollection.VLanNetworkInterfaceCollection">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="This is a reference to a collection of VLANs."/>
<Annotation Term="OData.LongDescription" String="The value of this property shall reference a collection of VLAN resources."/>
......
......@@ -94,13 +94,13 @@ Port contains properties describing a port of a switch.
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HSLLInterface {</td><td>reference(<a href="hsllinterface.html#hsllinterface">HSLLInterface</a>)</td><td>Yes</td><td></td><td>read-only</td><td>This is a link to the HSLLInterface provided by this port</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;PCIeFunctions {</td><td>reference(<a href="pciefunctioncollection.html#pciefunctioncollection">PCIeFunctionCollection</a>)</td><td></td><td></td><td>read-only</td><td>This is a link to a collection of PCIeFunctions exposed by this port</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PCIeFunctions {</td><td>reference(<a href="pciefunctioncollection.html#pciefunctioncollection">PCIeFunctionCollection</a>)</td><td>Yes</td><td></td><td>read-only</td><td>This is a link to a collection of PCIeFunctions exposed by this port</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;Provider {</td><td>reference</td><td></td><td></td><td>read-only</td><td>The provider of this Port. This can either be a Switch or a ComposedNode.</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;VLANs {</td><td>reference(<a href="vlannetworkinterfacecollection.html#vlannetworkinterfacecollection">VLanNetworkInterfaceCollection</a>)</td><td></td><td></td><td>read-only</td><td>This is a reference to a collection of VLANs.</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VLANs {</td><td>reference(<a href="vlannetworkinterfacecollection.html#vlannetworkinterfacecollection">VLanNetworkInterfaceCollection</a>)</td><td>Yes</td><td></td><td>read-only</td><td>This is a reference to a collection of VLANs.</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>
......
......@@ -34,7 +34,14 @@
"readonly": true
},
"PCIeFunctions": {
"$ref": "PCIeFunctionCollection_v1.xml/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection",
"anyOf": [
{
"$ref": "PCIeFunctionCollection_v1.xml/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection"
},
{
"type": "null"
}
],
"description": "This is a link to a collection of PCIeFunctions exposed by this port",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the PCIeFunction schema.",
"readonly": true
......@@ -46,7 +53,14 @@
"readonly": true
},
"VLANs": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterfaceCollection.json#/definitions/VLanNetworkInterfaceCollection",
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterfaceCollection.json#/definitions/VLanNetworkInterfaceCollection"
},
{
"type": "null"
}
],
"description": "This is a reference to a collection of VLANs.",
"longDescription": "The value of this property shall reference a collection of VLAN resources.",
"readonly": true
......
......@@ -34,7 +34,14 @@
"readonly": true
},
"PCIeFunctions": {
"$ref": "PCIeFunctionCollection_v1.xml/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection",
"anyOf": [
{
"$ref": "PCIeFunctionCollection_v1.xml/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection"
},
{
"type": "null"
}
],
"description": "This is a link to a collection of PCIeFunctions exposed by this port",
"longDescription": "This object shall only contain a reference to a collection of resources that comply to the PCIeFunction schema.",
"readonly": true
......@@ -46,7 +53,14 @@
"readonly": true
},
"VLANs": {
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterfaceCollection.json#/definitions/VLanNetworkInterfaceCollection",
"anyOf": [
{
"$ref": "http://redfish.dmtf.org/schemas/v1/VLanNetworkInterfaceCollection.json#/definitions/VLanNetworkInterfaceCollection"
},
{
"type": "null"
}
],
"description": "This is a reference to a collection of VLANs.",
"longDescription": "The value of this property shall reference a collection of VLAN resources.",
"readonly": true
......
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