blob: cc293539cf0dce8b693e2c214a26631cc7832b16 [file] [log] [blame]
Ed Tanous710adfc2017-10-24 17:04:52 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: VLanNetworkInterface v1.1.2-->
Ed Tanous710adfc2017-10-24 17:04:52 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Ed Tanous710adfc2017-10-24 17:04:52 -07009<!--# 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"/>
Ed Tanous530520e2019-01-02 13:41:37 -080019 </edmx:Reference>
Ed Tanous710adfc2017-10-24 17:04:52 -070020 <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">
Jason M. Billsea4aa752018-06-05 13:29:11 -070031 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -070032
33 <EntityType Name="VLanNetworkInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">
34 <Annotation Term="OData.Description" String="This resource contains information for a Virtual LAN (VLAN) network instance available on a manager, system or other device."/>
35 <Annotation Term="Capabilities.InsertRestrictions">
36 <Record>
37 <PropertyValue Property="Insertable" Bool="false"/>
38 </Record>
39 </Annotation>
40 <Annotation Term="Capabilities.UpdateRestrictions">
41 <Record>
42 <PropertyValue Property="Updatable" Bool="true"/>
43 <Annotation Term="OData.Description" String="VLan Network Interfaces can be updated to change the VLan ID and to enable or disable it."/>
44 </Record>
45 </Annotation>
46 <Annotation Term="Capabilities.DeleteRestrictions">
47 <Record>
48 <PropertyValue Property="Deletable" Bool="true"/>
49 <Annotation Term="OData.Description" String="VLan Network Interface can be deleted in some implementations, though others may keep a fixed number in the collection and thus not allow deletion."/>
50 </Record>
51 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080052 <Annotation Term="Redfish.Uris">
53 <Collection>
54 <String>/redfish/v1/Chassis/{ChassisId}/NetworkAdapters/{NetworkAdapterId}/NetworkDeviceFunctions/{NetworkDeviceFunctionId}/Ethernet/VLANs/{VLanNetworkInterfaceId}</String>
55 <String>/redfish/v1/Managers/{ManagerId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
56 <String>/redfish/v1/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
57 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
58 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060059 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
60 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/EthernetInterfaces/{EthernetInterfaceId}/VLANs/{VLanNetworkInterfaceId}</String>
Ed Tanous530520e2019-01-02 13:41:37 -080061 </Collection>
62 </Annotation>
Ed Tanous710adfc2017-10-24 17:04:52 -070063 </EntityType>
64
Jason M. Billsea4aa752018-06-05 13:29:11 -070065 <ComplexType Name="VLAN" Abstract="true">
66 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
67 <Annotation Term="OData.Description" String="This type describes the attributes of a Virtual LAN."/>
68 <Annotation Term="OData.LongDescription" String="This type shall contain any attributes of a Virtual LAN."/>
69 </ComplexType>
70
Ed Tanous710adfc2017-10-24 17:04:52 -070071 </Schema>
72
73 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_0">
Jason M. Billsea4aa752018-06-05 13:29:11 -070074 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060075 <Annotation Term="Redfish.Release" String="1.0"/>
Ed Tanous710adfc2017-10-24 17:04:52 -070076
77 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.VLanNetworkInterface">
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 <Annotation Term="OData.Description" String="This resource describes the attributes of a Virtual LAN."/>
79 <Annotation Term="OData.LongDescription" String="This resource shall contain any attributes of a Virtual LAN."/>
Ed Tanous710adfc2017-10-24 17:04:52 -070080 <Property Name="VLANEnable" Type="Edm.Boolean">
81 <Annotation Term="Redfish.RequiredOnCreate"/>
82 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
83 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
84 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
85 </Property>
86 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
87 <Annotation Term="Redfish.RequiredOnCreate"/>
88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
89 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
90 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
91 </Property>
92 </EntityType>
93
Jason M. Billsea4aa752018-06-05 13:29:11 -070094 <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.VLAN">
Ed Tanous710adfc2017-10-24 17:04:52 -070095 <Property Name="VLANEnable" Type="Edm.Boolean">
96 <Annotation Term="Redfish.RequiredOnCreate"/>
97 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
98 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
99 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
100 </Property>
101 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
102 <Annotation Term="Redfish.RequiredOnCreate"/>
103 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
104 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
105 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
106 </Property>
107 </ComplexType>
108
109 <TypeDefinition Name="VLANId" UnderlyingType="Edm.Int64">
110 <Annotation Term="Validation.Minimum" Int="0"/>
111 <Annotation Term="Validation.Maximum" Int="4094"/>
112 </TypeDefinition>
113
114 </Schema>
115
116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_1">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700118 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
119 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_0.VLanNetworkInterface"/>
120 </Schema>
121
122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_2">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700124 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
125 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_1.VLanNetworkInterface"/>
126 </Schema>
127
128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_3">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700129 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700130 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
131 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_2.VLanNetworkInterface"/>
132 </Schema>
133
Jason M. Billsea4aa752018-06-05 13:29:11 -0700134 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_4">
135 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
136 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
137 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_3.VLanNetworkInterface"/>
138 </Schema>
139
140 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_5">
141 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
142 <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
143 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface"/>
144 </Schema>
145
Ed Tanous530520e2019-01-02 13:41:37 -0800146 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_6">
147 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
148 <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."/>
149 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_5.VLanNetworkInterface"/>
150 </Schema>
151
Jason M. Billsea4aa752018-06-05 13:29:11 -0700152 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_0">
153 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600154 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700155 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface">
156 <Property Name="Actions" Type="VLanNetworkInterface.v1_1_0.Actions" Nullable="false">
157 <Annotation Term="OData.Description" String="The available actions for this resource."/>
158 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
159 </Property>
160 </EntityType>
161
162 <ComplexType Name="Actions">
163 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
164 <Annotation Term="OData.Description" String="The available actions for this resource."/>
165 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800166 <Property Name="Oem" Type="VLanNetworkInterface.v1_1_0.OemActions" Nullable="false">
167 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
168 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
169 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700170 </ComplexType>
171
172 <ComplexType Name="OemActions">
173 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
174 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
175 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
176 </ComplexType>
177 </Schema>
178
179 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_1">
180 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
181 <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
182 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_0.VLanNetworkInterface"/>
183 </Schema>
184
Ed Tanous530520e2019-01-02 13:41:37 -0800185 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_2">
186 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
187 <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."/>
188 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_1.VLanNetworkInterface"/>
189 </Schema>
190
Ed Tanous710adfc2017-10-24 17:04:52 -0700191 </edmx:DataServices>
192</edmx:Edmx>