Update schema files to 2018.2

Redfish schema 2018.2 was released on September 20th, 2018.  While there
aren't any plans to utilize any of the new services, it makes sense to
keep up to date with the latest static data.

This commit was largely done automatically using the update_schemas.py
script.

Change-Id: Ieaa9f1ab2a47244ef201cfe9a064744d7d156745
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/static/redfish/v1/schema/NetworkAdapter_v1.xml b/static/redfish/v1/schema/NetworkAdapter_v1.xml
index 3fcf5a6..50ab323 100644
--- a/static/redfish/v1/schema/NetworkAdapter_v1.xml
+++ b/static/redfish/v1/schema/NetworkAdapter_v1.xml
@@ -1,15 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>

 <!---->

 <!--################################################################################       -->

-<!--# Redfish Schema:  NetworkAdapter  v1.1.0-->

+<!--# Redfish Schema:  NetworkAdapter  v1.2.0-->

 <!--#                                                                                      -->

 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->

 <!--# available at http://www.dmtf.org/standards/redfish                                   -->

-<!--# Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF).                  -->

+<!--# Copyright 2014-2018 DMTF.                                                            -->

 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->

 <!--################################################################################       -->

 <!---->

 <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">

+

   <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">

     <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>

   </edmx:Reference>

@@ -65,6 +66,11 @@
             <PropertyValue Property="Deletable" Bool="false"/>

           </Record>

         </Annotation>

+        <Annotation Term="Redfish.Uris">

+          <Collection>

+            <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}</String>

+          </Collection>

+        </Annotation>

       </EntityType>

 

       <Action Name="ResetSettingsToDefault" IsBound="true">

@@ -81,15 +87,20 @@
       <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.NetworkAdapter">

         <Annotation Term="OData.Description" String="A NetworkAdapter represents the physical network adapter capable of connecting to a computer network.  Examples include but are not limited to Ethernet, Fibre Channel, and converged network adapters."/>

         <Annotation Term="OData.LongDescription" String="A NetworkAdapter represents the physical network adapter capable of connecting to a computer network.  Examples include but are not limited to Ethernet, Fibre Channel, and converged network adapters."/>

-        <Property Name="Status" Type="Resource.Status"/>

+        <Property Name="Status" Type="Resource.Status" Nullable="false">

+          <Annotation Term="OData.Description" String="This property describes the status and health of the resource and its children."/>

+          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>

+        </Property>

         <NavigationProperty Name="NetworkPorts" Type="NetworkPortCollection.NetworkPortCollection" ContainsTarget="true" Nullable="false">

           <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

-          <Annotation Term="OData.Description" String="Contains the members of this collection."/>

+          <Annotation Term="OData.Description" String="A reference to the collection of NetworkPorts associated with this NetworkAdapter."/>

+          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a collection of type NetworkPortCollection."/>

           <Annotation Term="OData.AutoExpandReferences"/>

         </NavigationProperty>

         <NavigationProperty Name="NetworkDeviceFunctions" Type="NetworkDeviceFunctionCollection.NetworkDeviceFunctionCollection" ContainsTarget="true" Nullable="false">

           <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

-          <Annotation Term="OData.Description" String="Contains the members of this collection."/>

+          <Annotation Term="OData.Description" String="A reference to the collection of NetworkDeviceFunctions associated with this NetworkAdapter."/>

+          <Annotation Term="OData.LongDescription" String="The value of this property shall be a link to a collection of type NetworkDeviceFunctionCollection."/>

           <Annotation Term="OData.AutoExpandReferences"/>

         </NavigationProperty>

         <Property Name="Manufacturer" Type="Edm.String">

@@ -131,7 +142,10 @@
         <Annotation Term="OData.AdditionalProperties" Bool="false"/>

         <Annotation Term="OData.Description" String="The available actions for this resource."/>

         <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>

-        <Property Name="Oem" Type="NetworkAdapter.v1_0_0.OemActions" Nullable="false"/>

+        <Property Name="Oem" Type="NetworkAdapter.v1_0_0.OemActions" Nullable="false">

+          <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>

+          <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>

+        </Property>

       </ComplexType>

 

       <ComplexType Name="OemActions">

@@ -220,17 +234,20 @@
         <Annotation Term="OData.LongDescription" String="This type, as described by the Redfish Specification, shall contain references to resources that are related to, but not contained by (subordinate to), this resource."/>

         <NavigationProperty Name="PCIeDevices" Type="Collection(PCIeDevice.PCIeDevice)">

           <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

-          <Annotation Term="OData.Description" String="Contains the members of this collection."/>

+          <Annotation Term="OData.Description" String="An array of references to the PCIeDevices associated with this Network Controller."/>

+          <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type PCIeDevice that represent the PCI-e Devices associated with this Network Controller."/>

           <Annotation Term="OData.AutoExpandReferences"/>

         </NavigationProperty>

         <NavigationProperty Name="NetworkPorts" Type="Collection(NetworkPort.NetworkPort)">

           <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

-          <Annotation Term="OData.Description" String="Contains the members of this collection."/>

+          <Annotation Term="OData.Description" String="An array of references to the NetworkPorts associated with this Network Controller."/>

+          <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type NetworkPort that represent the Network Ports associated with this Network Controller."/>

           <Annotation Term="OData.AutoExpandReferences"/>

         </NavigationProperty>

         <NavigationProperty Name="NetworkDeviceFunctions" Type="Collection(NetworkDeviceFunction.NetworkDeviceFunction)">

           <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

-          <Annotation Term="OData.Description" String="Contains the members of this collection."/>

+          <Annotation Term="OData.Description" String="An array of references to the NetworkDeviceFunctions associated with this Network Controller."/>

+          <Annotation Term="OData.LongDescription" String="The value of this property shall be an array of references of type NetworkDeviceFunction that represent the Network Device Functions associated with this Network Controller."/>

           <Annotation Term="OData.AutoExpandReferences"/>

         </NavigationProperty>

       </ComplexType>

@@ -249,6 +266,8 @@
         <Annotation Term="OData.Description" String="A Virtualization offload capability of a controller."/>

         <Annotation Term="OData.LongDescription" String="This type shall describe the capability, status, and configuration values related to a virtualization offload for a controller."/>

         <Property Name="VirtualFunction" Type="NetworkAdapter.v1_0_0.VirtualFunction">

+          <Annotation Term="OData.Description" String="The virtual function of the controller."/>

+          <Annotation Term="OData.LongDescription" String="This property shall describe the capability, status, and configuration values related to the virtual function for this controller."/>

         </Property>

         <Property Name="SRIOV" Type="NetworkAdapter.v1_0_0.SRIOV">

           <Annotation Term="OData.Description" String="Single-Root Input/Output Virtualization (SR-IOV) capabilities."/>

@@ -279,6 +298,12 @@
       <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.v1_0_0.NetworkAdapter"/>

     </Schema>

 

+    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapter.v1_0_2">

+      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>

+      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>

+      <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.v1_0_1.NetworkAdapter"/>

+    </Schema>

+

     <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapter.v1_1_0">

       <Annotation Term="Redfish.OwningEntity" String="DMTF"/>

       <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.v1_0_1.NetworkAdapter">

@@ -291,7 +316,50 @@
       </EntityType>

 

       <ComplexType Name="Controllers" BaseType="NetworkAdapter.v1_0_0.Controllers">

-        <Property Name="Location" Type="Resource.Location" Nullable="false"/>

+        <Property Name="Location" Type="Resource.Location" Nullable="false">

+          <Annotation Term="OData.Description" String="The Location of the network adapter controller."/>

+          <Annotation Term="OData.LongDescription" String="This property shall contain location information of the associated network adapter controller."/>

+        </Property>

+      </ComplexType>

+    </Schema>

+

+    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapter.v1_1_1">

+      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>

+      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>

+      <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.v1_1_0.NetworkAdapter"/>

+    </Schema>

+

+    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="NetworkAdapter.v1_2_0">

+      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>

+      <EntityType Name="NetworkAdapter" BaseType="NetworkAdapter.v1_1_1.NetworkAdapter"/>

+

+      <ComplexType Name="Controllers" BaseType="NetworkAdapter.v1_1_0.Controllers">

+        <Property Name="PCIeInterface" Type="PCIeDevice.PCIeInterface">

+          <Annotation Term="OData.Description" String="The PCIe interface details for this controller."/>

+          <Annotation Term="OData.LongDescription" String="This object shall contain details on the PCIe interface used to connect this PCIe-based controller to its host."/>

+        </Property>

+      </ComplexType>

+

+      <ComplexType Name="ControllerCapabilities" BaseType="NetworkAdapter.v1_0_0.ControllerCapabilities">

+        <Property Name="NPAR" Type="NetworkAdapter.v1_2_0.NicPartitioning">

+          <Annotation Term="OData.Description" String="NIC Partitioning (NPAR) capabilities for this controller."/>

+          <Annotation Term="OData.LongDescription" String="This object shall contain capability, status, and configuration values related to NIC partitioning for this controller."/>

+        </Property>

+      </ComplexType>

+

+      <ComplexType Name="NicPartitioning">

+        <Annotation Term="OData.Description" String="NIC Partitioning capability, status, and configuration for a controller."/>

+        <Annotation Term="OData.LongDescription" String="This type shall contain the capability, status, and configuration values for a controller."/>

+        <Property Name="NparCapable" Type="Edm.Boolean">

+          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>

+          <Annotation Term="OData.Description" String="Indicates whether or not NIC function partitioning is supported by a controller."/>

+          <Annotation Term="OData.LongDescription" String="This property shall indicate the ability of a controller to support NIC function partitioning."/>

+        </Property>

+        <Property Name="NparEnabled" Type="Edm.Boolean">

+          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>

+          <Annotation Term="OData.Description" String="When true, NIC function partitioning is active on this controller."/>

+          <Annotation Term="OData.LongDescription" String="This property shall indicate whether or not NIC function partitioning is active on this controller."/>

+        </Property>

       </ComplexType>

     </Schema>