Module: Knife::Clc::IpAssignment

Included in:
Chef::Knife::ClcServerCreate
Defined in:
lib/knife-clc/ip_assignment.rb,
lib/knife-clc/ip_assignment/mapper.rb,
lib/knife-clc/ip_assignment/validator.rb,
lib/knife-clc/ip_assignment/ip_assigner.rb,
lib/knife-clc/ip_assignment/config_options.rb

Defined Under Namespace

Classes: ConfigOptions, IpAssigner, Mapper, Validator

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(command_class) ⇒ Object



7
8
9
# File 'lib/knife-clc/ip_assignment.rb', line 7

def self.included(command_class)
  ConfigOptions.attach(command_class)
end

Instance Method Details

#ip_assignerObject



11
12
13
14
15
16
17
# File 'lib/knife-clc/ip_assignment.rb', line 11

def ip_assigner
  @ip_assigner ||= IpAssigner.new(
    :connection => connection,
    :config => config,
    :errors => errors
  )
end