foreman_discovery 13.0.1 → 14.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +3 -1
  3. data/app/models/host/discovered.rb +8 -78
  4. data/app/models/host/managed_extensions.rb +3 -3
  5. data/app/models/nic/managed_extensions.rb +1 -1
  6. data/app/services/foreman_discovery/import_hook.rb +12 -0
  7. data/app/services/foreman_discovery/import_hook_service.rb +24 -0
  8. data/app/services/foreman_discovery/import_hooks/discovery_attribute.rb +33 -0
  9. data/app/services/foreman_discovery/import_hooks/lldp_neighbor.rb +11 -0
  10. data/app/services/foreman_discovery/import_hooks/lock_templates.rb +27 -0
  11. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +63 -0
  12. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +1 -1
  13. data/app/views/foreman_discovery/debian_kexec.erb +4 -3
  14. data/app/views/foreman_discovery/redhat_kexec.erb +4 -2
  15. data/db/migrate/20141223142759_fill_discovery_attribute_sets_for_existing_hosts.rb +1 -2
  16. data/db/seeds.d/50_discovery_templates.rb +9 -2
  17. data/extra/discover-host +1 -1
  18. data/lib/foreman_discovery/engine.rb +1 -1
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +100 -61
  22. data/locale/ca/foreman_discovery.po +31 -4
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +111 -71
  25. data/locale/de/foreman_discovery.po +41 -13
  26. data/locale/en/foreman_discovery.edit.po +21 -17
  27. data/locale/en/foreman_discovery.po +3 -0
  28. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/en_GB/foreman_discovery.edit.po +101 -62
  30. data/locale/en_GB/foreman_discovery.po +31 -4
  31. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/es/foreman_discovery.edit.po +102 -63
  33. data/locale/es/foreman_discovery.po +32 -5
  34. data/locale/foreman_discovery.pot +24 -19
  35. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/fr/foreman_discovery.edit.po +102 -63
  37. data/locale/fr/foreman_discovery.po +32 -5
  38. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/gl/foreman_discovery.edit.po +100 -61
  40. data/locale/gl/foreman_discovery.po +31 -4
  41. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/it/foreman_discovery.edit.po +102 -63
  43. data/locale/it/foreman_discovery.po +32 -5
  44. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/ja/foreman_discovery.edit.po +102 -63
  46. data/locale/ja/foreman_discovery.po +32 -5
  47. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ko/foreman_discovery.edit.po +101 -62
  49. data/locale/ko/foreman_discovery.po +31 -4
  50. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/pt_BR/foreman_discovery.edit.po +102 -63
  52. data/locale/pt_BR/foreman_discovery.po +32 -5
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.edit.po +102 -63
  55. data/locale/ru/foreman_discovery.po +32 -5
  56. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/sv_SE/foreman_discovery.edit.po +101 -62
  58. data/locale/sv_SE/foreman_discovery.po +32 -5
  59. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_CN/foreman_discovery.edit.po +101 -62
  61. data/locale/zh_CN/foreman_discovery.po +31 -4
  62. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/zh_TW/foreman_discovery.edit.po +102 -63
  64. data/locale/zh_TW/foreman_discovery.po +32 -5
  65. data/test/factories/discovery_host_related.rb +1 -1
  66. data/test/factories/discovery_rule_related.rb +4 -4
  67. data/{extra/discovery → test/facts}/default.json +0 -0
  68. data/{extra/discovery/many_ems.json → test/facts/dell_npars.json} +5 -7
  69. data/test/facts/dell_vlan.json +328 -0
  70. data/test/{unit → facts}/facts_with_lldp.json +0 -0
  71. data/test/{unit → facts}/facts_with_lldp_bond_candidate.json +0 -0
  72. data/test/facts/puppet3-virtual.json +109 -0
  73. data/{extra/discovery → test/facts}/pxeless-vlan.json +0 -0
  74. data/test/{unit/facts.json → facts/regular_host.json} +0 -0
  75. data/{extra/discovery → test/facts}/rhel-dl380-1kdisks.json +0 -0
  76. data/{extra/discovery → test/facts}/rhel-r730.json +0 -0
  77. data/{extra/discovery → test/facts}/rhel7-vlan.json +0 -0
  78. data/{extra/discovery → test/facts}/simple-bond.json +0 -0
  79. data/{extra/discovery → test/facts}/suse-vmware.json +0 -0
  80. data/test/facts/vmware_local.json +226 -0
  81. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -1
  82. data/test/functional/api/v2/discovery_rules_controller_test.rb +1 -1
  83. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -1
  84. data/test/functional/api/v2/settings_controller_test.rb +1 -1
  85. data/test/functional/discovered_hosts_controller_test.rb +3 -2
  86. data/test/functional/discovery_rules_controller_test.rb +3 -2
  87. data/test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb +1 -1
  88. data/test/integration/discovered_hosts_test.rb +1 -1
  89. data/test/models/setting_test.rb +1 -1
  90. data/test/test_helper_discovery.rb +6 -2
  91. data/test/test_plugin_helper.rb +2 -3
  92. data/test/unit/discovered_extensions_test.rb +7 -3
  93. data/test/unit/discovered_mailer_test.rb +1 -1
  94. data/test/unit/discovery_attribute_set_test.rb +2 -6
  95. data/test/unit/discovery_rule_test.rb +1 -1
  96. data/test/unit/discovery_taxonomy_extensions_test.rb +5 -6
  97. data/test/unit/fact_parser_test.rb +1 -1
  98. data/test/unit/host_discovered_test.rb +36 -36
  99. data/test/unit/lldp_neighbors_test.rb +3 -7
  100. data/test/unit/managed_extensions_test.rb +4 -7
  101. data/test/unit/setting_discovered_test.rb +1 -1
  102. data/test/unit/ui_notifications/destroy_host_test.rb +1 -5
  103. data/test/unit/ui_notifications/new_host_test.rb +2 -6
  104. metadata +38 -16
@@ -7,8 +7,8 @@ msgid ""
7
7
  msgstr ""
8
8
  "Project-Id-Version: foreman_discovery 13.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2018-06-15 10:50+0000\n"
11
- "Last-Translator: Dominic Cleal <dominic@cleal.org>\n"
10
+ "PO-Revision-Date: 2018-10-25 20:13+0000\n"
11
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
12
12
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
13
13
  "uage/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -32,6 +32,9 @@ msgstr ""
32
32
  msgid "A summary of discovered hosts"
33
33
  msgstr ""
34
34
 
35
+ msgid "Actions"
36
+ msgstr "動作"
37
+
35
38
  msgid "Assign Location"
36
39
  msgstr "指定位置"
37
40
 
@@ -47,6 +50,9 @@ msgstr ""
47
50
  msgid "Auto provisioning"
48
51
  msgstr ""
49
52
 
53
+ msgid "Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"
54
+ msgstr ""
55
+
50
56
  msgid "Automatically generate PXE configuration to pin a newly discovered host to discovery"
51
57
  msgstr ""
52
58
 
@@ -74,6 +80,9 @@ msgstr ""
74
80
  msgid "Collapse All"
75
81
  msgstr "全部收回"
76
82
 
83
+ msgid "Command line options for kexec during PXE-less provisioning."
84
+ msgstr ""
85
+
77
86
  msgid "Could not get facts from proxy %{url}: %{error}"
78
87
  msgstr ""
79
88
 
@@ -89,6 +98,9 @@ msgstr ""
89
98
  msgid "Create a discovery rule"
90
99
  msgstr ""
91
100
 
101
+ msgid "Create bond interfaces"
102
+ msgstr ""
103
+
92
104
  msgid "Customize Host"
93
105
  msgstr ""
94
106
 
@@ -161,6 +173,9 @@ msgstr ""
161
173
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
162
174
  msgstr ""
163
175
 
176
+ msgid "Discovery hostname naming pattern"
177
+ msgstr ""
178
+
164
179
  msgid "Discovery location"
165
180
  msgstr ""
166
181
 
@@ -230,6 +245,9 @@ msgstr ""
230
245
  msgid "Extra facter columns to show in host lists (separate by comma)"
231
246
  msgstr ""
232
247
 
248
+ msgid "Fact + prefix"
249
+ msgstr ""
250
+
233
251
  msgid "Fact columns"
234
252
  msgstr ""
235
253
 
@@ -369,6 +387,9 @@ msgstr ""
369
387
  msgid "Invalid hostname: Could not normalize the hostname"
370
388
  msgstr ""
371
389
 
390
+ msgid "Invalid user type of %s was provided"
391
+ msgstr ""
392
+
372
393
  msgid "Kernel kexec URL is invalid: '%s'"
373
394
  msgstr ""
374
395
 
@@ -414,6 +435,9 @@ msgstr ""
414
435
  msgid "MAC address"
415
436
  msgstr "MAC 位址"
416
437
 
438
+ msgid "MAC-based name"
439
+ msgstr ""
440
+
417
441
  msgid "Maximum hosts provisioned with this rule (0 = unlimited)"
418
442
  msgstr ""
419
443
 
@@ -426,9 +450,6 @@ msgstr "雜項"
426
450
  msgid "Model"
427
451
  msgstr "型號"
428
452
 
429
- msgid "Must specify a user with email enabled"
430
- msgstr "必須指定一位啟用了電子郵件的使用者"
431
-
432
453
  msgid "N/A"
433
454
  msgstr "N/A"
434
455
 
@@ -513,6 +534,9 @@ msgstr ""
513
534
  msgid "Provision a discovered host"
514
535
  msgstr ""
515
536
 
537
+ msgid "Random name"
538
+ msgstr ""
539
+
516
540
  msgid "Reboot"
517
541
  msgstr "重新開機"
518
542
 
@@ -645,6 +669,9 @@ msgstr ""
645
669
  msgid "Type"
646
670
  msgstr "種類"
647
671
 
672
+ msgid "Type of name generator"
673
+ msgstr ""
674
+
648
675
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
649
676
  msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
650
677
 
@@ -13,7 +13,7 @@ FactoryBot.define do
13
13
 
14
14
  trait :with_facts do
15
15
  transient do
16
- fact_count 20
16
+ fact_count { 20 }
17
17
  end
18
18
 
19
19
  after(:create) do |discovered_host, evaluator|
@@ -2,11 +2,11 @@ FactoryBot.define do
2
2
  factory :discovery_rule do
3
3
  sequence(:name) { |n| "rule#{n}" }
4
4
  sequence(:priority) { |n| n }
5
- search "facts.fact1 == 'value1'"
6
- hostname ""
5
+ search { "facts.fact1 == 'value1'" }
6
+ hostname { "" }
7
7
  hostgroup
8
- max_count 0
9
- enabled true
8
+ max_count { 0 }
9
+ enabled { true }
10
10
  organizations { [organization_one] } if SETTINGS[:organizations_enabled]
11
11
  locations { [location_one] } if SETTINGS[:locations_enabled]
12
12
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "lib": "/usr/share/fdi/facts:/opt/extension/facts",
3
- "domain": "broadridge.net",
3
+ "domain": "example.net",
4
4
  "interfaces": "em1_1,em1_2,em2_1,em2_2,em3_1,em3_2,em4_1,em4_2,lo",
5
5
  "ipaddress_em1_1": "10.26.48.104",
6
6
  "macaddress_em1_1": "40:5c:fd:06:38:e9",
@@ -23,7 +23,7 @@
23
23
  "ipaddress_lo": "127.0.0.1",
24
24
  "netmask_lo": "255.0.0.0",
25
25
  "mtu_lo": 65536,
26
- "fqdn": "fdi.broadridge.net",
26
+ "fqdn": "fdi.example.net",
27
27
  "network_em1_1": "10.26.48.0",
28
28
  "network_lo": "127.0.0.0",
29
29
  "hardwaremodel": "x86_64",
@@ -267,7 +267,7 @@
267
267
  "nmprimary_ip4_address": "10.26.48.104/24",
268
268
  "nmprimary_ip4_gateway": "10.26.48.1",
269
269
  "nmprimary_ip4_dns": "10.26.48.11",
270
- "nmprimary_ip4_domain": "broadridge.net",
270
+ "nmprimary_ip4_domain": "example.net",
271
271
  "nmprimary_dhcp4_option_requested_routers": "1",
272
272
  "nmprimary_dhcp4_option_requested_domain_search": "1",
273
273
  "nmprimary_dhcp4_option_dhcp_server_identifier": "10.26.48.11",
@@ -285,7 +285,7 @@
285
285
  "nmprimary_dhcp4_option_dhcp_message_type": "5",
286
286
  "nmprimary_dhcp4_option_ip_address": "10.26.48.104",
287
287
  "nmprimary_dhcp4_option_routers": "10.26.48.1",
288
- "nmprimary_dhcp4_option_domain_name": "broadridge.net",
288
+ "nmprimary_dhcp4_option_domain_name": "example.net",
289
289
  "nmprimary_dhcp4_option_requested_static_routes": "1",
290
290
  "nmprimary_dhcp4_option_requested_nis_servers": "1",
291
291
  "nmprimary_dhcp4_option_requested_ntp_servers": "1",
@@ -329,7 +329,5 @@
329
329
  "lldp_neighbor_chassisid_em4_2": "f4:8e:38:60:de:f9",
330
330
  "lldp_neighbor_portid_em4_2": "TenGigabitEthernet 0/25",
331
331
  "lldp_neighbor_sysname_em4_2": "Dell",
332
- "lldp_neighbor_mngaddr_ipv4_em4_2": "10.101.65.223",
333
- "discovery_proxy_uri": "https://clitvlsegsat01.broadridge.net",
334
- "discovery_proxy_type": "foreman"
332
+ "lldp_neighbor_mngaddr_ipv4_em4_2": "10.101.65.223"
335
333
  }
@@ -0,0 +1,328 @@
1
+ {
2
+ "lib":"/usr/share/fdi/facts:/opt/extension/facts",
3
+ "domain":"example.net",
4
+ "interfaces":"eno1,eno2,eno3,eno4,eno2_2905,enp129s0f0,enp129s0f1,enp129s0f2,enp129s0f3,lo",
5
+ "macaddress_eno1":"24:6e:96:5a:f7:34",
6
+ "mtu_eno1":1500,
7
+ "macaddress_eno2":"24:6e:96:5a:f7:35",
8
+ "mtu_eno2":1500,
9
+ "macaddress_eno3":"24:6e:96:5a:f7:36",
10
+ "mtu_eno3":1500,
11
+ "macaddress_eno4":"24:6e:96:5a:f7:37",
12
+ "mtu_eno4":1500,
13
+ "ipaddress_eno2_2905":"10.26.48.106",
14
+ "macaddress_eno2_2905":"24:6e:96:5a:f7:35",
15
+ "netmask_eno2_2905":"255.255.255.0",
16
+ "mtu_eno2_2905":1500,
17
+ "macaddress_enp129s0f0":"a0:36:9f:e5:96:24",
18
+ "mtu_enp129s0f0":1500,
19
+ "macaddress_enp129s0f1":"a0:36:9f:e5:96:25",
20
+ "mtu_enp129s0f1":1500,
21
+ "macaddress_enp129s0f2":"a0:36:9f:e5:96:26",
22
+ "mtu_enp129s0f2":1500,
23
+ "macaddress_enp129s0f3":"a0:36:9f:e5:96:27",
24
+ "mtu_enp129s0f3":1500,
25
+ "ipaddress_lo":"127.0.0.1",
26
+ "netmask_lo":"255.0.0.0",
27
+ "mtu_lo":65536,
28
+ "fqdn":"fdi.example.net",
29
+ "network_eno2_2905":"10.26.48.0",
30
+ "network_lo":"127.0.0.0",
31
+ "hardwaremodel":"x86_64",
32
+ "ps":"ps -ef",
33
+ "blockdevice_sda_size":299439751168,
34
+ "blockdevice_sda_vendor":"DELL",
35
+ "blockdevice_sda_model":"PERC H730 Mini",
36
+ "blockdevice_sr0_size":1073741312,
37
+ "blockdevice_sr0_vendor":"PLDS",
38
+ "blockdevice_sr0_model":"DVD+-RW DU-8A5LH",
39
+ "blockdevices":"sda,sr0",
40
+ "boardmanufacturer":"Dell Inc.",
41
+ "boardproductname":"02C2CP",
42
+ "boardserialnumber":".1076KH2.CN7475171G0593.",
43
+ "bios_vendor":"Dell Inc.",
44
+ "bios_version":"2.4.3",
45
+ "bios_release_date":"01/17/2017",
46
+ "manufacturer":"Dell Inc.",
47
+ "productname":"PowerEdge R630",
48
+ "serialnumber":"1076KH2",
49
+ "uuid":"4C4C4544-0030-3710-8036-B1C04F4B4832",
50
+ "type":"Rack Mount Chassis",
51
+ "selinux":false,
52
+ "ipaddress":"10.26.48.106",
53
+ "virtual":"physical",
54
+ "is_virtual":false,
55
+ "architecture":"x86_64",
56
+ "os":{
57
+ "name":"RedHat",
58
+ "family":"RedHat",
59
+ "release":{
60
+ "major":"7",
61
+ "minor":"4",
62
+ "full":"7.4"
63
+ }
64
+ },
65
+ "hostname":"fdi",
66
+ "physicalprocessorcount":2,
67
+ "hardwareisa":"x86_64",
68
+ "vlans":"2905",
69
+ "netmask":"255.255.255.0",
70
+ "processors":{
71
+ "models":[
72
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
73
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
74
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
75
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
76
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
77
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
78
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
79
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
80
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
81
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
82
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
83
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
84
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
85
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
86
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
87
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
88
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
89
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
90
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
91
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
92
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
93
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
94
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
95
+ "Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz"
96
+ ],
97
+ "count":24,
98
+ "physicalcount":2
99
+ },
100
+ "processor0":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
101
+ "processor1":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
102
+ "processor2":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
103
+ "processor3":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
104
+ "processor4":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
105
+ "processor5":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
106
+ "processor6":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
107
+ "processor7":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
108
+ "processor8":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
109
+ "processor9":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
110
+ "processor10":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
111
+ "processor11":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
112
+ "processor12":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
113
+ "processor13":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
114
+ "processor14":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
115
+ "processor15":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
116
+ "processor16":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
117
+ "processor17":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
118
+ "processor18":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
119
+ "processor19":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
120
+ "processor20":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
121
+ "processor21":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
122
+ "processor22":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
123
+ "processor23":"Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz",
124
+ "processorcount":24,
125
+ "macaddress":"24:6e:96:5a:f7:34",
126
+ "uniqueid":"1a0a6a30",
127
+ "facterversion":"2.4.6",
128
+ "dhcp_servers":{
129
+ "system":"10.26.48.11",
130
+ "eno2.2905":"10.26.48.11"
131
+ },
132
+ "id":"root",
133
+ "memorysize":"31.31 GB",
134
+ "memorysize_mb":"32058.12",
135
+ "gid":"root",
136
+ "discovery_version":"3.4.4",
137
+ "discovery_release":"20180123.1",
138
+ "discovery_bootif":"24:6e:96:5a:f7:35",
139
+ "discovery_bootip":"10.26.48.106",
140
+ "speed_eno1":"1000",
141
+ "duplex_eno1":"full",
142
+ "port_eno1":"Twisted Pair",
143
+ "auto_negotiation_eno1":"true",
144
+ "wol_eno1":false,
145
+ "link_eno1":"true",
146
+ "speed_eno2":"1000",
147
+ "duplex_eno2":"full",
148
+ "port_eno2":"Twisted Pair",
149
+ "auto_negotiation_eno2":"true",
150
+ "wol_eno2":false,
151
+ "link_eno2":"true",
152
+ "speed_eno3":"1000",
153
+ "duplex_eno3":"full",
154
+ "port_eno3":"Twisted Pair",
155
+ "auto_negotiation_eno3":"true",
156
+ "wol_eno3":false,
157
+ "link_eno3":"true",
158
+ "duplex_eno4":"unknown! (255)",
159
+ "port_eno4":"Twisted Pair",
160
+ "auto_negotiation_eno4":"true",
161
+ "wol_eno4":false,
162
+ "link_eno4":"false",
163
+ "speed_eno2_2905":"1000",
164
+ "duplex_eno2_2905":"full",
165
+ "port_eno2_2905":"Twisted Pair",
166
+ "auto_negotiation_eno2_2905":"true",
167
+ "link_eno2_2905":"true",
168
+ "duplex_enp129s0f0":"unknown! (255)",
169
+ "port_enp129s0f0":"Twisted Pair",
170
+ "auto_negotiation_enp129s0f0":"true",
171
+ "wol_enp129s0f0":false,
172
+ "link_enp129s0f0":"false",
173
+ "duplex_enp129s0f1":"unknown! (255)",
174
+ "port_enp129s0f1":"Twisted Pair",
175
+ "auto_negotiation_enp129s0f1":"true",
176
+ "wol_enp129s0f1":false,
177
+ "link_enp129s0f1":"false",
178
+ "duplex_enp129s0f2":"unknown! (255)",
179
+ "port_enp129s0f2":"Twisted Pair",
180
+ "auto_negotiation_enp129s0f2":"true",
181
+ "wol_enp129s0f2":false,
182
+ "link_enp129s0f2":"false",
183
+ "duplex_enp129s0f3":"unknown! (255)",
184
+ "port_enp129s0f3":"Twisted Pair",
185
+ "auto_negotiation_enp129s0f3":"true",
186
+ "wol_enp129s0f3":false,
187
+ "link_enp129s0f3":"false",
188
+ "link_lo":"true",
189
+ "ipmi_enabled":true,
190
+ "ipmi_ipaddress_source":"Static Address",
191
+ "ipmi_ipaddress":"10.101.67.236",
192
+ "ipmi_subnet_mask":"255.255.240.0",
193
+ "ipmi_macaddress":"84:7b:eb:f6:aa:c0",
194
+ "ipmi_gateway":"10.101.64.1",
195
+ "ipmi_1_ipaddress_source":"Static Address",
196
+ "ipmi_1_ipaddress":"10.101.67.236",
197
+ "ipmi_1_subnet_mask":"255.255.240.0",
198
+ "ipmi_1_macaddress":"84:7b:eb:f6:aa:c0",
199
+ "ipmi_1_gateway":"10.101.64.1",
200
+ "nmprimary_connection_id":"primary",
201
+ "nmprimary_connection_uuid":"6bbde84a-a6c2-11e8-b8bc-246e965af734",
202
+ "nmprimary_connection_stable-id":"",
203
+ "nmprimary_connection_interface-name":"",
204
+ "nmprimary_connection_type":"vlan",
205
+ "nmprimary_connection_autoconnect":"yes",
206
+ "nmprimary_connection_autoconnect-priority":"1",
207
+ "nmprimary_connection_autoconnect-retries":"-1",
208
+ "nmprimary_connection_read-only":"no",
209
+ "nmprimary_connection_permissions":"",
210
+ "nmprimary_connection_zone":"",
211
+ "nmprimary_connection_master":"",
212
+ "nmprimary_connection_slave-type":"",
213
+ "nmprimary_connection_autoconnect-slaves":"-1",
214
+ "nmprimary_connection_secondaries":"",
215
+ "nmprimary_connection_metered":"unknown",
216
+ "nmprimary_connection_lldp":"default",
217
+ "nmprimary_802-3-ethernet_port":"",
218
+ "nmprimary_802-3-ethernet_speed":"0",
219
+ "nmprimary_802-3-ethernet_duplex":"",
220
+ "nmprimary_802-3-ethernet_auto-negotiate":"no",
221
+ "nmprimary_802-3-ethernet_mac-address":"24:6E:96:5A:F7:35",
222
+ "nmprimary_802-3-ethernet_cloned-mac-address":"",
223
+ "nmprimary_802-3-ethernet_generate-mac-address-mask":"",
224
+ "nmprimary_802-3-ethernet_mac-address-blacklist":"",
225
+ "nmprimary_802-3-ethernet_mtu":"auto",
226
+ "nmprimary_802-3-ethernet_s390-subchannels":"",
227
+ "nmprimary_802-3-ethernet_s390-nettype":"",
228
+ "nmprimary_802-3-ethernet_s390-options":"",
229
+ "nmprimary_802-3-ethernet_wake-on-lan":"default",
230
+ "nmprimary_802-3-ethernet_wake-on-lan-password":"",
231
+ "nmprimary_ipv4_method":"auto",
232
+ "nmprimary_ipv4_dns":"",
233
+ "nmprimary_ipv4_dns-search":"",
234
+ "nmprimary_ipv4_dns-options":"",
235
+ "nmprimary_ipv4_dns-priority":"0",
236
+ "nmprimary_ipv4_addresses":"",
237
+ "nmprimary_ipv4_gateway":"",
238
+ "nmprimary_ipv4_routes":"",
239
+ "nmprimary_ipv4_route-metric":"-1",
240
+ "nmprimary_ipv4_ignore-auto-routes":"no",
241
+ "nmprimary_ipv4_ignore-auto-dns":"no",
242
+ "nmprimary_ipv4_dhcp-client-id":"",
243
+ "nmprimary_ipv4_dhcp-send-hostname":"no",
244
+ "nmprimary_ipv4_dhcp-hostname":"",
245
+ "nmprimary_ipv4_dhcp-fqdn":"",
246
+ "nmprimary_ipv4_never-default":"no",
247
+ "nmprimary_ipv4_may-fail":"yes",
248
+ "nmprimary_ipv6_method":"ignore",
249
+ "nmprimary_ipv6_dns":"",
250
+ "nmprimary_ipv6_dns-search":"",
251
+ "nmprimary_ipv6_dns-options":"",
252
+ "nmprimary_ipv6_dns-priority":"0",
253
+ "nmprimary_ipv6_addresses":"",
254
+ "nmprimary_ipv6_gateway":"",
255
+ "nmprimary_ipv6_routes":"",
256
+ "nmprimary_ipv6_route-metric":"-1",
257
+ "nmprimary_ipv6_ignore-auto-routes":"no",
258
+ "nmprimary_ipv6_ignore-auto-dns":"no",
259
+ "nmprimary_ipv6_never-default":"no",
260
+ "nmprimary_ipv6_may-fail":"yes",
261
+ "nmprimary_ipv6_ip6-privacy":"-1",
262
+ "nmprimary_ipv6_addr-gen-mode":"eui64",
263
+ "nmprimary_ipv6_dhcp-send-hostname":"yes",
264
+ "nmprimary_ipv6_dhcp-hostname":"",
265
+ "nmprimary_ipv6_token":"",
266
+ "nmprimary_vlan_parent":"",
267
+ "nmprimary_vlan_id":"2905",
268
+ "nmprimary_vlan_flags":"1",
269
+ "nmprimary_vlan_ingress-priority-map":"",
270
+ "nmprimary_vlan_egress-priority-map":"",
271
+ "nmprimary_proxy_method":"none",
272
+ "nmprimary_proxy_browser-only":"no",
273
+ "nmprimary_proxy_pac-url":"",
274
+ "nmprimary_proxy_pac-script":"",
275
+ "nmprimary_general_name":"primary",
276
+ "nmprimary_general_uuid":"6bbde84a-a6c2-11e8-b8bc-246e965af734",
277
+ "nmprimary_general_devices":"eno2.2905",
278
+ "nmprimary_general_state":"activated",
279
+ "nmprimary_general_default":"yes",
280
+ "nmprimary_general_default6":"no",
281
+ "nmprimary_general_vpn":"no",
282
+ "nmprimary_general_zone":"",
283
+ "nmprimary_general_spec-object":"",
284
+ "nmprimary_ip4_address":"10.26.48.106/24",
285
+ "nmprimary_ip4_gateway":"10.26.48.1",
286
+ "nmprimary_ip4_dns":"10.26.48.11",
287
+ "nmprimary_ip4_domain":"example.net",
288
+ "nmprimary_dhcp4_option_requested_routers":"1",
289
+ "nmprimary_dhcp4_option_requested_domain_search":"1",
290
+ "nmprimary_dhcp4_option_dhcp_server_identifier":"10.26.48.11",
291
+ "nmprimary_dhcp4_option_requested_domain_name":"1",
292
+ "nmprimary_dhcp4_option_filename":"pxelinux.0",
293
+ "nmprimary_dhcp4_option_requested_rfc3442_classless_static_routes":"1",
294
+ "nmprimary_dhcp4_option_requested_classless_static_routes":"1",
295
+ "nmprimary_dhcp4_option_requested_wpad":"1",
296
+ "nmprimary_dhcp4_option_requested_broadcast_address":"1",
297
+ "nmprimary_dhcp4_option_next_server":"10.26.48.11",
298
+ "nmprimary_dhcp4_option_broadcast_address":"10.26.48.255",
299
+ "nmprimary_dhcp4_option_requested_interface_mtu":"1",
300
+ "nmprimary_dhcp4_option_requested_subnet_mask":"1",
301
+ "nmprimary_dhcp4_option_expiry":"1535022379",
302
+ "nmprimary_dhcp4_option_dhcp_message_type":"5",
303
+ "nmprimary_dhcp4_option_ip_address":"10.26.48.106",
304
+ "nmprimary_dhcp4_option_routers":"10.26.48.1",
305
+ "nmprimary_dhcp4_option_domain_name":"example.net",
306
+ "nmprimary_dhcp4_option_requested_static_routes":"1",
307
+ "nmprimary_dhcp4_option_requested_nis_servers":"1",
308
+ "nmprimary_dhcp4_option_requested_ntp_servers":"1",
309
+ "nmprimary_dhcp4_option_requested_domain_name_servers":"1",
310
+ "nmprimary_dhcp4_option_domain_name_servers":"10.26.48.11",
311
+ "nmprimary_dhcp4_option_requested_ms_classless_static_routes":"1",
312
+ "nmprimary_dhcp4_option_subnet_mask":"255.255.255.0",
313
+ "nmprimary_dhcp4_option_network_number":"10.26.48.0",
314
+ "nmprimary_dhcp4_option_requested_host_name":"1",
315
+ "nmprimary_dhcp4_option_requested_nis_domain":"1",
316
+ "nmprimary_ip6_address":"fe80::266e:96ff:fe5a:f735/64",
317
+ "nmprimary_ip6_gateway":"",
318
+ "lldp_neighbor_chassisid_eno1":"a0:e0:af:0d:9c:62",
319
+ "lldp_neighbor_portid_eno1":"Eth1/17",
320
+ "lldp_neighbor_sysname_eno1":"CLFFLPRDLEF93108-109",
321
+ "lldp_neighbor_mngaddr_ipv4_eno1":"10.101.57.109",
322
+ "lldp_neighbor_pvid_eno1":176,
323
+ "lldp_neighbor_chassisid_eno2":"a0:e0:af:0c:aa:c6",
324
+ "lldp_neighbor_portid_eno2":"Eth1/17",
325
+ "lldp_neighbor_sysname_eno2":"CLFFLPRDLEF93108-110",
326
+ "lldp_neighbor_mngaddr_ipv4_eno2":"10.101.57.110",
327
+ "lldp_neighbor_pvid_eno2":176
328
+ }