Method: Crowbar::Client::App::HostIP#deallocate

Defined in:
lib/crowbar/client/app/host_ip.rb

#deallocate(proposal, node, network) ⇒ Object

Host IP deallocate command

It will try to deallocate a host IP address.

Parameters:

  • proposal (String)

    the proposal name

  • node (String)

    the node name or alias

  • network (String)

    the network name



77
78
79
80
81
82
83
84
85
86
87
# File 'lib/crowbar/client/app/host_ip.rb', line 77

def deallocate(proposal, node, network)
  Command::HostIP::Deallocate.new(
    *command_params(
      proposal: proposal,
      node: node,
      network: network
    )
  ).execute
rescue => e
  catch_errors(e)
end