class Specinfra::Command::Base::RoutingTable

Public Class Methods

check_has_entry(destination) click to toggle source
# File lib/specinfra/command/base/routing_table.rb, line 3
def check_has_entry(destination)
  if destination == "default"
    destination = "0.0.0.0/0"
  end
  "ip route show #{destination}"
end
Also aliased as: get_entry
get_entry(destination)
Alias for: check_has_entry