{
    "@odata.type": "#ComputerSystem.v1_1_0.ComputerSystem",
    "Id": {{ identity|string|tojson }},
    "Name": {{ name|string|tojson }},
    "UUID": {{ uuid|string|tojson }},
    "Status": {
        "State": "Enabled",
        "Health": "OK",
        "HealthRollUp": "OK"
    },
    {%- if power_state %}
    "PowerState": {{ power_state|string|tojson }},
    {%- endif %}
    "Boot": {
        {%- if boot_source_target %}
        "BootSourceOverrideEnabled": "Continuous",
        "BootSourceOverrideTarget": {{ boot_source_target|string|tojson }},
        "BootSourceOverrideTarget@Redfish.AllowableValues": [
            "Pxe",
            "Cd",
            "Hdd"
        {%- if boot_source_mode %}
        ],
        {%- if 'uefi' in boot_source_mode.lower() %}
        "BootSourceOverrideMode": {{ boot_source_mode|string|tojson }},
        "UefiTargetBootSourceOverride": "/0x31/0x33/0x01/0x01"
        {%- else %}
        "BootSourceOverrideMode": {{ boot_source_mode|string|tojson }}
        {%- endif %}
        {%- else %}
        ]
        {%- endif %}
        {%- else %}
        "BootSourceOverrideEnabled": "Continuous"
        {%- endif %}
    },
    "ProcessorSummary": {
        {%- if total_cpus %}
        "Count": {{ total_cpus }},
        {%- endif %}
        "Status": {
            "State": "Enabled",
            "Health": "OK",
            "HealthRollUp": "OK"
        }
    },
    "MemorySummary": {
        {%- if total_memory_gb %}
        "TotalSystemMemoryGiB": {{ total_memory_gb }},
        {%- endif %}
        "Status": {
            "State": "Enabled",
            "Health": "OK",
            "HealthRollUp": "OK"
        }
    },
    "Bios": {
        "@odata.id": {{ "/redfish/v1/Systems/%s/BIOS"|format(identity)|tojson }}
    },
    "Processors": {
        "@odata.id": {{ "/redfish/v1/Systems/%s/Processors"|format(identity)|tojson }}
    },
    "Memory": {
        "@odata.id": {{ "/redfish/v1/Systems/%s/Memory"|format(identity)|tojson }}
    },
    "EthernetInterfaces": {
        "@odata.id": {{ "/redfish/v1/Systems/%s/EthernetInterfaces"|format(identity)|tojson }}
    },
    "SimpleStorage": {
        "@odata.id": {{ "/redfish/v1/Systems/%s/SimpleStorage"|format(identity)|tojson }}
    },
    "Links": {
        "Chassis": [
        ],
        "ManagedBy": [
        ]
    },
    "Actions": {
        "#ComputerSystem.Reset": {
            "target": {{ "/redfish/v1/Systems/%s/Actions/ComputerSystem.Reset"|format(identity)|tojson }},
            "ResetType@Redfish.AllowableValues": [
                "On",
                "ForceOff",
                "GracefulShutdown",
                "GracefulRestart",
                "ForceRestart",
                "Nmi",
                "ForceOn"
            ]
        }
    },
    "@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
    "@odata.id": {{ "/redfish/v1/Systems/%s"|format(identity)|tojson }},
    "@Redfish.Copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright."
}
