blob: 82246427303852e94c08ccc412ef577aa39b5298 [file] [log] [blame]
Ed Tanous710adfc2017-10-24 17:04:52 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07004<!--# Redfish Schema: VLanNetworkInterface v1.1.1 -->
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 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07008<!--# Copyright 2014-2017 Distributed Management Task Force, Inc. (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"/>
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">
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>
52 </EntityType>
53
Jason M. Billsea4aa752018-06-05 13:29:11 -070054 <ComplexType Name="VLAN" Abstract="true">
55 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
56 <Annotation Term="OData.Description" String="This type describes the attributes of a Virtual LAN."/>
57 <Annotation Term="OData.LongDescription" String="This type shall contain any attributes of a Virtual LAN."/>
58 </ComplexType>
59
Ed Tanous710adfc2017-10-24 17:04:52 -070060 </Schema>
61
62 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_0">
Jason M. Billsea4aa752018-06-05 13:29:11 -070063 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -070064
65 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.VLanNetworkInterface">
Jason M. Billsea4aa752018-06-05 13:29:11 -070066 <Annotation Term="OData.Description" String="This resource describes the attributes of a Virtual LAN."/>
67 <Annotation Term="OData.LongDescription" String="This resource shall contain any attributes of a Virtual LAN."/>
Ed Tanous710adfc2017-10-24 17:04:52 -070068 <Property Name="VLANEnable" Type="Edm.Boolean">
69 <Annotation Term="Redfish.RequiredOnCreate"/>
70 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
71 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
72 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
73 </Property>
74 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
75 <Annotation Term="Redfish.RequiredOnCreate"/>
76 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
77 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
78 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
79 </Property>
80 </EntityType>
81
Jason M. Billsea4aa752018-06-05 13:29:11 -070082 <ComplexType Name="VLAN" BaseType="VLanNetworkInterface.VLAN">
Ed Tanous710adfc2017-10-24 17:04:52 -070083 <Property Name="VLANEnable" Type="Edm.Boolean">
84 <Annotation Term="Redfish.RequiredOnCreate"/>
85 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
86 <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
87 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
88 </Property>
89 <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
90 <Annotation Term="Redfish.RequiredOnCreate"/>
91 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
92 <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
93 <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
94 </Property>
95 </ComplexType>
96
97 <TypeDefinition Name="VLANId" UnderlyingType="Edm.Int64">
98 <Annotation Term="Validation.Minimum" Int="0"/>
99 <Annotation Term="Validation.Maximum" Int="4094"/>
100 </TypeDefinition>
101
102 </Schema>
103
104 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_1">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700105 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700106 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
107 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_0.VLanNetworkInterface"/>
108 </Schema>
109
110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_2">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanous710adfc2017-10-24 17:04:52 -0700112 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
113 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_1.VLanNetworkInterface"/>
114 </Schema>
115
116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_3">
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 add explicit Permissions annotations to all properties for clarity."/>
119 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_2.VLanNetworkInterface"/>
120 </Schema>
121
Jason M. Billsea4aa752018-06-05 13:29:11 -0700122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_4">
123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
124 <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_3.VLanNetworkInterface"/>
126 </Schema>
127
128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_5">
129 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
130 <Annotation Term="OData.Description" String="This version was created to add an abstract base type for VLAN."/>
131 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface"/>
132 </Schema>
133
134 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_0">
135 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
136 <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_4.VLanNetworkInterface">
137 <Property Name="Actions" Type="VLanNetworkInterface.v1_1_0.Actions" Nullable="false">
138 <Annotation Term="OData.Description" String="The available actions for this resource."/>
139 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/>
140 </Property>
141 </EntityType>
142
143 <ComplexType Name="Actions">
144 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
145 <Annotation Term="OData.Description" String="The available actions for this resource."/>
146 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
147 <Property Name="Oem" Type="VLanNetworkInterface.v1_1_0.OemActions" Nullable="false"/>
148 </ComplexType>
149
150 <ComplexType Name="OemActions">
151 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
152 <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/>
153 <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/>
154 </ComplexType>
155 </Schema>
156
157 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_1_1">
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_1_0.VLanNetworkInterface"/>
161 </Schema>
162
Ed Tanous710adfc2017-10-24 17:04:52 -0700163 </edmx:DataServices>
164</edmx:Edmx>