Class: Y2Network::Clients::Routing

Inherits:
Yast::Client
  • Object
show all
Includes:
Yast::Logger
Defined in:
src/lib/y2network/clients/routing.rb

Overview

Routing client for configuring IP Forwarding and Network Routes

Instance Method Summary collapse

Constructor Details

#initializeRouting

Constructor


54
55
56
57
# File 'src/lib/y2network/clients/routing.rb', line 54

def initialize
  textdomain "network"
  Yast.include self, "network/services/routing.rb"
end

Instance Method Details

#mainObject


59
60
61
# File 'src/lib/y2network/clients/routing.rb', line 59

def main
  log_and_return { CommandLine.Run(cmdline_definition) }
end