Class: HammerCLIForeman::ComputeResources::OpenStack::HostHelpExtenstion

Inherits:
Object
  • Object
show all
Defined in:
lib/hammer_cli_foreman/compute_resources/openstack/host_help_extenstion.rb

Instance Method Summary collapse

Instance Method Details

#host_create_help(h) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/hammer_cli_foreman/compute_resources/openstack/host_help_extenstion.rb', line 9

def host_create_help(h)
  h.section '--compute-attributes' do |h|
    h.list([
      'flavor_ref',
      'image_ref',
      'tenant_id',
      'security_groups',
      'network'
    ])
  end
end

#nameObject



5
6
7
# File 'lib/hammer_cli_foreman/compute_resources/openstack/host_help_extenstion.rb', line 5

def name
  _('OpenStack')
end