fix switch will forget the default link speed for unknown

For network devices those failed to retrieve the link status
will have a default value of 100Mbps FD TP at the first scan.
But during the next scan by monitor update, the default value
will be lost.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
fix write_pid called after daemonize call

To control daemonized process, we must call write_pid
after the daemonize() call.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
fix init_log() called before error() call

log handler expects init_log() has been processed,
without initialization, the call results in abort.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
add alias port attribute
correct error message
correct port number size and error messages
delete obsolete file
refactoring of network block to mock controller class
add rspecs for SendOutPort and ArpOp actions
merge fix of issue#38
set the subject to receive its value from let
merge this rspec from trema
reword and make output of command silent
add rspec for ArpSha action
ensure that an IPv4/IPv6 address is specified as an IPAddr object instance
ensure that a MAC address is specified as an Trema::Mac object instance
add rspec for ArpSpa action
modify argument to constructor
add Ipv4DstAddr rspec
rewording/refactoring