fog-openstack 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/README.md +2 -2
  4. data/Rakefile +1 -8
  5. data/docs/orchestration.md +19 -0
  6. data/fog-openstack.gemspec +2 -1
  7. data/gemfiles/Gemfile-1.9 +2 -1
  8. data/lib/fog/dns/openstack/v2.rb +20 -0
  9. data/lib/fog/dns/openstack/v2/models/recordset.rb +55 -0
  10. data/lib/fog/dns/openstack/v2/models/recordsets.rb +30 -0
  11. data/lib/fog/dns/openstack/v2/models/zone.rb +50 -0
  12. data/lib/fog/dns/openstack/v2/models/zones.rb +30 -0
  13. data/lib/fog/dns/openstack/v2/requests/delete_recordset.rb +5 -3
  14. data/lib/fog/dns/openstack/v2/requests/delete_zone.rb +5 -3
  15. data/lib/fog/dns/openstack/v2/requests/get_quota.rb +4 -2
  16. data/lib/fog/dns/openstack/v2/requests/get_recordset.rb +4 -2
  17. data/lib/fog/dns/openstack/v2/requests/get_zone.rb +5 -3
  18. data/lib/fog/dns/openstack/v2/requests/list_recordsets.rb +29 -5
  19. data/lib/fog/dns/openstack/v2/requests/list_zones.rb +4 -1
  20. data/lib/fog/dns/openstack/v2/requests/update_quota.rb +4 -3
  21. data/lib/fog/dns/openstack/v2/requests/update_recordset.rb +4 -1
  22. data/lib/fog/dns/openstack/v2/requests/update_zone.rb +4 -1
  23. data/lib/fog/introspection/openstack.rb +3 -8
  24. data/lib/fog/monitoring/openstack.rb +7 -1
  25. data/lib/fog/monitoring/openstack/models/alarm.rb +0 -1
  26. data/lib/fog/monitoring/openstack/models/alarm_definition.rb +1 -0
  27. data/lib/fog/monitoring/openstack/models/dimension_value.rb +19 -0
  28. data/lib/fog/monitoring/openstack/models/dimension_values.rb +16 -0
  29. data/lib/fog/monitoring/openstack/models/metrics.rb +8 -0
  30. data/lib/fog/monitoring/openstack/models/notification_method.rb +8 -1
  31. data/lib/fog/monitoring/openstack/models/notification_methods.rb +4 -0
  32. data/lib/fog/monitoring/openstack/requests/list_dimension_values.rb +21 -0
  33. data/lib/fog/monitoring/openstack/requests/list_notification_method_types.rb +21 -0
  34. data/lib/fog/monitoring/openstack/requests/{update_notification_method.rb → patch_notification_method.rb} +1 -1
  35. data/lib/fog/monitoring/openstack/requests/put_notification_method.rb +19 -0
  36. data/lib/fog/network/openstack.rb +12 -8
  37. data/lib/fog/network/openstack/requests/create_network.rb +54 -63
  38. data/lib/fog/network/openstack/requests/update_network.rb +27 -8
  39. data/lib/fog/openstack.rb +44 -28
  40. data/lib/fog/openstack/version.rb +1 -1
  41. data/lib/fog/orchestration/openstack.rb +1 -0
  42. data/lib/fog/orchestration/openstack/models/stack.rb +4 -0
  43. data/lib/fog/orchestration/openstack/requests/cancel_update.rb +26 -0
  44. metadata +13 -30
  45. data/tests/fixtures/introspection.yaml +0 -287
  46. data/tests/helper.rb +0 -24
  47. data/tests/helpers/collection_helper.rb +0 -97
  48. data/tests/helpers/compute/flavors_helper.rb +0 -32
  49. data/tests/helpers/compute/server_helper.rb +0 -25
  50. data/tests/helpers/compute/servers_helper.rb +0 -10
  51. data/tests/helpers/formats_helper.rb +0 -98
  52. data/tests/helpers/formats_helper_tests.rb +0 -110
  53. data/tests/helpers/mock_helper.rb +0 -17
  54. data/tests/helpers/model_helper.rb +0 -31
  55. data/tests/helpers/responds_to_helper.rb +0 -11
  56. data/tests/helpers/schema_validator_tests.rb +0 -107
  57. data/tests/helpers/succeeds_helper.rb +0 -9
@@ -2,14 +2,35 @@ module Fog
2
2
  module Network
3
3
  class OpenStack
4
4
  class Real
5
- def update_network(network_id, options = {})
6
- data = {'network' => {}}
5
+ # Not all options can be updated
6
+ UPDATE_OPTIONS = [
7
+ :name,
8
+ :shared,
9
+ :admin_state_up,
10
+ :qos_policy_id,
11
+ :port_security_enabled
12
+ ].freeze
13
+
14
+ # Not all extra options can be updated
15
+ UPDATE_EXTENTED_OPTIONS = [
16
+ :router_external
17
+ ].freeze
18
+
19
+ def self.update(options)
20
+ data = {}
21
+ UPDATE_OPTIONS.select { |o| options.key?(o) }.each do |key|
22
+ data[key.to_s] = options[key]
23
+ end
7
24
 
8
- vanilla_options = [:name, :shared, :admin_state_up]
9
- vanilla_options.select { |o| options.key?(o) }.each do |key|
10
- data['network'][key] = options[key]
25
+ UPDATE_EXTENTED_OPTIONS.reject { |o| options[o].nil? }.each do |key|
26
+ aliased_key = ALIASES[key] || key
27
+ data[aliased_key] = options[key]
11
28
  end
29
+ data
30
+ end
12
31
 
32
+ def update_network(network_id, options = {})
33
+ data = {'network' => self.class.update(options)}
13
34
  request(
14
35
  :body => Fog::JSON.encode(data),
15
36
  :expects => 200,
@@ -23,9 +44,7 @@ module Fog
23
44
  def update_network(network_id, options = {})
24
45
  response = Excon::Response.new
25
46
  if network = list_networks.body['networks'].find { |_| _['id'] == network_id }
26
- network['name'] = options[:name]
27
- network['shared'] = options[:shared]
28
- network['admin_state_up'] = options[:admin_state_up]
47
+ network.merge!(Fog::Network::OpenStack::Real.update(options))
29
48
  response.body = {'network' => network}
30
49
  response.status = 200
31
50
  response
@@ -5,71 +5,87 @@ require 'fog/json'
5
5
  require 'fog/openstack/core'
6
6
  require 'fog/openstack/errors'
7
7
 
8
- require 'fog/compute/openstack'
9
- require 'fog/dns/openstack/v1'
10
- require 'fog/dns/openstack/v2'
11
- require 'fog/identity/openstack/v2'
12
- require 'fog/identity/openstack/v3'
13
- require 'fog/image/openstack/v1'
14
- require 'fog/image/openstack/v2'
15
- require 'fog/monitoring/openstack'
16
- require 'fog/network/openstack'
17
8
  require 'fog/planning/openstack'
18
- require 'fog/storage/openstack'
19
- require 'fog/volume/openstack/v1'
20
- require 'fog/volume/openstack/v2'
21
9
 
22
10
  module Fog
11
+ module Baremetal
12
+ autoload :OpenStack, File.expand_path('../baremetal/openstack', __FILE__)
13
+ end
14
+
23
15
  module Compute
24
16
  autoload :OpenStack, File.expand_path('../compute/openstack', __FILE__)
25
17
  end
26
18
 
19
+ module DNS
20
+ autoload :OpenStack, File.expand_path('../dns/openstack', __FILE__)
21
+
22
+ class OpenStack
23
+ autoload :V1, File.expand_path('../dns/openstack/v1', __FILE__)
24
+ autoload :V2, File.expand_path('../dns/openstack/v2', __FILE__)
25
+ end
26
+ end
27
+
27
28
  module Identity
28
29
  autoload :OpenStack, File.expand_path('../identity/openstack', __FILE__)
30
+
31
+ class OpenStack
32
+ autoload :V2, File.expand_path('../identity/openstack/v2', __FILE__)
33
+ autoload :V3, File.expand_path('../identity/openstack/v3', __FILE__)
34
+ end
29
35
  end
30
36
 
31
37
  module Image
32
38
  autoload :OpenStack, File.expand_path('../image/openstack', __FILE__)
39
+
40
+ class OpenStack
41
+ autoload :V1, File.expand_path('../image/openstack/v1', __FILE__)
42
+ autoload :V2, File.expand_path('../image/openstack/v2', __FILE__)
43
+ end
44
+ end
45
+
46
+ module Introspection
47
+ autoload :OpenStack, File.expand_path('../introspection/openstack', __FILE__)
33
48
  end
34
49
 
35
50
  module Metering
36
51
  autoload :OpenStack, File.expand_path('../metering/openstack', __FILE__)
37
52
  end
38
53
 
39
- module Network
40
- autoload :OpenStack, File.expand_path('../network/openstack', __FILE__)
54
+ module Monitoring
55
+ autoload :OpenStack, File.expand_path('../monitoring/openstack', __FILE__)
41
56
  end
42
57
 
43
- module Orchestration
44
- autoload :OpenStack, File.expand_path('../orchestration/openstack', __FILE__)
58
+ module Network
59
+ autoload :OpenStack, File.expand_path('../network/openstack', __FILE__)
45
60
  end
46
61
 
47
62
  module NFV
48
63
  autoload :OpenStack, File.expand_path('../nfv/openstack', __FILE__)
49
64
  end
50
65
 
51
- module Volume
52
- autoload :OpenStack, File.expand_path('../volume/openstack', __FILE__)
66
+ module Orchestration
67
+ autoload :OpenStack, File.expand_path('../orchestration/openstack', __FILE__)
53
68
  end
54
69
 
55
- module Baremetal
56
- autoload :OpenStack, File.expand_path('../baremetal/openstack', __FILE__)
70
+ module Storage
71
+ autoload :OpenStack, File.expand_path('../storage/openstack', __FILE__)
57
72
  end
58
73
 
59
- module Introspection
60
- autoload :OpenStack, File.expand_path('../introspection/openstack', __FILE__)
61
- end
74
+ module Volume
75
+ autoload :OpenStack, File.expand_path('../volume/openstack', __FILE__)
62
76
 
63
- module Monitoring
64
- autoload :OpenStack, File.expand_path('../monitoring/openstack', __FILE__)
77
+ class OpenStack
78
+ autoload :V1, File.expand_path('../volume/openstack/v1', __FILE__)
79
+ autoload :V2, File.expand_path('../volume/openstack/v2', __FILE__)
80
+ end
65
81
  end
66
82
 
67
83
  module Workflow
68
84
  autoload :OpenStack, File.expand_path('../workflow/openstack', __FILE__)
69
- end
70
85
 
71
- module DNS
72
- autoload :OpenStack, File.expand_path('../dns/openstack', __FILE__)
86
+ class OpenStack
87
+ autoload :V2, File.expand_path('../workflow/openstack/v2', __FILE__)
88
+ end
73
89
  end
74
90
 
75
91
  module OpenStack
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Openstack
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
@@ -53,6 +53,7 @@ module Fog
53
53
  request :update_stack
54
54
  request :patch_stack
55
55
  request :validate_template
56
+ request :cancel_update
56
57
 
57
58
  module Reflectable
58
59
  REFLECTION_REGEX = /\/stacks\/(\w+)\/([\w|-]+)\/resources\/(\w+)/
@@ -64,6 +64,10 @@ module Fog
64
64
  service.abandon_stack(self)
65
65
  end
66
66
 
67
+ def cancel_update
68
+ service.cancel_update(self)
69
+ end
70
+
67
71
  # Deprecated
68
72
  def template_url
69
73
  Fog::Logger.deprecation("#template_url is deprecated, use it in options for #save(options) instead [light_black](#{caller.first})[/]")
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+ module Fog
3
+ module Orchestration
4
+ class OpenStack
5
+ class Real
6
+ def cancel_update(stack)
7
+ request(
8
+ :expects => 200,
9
+ :method => 'POST',
10
+ :path => "stacks/#{stack.stack_name}/#{stack.id}/actions",
11
+ :body => Fog::JSON.encode('cancel_update' => nil)
12
+ )
13
+ end
14
+ end
15
+
16
+ class Mock
17
+ def cancel_update(_)
18
+ response = Excon::Response.new
19
+ response.status = 200
20
+ response.body = {}
21
+ response
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-openstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Darby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-02 00:00:00.000000000 Z
11
+ date: 2016-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.6'
69
- - !ruby/object:Gem::Dependency
70
- name: coveralls
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: mime-types
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -457,6 +443,10 @@ files:
457
443
  - lib/fog/dns/openstack/v1/requests/list_domains.rb
458
444
  - lib/fog/dns/openstack/v1/requests/update_quota.rb
459
445
  - lib/fog/dns/openstack/v2.rb
446
+ - lib/fog/dns/openstack/v2/models/recordset.rb
447
+ - lib/fog/dns/openstack/v2/models/recordsets.rb
448
+ - lib/fog/dns/openstack/v2/models/zone.rb
449
+ - lib/fog/dns/openstack/v2/models/zones.rb
460
450
  - lib/fog/dns/openstack/v2/requests/create_recordset.rb
461
451
  - lib/fog/dns/openstack/v2/requests/create_zone.rb
462
452
  - lib/fog/dns/openstack/v2/requests/delete_recordset.rb
@@ -681,6 +671,8 @@ files:
681
671
  - lib/fog/monitoring/openstack/models/alarm_state.rb
682
672
  - lib/fog/monitoring/openstack/models/alarm_states.rb
683
673
  - lib/fog/monitoring/openstack/models/alarms.rb
674
+ - lib/fog/monitoring/openstack/models/dimension_value.rb
675
+ - lib/fog/monitoring/openstack/models/dimension_values.rb
684
676
  - lib/fog/monitoring/openstack/models/measurement.rb
685
677
  - lib/fog/monitoring/openstack/models/measurements.rb
686
678
  - lib/fog/monitoring/openstack/models/metric.rb
@@ -705,15 +697,18 @@ files:
705
697
  - lib/fog/monitoring/openstack/requests/list_alarm_state_history_for_all_alarms.rb
706
698
  - lib/fog/monitoring/openstack/requests/list_alarm_state_history_for_specific_alarm.rb
707
699
  - lib/fog/monitoring/openstack/requests/list_alarms.rb
700
+ - lib/fog/monitoring/openstack/requests/list_dimension_values.rb
708
701
  - lib/fog/monitoring/openstack/requests/list_metric_names.rb
709
702
  - lib/fog/monitoring/openstack/requests/list_metrics.rb
703
+ - lib/fog/monitoring/openstack/requests/list_notification_method_types.rb
710
704
  - lib/fog/monitoring/openstack/requests/list_notification_methods.rb
711
705
  - lib/fog/monitoring/openstack/requests/list_statistics.rb
712
706
  - lib/fog/monitoring/openstack/requests/patch_alarm.rb
713
707
  - lib/fog/monitoring/openstack/requests/patch_alarm_definition.rb
708
+ - lib/fog/monitoring/openstack/requests/patch_notification_method.rb
709
+ - lib/fog/monitoring/openstack/requests/put_notification_method.rb
714
710
  - lib/fog/monitoring/openstack/requests/update_alarm.rb
715
711
  - lib/fog/monitoring/openstack/requests/update_alarm_definition.rb
716
- - lib/fog/monitoring/openstack/requests/update_notification_method.rb
717
712
  - lib/fog/network/openstack.rb
718
713
  - lib/fog/network/openstack/models/floating_ip.rb
719
714
  - lib/fog/network/openstack/models/floating_ips.rb
@@ -869,6 +864,7 @@ files:
869
864
  - lib/fog/orchestration/openstack/models/templates.rb
870
865
  - lib/fog/orchestration/openstack/requests/abandon_stack.rb
871
866
  - lib/fog/orchestration/openstack/requests/build_info.rb
867
+ - lib/fog/orchestration/openstack/requests/cancel_update.rb
872
868
  - lib/fog/orchestration/openstack/requests/create_stack.rb
873
869
  - lib/fog/orchestration/openstack/requests/delete_stack.rb
874
870
  - lib/fog/orchestration/openstack/requests/get_stack_template.rb
@@ -1140,19 +1136,6 @@ files:
1140
1136
  - lib/fog/workflow/openstack/v2/requests/validate_workbook.rb
1141
1137
  - lib/fog/workflow/openstack/v2/requests/validate_workflow.rb
1142
1138
  - supported.md
1143
- - tests/fixtures/introspection.yaml
1144
- - tests/helper.rb
1145
- - tests/helpers/collection_helper.rb
1146
- - tests/helpers/compute/flavors_helper.rb
1147
- - tests/helpers/compute/server_helper.rb
1148
- - tests/helpers/compute/servers_helper.rb
1149
- - tests/helpers/formats_helper.rb
1150
- - tests/helpers/formats_helper_tests.rb
1151
- - tests/helpers/mock_helper.rb
1152
- - tests/helpers/model_helper.rb
1153
- - tests/helpers/responds_to_helper.rb
1154
- - tests/helpers/schema_validator_tests.rb
1155
- - tests/helpers/succeeds_helper.rb
1156
1139
  homepage: https://github.com/fog/fog-openstack
1157
1140
  licenses:
1158
1141
  - MIT
@@ -1,287 +0,0 @@
1
- ---
2
- :rules:
3
- - description: Successful Rule
4
- actions:
5
- - action: set-attribute
6
- path: /extra/rule_success
7
- value: 'yes'
8
- conditions:
9
- - field: memory_mb
10
- op: ge
11
- value: 256
12
- - field: local_gb
13
- op: ge
14
- value: 1
15
- links:
16
- - href: /v1/rules/8dbc8e15-506e-4bd1-82e7-b090e0d33cae
17
- rel: self
18
- uuid: 8dbc8e15-506e-4bd1-82e7-b090e0d33cae
19
- - description: Failing Rule
20
- actions:
21
- - action: set-attribute
22
- path: /extra/rule_success
23
- value: 'no'
24
- - action: fail
25
- message: This rule should not have run
26
- conditions:
27
- - field: memory_mb
28
- op: lt
29
- value: 42
30
- - field: local_gb
31
- op: eq
32
- value: 0
33
- links:
34
- - href: /v1/rules/abf9337e-a38d-4041-ba7a-d4e5ac0cc134
35
- rel: self
36
- uuid: abf9337e-a38d-4041-ba7a-d4e5ac0cc134
37
- :introspection_data:
38
- cpu_arch: x86_64
39
- macs:
40
- - 52:54:00:40:d0:11
41
- root_disk:
42
- rotational: true
43
- vendor: '0x1af4'
44
- name: "/dev/vda"
45
- wwn_vendor_extension:
46
- wwn_with_extension:
47
- model: ''
48
- wwn:
49
- serial:
50
- size: 64424509440
51
- extra:
52
- network:
53
- eth0:
54
- vlan-challenged: off [fixed]
55
- tx-udp_tnl-segmentation: off [fixed]
56
- ipv4-network: 192.0.2.0
57
- rx-vlan-stag-filter: off [fixed]
58
- highdma: on [fixed]
59
- tx-nocache-copy: 'off'
60
- tx-gso-robust: off [fixed]
61
- fcoe-mtu: off [fixed]
62
- netns-local: off [fixed]
63
- udp-fragmentation-offload: 'on'
64
- serial: 52:54:00:40:d0:11
65
- latency: 0
66
- tx-checksumming/tx-checksum-ipv6: off [fixed]
67
- tx-checksumming/tx-checksum-ipv4: off [fixed]
68
- ipv4-netmask: 255.255.255.0
69
- tcp-segmentation-offload/tx-tcp-segmentation: 'on'
70
- tx-ipip-segmentation: off [fixed]
71
- rx-vlan-offload: off [fixed]
72
- tx-gre-segmentation: off [fixed]
73
- tx-checksumming/tx-checksum-ip-generic: 'on'
74
- tcp-segmentation-offload/tx-tcp-ecn-segmentation: 'on'
75
- tx-checksumming/tx-checksum-fcoe-crc: off [fixed]
76
- ipv4: 192.0.2.100
77
- businfo: pci@0000:00:03.0
78
- rx-vlan-stag-hw-parse: off [fixed]
79
- tx-vlan-offload: off [fixed]
80
- product: Virtio network device
81
- vendor: Red Hat, Inc
82
- tx-checksumming/tx-checksum-sctp: off [fixed]
83
- driver: virtio_net
84
- tx-sit-segmentation: off [fixed]
85
- busy-poll: off [fixed]
86
- tx-vlan-stag-hw-insert: off [fixed]
87
- scatter-gather/tx-scatter-gather: 'on'
88
- link: 'yes'
89
- ntuple-filters: off [fixed]
90
- rx-all: off [fixed]
91
- tcp-segmentation-offload: 'on'
92
- tcp-segmentation-offload/tx-tcp6-segmentation: 'on'
93
- rx-checksumming: on [fixed]
94
- rx-fcs: off [fixed]
95
- tx-lockless: off [fixed]
96
- generic-segmentation-offload: 'on'
97
- tx-fcoe-segmentation: off [fixed]
98
- tx-checksumming: 'on'
99
- ipv4-cidr: 24
100
- large-receive-offload: off [fixed]
101
- rx-vlan-filter: on [fixed]
102
- receive-hashing: off [fixed]
103
- scatter-gather/tx-scatter-gather-fraglist: off [fixed]
104
- generic-receive-offload: 'on'
105
- loopback: off [fixed]
106
- scatter-gather: 'on'
107
- tx-mpls-segmentation: off [fixed]
108
- eth1:
109
- vlan-challenged: off [fixed]
110
- tx-udp_tnl-segmentation: off [fixed]
111
- tx-vlan-stag-hw-insert: off [fixed]
112
- rx-vlan-stag-filter: off [fixed]
113
- highdma: on [fixed]
114
- tx-nocache-copy: 'off'
115
- tx-gso-robust: off [fixed]
116
- fcoe-mtu: off [fixed]
117
- netns-local: off [fixed]
118
- udp-fragmentation-offload: 'on'
119
- serial: 52:54:00:11:c5:d8
120
- latency: 0
121
- tx-checksumming/tx-checksum-ipv6: off [fixed]
122
- tx-checksumming/tx-checksum-ipv4: off [fixed]
123
- tx-fcoe-segmentation: off [fixed]
124
- tcp-segmentation-offload/tx-tcp-segmentation: 'on'
125
- tx-ipip-segmentation: off [fixed]
126
- rx-vlan-offload: off [fixed]
127
- tx-gre-segmentation: off [fixed]
128
- tx-checksumming/tx-checksum-ip-generic: 'on'
129
- tcp-segmentation-offload/tx-tcp-ecn-segmentation: 'on'
130
- tx-checksumming/tx-checksum-fcoe-crc: off [fixed]
131
- rx-vlan-stag-hw-parse: off [fixed]
132
- businfo: pci@0000:00:04.0
133
- tx-vlan-offload: off [fixed]
134
- product: Virtio network device
135
- vendor: Red Hat, Inc
136
- tx-checksumming/tx-checksum-sctp: off [fixed]
137
- driver: virtio_net
138
- tx-sit-segmentation: off [fixed]
139
- busy-poll: off [fixed]
140
- scatter-gather/tx-scatter-gather: 'on'
141
- link: 'yes'
142
- ntuple-filters: off [fixed]
143
- rx-all: off [fixed]
144
- tcp-segmentation-offload: 'on'
145
- tcp-segmentation-offload/tx-tcp6-segmentation: 'on'
146
- rx-checksumming: on [fixed]
147
- tx-lockless: off [fixed]
148
- generic-segmentation-offload: 'on'
149
- loopback: off [fixed]
150
- tx-checksumming: 'on'
151
- large-receive-offload: off [fixed]
152
- rx-vlan-filter: on [fixed]
153
- receive-hashing: off [fixed]
154
- scatter-gather/tx-scatter-gather-fraglist: off [fixed]
155
- generic-receive-offload: 'on'
156
- rx-fcs: off [fixed]
157
- scatter-gather: 'on'
158
- tx-mpls-segmentation: off [fixed]
159
- firmware:
160
- bios:
161
- date: 01/01/2011
162
- version: 0.5.1
163
- vendor: Seabios
164
- system:
165
- kernel:
166
- cmdline: ipa-inspection-callback-url=http://192.0.2.1:5050/v1/continue ipa-inspection-collectors=default,extra-hardware,logs
167
- systemd.journald.forward_to_console=yes BOOTIF=52:54:00:40:d0:11 ipa-debug=1
168
- version: 3.10.0-327.10.1.el7.x86_64
169
- arch: x86_64
170
- product:
171
- version: RHEL 7.0.0 PC (i440FX + PIIX, 1996)
172
- vendor: Red Hat
173
- name: KVM
174
- uuid: FB25FBC2-3FF7-45C0-8581-3EF1BA7E7839
175
- os:
176
- version: Red Hat Enterprise Linux Server release 7.2 (Maipo)
177
- vendor: RedHatEnterpriseServer
178
- memory:
179
- total:
180
- size: 4294967296
181
- disk:
182
- vda:
183
- optimal_io_size: 0
184
- physical_block_size: 512
185
- rotational: 1
186
- vendor: '0x1af4'
187
- size: 64
188
- logical:
189
- count: 1
190
- cpu:
191
- logical:
192
- number: 4
193
- physical_0:
194
- physid: 401
195
- product: Intel Xeon E312xx (Sandy Bridge)
196
- frequency: 2000000000
197
- vendor: Intel Corp.
198
- flags: fpu fpu_exception wp de pse tsc msr pae mce cx8 apic sep mtrr pge mca
199
- cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp x86-64 constant_tsc
200
- rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic
201
- popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm tpr_shadow vnmi
202
- flexpriority ept xsaveopt xsavec xgetbv1
203
- physical_1:
204
- physid: 402
205
- product: Intel Xeon E312xx (Sandy Bridge)
206
- frequency: 2000000000
207
- vendor: Intel Corp.
208
- flags: fpu fpu_exception wp de pse tsc msr pae mce cx8 apic sep mtrr pge mca
209
- cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp x86-64 constant_tsc
210
- rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic
211
- popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm tpr_shadow vnmi
212
- flexpriority ept xsaveopt xsavec xgetbv1
213
- physical_2:
214
- physid: 403
215
- product: Intel Xeon E312xx (Sandy Bridge)
216
- frequency: 2000000000
217
- vendor: Intel Corp.
218
- flags: fpu fpu_exception wp de pse tsc msr pae mce cx8 apic sep mtrr pge mca
219
- cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp x86-64 constant_tsc
220
- rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic
221
- popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm tpr_shadow vnmi
222
- flexpriority ept xsaveopt xsavec xgetbv1
223
- physical_3:
224
- physid: 404
225
- product: Intel Xeon E312xx (Sandy Bridge)
226
- frequency: 2000000000
227
- vendor: Intel Corp.
228
- flags: fpu fpu_exception wp de pse tsc msr pae mce cx8 apic sep mtrr pge mca
229
- cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp x86-64 constant_tsc
230
- rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 cx16 sse4_1 sse4_2 x2apic
231
- popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm tpr_shadow vnmi
232
- flexpriority ept xsaveopt xsavec xgetbv1
233
- physical:
234
- number: 4
235
- interfaces:
236
- eth0:
237
- ip: 192.0.2.100
238
- mac: 52:54:00:40:d0:11
239
- cpus: 4
240
- boot_interface: 52:54:00:40:d0:11
241
- memory_mb: 4096
242
- ipmi_address: ''
243
- inventory:
244
- bmc_address: ''
245
- interfaces:
246
- - ipv4_address:
247
- switch_port_descr:
248
- switch_chassis_descr:
249
- name: eth1
250
- mac_address: 52:54:00:11:c5:d8
251
- - ipv4_address: 192.0.2.100
252
- switch_port_descr:
253
- switch_chassis_descr:
254
- name: eth0
255
- mac_address: 52:54:00:40:d0:11
256
- disks:
257
- - rotational: true
258
- vendor: '0x1af4'
259
- name: "/dev/vda"
260
- wwn_vendor_extension:
261
- wwn_with_extension:
262
- model: ''
263
- wwn:
264
- serial:
265
- size: 64424509440
266
- system_vendor:
267
- serial_number: Not Specified
268
- product_name: KVM
269
- manufacturer: Red Hat
270
- memory:
271
- physical_mb: 4096
272
- total: 4144173056
273
- cpu:
274
- count: 4
275
- frequency: '3408.032'
276
- model_name: Intel Xeon E312xx (Sandy Bridge)
277
- architecture: x86_64
278
- error:
279
- local_gb: 59
280
- all_interfaces:
281
- eth1:
282
- ip:
283
- mac: 52:54:00:11:c5:d8
284
- eth0:
285
- ip: 192.0.2.100
286
- mac: 52:54:00:40:d0:11
287
- logs: Way too long...