1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  VLanNetworkInterface v1.3.0                                         -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################       -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16  </edmx:Reference>
17  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
23  </edmx:Reference>
24  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
25    <edmx:Include Namespace="Resource.v1_0_0"/>
26  </edmx:Reference>
27
28  <edmx:DataServices>
29
30    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface">
31      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
32
33      <EntityType Name="VLanNetworkInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">
34        <Annotation Term="OData.Description" String="The VLanNetworkInterface schema describes a VLAN network instance that is available on a manager, system, or other device."/>
35        <Annotation Term="OData.LongDescription" String="This resource contains information for a VLAN network instance that is available on a manager, system, or other device for a Redfish implementation."/>
36        <Annotation Term="Capabilities.InsertRestrictions">
37          <Record>
38            <PropertyValue Property="Insertable" Bool="false"/>
39          </Record>
40        </Annotation>
41        <Annotation Term="Capabilities.UpdateRestrictions">
42          <Record>
43            <PropertyValue Property="Updatable" Bool="true"/>
44            <Annotation Term="OData.Description" String="VLAN network interfaces can be updated to enable or disable them or change their VLAN IDs."/>
45          </Record>
46        </Annotation>
47        <Annotation Term="Capabilities.DeleteRestrictions">
48          <Record>
49            <PropertyValue Property="Deletable" Bool="true"/>
50            <Annotation Term="OData.Description" String="In some implementations, VLAN network interfaces can be deleted.  However, because other implementations can keep a fixed number of interfaces in the collection, they do not allow deletion of interfaces."/>
51          </Record>
52        </Annotation>
53        <Annotation Term="Redfish.Uris">
54          <Collection>
55            <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs/{VLanNetworkInterfaceId}</String>
56            <String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
57            <String>/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
58            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
59            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
60            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
61            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
62          </Collection>
63        </Annotation>
64        <Annotation Term="Redfish.DeprecatedUris">
65          <Collection>
66            <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs/{VLanNetworkInterfaceId}</String>
67            <String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
68            <String>/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
69            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
70            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
71            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
72            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
73          </Collection>
74        </Annotation>
75        <Annotation Term="Redfish.Revisions">
76          <Collection>
77            <Record>
78              <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
79              <PropertyValue Property="Version" String="v1_3_0"/>
80              <PropertyValue Property="Description" String="This schema has been deprecated in favor of using individual EthernetInterface resources to show VLAN information."/>
81            </Record>
82          </Collection>
83        </Annotation>
84      </EntityType>
85
86      <ComplexType Name="VLAN" Abstract="true">
87        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
88        <Annotation Term="OData.Description" String="The attributes of a VLAN."/>
89        <Annotation Term="OData.LongDescription" String="This type shall contain any attributes of a VLAN."/>
90      </ComplexType>
91    </Schema>
92
93    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_0">
94      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
95      <Annotation Term="Redfish.Release" String="1.0"/>
96
97      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.VLanNetworkInterface">
98        <Property Name="VLANEnable" Type="Edm.Boolean">
99          <Annotation Term="Redfish.RequiredOnCreate"/>
100          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
101          <Annotation Term="OData.Description" String="An indication of whether this VLAN is enabled for this interface."/>
102          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this VLAN is enabled for this interface."/>
103        </Property>
104        <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
105          <Annotation Term="Redfish.RequiredOnCreate"/>
106          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
107          <Annotation Term="OData.Description" String="The ID for this VLAN."/>
108          <Annotation Term="OData.LongDescription" String="This property shall contain the ID for this VLAN."/>
109        </Property>
110      </EntityType>
111
112      <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.VLAN">
113        <Property Name="VLANEnable" Type="Edm.Boolean">
114          <Annotation Term="Redfish.RequiredOnCreate"/>
115          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
116          <Annotation Term="OData.Description" String="An indication of whether this VLAN is enabled for this VLAN network interface."/>
117          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this VLAN is enabled for this VLAN network interface."/>
118        </Property>
119        <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
120          <Annotation Term="Redfish.RequiredOnCreate"/>
121          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
122          <Annotation Term="OData.Description" String="The ID for this VLAN."/>
123          <Annotation Term="OData.LongDescription" String="This property shall contain the ID for this VLAN."/>
124        </Property>
125      </ComplexType>
126
127      <TypeDefinition Name="VLANId" UnderlyingType="Edm.Int64">
128        <Annotation Term="Validation.Minimum" Int="0"/>
129        <Annotation Term="Validation.Maximum" Int="4094"/>
130      </TypeDefinition>
131    </Schema>
132
133    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_1">
134      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
135      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
136      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_0.VLanNetworkInterface"/>
137    </Schema>
138
139    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_2">
140      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
141      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
142      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_1.VLanNetworkInterface"/>
143    </Schema>
144
145    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_3">
146      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
147      <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
148      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_2.VLanNetworkInterface"/>
149    </Schema>
150
151    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_4">
152      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
153      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
154      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_3.VLanNetworkInterface"/>
155    </Schema>
156
157    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_5">
158      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
159      <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
160      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface"/>
161    </Schema>
162
163    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_6">
164      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
165      <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."/>
166      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_5.VLanNetworkInterface"/>
167    </Schema>
168
169    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_7">
170      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
171      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
172      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_6.VLanNetworkInterface"/>
173    </Schema>
174
175    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_8">
176      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
178      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_7.VLanNetworkInterface"/>
179    </Schema>
180
181    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_9">
182      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
184      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_8.VLanNetworkInterface"/>
185    </Schema>
186
187    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_0">
188      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
189      <Annotation Term="Redfish.Release" String="2017.1"/>
190
191      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface">
192        <Property Name="Actions" Type="VLanNetworkInterface.v1_1_0.Actions" Nullable="false">
193          <Annotation Term="OData.Description" String="The available actions for this resource."/>
194          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
195        </Property>
196      </EntityType>
197
198      <ComplexType Name="Actions">
199        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
200        <Annotation Term="OData.Description" String="The available actions for this resource."/>
201        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
202        <Property Name="Oem" Type="VLanNetworkInterface.v1_1_0.OemActions" Nullable="false">
203          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
204          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
205        </Property>
206      </ComplexType>
207
208      <ComplexType Name="OemActions">
209        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
210        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
211        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
212      </ComplexType>
213    </Schema>
214
215    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_1">
216      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
217      <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
218      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_0.VLanNetworkInterface"/>
219    </Schema>
220
221    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_2">
222      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
223      <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."/>
224      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_1.VLanNetworkInterface"/>
225    </Schema>
226
227    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_3">
228      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
229      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format."/>
230      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_2.VLanNetworkInterface"/>
231    </Schema>
232
233    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_4">
234      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
235      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
236      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_3.VLanNetworkInterface"/>
237    </Schema>
238
239    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_5">
240      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
241      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
242      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_4.VLanNetworkInterface"/>
243    </Schema>
244
245    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_2_0">
246      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
247      <Annotation Term="OData.Description" String="This version was created to add VLAN priority."/>
248      <Annotation Term="Redfish.Release" String="2020.4"/>
249
250      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_5.VLanNetworkInterface">
251        <Property Name="VLANPriority" Type="VLanNetworkInterface.v1_2_0.VLANPriority">
252          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
253          <Annotation Term="OData.Description" String="The priority for this VLAN."/>
254          <Annotation Term="OData.LongDescription" String="This property shall contain the priority for this VLAN."/>
255        </Property>
256      </EntityType>
257
258      <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.v1_0_0.VLAN">
259        <Property Name="VLANPriority" Type="VLanNetworkInterface.v1_2_0.VLANPriority">
260          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
261          <Annotation Term="OData.Description" String="The priority for this VLAN."/>
262          <Annotation Term="OData.LongDescription" String="This property shall contain the priority for this VLAN."/>
263        </Property>
264      </ComplexType>
265
266      <TypeDefinition Name="VLANPriority" UnderlyingType="Edm.Int64">
267        <Annotation Term="Validation.Minimum" Int="0"/>
268        <Annotation Term="Validation.Maximum" Int="7"/>
269      </TypeDefinition>
270    </Schema>
271
272    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_3_0">
273      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
274      <Annotation Term="Redfish.Release" String="2021.2"/>
275
276      <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_2_0.VLanNetworkInterface"/>
277
278      <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.v1_2_0.VLAN">
279        <Property Name="Tagged" Type="Edm.Boolean">
280          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
281          <Annotation Term="OData.Description" String="An indication of whether this VLAN is tagged or untagged for this interface."/>
282          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this VLAN is tagged or untagged for this interface."/>
283        </Property>
284      </ComplexType>
285    </Schema>
286
287  </edmx:DataServices>
288</edmx:Edmx>
289