blob: beef8fc8cae21d65be89de4e1d819233aaf3cab1 [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>
59 </Collection>
60 </Annotation>
Ed Tanous710adfc2017-10-24 17:04:52 -070061 </EntityType>
62
Jason M. Billsea4aa752018-06-05 13:29:11 -070063 <ComplexType Name="VLAN" Abstract="true">
64 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
65 <Annotation Term="OData.Description" String="This type describes the attributes of a Virtual LAN."/>
66 <Annotation Term="OData.LongDescription" String="This type shall contain any attributes of a Virtual LAN."/>
67 </ComplexType>
68
Ed Tanous710adfc2017-10-24 17:04:52 -070069 </Schema>
70
71 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_0">
Jason M. Billsea4aa752018-06-05 13:29:11 -070072 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -070073
74 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.VLanNetworkInterface">
Jason M. Billsea4aa752018-06-05 13:29:11 -070075 <Annotation Term="OData.Description" String="This resource describes the attributes of a Virtual LAN."/>
76 <Annotation Term="OData.LongDescription" String="This resource shall contain any attributes of a Virtual LAN."/>
Ed Tanous710adfc2017-10-24 17:04:52 -070077 <Property Name="VLANEnable" Type="Edm.Boolean">
78 <Annotation Term="Redfish.RequiredOnCreate"/>
79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
80 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
81 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
82 </Property>
83 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
84 <Annotation Term="Redfish.RequiredOnCreate"/>
85 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
86 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
87 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
88 </Property>
89 </EntityType>
90
Jason M. Billsea4aa752018-06-05 13:29:11 -070091 <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.VLAN">
Ed Tanous710adfc2017-10-24 17:04:52 -070092 <Property Name="VLANEnable" Type="Edm.Boolean">
93 <Annotation Term="Redfish.RequiredOnCreate"/>
94 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
95 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
96 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
97 </Property>
98 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
99 <Annotation Term="Redfish.RequiredOnCreate"/>
100 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
101 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
102 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
103 </Property>
104 </ComplexType>
105
106 <TypeDefinition Name="VLANId" UnderlyingType="Edm.Int64">
107 <Annotation Term="Validation.Minimum" Int="0"/>
108 <Annotation Term="Validation.Maximum" Int="4094"/>
109 </TypeDefinition>
110
111 </Schema>
112
113 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_1">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700114 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700115 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
116 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_0.VLanNetworkInterface"/>
117 </Schema>
118
119 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_2">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700120 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700121 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
122 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_1.VLanNetworkInterface"/>
123 </Schema>
124
125 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_3">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700126 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700127 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
128 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_2.VLanNetworkInterface"/>
129 </Schema>
130
Jason M. Billsea4aa752018-06-05 13:29:11 -0700131 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_4">
132 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
133 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
134 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_3.VLanNetworkInterface"/>
135 </Schema>
136
137 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_5">
138 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
139 <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
140 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface"/>
141 </Schema>
142
Ed Tanous530520e2019-01-02 13:41:37 -0800143 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_6">
144 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
145 <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."/>
146 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_5.VLanNetworkInterface"/>
147 </Schema>
148
Jason M. Billsea4aa752018-06-05 13:29:11 -0700149 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_0">
150 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
151 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface">
152 <Property Name="Actions" Type="VLanNetworkInterface.v1_1_0.Actions" Nullable="false">
153 <Annotation Term="OData.Description" String="The available actions for this resource."/>
154 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
155 </Property>
156 </EntityType>
157
158 <ComplexType Name="Actions">
159 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
160 <Annotation Term="OData.Description" String="The available actions for this resource."/>
161 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800162 <Property Name="Oem" Type="VLanNetworkInterface.v1_1_0.OemActions" Nullable="false">
163 <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/>
164 <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/>
165 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700166 </ComplexType>
167
168 <ComplexType Name="OemActions">
169 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
170 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
171 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
172 </ComplexType>
173 </Schema>
174
175 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_1">
176 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177 <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
178 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_0.VLanNetworkInterface"/>
179 </Schema>
180
Ed Tanous530520e2019-01-02 13:41:37 -0800181 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_2">
182 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183 <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."/>
184 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_1_1.VLanNetworkInterface"/>
185 </Schema>
186
Ed Tanous710adfc2017-10-24 17:04:52 -0700187 </edmx:DataServices>
188</edmx:Edmx>