foreman_discovery 16.0.0 → 16.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +24 -11
  3. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  4. data/app/controllers/discovered_hosts_controller.rb +5 -3
  5. data/app/controllers/discovery_rules_controller.rb +1 -1
  6. data/app/models/discovery_rule.rb +1 -1
  7. data/app/models/host/discovered.rb +52 -34
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/models/setting/discovered.rb +3 -1
  10. data/app/services/foreman_discovery/host_converter.rb +15 -7
  11. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  12. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +2 -0
  13. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  14. data/app/views/api/v2/discovery_rules/create.json.rabl +3 -0
  15. data/app/views/discovered_hosts/_discovered_host_modal.html.erb +0 -2
  16. data/app/views/discovered_hosts/welcome.html.erb +15 -9
  17. data/app/views/discovery_rules/index.html.erb +1 -1
  18. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  19. data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
  20. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  21. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  22. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  23. data/extra/discover-host +14 -8
  24. data/lib/foreman_discovery/engine.rb +5 -4
  25. data/lib/foreman_discovery/version.rb +1 -1
  26. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/ca/foreman_discovery.edit.po +195 -252
  28. data/locale/ca/foreman_discovery.po +40 -17
  29. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/de/foreman_discovery.edit.po +201 -257
  31. data/locale/de/foreman_discovery.po +46 -23
  32. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/en/foreman_discovery.edit.po +141 -111
  34. data/locale/en/foreman_discovery.po +36 -13
  35. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/en_GB/foreman_discovery.edit.po +205 -254
  37. data/locale/en_GB/foreman_discovery.po +42 -19
  38. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/es/foreman_discovery.edit.po +209 -258
  40. data/locale/es/foreman_discovery.po +46 -23
  41. data/locale/foreman_discovery.pot +150 -117
  42. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/fr/foreman_discovery.edit.po +203 -255
  44. data/locale/fr/foreman_discovery.po +44 -21
  45. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/gl/foreman_discovery.edit.po +190 -250
  47. data/locale/gl/foreman_discovery.po +38 -15
  48. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/it/foreman_discovery.edit.po +193 -253
  50. data/locale/it/foreman_discovery.po +41 -18
  51. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/ja/foreman_discovery.edit.po +207 -256
  53. data/locale/ja/foreman_discovery.po +44 -21
  54. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ko/foreman_discovery.edit.po +196 -255
  56. data/locale/ko/foreman_discovery.po +44 -21
  57. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/pt_BR/foreman_discovery.edit.po +205 -256
  59. data/locale/pt_BR/foreman_discovery.po +44 -21
  60. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/ru/foreman_discovery.edit.po +199 -257
  62. data/locale/ru/foreman_discovery.po +44 -21
  63. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/sv_SE/foreman_discovery.edit.po +190 -250
  65. data/locale/sv_SE/foreman_discovery.po +38 -15
  66. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  67. data/locale/zh_CN/foreman_discovery.edit.po +207 -256
  68. data/locale/zh_CN/foreman_discovery.po +44 -21
  69. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  70. data/locale/zh_TW/foreman_discovery.edit.po +196 -254
  71. data/locale/zh_TW/foreman_discovery.po +42 -19
  72. data/package.json +39 -0
  73. data/test/facts/only-ipv6.json +205 -0
  74. data/test/facts/skylake-ipv6.json +223 -0
  75. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  76. data/test/functional/discovered_hosts_controller_test.rb +16 -7
  77. data/test/functional/discovery_rules_controller_test.rb +1 -1
  78. data/test/unit/discovered_extensions_test.rb +6 -1
  79. data/test/unit/host_discovered_test.rb +0 -16
  80. data/test/unit/managed_extensions_test.rb +1 -0
  81. data/webpack/index.js +18 -0
  82. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +28 -0
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -0
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +6 -0
  85. data/webpack/src/reducers.js +7 -0
  86. metadata +42 -28
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 15.1.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
11
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
10
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
11
+ "Last-Translator: Transifex Bot <>\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"
@@ -33,7 +33,7 @@ msgid "A summary of discovered hosts"
33
33
  msgstr ""
34
34
 
35
35
  msgid "Action with sub plans"
36
- msgstr "有子計畫的動作"
36
+ msgstr ""
37
37
 
38
38
  msgid "Actions"
39
39
  msgstr "動作"
@@ -137,6 +137,11 @@ msgstr "停用"
137
137
  msgid "Disable rule '%s'?"
138
138
  msgstr ""
139
139
 
140
+ msgid "Discovered Host"
141
+ msgid_plural "Discovered Hosts"
142
+ msgstr[0] ""
143
+ msgstr[1] ""
144
+
140
145
  msgid "Discovered Hosts"
141
146
  msgstr ""
142
147
 
@@ -318,6 +323,12 @@ msgstr[1] ""
318
323
  msgid "Host of type %s can not be rebooted"
319
324
  msgstr ""
320
325
 
326
+ msgid "Host's owner type"
327
+ msgstr ""
328
+
329
+ msgid "Host's parameters (array or indexed hash)"
330
+ msgstr ""
331
+
321
332
  msgid "Hostname facts"
322
333
  msgstr ""
323
334
 
@@ -367,10 +378,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
367
378
  msgstr ""
368
379
 
369
380
  msgid "Import Puppet classes"
370
- msgstr "匯入 Puppet 類別"
381
+ msgstr ""
371
382
 
372
383
  msgid "Import facts"
373
- msgstr "匯入詳情"
384
+ msgstr ""
374
385
 
375
386
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
376
387
  msgstr ""
@@ -405,9 +416,6 @@ msgstr ""
405
416
  msgid "Last Facts Upload"
406
417
  msgstr ""
407
418
 
408
- msgid "Learn more about this in the documentation."
409
- msgstr ""
410
-
411
419
  msgid "List all discovered hosts"
412
420
  msgstr ""
413
421
 
@@ -462,6 +470,9 @@ msgstr "N/A"
462
470
  msgid "Name"
463
471
  msgstr "名稱"
464
472
 
473
+ msgid "Name of the parameter"
474
+ msgstr ""
475
+
465
476
  msgid "Network"
466
477
  msgstr "網路"
467
478
 
@@ -480,9 +491,6 @@ msgstr ""
480
491
  msgid "No discovered hosts for the selected period"
481
492
  msgstr ""
482
493
 
483
- msgid "No discovered hosts found in this context."
484
- msgstr ""
485
-
486
494
  msgid "No discovered hosts to provision"
487
495
  msgstr ""
488
496
 
@@ -525,6 +533,9 @@ msgstr ""
525
533
  msgid "PXELinux template to be used when pinning a host to discovery"
526
534
  msgstr ""
527
535
 
536
+ msgid "Parameter value"
537
+ msgstr ""
538
+
528
539
  msgid "Please Confirm"
529
540
  msgstr "請確認"
530
541
 
@@ -589,7 +600,7 @@ msgid "Reloading kernel on %s"
589
600
  msgstr ""
590
601
 
591
602
  msgid "Remote action:"
592
- msgstr "遠端動作:"
603
+ msgstr ""
593
604
 
594
605
  msgid "Reported in the last 7 days"
595
606
  msgstr ""
@@ -672,15 +683,15 @@ msgstr "下列主機尚未刪除:%s"
672
683
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
673
684
  msgstr "這可能會花上一段時間,因為所有主機、詳情與報告皆會被刪除"
674
685
 
675
- msgid "This page shows discovered bare-metal or virtual nodes waiting to be provisioned."
676
- msgstr ""
677
-
678
686
  msgid "Type"
679
687
  msgstr "種類"
680
688
 
681
689
  msgid "Type of name generator"
682
690
  msgstr ""
683
691
 
692
+ msgid "Type of value"
693
+ msgstr ""
694
+
684
695
  msgid "UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks"
685
696
  msgstr "用來追蹤協調流程任務狀態的 UUID,GET /api/orchestration/:UUID/tasks"
686
697
 
@@ -690,13 +701,16 @@ msgstr ""
690
701
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
691
702
  msgstr ""
692
703
 
693
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
704
+ msgid "Unable to perform %{action} on %{ips}"
694
705
  msgstr ""
695
706
 
696
- msgid "Unable to provision %{host}: %{errors}"
707
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
708
+ msgstr ""
709
+
710
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
697
711
  msgstr ""
698
712
 
699
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
713
+ msgid "Unable to provision %{host}: %{errors}"
700
714
  msgstr ""
701
715
 
702
716
  msgid "Update a rule"
@@ -762,6 +776,15 @@ msgstr ""
762
776
  msgid "represents rule name shown to the users"
763
777
  msgstr ""
764
778
 
779
+ msgid "required if host is managed and custom partition has not been defined"
780
+ msgstr ""
781
+
782
+ msgid "required if host is managed and value is not inherited from host group"
783
+ msgstr ""
784
+
785
+ msgid "required if not imaged based provisioning and host is managed and value is not inherited from host group"
786
+ msgstr ""
787
+
765
788
  msgid "required if value is not inherited from host group or default password in settings"
766
789
  msgstr ""
767
790
 
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "foreman_discovery",
3
+ "version": "16.2.0",
4
+ "description": "This plugin enables Foreman to do automatic bare-metal discovery of unknown nodes on the provisioning network.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "lint": "tfm-lint --plugin -d /webpack",
8
+ "test": "tfm-test --plugin",
9
+ "test:watch": "tfm-test --plugin --watchAll",
10
+ "test:current": "tfm-test --plugin --watch",
11
+ "publish-coverage": "tfm-publish-coverage",
12
+ "stories": "tfm-stories --plugin",
13
+ "stories:build": "tfm-build-stories --plugin",
14
+ "create-react-component": "yo react-domain"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/theforeman/foreman_discovery.git"
19
+ },
20
+ "bugs": {
21
+ "url": "http://projects.theforeman.org/projects/foreman_discovery/issues"
22
+ },
23
+ "peerDependencies": {
24
+ "@theforeman/vendor": ">= 4.14.0"
25
+ },
26
+ "devDependencies": {
27
+ "@babel/core": "^7.7.0",
28
+ "@theforeman/builder": "^4.14.0",
29
+ "@theforeman/eslint-plugin-foreman": "4.14.0",
30
+ "@theforeman/stories": "^4.14.0",
31
+ "@theforeman/test": "^4.14.0",
32
+ "@theforeman/vendor-dev": "^4.14.0",
33
+ "babel-eslint": "^10.0.3",
34
+ "eslint": "^6.7.2",
35
+ "prettier": "^1.19.1",
36
+ "stylelint": "^9.3.0",
37
+ "stylelint-config-standard": "^18.0.0"
38
+ }
39
+ }
@@ -0,0 +1,205 @@
1
+ {
2
+ "lib": "/usr/share/fdi/facts:/opt/extension/facts",
3
+ "processors": {
4
+ "models": [
5
+ "AMD EPYC Processor (with IBPB)",
6
+ "AMD EPYC Processor (with IBPB)"
7
+ ],
8
+ "count": 2,
9
+ "physicalcount": 2
10
+ },
11
+ "kernel": "Linux",
12
+ "ps": "ps -ef",
13
+ "hostname": "fdi",
14
+ "architecture": "x86_64",
15
+ "hardwaremodel": "x86_64",
16
+ "operatingsystem": "CentOS",
17
+ "os": {
18
+ "name": "CentOS",
19
+ "family": "RedHat",
20
+ "release": {
21
+ "major": "7",
22
+ "minor": "8",
23
+ "full": "7.8.2003"
24
+ }
25
+ },
26
+ "processor0": "AMD EPYC Processor (with IBPB)",
27
+ "processor1": "AMD EPYC Processor (with IBPB)",
28
+ "processorcount": 2,
29
+ "uptime_days": 0,
30
+ "macaddress": "52:54:00:fb:f4:1d",
31
+ "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/extension/bin:/root/bin",
32
+ "uptime_hours": 0,
33
+ "rubyplatform": "x86_64-linux",
34
+ "netmask": "255.0.0.0",
35
+ "ipaddress6": "2001:db8::1",
36
+ "osfamily": "RedHat",
37
+ "kernelrelease": "3.10.0-1127.18.2.el7.x86_64",
38
+ "system_uptime": {
39
+ "seconds": 1464,
40
+ "hours": 0,
41
+ "days": 0,
42
+ "uptime": "0:24 hours"
43
+ },
44
+ "bios_vendor": "SeaBIOS",
45
+ "bios_version": "1.13.0-2.fc32",
46
+ "bios_release_date": "04/01/2014",
47
+ "manufacturer": "QEMU",
48
+ "productname": "Standard PC (Q35 + ICH9, 2009)",
49
+ "serialnumber": "Not Specified",
50
+ "uuid": "afe1e6f8-50f1-4b18-9f66-c03e446717d9",
51
+ "type": "Other",
52
+ "operatingsystemrelease": "7.8.2003",
53
+ "uptime": "0:24 hours",
54
+ "hardwareisa": "x86_64",
55
+ "virtual": "kvm",
56
+ "is_virtual": true,
57
+ "rubysitedir": "/usr/local/share/ruby/site_ruby/",
58
+ "id": "root",
59
+ "filesystems": "ext2,ext3,ext4,iso9660,squashfs",
60
+ "timezone": "UTC",
61
+ "uniqueid": "007f0200",
62
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDVNqhy9+Zglfk+i+iwUuAdR4dFwiQZN1n3wSIWAGOkIy/FDUYNStOvm3DDU+1/Wbv4ZuFYzFK59R9VtXAIPA6c90oloBU+WZv0ZRuUojle5egaVx6vg3i0MtW2ON2BdtApI4q7DnBxtL0konC/lbCDab0e/jcZh7WTa/HHVpmB+dQ5RS5bnQz96ecHRnUgQqf9bxXcX1PZXqhvGKQwsqCLlfMjjA5h8q2s5ydbObF2oYQfUbzLjygPQLCTve7J/oPWeJJ1xFnmoBgE/+Lc1xVyTo8CmhoSDXir+nWYD/Tr5UX17Ru9W/7yJvQlSi7Bqq5HJ/nq+/xrJmCVBGFfyuwd",
63
+ "sshfp_rsa": "SSHFP 1 1 79f3b0ea4105a94ab150975098a76a8b891d2e8f\nSSHFP 1 2 955a992cbc6959d72bcc7a5ca456d4570a273ead6bda7f584344949c54043219",
64
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBiNm4VBXEmGUH/Gx+uSlXu88k13kQfOIPPJj1NBiWXgU9Pjc1SrTjI9QinccMt2+1z/cymCzzwa0F+b/JknWQg=",
65
+ "sshfp_ecdsa": "SSHFP 3 1 144cd608f182179aeef8f071eb014866313dce57\nSSHFP 3 2 4a68e5b795ed2d60d3e756a945cfad61e51e75968e479c5a011794246360b4ec",
66
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIDzmAQdVlo1evefuHIyNWy+X0kVdzoEi1I9/pBsUiVjT",
67
+ "sshfp_ed25519": "SSHFP 4 1 098706643ce9926e24060b4c5f36ce41fdca74f2\nSSHFP 4 2 55ee2a7cba7eb66c61d9519e94e6ebd79df37b8a80b9b46a5c30ae5177df8de3",
68
+ "network_lo": "127.0.0.0",
69
+ "physicalprocessorcount": 2,
70
+ "kernelmajversion": "3.10",
71
+ "fqdn": "fdi",
72
+ "kernelversion": "3.10.0",
73
+ "facterversion": "2.4.1",
74
+ "operatingsystemmajrelease": "7",
75
+ "interfaces": "eth0,lo",
76
+ "ipaddress6_eth0": "2001:db8::1",
77
+ "macaddress_eth0": "52:54:00:fb:f4:1d",
78
+ "mtu_eth0": 1500,
79
+ "ipaddress_lo": "127.0.0.1",
80
+ "netmask_lo": "255.0.0.0",
81
+ "mtu_lo": 65536,
82
+ "gid": "root",
83
+ "memorysize": "2.39 GB",
84
+ "memoryfree": "2.19 GB",
85
+ "swapsize": "0.00 MB",
86
+ "swapfree": "0.00 MB",
87
+ "swapsize_mb": "0.00",
88
+ "swapfree_mb": "0.00",
89
+ "memorysize_mb": "2442.77",
90
+ "memoryfree_mb": "2247.03",
91
+ "selinux": false,
92
+ "rubyversion": "2.0.0",
93
+ "uptime_seconds": 1464,
94
+ "efi": false,
95
+ "discovery_version": "3.6.5",
96
+ "discovery_release": "20200819.1",
97
+ "discovery_bootif": "52:54:00:fb:f4:1d",
98
+ "link_eth0": "true",
99
+ "link_lo": "true",
100
+ "nmprimary_connection_id": "primary",
101
+ "nmprimary_connection_uuid": "a5869516-e2b3-11ea-b42d-525400fbf41d",
102
+ "nmprimary_connection_stable-id": "",
103
+ "nmprimary_connection_type": "802-3-ethernet",
104
+ "nmprimary_connection_interface-name": "",
105
+ "nmprimary_connection_autoconnect": "yes",
106
+ "nmprimary_connection_autoconnect-priority": "1",
107
+ "nmprimary_connection_autoconnect-retries": "-1",
108
+ "nmprimary_connection_multi-connect": "0",
109
+ "nmprimary_connection_auth-retries": "-1",
110
+ "nmprimary_connection_timestamp": "1597908310",
111
+ "nmprimary_connection_read-only": "no",
112
+ "nmprimary_connection_permissions": "",
113
+ "nmprimary_connection_zone": "",
114
+ "nmprimary_connection_master": "",
115
+ "nmprimary_connection_slave-type": "",
116
+ "nmprimary_connection_autoconnect-slaves": "-1",
117
+ "nmprimary_connection_secondaries": "",
118
+ "nmprimary_connection_gateway-ping-timeout": "0",
119
+ "nmprimary_connection_metered": "unknown",
120
+ "nmprimary_connection_lldp": "default",
121
+ "nmprimary_connection_mdns": "-1",
122
+ "nmprimary_connection_llmnr": "-1",
123
+ "nmprimary_802-3-ethernet_port": "",
124
+ "nmprimary_802-3-ethernet_speed": "0",
125
+ "nmprimary_802-3-ethernet_duplex": "",
126
+ "nmprimary_802-3-ethernet_auto-negotiate": "no",
127
+ "nmprimary_802-3-ethernet_mac-address": "52:54:00:FB:F4:1D",
128
+ "nmprimary_802-3-ethernet_cloned-mac-address": "",
129
+ "nmprimary_802-3-ethernet_generate-mac-address-mask": "",
130
+ "nmprimary_802-3-ethernet_mac-address-blacklist": "",
131
+ "nmprimary_802-3-ethernet_mtu": "auto",
132
+ "nmprimary_802-3-ethernet_s390-subchannels": "",
133
+ "nmprimary_802-3-ethernet_s390-nettype": "",
134
+ "nmprimary_802-3-ethernet_s390-options": "",
135
+ "nmprimary_802-3-ethernet_wake-on-lan": "default",
136
+ "nmprimary_802-3-ethernet_wake-on-lan-password": "",
137
+ "nmprimary_ipv4_method": "disabled",
138
+ "nmprimary_ipv4_dns": "",
139
+ "nmprimary_ipv4_dns-search": "",
140
+ "nmprimary_ipv4_dns-options": " ",
141
+ "nmprimary_ipv4_dns-priority": "0",
142
+ "nmprimary_ipv4_addresses": "",
143
+ "nmprimary_ipv4_gateway": "",
144
+ "nmprimary_ipv4_routes": "",
145
+ "nmprimary_ipv4_route-metric": "-1",
146
+ "nmprimary_ipv4_route-table": "0",
147
+ "nmprimary_ipv4_routing-rules": "",
148
+ "nmprimary_ipv4_ignore-auto-routes": "no",
149
+ "nmprimary_ipv4_ignore-auto-dns": "no",
150
+ "nmprimary_ipv4_dhcp-client-id": "",
151
+ "nmprimary_ipv4_dhcp-timeout": "0",
152
+ "nmprimary_ipv4_dhcp-send-hostname": "yes",
153
+ "nmprimary_ipv4_dhcp-hostname": "",
154
+ "nmprimary_ipv4_dhcp-fqdn": "",
155
+ "nmprimary_ipv4_never-default": "no",
156
+ "nmprimary_ipv4_may-fail": "yes",
157
+ "nmprimary_ipv4_dad-timeout": "-1",
158
+ "nmprimary_ipv6_method": "manual",
159
+ "nmprimary_ipv6_dns": "2001:db8::2",
160
+ "nmprimary_ipv6_dns-search": "",
161
+ "nmprimary_ipv6_dns-options": " ",
162
+ "nmprimary_ipv6_dns-priority": "0",
163
+ "nmprimary_ipv6_addresses": "2001:db8::1/64",
164
+ "nmprimary_ipv6_gateway": "2001:db8::2",
165
+ "nmprimary_ipv6_routes": "",
166
+ "nmprimary_ipv6_route-metric": "-1",
167
+ "nmprimary_ipv6_route-table": "0",
168
+ "nmprimary_ipv6_routing-rules": "",
169
+ "nmprimary_ipv6_ignore-auto-routes": "no",
170
+ "nmprimary_ipv6_ignore-auto-dns": "no",
171
+ "nmprimary_ipv6_never-default": "no",
172
+ "nmprimary_ipv6_may-fail": "yes",
173
+ "nmprimary_ipv6_ip6-privacy": "-1",
174
+ "nmprimary_ipv6_addr-gen-mode": "eui64",
175
+ "nmprimary_ipv6_dhcp-duid": "",
176
+ "nmprimary_ipv6_dhcp-send-hostname": "no",
177
+ "nmprimary_ipv6_dhcp-hostname": "",
178
+ "nmprimary_ipv6_token": "",
179
+ "nmprimary_vlan_parent": "",
180
+ "nmprimary_vlan_id": "0",
181
+ "nmprimary_vlan_flags": "1",
182
+ "nmprimary_vlan_ingress-priority-map": "",
183
+ "nmprimary_vlan_egress-priority-map": "",
184
+ "nmprimary_proxy_method": "none",
185
+ "nmprimary_proxy_browser-only": "no",
186
+ "nmprimary_proxy_pac-url": "",
187
+ "nmprimary_proxy_pac-script": "",
188
+ "nmprimary_general_name": "primary",
189
+ "nmprimary_general_uuid": "a5869516-e2b3-11ea-b42d-525400fbf41d",
190
+ "nmprimary_general_devices": "eth0",
191
+ "nmprimary_general_state": "activated",
192
+ "nmprimary_general_default": "no",
193
+ "nmprimary_general_default6": "yes",
194
+ "nmprimary_general_spec-object": "",
195
+ "nmprimary_general_vpn": "no",
196
+ "nmprimary_general_dbus-path": "/org/freedesktop/NetworkManager/ActiveConnection/2",
197
+ "nmprimary_general_con-path": "/org/freedesktop/NetworkManager/Settings/2",
198
+ "nmprimary_general_zone": "",
199
+ "nmprimary_general_master-path": "",
200
+ "nmprimary_ip4_gateway": "",
201
+ "nmprimary_ip6_address": "2001:db8::1/64",
202
+ "nmprimary_ip6_gateway": "2001:db8::2",
203
+ "nmprimary_ip6_route": "dst = 2001:db8::/64, nh = ::, mt = 100",
204
+ "nmprimary_ip6_dns": "2001:db8::2"
205
+ }
@@ -0,0 +1,223 @@
1
+ {
2
+ "lib": "/usr/share/fdi/facts:/opt/extension/facts",
3
+ "processors": {
4
+ "models": [
5
+ "Intel Core Processor (Skylake, IBRS)",
6
+ "Intel Core Processor (Skylake, IBRS)"
7
+ ],
8
+ "count": 2,
9
+ "physicalcount": 2
10
+ },
11
+ "kernel": "Linux",
12
+ "ps": "ps -ef",
13
+ "partitions": {
14
+ "sda1": {
15
+ "size": "1228800",
16
+ "label": "EFI System Partition",
17
+ "filesystem": "vfat"
18
+ },
19
+ "sda2": {
20
+ "uuid": "825ebe27-ee98-4c32-8949-1ac200fc8b42",
21
+ "size": "2097152",
22
+ "filesystem": "xfs"
23
+ },
24
+ "sda3": {
25
+ "size": "38612992",
26
+ "filesystem": "LVM2_member"
27
+ }
28
+ },
29
+ "hostname": "fdi",
30
+ "blockdevice_sda_size": 21474836480,
31
+ "blockdevice_sda_vendor": "ATA",
32
+ "blockdevice_sda_model": "QEMU HARDDISK",
33
+ "blockdevices": "sda",
34
+ "architecture": "x86_64",
35
+ "hardwaremodel": "x86_64",
36
+ "operatingsystem": "CentOS",
37
+ "os": {
38
+ "name": "CentOS",
39
+ "family": "RedHat",
40
+ "release": {
41
+ "major": "7",
42
+ "minor": "8",
43
+ "full": "7.8.2003"
44
+ }
45
+ },
46
+ "processor0": "Intel Core Processor (Skylake, IBRS)",
47
+ "processor1": "Intel Core Processor (Skylake, IBRS)",
48
+ "processorcount": 2,
49
+ "uptime_days": 0,
50
+ "macaddress": "52:54:00:96:45:81",
51
+ "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/extension/bin",
52
+ "uptime_hours": 0,
53
+ "rubyplatform": "x86_64-linux",
54
+ "netmask": "255.0.0.0",
55
+ "ipaddress6": "fd00:aaaa:bbbb:cc:5054:ff:fe96:4581",
56
+ "osfamily": "RedHat",
57
+ "kernelrelease": "3.10.0-1127.18.2.el7.x86_64",
58
+ "system_uptime": {
59
+ "seconds": 264,
60
+ "hours": 0,
61
+ "days": 0,
62
+ "uptime": "0:04 hours"
63
+ },
64
+ "bios_vendor": "EFI Development Kit II / OVMF",
65
+ "bios_version": "0.0.0",
66
+ "bios_release_date": "02/06/2015",
67
+ "manufacturer": "QEMU",
68
+ "productname": "Standard PC (Q35 + ICH9, 2009)",
69
+ "serialnumber": "Not Specified",
70
+ "uuid": "34c5be4a-2d35-4524-9471-3f7c73d1fe89",
71
+ "type": "Other",
72
+ "operatingsystemrelease": "7.8.2003",
73
+ "uptime": "0:04 hours",
74
+ "hardwareisa": "x86_64",
75
+ "virtual": "kvm",
76
+ "is_virtual": true,
77
+ "rubysitedir": "/usr/local/share/ruby/site_ruby/",
78
+ "id": "root",
79
+ "filesystems": "ext2,ext3,ext4,iso9660,squashfs",
80
+ "timezone": "UTC",
81
+ "uniqueid": "007f0200",
82
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCiuXQicGounSVTpAIPhRkAA5ovVuLAzziUpNngr2yhb54khyzKbH51s0WDlCDXDN72vmqOK2fAUhpdRZJes/q1PAUk9BUnwpTDI2LYUhj9E0QA7GM/GxqWhrDRt/vG5WkuuUEZVKI4lyuLgGJ5fOn9p22VSHRl7PSmMfSehDPExlQWjffqwi4aKGkndRIY28IuZCWHebLno4diSkKoExin5XMc2HyGNikmPH5vwTD2HwKsHivNvmwYybpPBDmHm4n6uNvwCjr0a24JygU1fy3kFT6W/EEgEV72+J38zWwoEgAeGzca0O4mJy37xv9WBVao6mvLk1vnZRT13r4qneU5",
83
+ "sshfp_rsa": "SSHFP 1 1 df8461ddddf423f915f06f06740dad52677a9289\nSSHFP 1 2 f7f453d2bc934e235af1eab0cf0ce18fb31326475de513e0f4634b753b5cb4e8",
84
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDDMio789P5EtxntS/wCT/LzYaOEWJ3/TqvewlTzRYlf/zNOIlMGG12QTX1R8P2cus7K+fNWZzXZ3mdV5e/CQos=",
85
+ "sshfp_ecdsa": "SSHFP 3 1 7458744ef5488b42f08e9c506183eac9c9535ce4\nSSHFP 3 2 ee0568b1c150f62b72083674e1d88c5401156c592206ea9a16725d517f69b165",
86
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIGv5VKv1DuFxAWKvKozb0wYqUTESoCiOUUciHkgA6LFP",
87
+ "sshfp_ed25519": "SSHFP 4 1 4034bdf424c98467a9341f788baf11d31edf7852\nSSHFP 4 2 1c1da30f5991a573fc54ede288b53ff9494888e1eae5def0e2b3a76763a4fc46",
88
+ "network_lo": "127.0.0.0",
89
+ "physicalprocessorcount": 2,
90
+ "kernelmajversion": "3.10",
91
+ "fqdn": "fdi",
92
+ "kernelversion": "3.10.0",
93
+ "facterversion": "2.4.1",
94
+ "operatingsystemmajrelease": "7",
95
+ "interfaces": "eth0,lo",
96
+ "macaddress_eth0": "52:54:00:96:45:81",
97
+ "mtu_eth0": 1500,
98
+ "ipaddress_lo": "127.0.0.1",
99
+ "netmask_lo": "255.0.0.0",
100
+ "mtu_lo": 65536,
101
+ "gid": "root",
102
+ "memorysize": "1.95 GB",
103
+ "memoryfree": "1.74 GB",
104
+ "swapsize": "0.00 MB",
105
+ "swapfree": "0.00 MB",
106
+ "swapsize_mb": "0.00",
107
+ "swapfree_mb": "0.00",
108
+ "memorysize_mb": "1997.13",
109
+ "memoryfree_mb": "1784.67",
110
+ "selinux": false,
111
+ "rubyversion": "2.0.0",
112
+ "uptime_seconds": 264,
113
+ "efi": true,
114
+ "discovery_version": "3.6.5",
115
+ "discovery_release": "20200819.1",
116
+ "discovery_bootif": "52:54:00:96:45:81",
117
+ "link_eth0": "true",
118
+ "link_lo": "true",
119
+ "nmprimary_connection_id": "primary",
120
+ "nmprimary_connection_uuid": "d8651bb4-e2c3-11ea-816a-525400964581",
121
+ "nmprimary_connection_stable-id": "",
122
+ "nmprimary_connection_type": "802-3-ethernet",
123
+ "nmprimary_connection_interface-name": "",
124
+ "nmprimary_connection_autoconnect": "yes",
125
+ "nmprimary_connection_autoconnect-priority": "1",
126
+ "nmprimary_connection_autoconnect-retries": "-1",
127
+ "nmprimary_connection_multi-connect": "0",
128
+ "nmprimary_connection_auth-retries": "-1",
129
+ "nmprimary_connection_timestamp": "1597914143",
130
+ "nmprimary_connection_read-only": "no",
131
+ "nmprimary_connection_permissions": "",
132
+ "nmprimary_connection_zone": "",
133
+ "nmprimary_connection_master": "",
134
+ "nmprimary_connection_slave-type": "",
135
+ "nmprimary_connection_autoconnect-slaves": "-1",
136
+ "nmprimary_connection_secondaries": "",
137
+ "nmprimary_connection_gateway-ping-timeout": "0",
138
+ "nmprimary_connection_metered": "unknown",
139
+ "nmprimary_connection_lldp": "default",
140
+ "nmprimary_connection_mdns": "-1",
141
+ "nmprimary_connection_llmnr": "-1",
142
+ "nmprimary_802-3-ethernet_port": "",
143
+ "nmprimary_802-3-ethernet_speed": "0",
144
+ "nmprimary_802-3-ethernet_duplex": "",
145
+ "nmprimary_802-3-ethernet_auto-negotiate": "no",
146
+ "nmprimary_802-3-ethernet_mac-address": "52:54:00:96:45:81",
147
+ "nmprimary_802-3-ethernet_cloned-mac-address": "",
148
+ "nmprimary_802-3-ethernet_generate-mac-address-mask": "",
149
+ "nmprimary_802-3-ethernet_mac-address-blacklist": "",
150
+ "nmprimary_802-3-ethernet_mtu": "auto",
151
+ "nmprimary_802-3-ethernet_s390-subchannels": "",
152
+ "nmprimary_802-3-ethernet_s390-nettype": "",
153
+ "nmprimary_802-3-ethernet_s390-options": "",
154
+ "nmprimary_802-3-ethernet_wake-on-lan": "default",
155
+ "nmprimary_802-3-ethernet_wake-on-lan-password": "",
156
+ "nmprimary_ipv4_method": "auto",
157
+ "nmprimary_ipv4_dns": "",
158
+ "nmprimary_ipv4_dns-search": "",
159
+ "nmprimary_ipv4_dns-options": " ",
160
+ "nmprimary_ipv4_dns-priority": "0",
161
+ "nmprimary_ipv4_addresses": "",
162
+ "nmprimary_ipv4_gateway": "",
163
+ "nmprimary_ipv4_routes": "",
164
+ "nmprimary_ipv4_route-metric": "-1",
165
+ "nmprimary_ipv4_route-table": "0",
166
+ "nmprimary_ipv4_routing-rules": "",
167
+ "nmprimary_ipv4_ignore-auto-routes": "no",
168
+ "nmprimary_ipv4_ignore-auto-dns": "no",
169
+ "nmprimary_ipv4_dhcp-client-id": "",
170
+ "nmprimary_ipv4_dhcp-timeout": "300",
171
+ "nmprimary_ipv4_dhcp-send-hostname": "no",
172
+ "nmprimary_ipv4_dhcp-hostname": "",
173
+ "nmprimary_ipv4_dhcp-fqdn": "",
174
+ "nmprimary_ipv4_never-default": "no",
175
+ "nmprimary_ipv4_may-fail": "yes",
176
+ "nmprimary_ipv4_dad-timeout": "-1",
177
+ "nmprimary_ipv6_method": "auto",
178
+ "nmprimary_ipv6_dns": "",
179
+ "nmprimary_ipv6_dns-search": "",
180
+ "nmprimary_ipv6_dns-options": " ",
181
+ "nmprimary_ipv6_dns-priority": "0",
182
+ "nmprimary_ipv6_addresses": "",
183
+ "nmprimary_ipv6_gateway": "",
184
+ "nmprimary_ipv6_routes": "",
185
+ "nmprimary_ipv6_route-metric": "-1",
186
+ "nmprimary_ipv6_route-table": "0",
187
+ "nmprimary_ipv6_routing-rules": "",
188
+ "nmprimary_ipv6_ignore-auto-routes": "no",
189
+ "nmprimary_ipv6_ignore-auto-dns": "no",
190
+ "nmprimary_ipv6_never-default": "no",
191
+ "nmprimary_ipv6_may-fail": "yes",
192
+ "nmprimary_ipv6_ip6-privacy": "-1",
193
+ "nmprimary_ipv6_addr-gen-mode": "eui64",
194
+ "nmprimary_ipv6_dhcp-duid": "",
195
+ "nmprimary_ipv6_dhcp-send-hostname": "yes",
196
+ "nmprimary_ipv6_dhcp-hostname": "",
197
+ "nmprimary_ipv6_token": "",
198
+ "nmprimary_vlan_parent": "",
199
+ "nmprimary_vlan_id": "0",
200
+ "nmprimary_vlan_flags": "1",
201
+ "nmprimary_vlan_ingress-priority-map": "",
202
+ "nmprimary_vlan_egress-priority-map": "",
203
+ "nmprimary_proxy_method": "none",
204
+ "nmprimary_proxy_browser-only": "no",
205
+ "nmprimary_proxy_pac-url": "",
206
+ "nmprimary_proxy_pac-script": "",
207
+ "nmprimary_general_name": "primary",
208
+ "nmprimary_general_uuid": "d8651bb4-e2c3-11ea-816a-525400964581",
209
+ "nmprimary_general_devices": "eth0",
210
+ "nmprimary_general_state": "activated",
211
+ "nmprimary_general_default": "no",
212
+ "nmprimary_general_default6": "no",
213
+ "nmprimary_general_spec-object": "",
214
+ "nmprimary_general_vpn": "no",
215
+ "nmprimary_general_dbus-path": "/org/freedesktop/NetworkManager/ActiveConnection/1",
216
+ "nmprimary_general_con-path": "/org/freedesktop/NetworkManager/Settings/1",
217
+ "nmprimary_general_zone": "",
218
+ "nmprimary_general_master-path": "",
219
+ "nmprimary_ip6_address": "fd00:aaaa:bbbb:cc:5054:ff:fe96:4581/64",
220
+ "nmprimary_ip6_gateway": "",
221
+ "nmprimary_ip6_route": "dst = fd00:aaaa:bbbb:cc::/64, nh = ::, mt = 100",
222
+ "nmprimary_ip6_dns": "fe80::5054:ff:fe3a:6bd3"
223
+ }