6.2. Upgrading Compatibility Levels

Example 6.1. Upgrading compatibility levels

The API reports the following compatibility levels for Red Hat Enterprise Virtualization Manager 3.0 instance:
<host ...>
    ...
    <version major="3" minor="0"/>
    ...
</host>

<cluster ...>
    ...
    <version major="3" minor="0"/>
    <supported_versions/>
    ...
</cluster>

<data_center ...>
    ...
    <version major="3" minor="0"/>
    <supported_versions/>
    ...
</data_center>
All hosts within a cluster are updated to VDSM 3.1 and the API reports:
<host ...>
    ...
    <version major="3" minor="1"/>
    ...
</host>

<cluster ...>
    ...
    <version major="3" minor="0"/>
    <supported_versions>
        <version major="3" minor="1"/>
    </supported_versions>
    ...
</cluster>

<data_center ...>
    ...
    <version major="3" minor="0"/>
    <supported_versions/>
    ...
</data_center>
The cluster is now updatable to 3.1. When the cluster is updated, the API reports:
<cluster ...>
    ...
    <version major="3" minor="1"/>
    <supported_versions/>
    ...
</cluster>

<data_center ...>
    ...
    <version major="3" minor="0"/>
    <supported_versions>
        <version major="3" minor="1"/>
    </supported_versions>
    ...
</data_center>
The API user updates the data center to 3.1. Once upgraded, the API exposes features available in Red Hat Enterprise Virtualization 3.1 for this data center.