Update Redfish Schema to 2018.1

Change-Id: I4e5d5d49b4524c8a4d73ae0117fcf7e9aedfbb79
diff --git a/static/redfish/v1/schema/NetworkInterface_v1.xml b/static/redfish/v1/schema/NetworkInterface_v1.xml
old mode 100755
new mode 100644
index 54121a2..16a2dd1
--- a/static/redfish/v1/schema/NetworkInterface_v1.xml
+++ b/static/redfish/v1/schema/NetworkInterface_v1.xml
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>

 <!---->

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

-<!--# Redfish Schema:  NetworkInterface  v1.0.0-->

+<!--# Redfish Schema:  NetworkInterface  v1.1.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-2016 Distributed Management Task Force, Inc. (DMTF).                  -->

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

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

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

 <!---->

@@ -20,6 +20,9 @@
     <edmx:Include Namespace="Resource"/>

     <edmx:Include Namespace="Resource.v1_0_0"/>

   </edmx:Reference>

+  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">

+    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>

+  </edmx:Reference>

   <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/NetworkAdapter_v1.xml">

     <edmx:Include Namespace="NetworkAdapter"/>

   </edmx:Reference>

@@ -33,6 +36,7 @@
   <edmx:DataServices>

 

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

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

 

       <EntityType Name="NetworkInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">

         <Annotation Term="OData.Description" String="A NetworkInterface contains references linking NetworkAdapter, NetworkPort, and NetworkDeviceFunction resources and represents the functionality available to the containing system."/>

@@ -57,6 +61,7 @@
     </Schema>

 

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

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

 

       <EntityType Name="NetworkInterface" BaseType="NetworkInterface.NetworkInterface">

         <Annotation Term="OData.Description" String="A NetworkInterface contains references linking NetworkAdapter, NetworkPort, and NetworkDeviceFunction resources and represents the functionality available to the containing system."/>

@@ -66,12 +71,12 @@
           <Annotation Term="OData.Description" String="Links."/>

           <Annotation Term="OData.LongDescription" String="Links for this controller."/>

         </Property>

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

+        <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.AutoExpandReferences"/>

         </NavigationProperty>

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

+        <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.AutoExpandReferences"/>

@@ -79,6 +84,8 @@
       </EntityType>

 

       <ComplexType Name="Links" BaseType="Resource.Links">

+        <Annotation Term="OData.Description" String="Contains references to other resources that are related to this resource."/>

+        <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="NetworkAdapter" Type="NetworkAdapter.NetworkAdapter" Nullable="false">

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

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

@@ -88,5 +95,34 @@
 

     </Schema>

 

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

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

+      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>

+      <EntityType Name="NetworkInterface" BaseType="NetworkInterface.v1_0_0.NetworkInterface"/>

+    </Schema>

+

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

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

+      <EntityType Name="NetworkInterface" BaseType="NetworkInterface.v1_0_1.NetworkInterface">

+        <Property Name="Actions" Type="NetworkInterface.v1_1_0.Actions" Nullable="false">

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

+          <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>

+        </Property>

+      </EntityType>

+

+      <ComplexType Name="Actions">

+        <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="NetworkInterface.v1_1_0.OemActions" Nullable="false"/>

+      </ComplexType>

+

+      <ComplexType Name="OemActions">

+        <Annotation Term="OData.AdditionalProperties" Bool="true"/>

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

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

+      </ComplexType>

+    </Schema>

+

   </edmx:DataServices>

 </edmx:Edmx>