- Migration of the XML files to the version 1.1 of the XML schema.

- Refactoring of the "state flags" definitions to take advantage of the "inherit_flags_from" capability available in the new XML schema.

SVN:trunk[3363]
This commit is contained in:
Denis Flaven
2014-10-14 09:56:21 +00:00
parent bc79663a3e
commit fbdd0dfd57
19 changed files with 1123 additions and 4017 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1">
<classes>
<class id="Rack" _delta="define">
<parent>PhysicalDevice</parent>
@@ -769,7 +769,7 @@
<target_class>Rack</target_class>
<is_null_allowed>false</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="rack_name" xsi:type="AttributeExternalField">
<extkey_attcode>rack_id</extkey_attcode>
@@ -784,8 +784,8 @@
<target_class>PowerConnection</target_class>
<is_null_allowed>true</is_null_allowed>
<on_target_delete>DEL_MANUAL</on_target_delete>
<allow_target_creation>false</allow_target_creation>
<allow_target_creation>false</allow_target_creation>
<allow_target_creation>false</allow_target_creation>
<allow_target_creation>false</allow_target_creation>
</field>
<field id="powerstart_name" xsi:type="AttributeExternalField">
<extkey_attcode>powerstart_id</extkey_attcode>
@@ -958,25 +958,25 @@
</classes>
<menus>
<menu id="ConfigManagementOverview" xsi:type="DashboardMenuNode" _delta="must_exist">
<definition>
<cells>
<cell id="0" _delta="must_exist">
<dashlets>
<dashlet id="21" xsi:type="DashletBadge" _delta="define">
<rank>1</rank>
<class>Rack</class>
</dashlet>
<dashlet id="22" xsi:type="DashletBadge" _delta="define">
<rank>2</rank>
<class>Enclosure</class>
</dashlet>
<dashlet id="23" xsi:type="DashletBadge" _delta="define">
<rank>9</rank>
<class>PowerConnection</class>
</dashlet>
</dashlets>
</cell>
</cells>
<definition>
<cells>
<cell id="0" _delta="must_exist">
<dashlets>
<dashlet id="21" xsi:type="DashletBadge" _delta="define">
<rank>1</rank>
<class>Rack</class>
</dashlet>
<dashlet id="22" xsi:type="DashletBadge" _delta="define">
<rank>2</rank>
<class>Enclosure</class>
</dashlet>
<dashlet id="23" xsi:type="DashletBadge" _delta="define">
<rank>9</rank>
<class>PowerConnection</class>
</dashlet>
</dashlets>
</cell>
</cells>
</definition>
</menu>
</menus>