foreman_virt_who_configure 0.5.5 → 0.5.6

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
  SHA256:
3
- metadata.gz: fd228676712de08fec7ea70df6af7170b14fc802ee35d1bd0d74559e8beea160
4
- data.tar.gz: cd3bd04a86a3315359c302a80bd55c436c6ded0a3e569402f2455fd183b5969c
3
+ metadata.gz: 38a1caca71ecc26f921be69f4efe48943a0ac7b79a0b5a7cb2d99fe41bfc202f
4
+ data.tar.gz: 000115561c5ad123da017fb662913cb3dbbe2e1113adf23cc73315735c906022
5
5
  SHA512:
6
- metadata.gz: 6fb574f47761da65869cdb11b26e26b341e674e8f4f920912bb9ed6a8b87fd2090e3ae933cc1bb8769a953109226b3727cfd740c390394f4076c42c93d47fe5b
7
- data.tar.gz: a508d300b4417d3546fa27e1dee505d0197ff095578def373f38751d6368afe1989eae238068977060854b7f53887f0358fa8fcbb2f2ef9bdf4d6eb153ebef16
6
+ metadata.gz: e84d2ec1aa61e5f37e1354ece1ef2e04493623cd791d0b839f996270fa32bb652aaa96af7c365015f53638658a5064d6d13c14be61704f8a765208d190389e58
7
+ data.tar.gz: 5c3d700fc5babc9d73a53c77aab32b5e92f896818fa9903efdcc5f1350c94c0c776cc27ba564bd2b0826298eef0952a7da90ccc2ab2ff24ba5f9444e50ab83f3
@@ -4,9 +4,7 @@ module ForemanVirtWhoConfigure
4
4
  @hypervisor_server_help_data ||= {
5
5
  'esx' => _('VMware vCenter server’s fully qualified host name or IP address.'),
6
6
  'rhevm' => _('Red Hat Virtualization Manager’s fully qualified host name or IP address. For example, <code>https://hostname:443/ovirt-engine/</code> for v4, <code>https://hostname_or_IP:443</code> for v3'),
7
- # 'vdsm' => 'Red Hat Enterprise Linux Hypervisor (vdsm)',
8
7
  'hyperv' => _('Microsoft Hyper-V fully qualified host name or IP address.'),
9
- 'xen' => _('XenServer server’s fully qualified host name or IP address.'),
10
8
  'libvirt' => _('Libvirt server’s fully qualified host name or IP address. You can also specify preferred schema, for example: <code>qemu+ssh://libvirt.example.com/system</code>. If you use SSH, make sure you setup root\'s SSH key on target host for a user specified at hypervisor username field'),
11
9
  'kubevirt' => _('Container-native virtualization’s fully qualified host name or IP address. In order to connect to the cluster it is required to provide path to kubeconfig which contains connection details and authentication token.')
12
10
  }
@@ -16,9 +14,7 @@ module ForemanVirtWhoConfigure
16
14
  @hypervisor_username_help_data ||= {
17
15
  'esx' => _('Account name by which virt-who is to connect to the hypervisor, in the format <code>domain_name\account_name</code>. Note that only a single backslash separates the values for domain_name and account_name. If you are using a domain account, and the global configuration file <code>/etc/sysconfig/virt-who</code>, then <b>two</b> backslashes are required. For further details, see <a href="https://access.redhat.com/solutions/1270223">Red Hat Knowledgebase solution How to use a windows domain account with virt-who</a> for more information.'),
18
16
  'rhevm' => _('Account name by which virt-who is to connect to the Red Hat Enterprise Virtualization Manager instance. The username option requires input in the format username@domain.'),
19
- # 'vdsm' => '',
20
17
  'hyperv' => _('Account name by which virt-who is to connect to the hypervisor. By default this is <code>Administrator</code>. To use an alternate account, create a user account and assign that account to the following groups (Windows 2012 Server): Hyper-V Administrators and Remote Management Users.'),
21
- 'xen' => _('Account name by which virt-who is to connect to the hypervisor.'),
22
18
  'libvirt' => _('Account name by which virt-who is to connect to the hypervisor. Virt-who does not support password based authentication, you must manually setup SSH key, see <a href="https://access.redhat.com/solutions/1515983">Red Hat Knowledgebase solution How to configure virt-who for a KVM host</a> for more information.'),
23
19
  'kubevirt' => ''
24
20
  }
@@ -32,9 +32,7 @@ module ForemanVirtWhoConfigure
32
32
  HYPERVISOR_TYPES = {
33
33
  'esx' => 'VMware vSphere / vCenter (esx)',
34
34
  'rhevm' => 'Red Hat Virtualization Hypervisor (rhevm)',
35
- # 'vdsm' => 'Red Hat Enterprise Linux Hypervisor (vdsm)',
36
35
  'hyperv' => 'Microsoft Hyper-V (hyperv)',
37
- 'xen' => 'XenServer (xen)',
38
36
  'libvirt' => 'libvirt',
39
37
  'kubevirt' => 'Container-native virtualization'
40
38
  }
@@ -9,7 +9,7 @@ end
9
9
  attributes :name, :interval, :organization_id, :whitelist, :blacklist, :hypervisor_id,
10
10
  :hypervisor_type, :hypervisor_server, :hypervisor_username, :debug,
11
11
  :satellite_url, :proxy, :no_proxy, :status, :last_report_at, :out_of_date_at,
12
- :filter_host_parents, :exclude_host_parents
12
+ :filter_host_parents, :exclude_host_parents, :kubeconfig_path
13
13
 
14
14
  child :http_proxy do
15
15
  attributes :id, :name, :url
@@ -0,0 +1,5 @@
1
+ class DeleteXenProfiles < ActiveRecord::Migration[6.0]
2
+ def change
3
+ ForemanVirtWhoConfigure::Config.where(:hypervisor_type => 'xen').destroy_all
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module ForemanVirtWhoConfigure
2
- VERSION = '0.5.5'.freeze
2
+ VERSION = '0.5.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_virt_who_configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman virt-who-configure team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-14 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -109,6 +109,7 @@ files:
109
109
  - db/migrate/20190104125749_add_kubeconfig_to_config.rb
110
110
  - db/migrate/20200728054557_refer_config_proxy_to_http_proxy.rb
111
111
  - db/migrate/20201211160234_add_foreign_key_proxy_id.rb
112
+ - db/migrate/20210413165147_delete_xen_profiles.rb
112
113
  - lib/foreman_virt_who_configure.rb
113
114
  - lib/foreman_virt_who_configure/engine.rb
114
115
  - lib/foreman_virt_who_configure/version.rb