foreman_discovery 15.0.2 → 16.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  3. data/app/controllers/concerns/foreman/controller/discovered_extensions.rb +4 -0
  4. data/app/controllers/discovered_hosts_controller.rb +6 -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 +49 -31
  8. data/app/models/host/managed_extensions.rb +2 -2
  9. data/app/models/setting/discovered.rb +28 -33
  10. data/app/services/foreman_discovery/fact_parser.rb +1 -1
  11. data/app/services/foreman_discovery/host_converter.rb +38 -2
  12. data/app/services/foreman_discovery/host_fact_importer.rb +10 -0
  13. data/app/services/foreman_discovery/import_hooks/subnet_and_taxonomy.rb +6 -14
  14. data/app/services/foreman_discovery/node_api/node_resource.rb +1 -0
  15. data/app/services/foreman_discovery/subnet_suggestion.rb +26 -0
  16. data/app/views/foreman_discovery/debian_kexec.erb +3 -2
  17. data/app/views/foreman_discovery/redhat_kexec.erb +2 -1
  18. data/config/routes.rb +2 -0
  19. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  20. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  21. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  22. data/extra/discover-host +34 -14
  23. data/lib/foreman_discovery/engine.rb +4 -4
  24. data/lib/foreman_discovery/version.rb +1 -1
  25. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/ca/foreman_discovery.edit.po +122 -93
  27. data/locale/ca/foreman_discovery.po +31 -8
  28. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/de/foreman_discovery.edit.po +125 -96
  30. data/locale/de/foreman_discovery.po +34 -11
  31. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/en/foreman_discovery.edit.po +118 -88
  33. data/locale/en/foreman_discovery.po +27 -4
  34. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/en_GB/foreman_discovery.edit.po +125 -96
  36. data/locale/en_GB/foreman_discovery.po +34 -11
  37. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/es/foreman_discovery.edit.po +124 -95
  39. data/locale/es/foreman_discovery.po +33 -10
  40. data/locale/foreman_discovery.pot +119 -89
  41. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/fr/foreman_discovery.edit.po +122 -93
  43. data/locale/fr/foreman_discovery.po +31 -8
  44. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/gl/foreman_discovery.edit.po +120 -91
  46. data/locale/gl/foreman_discovery.po +29 -6
  47. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/it/foreman_discovery.edit.po +120 -91
  49. data/locale/it/foreman_discovery.po +29 -6
  50. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/ja/foreman_discovery.edit.po +123 -94
  52. data/locale/ja/foreman_discovery.po +32 -9
  53. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ko/foreman_discovery.edit.po +122 -93
  55. data/locale/ko/foreman_discovery.po +31 -8
  56. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/pt_BR/foreman_discovery.edit.po +123 -94
  58. data/locale/pt_BR/foreman_discovery.po +32 -9
  59. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/ru/foreman_discovery.edit.po +123 -94
  61. data/locale/ru/foreman_discovery.po +32 -9
  62. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  63. data/locale/sv_SE/foreman_discovery.edit.po +121 -92
  64. data/locale/sv_SE/foreman_discovery.po +30 -7
  65. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  66. data/locale/zh_CN/foreman_discovery.edit.po +122 -93
  67. data/locale/zh_CN/foreman_discovery.po +31 -8
  68. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  69. data/locale/zh_TW/foreman_discovery.edit.po +120 -91
  70. data/locale/zh_TW/foreman_discovery.po +29 -6
  71. data/test/facts/bond0-eth0-eth1-active-passive.json +128 -0
  72. data/test/facts/facts_with_lldp_bond_candidate.json +2 -9
  73. data/test/facts/only-ipv6.json +205 -0
  74. data/test/facts/skylake-ipv6.json +223 -0
  75. data/test/functional/api/v2/discovered_hosts_controller_test.rb +1 -0
  76. data/test/functional/api/v2/settings_controller_test.rb +2 -2
  77. data/test/functional/discovered_hosts_controller_test.rb +15 -6
  78. data/test/integration/discovered_hosts_test.rb +6 -11
  79. data/test/test_helper_discovery.rb +12 -0
  80. data/test/unit/discovered_extensions_test.rb +54 -0
  81. data/test/unit/discovery_attribute_set_test.rb +13 -10
  82. data/test/unit/discovery_rule_test.rb +1 -0
  83. data/test/unit/host_discovered_test.rb +32 -29
  84. data/test/unit/managed_extensions_test.rb +2 -0
  85. metadata +39 -28
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_discovery 15.0.0\n"
8
+ "Project-Id-Version: foreman_discovery 16.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2019-04-18 19:36+0000\n"
11
- "Last-Translator: Lukáš Zapletal\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"
@@ -32,6 +32,9 @@ msgstr ""
32
32
  msgid "A summary of discovered hosts"
33
33
  msgstr ""
34
34
 
35
+ msgid "Action with sub plans"
36
+ msgstr ""
37
+
35
38
  msgid "Actions"
36
39
  msgstr "動作"
37
40
 
@@ -134,6 +137,11 @@ msgstr "停用"
134
137
  msgid "Disable rule '%s'?"
135
138
  msgstr ""
136
139
 
140
+ msgid "Discovered Host"
141
+ msgid_plural "Discovered Hosts"
142
+ msgstr[0] ""
143
+ msgstr[1] ""
144
+
137
145
  msgid "Discovered Hosts"
138
146
  msgstr ""
139
147
 
@@ -345,6 +353,9 @@ msgstr "IP 位址"
345
353
  msgid "IP address"
346
354
  msgstr "IP 位址"
347
355
 
356
+ msgid "IPAM must be configured for subnet '%s'"
357
+ msgstr ""
358
+
348
359
  msgid "IPMI"
349
360
  msgstr "IPMI"
350
361
 
@@ -360,6 +371,12 @@ msgstr ""
360
371
  msgid "Image API returned HTTP/%{code} with '%{body}"
361
372
  msgstr ""
362
373
 
374
+ msgid "Import Puppet classes"
375
+ msgstr ""
376
+
377
+ msgid "Import facts"
378
+ msgstr ""
379
+
363
380
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
364
381
  msgstr ""
365
382
 
@@ -576,6 +593,9 @@ msgstr ""
576
593
  msgid "Reloading kernel on %s"
577
594
  msgstr ""
578
595
 
596
+ msgid "Remote action:"
597
+ msgstr ""
598
+
579
599
  msgid "Reported in the last 7 days"
580
600
  msgstr ""
581
601
 
@@ -675,13 +695,16 @@ msgstr ""
675
695
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
676
696
  msgstr ""
677
697
 
678
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
698
+ msgid "Unable to perform %{action} on %{ips}"
679
699
  msgstr ""
680
700
 
681
- msgid "Unable to provision %{host}: %{errors}"
701
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
702
+ msgstr ""
703
+
704
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
682
705
  msgstr ""
683
706
 
684
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
707
+ msgid "Unable to provision %{host}: %{errors}"
685
708
  msgstr ""
686
709
 
687
710
  msgid "Update a rule"
@@ -0,0 +1,128 @@
1
+ {
2
+ "uptime_seconds": 206,
3
+ "architecture": "x86_64",
4
+ "virtual": "kvm",
5
+ "is_virtual": true,
6
+ "kernel": "Linux",
7
+ "blockdevice_vda_size": 6442450944,
8
+ "blockdevice_vda_vendor": "0x1af4",
9
+ "blockdevices": "vda",
10
+ "dhcp_servers": {
11
+ "system": "192.168.122.1",
12
+ "bond0": "192.168.122.1"
13
+ },
14
+ "domain": "nat.lan",
15
+ "hardwaremodel": "x86_64",
16
+ "operatingsystem": "CentOS",
17
+ "os": {
18
+ "name": "CentOS",
19
+ "family": "RedHat",
20
+ "release": {
21
+ "major": "7",
22
+ "minor": "6",
23
+ "full": "7.6.1810"
24
+ }
25
+ },
26
+ "facterversion": "2.4.1",
27
+ "filesystems": "xfs",
28
+ "fqdn": "localhost.nat.lan",
29
+ "gid": "root",
30
+ "hardwareisa": "x86_64",
31
+ "hostname": "localhost",
32
+ "id": "root",
33
+ "interfaces": "bond0,eth0,eth1,lo",
34
+ "ipaddress_bond0": "192.168.122.7",
35
+ "macaddress_bond0": "52:54:00:fd:1e:62",
36
+ "netmask_bond0": "255.255.255.0",
37
+ "mtu_bond0": 1500,
38
+ "macaddress_eth0": "52:54:00:FD:1E:62",
39
+ "mtu_eth0": 1500,
40
+ "macaddress_eth1": "52:54:00:7C:84:DA",
41
+ "mtu_eth1": 1500,
42
+ "ipaddress_lo": "127.0.0.1",
43
+ "netmask_lo": "255.0.0.0",
44
+ "mtu_lo": 65536,
45
+ "ipaddress": "192.168.122.7",
46
+ "kernelmajversion": "3.10",
47
+ "kernelrelease": "3.10.0-957.el7.x86_64",
48
+ "kernelversion": "3.10.0",
49
+ "rubyplatform": "x86_64-linux",
50
+ "macaddress": "52:54:00:fd:1e:62",
51
+ "bios_vendor": "SeaBIOS",
52
+ "bios_version": "1.12.0-2.fc30",
53
+ "bios_release_date": "04/01/2014",
54
+ "manufacturer": "QEMU",
55
+ "productname": "Standard PC (Q35 + ICH9, 2009)",
56
+ "serialnumber": "Not Specified",
57
+ "uuid": "d1e61ef9-663e-4195-b256-f64b9f8cc8ae",
58
+ "type": "Other",
59
+ "memorysize": "8.41 GB",
60
+ "memoryfree": "8.20 GB",
61
+ "swapsize": "615.00 MB",
62
+ "swapfree": "615.00 MB",
63
+ "swapsize_mb": "615.00",
64
+ "swapfree_mb": "615.00",
65
+ "memorysize_mb": "8615.46",
66
+ "memoryfree_mb": "8395.15",
67
+ "netmask": "255.255.255.0",
68
+ "network_bond0": "192.168.122.0",
69
+ "network_lo": "127.0.0.0",
70
+ "uptime_hours": 0,
71
+ "operatingsystemmajrelease": "7",
72
+ "rubysitedir": "/usr/local/share/ruby/site_ruby/",
73
+ "operatingsystemrelease": "7.6.1810",
74
+ "osfamily": "RedHat",
75
+ "partitions": {
76
+ "vda1": {
77
+ "size": "2048"
78
+ },
79
+ "vda2": {
80
+ "uuid": "1f259325-5eb4-4334-81f3-699ace4a28ff",
81
+ "size": "2097152",
82
+ "mount": "/boot",
83
+ "filesystem": "xfs"
84
+ },
85
+ "vda3": {
86
+ "uuid": "6639b5c4-1ba1-41d6-a4a0-6253eeaaae05",
87
+ "size": "1259520",
88
+ "filesystem": "swap"
89
+ },
90
+ "vda4": {
91
+ "uuid": "09aced65-5b86-4efe-9da0-c86a3311e1b8",
92
+ "size": "9220096",
93
+ "mount": "/",
94
+ "filesystem": "xfs"
95
+ }
96
+ },
97
+ "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin",
98
+ "rubyversion": "2.0.0",
99
+ "physicalprocessorcount": 2,
100
+ "processors": {
101
+ "models": [
102
+ "AMD EPYC Processor (with IBPB)",
103
+ "AMD EPYC Processor (with IBPB)"
104
+ ],
105
+ "count": 2,
106
+ "physicalcount": 2
107
+ },
108
+ "processor0": "AMD EPYC Processor (with IBPB)",
109
+ "processor1": "AMD EPYC Processor (with IBPB)",
110
+ "processorcount": 2,
111
+ "ps": "ps -ef",
112
+ "selinux": true,
113
+ "selinux_enforced": true,
114
+ "selinux_policyversion": "31",
115
+ "selinux_current_mode": "enforcing",
116
+ "selinux_config_mode": "enforcing",
117
+ "selinux_config_policy": "unknown",
118
+ "system_uptime": {
119
+ "seconds": 206,
120
+ "hours": 0,
121
+ "days": 0,
122
+ "uptime": "0:03 hours"
123
+ },
124
+ "timezone": "EDT",
125
+ "uniqueid": "007f0100",
126
+ "uptime": "0:03 hours",
127
+ "uptime_days": 0
128
+ }
@@ -6,14 +6,11 @@
6
6
  "kernelmajversion": "2.6",
7
7
  "kernelversion": "2.6.32",
8
8
  "macaddress_vnet0": "FE:54:00:1E:45:13",
9
- "macaddress_br181": "E4:1F:13:CC:36:58",
10
9
  "macaddress_usb0": "E6:1F:13:D0:43:A3",
11
10
  "macaddress_vnet1": "FE:54:00:45:E5:3E",
12
11
  "rubysitedir": "/usr/lib/ruby/site_ruby/1.8",
13
- "macaddress_br182": "E4:1F:13:CC:36:58",
14
12
  "processor4": "Intel(R) Xeon(R) CPU E5620 @ 2.40GHz",
15
13
  "macaddress_vnet2": "FE:54:00:93:F5:56",
16
- "macaddress_br183": "E4:1F:13:CC:36:58",
17
14
  "ps": "ps -ef",
18
15
  "processor5": "Intel(R) Xeon(R) CPU E5620 @ 2.40GHz",
19
16
  "macaddress_vnet10": "FE:54:00:7D:F8:24",
@@ -28,16 +25,15 @@
28
25
  "macaddress_vnet4": "FE:54:00:62:53:67",
29
26
  "hostname": "h02",
30
27
  "osfamily": "RedHat",
31
- "gateway_if": "br180",
28
+ "gateway_if": "eth0",
32
29
  "lsbrelease": ":core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch",
33
30
  "kernelrelease": "2.6.32-131.12.1.el6.x86_64",
34
31
  "kernel": "Linux",
35
32
  "facterversion": "1.6.2",
36
33
  "uptime_seconds": "13651752",
37
34
  "macaddress_vnet5": "FE:54:00:01:B9:9C",
38
- "interfaces": "br180,br181,br182,br183,eth0,eth0_181,eth0_182,eth0_183,eth1,lo,usb0,vnet0,vnet1,vnet2,vnet3,vnet4,vnet5,vnet7,vnet10",
35
+ "interfaces": "eth0,eth0_181,eth0_182,eth0_183,eth1,lo,usb0,vnet0,vnet1,vnet2,vnet3,vnet4,vnet5,vnet7,vnet10",
39
36
  "macaddress_vnet7": "FE:54:00:D8:F9:38",
40
- "netmask_br180": "255.255.255.192",
41
37
  "macaddress_eth0": "E4:1F:13:CC:36:58",
42
38
  "is_virtual": "false",
43
39
  "macaddress": "E4:1F:13:CC:36:58",
@@ -47,7 +43,6 @@
47
43
  "macaddress_eth1": "E4:1F:13:CC:36:5A",
48
44
  "timezone": "GMT",
49
45
  "fqdn": "a.server.b.domain",
50
- "ipaddress_br180": "10.35.27.2",
51
46
  "ipaddress_eth0": "10.35.27.3",
52
47
  "ipaddress_eth1": "10.35.27.4",
53
48
  "puppetversion": "2.6.12",
@@ -69,12 +64,10 @@
69
64
  "network_lo": "127.0.0.0",
70
65
  "gateway": "10.35.27.62",
71
66
  "lsbdistid": "RedHatEnterpriseServer",
72
- "network_br180": "10.35.27.0",
73
67
  "lsbdistdescription": "Red Hat Enterprise Linux Server release 6.2 (Santiago)",
74
68
  "swapsize": "17.70 GB",
75
69
  "processor0": "Intel(R) Xeon(R) CPU E5620 @ 2.40GHz",
76
70
  "processor1": "Intel(R) Xeon(R) CPU E5620 @ 2.40GHz",
77
- "macaddress_br180": "E4:1F:13:CC:36:58",
78
71
  "selinux": "false",
79
72
  "domain": "server.b.domain",
80
73
  "architecture": "x86_64",
@@ -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
+ }