Skip to content

Commit 499b3bc

Browse files
authored
N°7570 - feat(Typology): Add useful tabs to certain typology classes (#756)
1 parent 4853ca4 commit 499b3bc

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4415,6 +4415,11 @@
44154415
<extkey_attcode>osfamily_id</extkey_attcode>
44164416
<target_attcode>name</target_attcode>
44174417
</field>
4418+
<field id="ospatches_list" xsi:type="AttributeLinkedSet">
4419+
<linked_class>OSPatch</linked_class>
4420+
<ext_key_to_me>osversion_id</ext_key_to_me>
4421+
<edit_mode>in_place</edit_mode>
4422+
</field>
44184423
</fields>
44194424
<methods/>
44204425
<presentation>
@@ -4426,6 +4431,9 @@
44264431
<item id="osfamily_id">
44274432
<rank>20</rank>
44284433
</item>
4434+
<item id="ospatches_list">
4435+
<rank>30</rank>
4436+
</item>
44294437
</items>
44304438
</details>
44314439
<search>
@@ -4481,6 +4489,11 @@
44814489
<storage_max_height>128</storage_max_height>
44824490
<is_null_allowed>true</is_null_allowed>
44834491
</field>
4492+
<field id="osversions_list" xsi:type="AttributeLinkedSet">
4493+
<linked_class>OSVersion</linked_class>
4494+
<ext_key_to_me>osfamily_id</ext_key_to_me>
4495+
<edit_mode>in_place</edit_mode>
4496+
</field>
44844497
</fields>
44854498
<methods/>
44864499
<presentation>
@@ -4492,6 +4505,9 @@
44924505
<item id="logo">
44934506
<rank>20</rank>
44944507
</item>
4508+
<item id="osversions_list">
4509+
<rank>30</rank>
4510+
</item>
44954511
</items>
44964512
</details>
44974513
<search>
@@ -4563,6 +4579,16 @@
45634579
<count_max>0</count_max>
45644580
<duplicates/>
45654581
</field>
4582+
<field id="models_list" xsi:type="AttributeLinkedSet">
4583+
<linked_class>Model</linked_class>
4584+
<ext_key_to_me>brand_id</ext_key_to_me>
4585+
<edit_mode>in_place</edit_mode>
4586+
</field>
4587+
<field id="iosversions_list" xsi:type="AttributeLinkedSet">
4588+
<linked_class>IOSVersion</linked_class>
4589+
<ext_key_to_me>brand_id</ext_key_to_me>
4590+
<edit_mode>in_place</edit_mode>
4591+
</field>
45664592
</fields>
45674593
<methods/>
45684594
<presentation>
@@ -4574,9 +4600,15 @@
45744600
<item id="logo">
45754601
<rank>20</rank>
45764602
</item>
4577-
<item id="physicaldevices_list">
4603+
<item id="models_list">
45784604
<rank>30</rank>
45794605
</item>
4606+
<item id="physicaldevices_list">
4607+
<rank>40</rank>
4608+
</item>
4609+
<item id="iosversions_list">
4610+
<rank>50</rank>
4611+
</item>
45804612
</items>
45814613
</details>
45824614
<search>
@@ -4894,6 +4926,11 @@
48944926
<extkey_attcode>brand_id</extkey_attcode>
48954927
<target_attcode>name</target_attcode>
48964928
</field>
4929+
<field id="networkdevices_list" xsi:type="AttributeLinkedSet">
4930+
<linked_class>NetworkDevice</linked_class>
4931+
<ext_key_to_me>iosversion_id</ext_key_to_me>
4932+
<edit_mode>add_only</edit_mode>
4933+
</field>
48974934
</fields>
48984935
<methods/>
48994936
<presentation>
@@ -4905,6 +4942,9 @@
49054942
<item id="brand_id">
49064943
<rank>20</rank>
49074944
</item>
4945+
<item id="networkdevices_list">
4946+
<rank>30</rank>
4947+
</item>
49084948
</items>
49094949
</details>
49104950
<search>

datamodels/2.x/itop-config-mgmt/dictionaries/en.dict.itop-config-mgmt.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,8 @@
10731073
'Class:OSVersion/Attribute:osfamily_id+' => '',
10741074
'Class:OSVersion/Attribute:osfamily_name' => 'OS family name',
10751075
'Class:OSVersion/Attribute:osfamily_name+' => '',
1076+
'Class:OSVersion/Attribute:ospatches_list' => 'OS patches',
1077+
'Class:OSVersion/Attribute:ospatches_list+' => 'All the OS patches for this OS version',
10761078
]);
10771079

10781080
//
@@ -1082,6 +1084,8 @@
10821084
Dict::Add('EN US', 'English', 'English', [
10831085
'Class:OSFamily' => 'OS Family',
10841086
'Class:OSFamily+' => '',
1087+
'Class:OSFamily/Attribute:osversions_list' => 'OS versions',
1088+
'Class:OSFamily/Attribute:osversions_list+' => 'All the OS versions for this OS family',
10851089
]);
10861090

10871091
//
@@ -1091,8 +1095,12 @@
10911095
Dict::Add('EN US', 'English', 'English', [
10921096
'Class:Brand' => 'Brand',
10931097
'Class:Brand+' => '',
1098+
'Class:Brand/Attribute:iosversions_list' => 'IOS versions',
1099+
'Class:Brand/Attribute:iosversions_list+' => 'All the IOS versions from this brand',
10941100
'Class:Brand/Attribute:logo' => 'Logo',
10951101
'Class:Brand/Attribute:logo+' => '',
1102+
'Class:Brand/Attribute:models_list' => 'Models',
1103+
'Class:Brand/Attribute:models_list+' => 'All models for this brand',
10961104
'Class:Brand/Attribute:physicaldevices_list' => 'Physical devices',
10971105
'Class:Brand/Attribute:physicaldevices_list+' => 'All the physical devices corresponding to this brand',
10981106
'Class:Brand/UniquenessRule:name+' => 'The name must be unique',
@@ -1179,6 +1187,8 @@
11791187
'Class:IOSVersion/Attribute:brand_id+' => '',
11801188
'Class:IOSVersion/Attribute:brand_name' => 'Brand name',
11811189
'Class:IOSVersion/Attribute:brand_name+' => '',
1190+
'Class:IOSVersion/Attribute:networkdevices_list' => 'Network devices',
1191+
'Class:IOSVersion/Attribute:networkdevices_list+' => 'All the network devices running this IOS version',
11821192
]);
11831193

11841194
//

0 commit comments

Comments
 (0)