Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: VLanNetworkInterface v1.0.3 -->
|
| 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-2016 Distributed Management Task Force, Inc. (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 |
|
| 32 | <EntityType Name="VLanNetworkInterface" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 33 | <Annotation Term="OData.Description" String="This resource contains information for a Virtual LAN (VLAN) network instance available on a manager, system or other device."/>
|
| 34 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 35 | <Record>
|
| 36 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 37 | </Record>
|
| 38 | </Annotation>
|
| 39 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 40 | <Record>
|
| 41 | <PropertyValue Property="Updatable" Bool="true"/>
|
| 42 | <Annotation Term="OData.Description" String="VLan Network Interfaces can be updated to change the VLan ID and to enable or disable it."/>
|
| 43 | </Record>
|
| 44 | </Annotation>
|
| 45 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 46 | <Record>
|
| 47 | <PropertyValue Property="Deletable" Bool="true"/>
|
| 48 | <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."/>
|
| 49 | </Record>
|
| 50 | </Annotation>
|
| 51 | </EntityType>
|
| 52 |
|
| 53 | </Schema>
|
| 54 |
|
| 55 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_0">
|
| 56 |
|
| 57 | <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.VLanNetworkInterface">
|
| 58 | <Property Name="VLANEnable" Type="Edm.Boolean">
|
| 59 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 60 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 61 | <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
|
| 62 | <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
|
| 63 | </Property>
|
| 64 | <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
|
| 65 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 66 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 67 | <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
|
| 68 | <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
|
| 69 | </Property>
|
| 70 | </EntityType>
|
| 71 |
|
| 72 | <ComplexType Name="VLAN">
|
| 73 | <Annotation Term="OData.AdditionalProperties" Bool="false"/>
|
| 74 | <Property Name="VLANEnable" Type="Edm.Boolean">
|
| 75 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 76 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 77 | <Annotation Term="OData.Description" String="This indicates if this VLAN is enabled."/>
|
| 78 | <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate if this VLAN is enabled for this interface."/>
|
| 79 | </Property>
|
| 80 | <Property Name="VLANId" Type="VLanNetworkInterface.v1_0_0.VLANId">
|
| 81 | <Annotation Term="Redfish.RequiredOnCreate"/>
|
| 82 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
|
| 83 | <Annotation Term="OData.Description" String="This indicates the VLAN identifier for this VLAN."/>
|
| 84 | <Annotation Term="OData.LongDescription" String="The value of this property shall be used to indicate the VLAN identifier for this VLAN."/>
|
| 85 | </Property>
|
| 86 | </ComplexType>
|
| 87 |
|
| 88 | <TypeDefinition Name="VLANId" UnderlyingType="Edm.Int64">
|
| 89 | <Annotation Term="Validation.Minimum" Int="0"/>
|
| 90 | <Annotation Term="Validation.Maximum" Int="4094"/>
|
| 91 | </TypeDefinition>
|
| 92 |
|
| 93 | </Schema>
|
| 94 |
|
| 95 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_1">
|
| 96 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 97 | <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_0.VLanNetworkInterface"/>
|
| 98 | </Schema>
|
| 99 |
|
| 100 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_2">
|
| 101 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 102 | <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_1.VLanNetworkInterface"/>
|
| 103 | </Schema>
|
| 104 |
|
| 105 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="VLanNetworkInterface.v1_0_3">
|
| 106 | <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
|
| 107 | <EntityType Name="VLanNetworkInterface" BaseType="VLanNetworkInterface.v1_0_2.VLanNetworkInterface"/>
|
| 108 | </Schema>
|
| 109 |
|
| 110 | </edmx:DataServices>
|
| 111 | </edmx:Edmx>
|