summaryrefslogtreecommitdiff
path: root/static/redfish/v1/schema/OemComputerSystem_v1.xml
blob: 6588f0ac54705d84a143138eda9557a519ec565a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="UTF-8"?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
    <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
        <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData" />
    </edmx:Reference>
    <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
        <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
        <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
    </edmx:Reference>
    <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ComputerSystem_v1.xml">
        <edmx:Include Namespace="ComputerSystem"/>
        <edmx:Include Namespace="ComputerSystem.v1_4_0"/>
    </edmx:Reference>
    <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
        <edmx:Include Namespace="Resource"/>
        <edmx:Include Namespace="Resource.v1_0_0"/>
    </edmx:Reference>

    <edmx:DataServices>
        <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OemComputerSystem">
            <ComplexType Name="Oem" BaseType="Resource.OemObject">
                <Annotation Term="OData.AdditionalProperties" Bool="true" />
                <Annotation Term="OData.Description" String="OemComputerSystem Oem properties." />
                <Annotation Term="OData.AutoExpand"/>
                <Property Name="OpenBmc" Type="OemComputerSystem.OpenBmc"/>
            </ComplexType>

            <ComplexType Name="OpenBmc" BaseType="Resource.OemObject">
                <Annotation Term="OData.AdditionalProperties" Bool="true" />
                <Annotation Term="OData.Description" String="Oem properties for OpenBmc." />
                <Annotation Term="Redfish.DynamicPropertyPatterns">
                    <Collection>
                        <NavigationProperty Type="OemComputerSystem.FirmwareProvisioning">
                            <Annotation Term="OData.AutoExpand"/>
                            <PropertyValue Property="Pattern" String="[A-Za-z0-9_.:]+" />
                            <PropertyValue Property="Type" String="OemComputerSystem.FirmwareProvisioning" />
                        </NavigationProperty>
                    </Collection>
                </Annotation>
            </ComplexType>

            <ComplexType Name="FirmwareProvisioning" BaseType="Resource.OemObject">
                <Annotation Term="OData.AdditionalProperties" Bool="false" />
                <Annotation Term="OData.Description" String="Configuration data for platform firmware provisioning." />
                <Property Name="ProvisioningStatus" Type="OemComputerSystem.FirmwareProvisioningStatus">
                    <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
                    <Annotation Term="OData.Description" String="This indicates platform firmware provisioning state."/>
                    <Annotation Term="OData.LongDescription" String="The value of this property indicating provisioning status of platform firmware."/>
                </Property>
            </ComplexType>

            <EnumType Name="FirmwareProvisioningStatus">
                <Member Name="NotProvisioned">
                    <Annotation Term="OData.Description" String="Platform firmware is not provisioned."/>
                    <Annotation Term="OData.LongDescription" String="Platform firmware is not provisioned."/>
                </Member>
                <Member Name="ProvisionedButNotLocked">
                    <Annotation Term="OData.Description" String="Platform firmware is provisioned but not locked."/>
                    <Annotation Term="OData.LongDescription" String="Platform firmware is provisioned but not locked. So re-provisioning is allowed in this state."/>
                </Member>
                <Member Name="ProvisionedAndLocked">
                    <Annotation Term="OData.Description" String="Platform firmware is provisioned and locked."/>
                    <Annotation Term="OData.LongDescription" String="Platform firmware is provisioned and locked. So re-provisioning is not allowed in this state."/>
                </Member>
            </EnumType>
        </Schema>
    </edmx:DataServices>
</edmx:Edmx>