fauxhai 3.4.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d1b28ddb2cc456f279a8b878c8dd334b9023d31
4
- data.tar.gz: b29aee230482919e119b04633125461d53e584a3
3
+ metadata.gz: 7af5ed24068e517a79ef0e2baeb920682772d22f
4
+ data.tar.gz: 8f4fe3619b71451b02e287937393c3df74ce71cc
5
5
  SHA512:
6
- metadata.gz: 4f4dcfaf75d40d4a6d720c607afc2cc638ca7975cf3a615346ed785b51722dba19ecaf9a0da8722b1fd7f92d1a6ed2f1e57e709955b9b661724809b32d2b0ab2
7
- data.tar.gz: a6ce9d8d55dee28b5be9977f5d1a4e2fe39a2f790d1e461fe57a255ee9fd5ec52d3a59a334c516409c0db95a75a818b5575c3a0c59b774d25c6aee5c0d3310b4
6
+ metadata.gz: 91e6af5cdaed2a8ecf08bf2efd059f10e7b178925cc47d474f0afe7137169b78997e483a2c761092439470fe2b49e535d1bed24a984142350c2b8823955a610e
7
+ data.tar.gz: be42fa544ff4e3dc75dadd18950c3f7ba44c0a965522f4a02dfc492b1c52cdd394673c431ae769b8730749a6230560b1b6dfb04cc1398d7ab1c866afba20f9fc
@@ -1,5 +1,12 @@
1
1
  # Fauxhai Changelog
2
2
 
3
+ ## v3.5.0
4
+ - Fauxhai now requires at least Ruby 2.0
5
+ - Added CentOS 6.8, Arch 4.5.4-1-ARCH, Debian 7.10, Gentoo 2.2
6
+ - Fixed the naming and bad JSON in Amazon 2016.03
7
+ - Updated the raw Github URL to Github's recommended URL
8
+ - Fixed the Rake task to properly fail if JSON files fail to validate
9
+
3
10
  ## v3.4.0
4
11
  - Added Ubuntu 16.04, Debian 8.4, FreeBSD 10.3, and OmniOS r151018
5
12
 
data/Rakefile CHANGED
@@ -7,13 +7,16 @@ task :default => ['validate:json']
7
7
  namespace :validate do
8
8
  desc 'Validate mock platform data is valid JSON'
9
9
  task :json do
10
+ failure = false
10
11
  Dir.glob('./lib/fauxhai/platforms/**/*.json') do |file|
11
12
  begin
12
13
  JSON.parse(File.read(file))
13
14
  rescue JSON::ParserError => e
15
+ failure = true
14
16
  puts "Failed to parse #{file}."
15
17
  end
16
18
  end
19
+ exit! if failure
17
20
  puts 'JSON files validated'
18
21
  end
19
22
  end
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = 'https://github.com/customink/fauxhai'
13
13
  spec.license = 'MIT'
14
14
 
15
- spec.required_ruby_version = '>= 1.9'
15
+ spec.required_ruby_version = '>= 2.0'
16
16
 
17
17
  spec.files = `git ls-files`.split($\)
18
18
  spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
@@ -5,7 +5,7 @@ require 'open-uri'
5
5
  module Fauxhai
6
6
  class Mocker
7
7
  # The base URL for the GitHub project (raw)
8
- RAW_BASE = 'https://raw.github.com/customink/fauxhai/master'
8
+ RAW_BASE = 'https://raw.githubusercontent.com/customink/fauxhai/master'
9
9
 
10
10
  # @return [Hash] The raw ohai data for the given Mock
11
11
  attr_reader :data
@@ -1,4 +1,4 @@
1
-
1
+ {
2
2
  "filesystem": {
3
3
  "/dev/xvda1": {
4
4
  "kb_size": "8123812",
@@ -0,0 +1,675 @@
1
+ {
2
+ "command": {
3
+ "ps": "ps -ef"
4
+ },
5
+ "kernel": {
6
+ "name": "Linux",
7
+ "release": "4.5.4-1-ARCH",
8
+ "version": "#1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016",
9
+ "machine": "x86_64",
10
+ "processor": "unknown",
11
+ "os": "GNU/Linux",
12
+ "modules": {
13
+ "cfg80211": {
14
+ "size": "491520",
15
+ "refcount": "0"
16
+ },
17
+ "rfkill": {
18
+ "size": "20480",
19
+ "refcount": "2"
20
+ },
21
+ "crct10dif_pclmul": {
22
+ "size": "16384",
23
+ "refcount": "0"
24
+ },
25
+ "ppdev": {
26
+ "size": "20480",
27
+ "refcount": "0"
28
+ },
29
+ "crc32_pclmul": {
30
+ "size": "16384",
31
+ "refcount": "0"
32
+ },
33
+ "crc32c_intel": {
34
+ "size": "24576",
35
+ "refcount": "0"
36
+ },
37
+ "ghash_clmulni_intel": {
38
+ "size": "16384",
39
+ "refcount": "0"
40
+ },
41
+ "joydev": {
42
+ "size": "20480",
43
+ "refcount": "0"
44
+ },
45
+ "aesni_intel": {
46
+ "size": "167936",
47
+ "refcount": "0"
48
+ },
49
+ "mousedev": {
50
+ "size": "20480",
51
+ "refcount": "0"
52
+ },
53
+ "aes_x86_64": {
54
+ "size": "20480",
55
+ "refcount": "1"
56
+ },
57
+ "lrw": {
58
+ "size": "16384",
59
+ "refcount": "1"
60
+ },
61
+ "snd_intel8x0": {
62
+ "size": "36864",
63
+ "refcount": "0"
64
+ },
65
+ "gf128mul": {
66
+ "size": "16384",
67
+ "refcount": "1"
68
+ },
69
+ "glue_helper": {
70
+ "size": "16384",
71
+ "refcount": "1"
72
+ },
73
+ "snd_ac97_codec": {
74
+ "size": "118784",
75
+ "refcount": "1"
76
+ },
77
+ "ablk_helper": {
78
+ "size": "16384",
79
+ "refcount": "1"
80
+ },
81
+ "cryptd": {
82
+ "size": "20480",
83
+ "refcount": "3"
84
+ },
85
+ "intel_agp": {
86
+ "size": "20480",
87
+ "refcount": "0"
88
+ },
89
+ "i2c_piix4": {
90
+ "size": "24576",
91
+ "refcount": "0"
92
+ },
93
+ "ac97_bus": {
94
+ "size": "16384",
95
+ "refcount": "1"
96
+ },
97
+ "e1000": {
98
+ "size": "122880",
99
+ "refcount": "0"
100
+ },
101
+ "intel_gtt": {
102
+ "size": "20480",
103
+ "refcount": "1"
104
+ },
105
+ "snd_pcm": {
106
+ "size": "86016",
107
+ "refcount": "2"
108
+ },
109
+ "snd_timer": {
110
+ "size": "28672",
111
+ "refcount": "1"
112
+ },
113
+ "snd": {
114
+ "size": "65536",
115
+ "refcount": "4"
116
+ },
117
+ "soundcore": {
118
+ "size": "16384",
119
+ "refcount": "1"
120
+ },
121
+ "pcspkr": {
122
+ "size": "16384",
123
+ "refcount": "0"
124
+ },
125
+ "psmouse": {
126
+ "size": "118784",
127
+ "refcount": "0"
128
+ },
129
+ "evdev": {
130
+ "size": "24576",
131
+ "refcount": "3"
132
+ },
133
+ "input_leds": {
134
+ "size": "16384",
135
+ "refcount": "0"
136
+ },
137
+ "led_class": {
138
+ "size": "16384",
139
+ "refcount": "1"
140
+ },
141
+ "mac_hid": {
142
+ "size": "16384",
143
+ "refcount": "0"
144
+ },
145
+ "serio_raw": {
146
+ "size": "16384",
147
+ "refcount": "0"
148
+ },
149
+ "acpi_cpufreq": {
150
+ "size": "20480",
151
+ "refcount": "0"
152
+ },
153
+ "tpm_tis": {
154
+ "size": "20480",
155
+ "refcount": "0"
156
+ },
157
+ "tpm": {
158
+ "size": "36864",
159
+ "refcount": "1"
160
+ },
161
+ "fjes": {
162
+ "size": "28672",
163
+ "refcount": "0"
164
+ },
165
+ "battery": {
166
+ "size": "20480",
167
+ "refcount": "0"
168
+ },
169
+ "parport_pc": {
170
+ "size": "28672",
171
+ "refcount": "0"
172
+ },
173
+ "parport": {
174
+ "size": "40960",
175
+ "refcount": "2"
176
+ },
177
+ "ac": {
178
+ "size": "16384",
179
+ "refcount": "0"
180
+ },
181
+ "video": {
182
+ "size": "36864",
183
+ "refcount": "0"
184
+ },
185
+ "processor": {
186
+ "size": "32768",
187
+ "refcount": "1"
188
+ },
189
+ "button": {
190
+ "size": "16384",
191
+ "refcount": "0"
192
+ },
193
+ "sch_fq_codel": {
194
+ "size": "20480",
195
+ "refcount": "2"
196
+ },
197
+ "ip_tables": {
198
+ "size": "28672",
199
+ "refcount": "0"
200
+ },
201
+ "x_tables": {
202
+ "size": "28672",
203
+ "refcount": "1"
204
+ },
205
+ "ext4": {
206
+ "size": "516096",
207
+ "refcount": "1"
208
+ },
209
+ "crc16": {
210
+ "size": "16384",
211
+ "refcount": "1"
212
+ },
213
+ "mbcache": {
214
+ "size": "20480",
215
+ "refcount": "1"
216
+ },
217
+ "jbd2": {
218
+ "size": "94208",
219
+ "refcount": "1"
220
+ },
221
+ "hid_generic": {
222
+ "size": "16384",
223
+ "refcount": "0"
224
+ },
225
+ "usbhid": {
226
+ "size": "45056",
227
+ "refcount": "0"
228
+ },
229
+ "hid": {
230
+ "size": "114688",
231
+ "refcount": "2"
232
+ },
233
+ "sd_mod": {
234
+ "size": "36864",
235
+ "refcount": "3"
236
+ },
237
+ "sr_mod": {
238
+ "size": "24576",
239
+ "refcount": "0"
240
+ },
241
+ "cdrom": {
242
+ "size": "49152",
243
+ "refcount": "1"
244
+ },
245
+ "ata_generic": {
246
+ "size": "16384",
247
+ "refcount": "0"
248
+ },
249
+ "pata_acpi": {
250
+ "size": "16384",
251
+ "refcount": "0"
252
+ },
253
+ "atkbd": {
254
+ "size": "24576",
255
+ "refcount": "0"
256
+ },
257
+ "libps2": {
258
+ "size": "16384",
259
+ "refcount": "2"
260
+ },
261
+ "ahci": {
262
+ "size": "36864",
263
+ "refcount": "2"
264
+ },
265
+ "libahci": {
266
+ "size": "28672",
267
+ "refcount": "1"
268
+ },
269
+ "ata_piix": {
270
+ "size": "36864",
271
+ "refcount": "0"
272
+ },
273
+ "i8042": {
274
+ "size": "24576",
275
+ "refcount": "1"
276
+ },
277
+ "serio": {
278
+ "size": "20480",
279
+ "refcount": "6"
280
+ },
281
+ "ohci_pci": {
282
+ "size": "16384",
283
+ "refcount": "0"
284
+ },
285
+ "ohci_hcd": {
286
+ "size": "45056",
287
+ "refcount": "1"
288
+ },
289
+ "libata": {
290
+ "size": "196608",
291
+ "refcount": "5"
292
+ },
293
+ "scsi_mod": {
294
+ "size": "151552",
295
+ "refcount": "3"
296
+ },
297
+ "usbcore": {
298
+ "size": "196608",
299
+ "refcount": "3"
300
+ },
301
+ "usb_common": {
302
+ "size": "16384",
303
+ "refcount": "1"
304
+ }
305
+ }
306
+ },
307
+ "os": "linux",
308
+ "os_version": "4.5.4-1-ARCH",
309
+ "lsb": {
310
+ },
311
+ "platform": "arch",
312
+ "platform_version": "4.5.4-1-ARCH",
313
+ "platform_family": "arch",
314
+ "filesystem": {
315
+ "dev": {
316
+ "kb_size": "379108",
317
+ "kb_used": "0",
318
+ "kb_available": "379108",
319
+ "percent_used": "0%",
320
+ "mount": "/dev",
321
+ "total_inodes": "94777",
322
+ "inodes_used": "329",
323
+ "inodes_available": "94448",
324
+ "inodes_percent_used": "1%",
325
+ "fs_type": "devtmpfs",
326
+ "mount_options": [
327
+ "rw",
328
+ "nosuid",
329
+ "relatime",
330
+ "size=379108k",
331
+ "nr_inodes=94777",
332
+ "mode=755"
333
+ ]
334
+ },
335
+ "run": {
336
+ "kb_size": "381648",
337
+ "kb_used": "308",
338
+ "kb_available": "381340",
339
+ "percent_used": "1%",
340
+ "mount": "/run",
341
+ "total_inodes": "95412",
342
+ "inodes_used": "333",
343
+ "inodes_available": "95079",
344
+ "inodes_percent_used": "1%",
345
+ "fs_type": "tmpfs",
346
+ "mount_options": [
347
+ "rw",
348
+ "nosuid",
349
+ "nodev",
350
+ "relatime",
351
+ "mode=755"
352
+ ]
353
+ },
354
+ "/dev/sda1": {
355
+ "kb_size": "101016992",
356
+ "kb_used": "1355572",
357
+ "kb_available": "94507016",
358
+ "percent_used": "2%",
359
+ "mount": "/",
360
+ "total_inodes": "6422528",
361
+ "inodes_used": "71186",
362
+ "inodes_available": "6351342",
363
+ "inodes_percent_used": "2%",
364
+ "fs_type": "ext4",
365
+ "mount_options": [
366
+ "rw",
367
+ "relatime",
368
+ "data=ordered"
369
+ ],
370
+ "uuid": "30f687a1-a52e-417c-a054-323265147108"
371
+ },
372
+ "tmpfs": {
373
+ "kb_size": "76332",
374
+ "kb_used": "0",
375
+ "kb_available": "76332",
376
+ "percent_used": "0%",
377
+ "mount": "/run/user/0",
378
+ "total_inodes": "95412",
379
+ "inodes_used": "5",
380
+ "inodes_available": "95407",
381
+ "inodes_percent_used": "1%",
382
+ "fs_type": "tmpfs",
383
+ "mount_options": [
384
+ "rw",
385
+ "nosuid",
386
+ "nodev",
387
+ "relatime",
388
+ "size=76332k",
389
+ "mode=700"
390
+ ]
391
+ },
392
+ "proc": {
393
+ "mount": "/proc",
394
+ "fs_type": "proc",
395
+ "mount_options": [
396
+ "rw",
397
+ "nosuid",
398
+ "nodev",
399
+ "noexec",
400
+ "relatime"
401
+ ]
402
+ },
403
+ "sys": {
404
+ "mount": "/sys",
405
+ "fs_type": "sysfs",
406
+ "mount_options": [
407
+ "rw",
408
+ "nosuid",
409
+ "nodev",
410
+ "noexec",
411
+ "relatime"
412
+ ]
413
+ },
414
+ "securityfs": {
415
+ "mount": "/sys/kernel/security",
416
+ "fs_type": "securityfs",
417
+ "mount_options": [
418
+ "rw",
419
+ "nosuid",
420
+ "nodev",
421
+ "noexec",
422
+ "relatime"
423
+ ]
424
+ },
425
+ "devpts": {
426
+ "mount": "/dev/pts",
427
+ "fs_type": "devpts",
428
+ "mount_options": [
429
+ "rw",
430
+ "nosuid",
431
+ "noexec",
432
+ "relatime",
433
+ "gid=5",
434
+ "mode=620",
435
+ "ptmxmode=000"
436
+ ]
437
+ },
438
+ "cgroup": {
439
+ "mount": "/sys/fs/cgroup/net_cls",
440
+ "fs_type": "cgroup",
441
+ "mount_options": [
442
+ "rw",
443
+ "nosuid",
444
+ "nodev",
445
+ "noexec",
446
+ "relatime",
447
+ "net_cls"
448
+ ]
449
+ },
450
+ "pstore": {
451
+ "mount": "/sys/fs/pstore",
452
+ "fs_type": "pstore",
453
+ "mount_options": [
454
+ "rw",
455
+ "nosuid",
456
+ "nodev",
457
+ "noexec",
458
+ "relatime"
459
+ ]
460
+ },
461
+ "systemd-1": {
462
+ "mount": "/proc/sys/fs/binfmt_misc",
463
+ "fs_type": "autofs",
464
+ "mount_options": [
465
+ "rw",
466
+ "relatime",
467
+ "fd=27",
468
+ "pgrp=1",
469
+ "timeout=0",
470
+ "minproto=5",
471
+ "maxproto=5",
472
+ "direct"
473
+ ]
474
+ },
475
+ "debugfs": {
476
+ "mount": "/sys/kernel/debug",
477
+ "fs_type": "debugfs",
478
+ "mount_options": [
479
+ "rw",
480
+ "relatime"
481
+ ]
482
+ },
483
+ "configfs": {
484
+ "mount": "/sys/kernel/config",
485
+ "fs_type": "configfs",
486
+ "mount_options": [
487
+ "rw",
488
+ "relatime"
489
+ ]
490
+ },
491
+ "mqueue": {
492
+ "mount": "/dev/mqueue",
493
+ "fs_type": "mqueue",
494
+ "mount_options": [
495
+ "rw",
496
+ "relatime"
497
+ ]
498
+ },
499
+ "hugetlbfs": {
500
+ "mount": "/dev/hugepages",
501
+ "fs_type": "hugetlbfs",
502
+ "mount_options": [
503
+ "rw",
504
+ "relatime"
505
+ ]
506
+ },
507
+ "binfmt_misc": {
508
+ "mount": "/proc/sys/fs/binfmt_misc",
509
+ "fs_type": "binfmt_misc",
510
+ "mount_options": [
511
+ "rw",
512
+ "relatime"
513
+ ]
514
+ },
515
+ "tracefs": {
516
+ "mount": "/sys/kernel/debug/tracing",
517
+ "fs_type": "tracefs",
518
+ "mount_options": [
519
+ "rw",
520
+ "relatime"
521
+ ]
522
+ },
523
+ "/dev/sda2": {
524
+ "fs_type": "swap",
525
+ "uuid": "faf43134-79b1-479d-8e3b-fb7e1b954c9b"
526
+ }
527
+ },
528
+ "dmi": {
529
+ },
530
+ "ohai_time": 1464378973.6190536,
531
+ "init_package": "systemd",
532
+ "root_group": "root",
533
+ "languages": {
534
+ "ruby": {
535
+ "platform": "x86_64-linux",
536
+ "version": "2.3.1",
537
+ "release_date": "2016-04-26",
538
+ "target": "x86_64-pc-linux-gnu",
539
+ "target_cpu": "x86_64",
540
+ "target_vendor": "pc",
541
+ "target_os": "linux",
542
+ "host": "x86_64-pc-linux-gnu",
543
+ "host_cpu": "x86_64",
544
+ "host_os": "linux-gnu",
545
+ "host_vendor": "pc",
546
+ "bin_dir": "/usr/local/bin",
547
+ "ruby_bin": "/usr/local/bin/ruby",
548
+ "gems_dir": "/usr/local/gems",
549
+ "gem_bin": "/usr/local/bin/gem"
550
+ },
551
+ "powershell": null
552
+ },
553
+ "chef_packages": {
554
+ "chef": {
555
+ "version": "12.10.24",
556
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.10.24/lib"
557
+ },
558
+ "ohai": {
559
+ "version": "8.16.0",
560
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.16.0/lib/ohai"
561
+ }
562
+ },
563
+ "counters": {
564
+ "network": {
565
+ "interfaces": {
566
+ "eth0": {
567
+ "rx": {
568
+ "bytes": "0",
569
+ "packets": "0",
570
+ "errors": "0",
571
+ "drop": 0,
572
+ "overrun": 0,
573
+ "frame": 0,
574
+ "compressed": 0,
575
+ "multicast": 0
576
+ },
577
+ "tx": {
578
+ "bytes": "342",
579
+ "packets": "0",
580
+ "errors": "0",
581
+ "drop": 0,
582
+ "overrun": 0,
583
+ "collisions": "0",
584
+ "carrier": 0,
585
+ "compressed": 0
586
+ }
587
+ }
588
+ }
589
+ }
590
+ },
591
+ "current_user": "fauxhai",
592
+ "domain": "local",
593
+ "etc": {
594
+ "passwd": {
595
+ "fauxhai": {
596
+ "dir": "/home/fauxhai",
597
+ "gid": 0,
598
+ "uid": 0,
599
+ "shell": "/bin/bash",
600
+ "gecos": "Fauxhai"
601
+ }
602
+ },
603
+ "group": {
604
+ "fauxhai": {
605
+ "gid": 0,
606
+ "members": [
607
+ "fauxhai"
608
+ ]
609
+ }
610
+ }
611
+ },
612
+ "hostname": "Fauxhai",
613
+ "fqdn": "fauxhai.local",
614
+ "ipaddress": "10.0.0.2",
615
+ "keys": {
616
+ "ssh": {
617
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
618
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
619
+ }
620
+ },
621
+ "macaddress": "11:11:11:11:11:11",
622
+ "network": {
623
+ "default_gateway": "10.0.0.1",
624
+ "default_interface": "eth0",
625
+ "settings": {
626
+ },
627
+ "interfaces": {
628
+ "eth0": {
629
+ "addresses": {
630
+ "10.0.0.2": {
631
+ "broadcast": "10.0.0.255",
632
+ "family": "inet",
633
+ "netmask": "255.255.255.0",
634
+ "prefixlen": "23",
635
+ "scope": "Global"
636
+ }
637
+ },
638
+ "arp": {
639
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
640
+ },
641
+ "encapsulation": "Ethernet",
642
+ "flags": [
643
+ "BROADCAST",
644
+ "MULTICAST",
645
+ "UP",
646
+ "LOWER_UP"
647
+ ],
648
+ "mtu": "1500",
649
+ "number": "0",
650
+ "routes": {
651
+ "10.0.0.0/255": {
652
+ "scope": "link",
653
+ "src": "10.0.0.2"
654
+ }
655
+ },
656
+ "state": "up",
657
+ "type": "eth"
658
+ }
659
+ }
660
+ },
661
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
662
+ "uptime_seconds": 2646450,
663
+ "cpu": {
664
+ "real": 1,
665
+ "total": 1,
666
+ "cores": 1
667
+ },
668
+ "memory": {
669
+ "total": "1048576kB"
670
+ },
671
+ "virtualization": {
672
+ "systems": {
673
+ }
674
+ }
675
+ }