remote_build: Simpler interface

Update the remote_build interface to make it figure out the default
values of lots of input parameters without being explicitly told. This
change would mean that this:

    username = params.get("username", "")
    password = params.get("password", "")
    address = vm.get_address(0)
    source_dir = data_dir.get_deps_dir("clock_getres")
    build_dir = params.get("build_dir", "/tmp")
    shell_client = params.get("shell_client", "ssh")
    file_transfer_client = params.get("file_transfer_client", "scp")
    shell_prompt = params.get("shell_prompt")
    shell_linesep = params.get("shell_linesep")
    builder = remote_build.Builder(address, source_dir, client=shell_client,
                                   file_transfer_client=file_transfer_client,
                                   username=username,
                                   password=password,
                                   build_dir=build_dir,
                                   prompt=shell_prompt,
                                   linesep=shell_linesep)

..can now be done like this, given that params is set:

    address = vm.get_address(0)
    source_dir = data_dir.get_deps_dir("clock_getres")
    builder = remote_build.Builder(params, address, source_dir)

The idea is to reduce the boiler plate needed by test case designer to
fetch all the parameters from the cartesian configuration. It also fixes
the lack of a separate file_transfer_port, which is needed by the rss
file transfer client.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
virttest.utils_libguestfs: Add sets of commands for is-*
virttest.utils_libguestfs: Add cmd_result() in GuestfishRemote

1. Want keep consistent with the original code.
add method cmd_result() in class GuestfishRemote(), cmd_result is
called by inner_cmd()

2. add a func blockdev_rereadpt()
virt.cfg: Add Ubuntu.14.04-server guest support

Signed-off-by: Xu Tian <xutian@redhat.com>
Merge pull request #1628 from xutian/ubuntu14.04

virt.cfg: Add Ubuntu.14.04-server guest support
Merge pull request #1612 from zqad/remote_build_suggestion

remote_build: Simpler interface
virttest.utils_libguestfs: Add two API interface

1. max-disks
2. nr-devices
remote_build doc: Change from utils_build

Two residual utils_build was left in the documentation.

Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Merge pull request #1617 from vanbogithub/bfan-next

virttest.utils_libguestfs: Add sets of commands for is-*
Add APIs:tar_in_opts, chmod, chown, lchown, du, file; fix mount-options call
virttest: Add bridge add and delete function to class Bridge

Add two functions to class Bridge to handle bridge add and delete.

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
virttest: Add a function to list nic interface in host

Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Merge pull request #1630 from zqad/remote_build-doc-fix

remote_build doc: Change from utils_build
Merge pull request #1634 from ypu/utils_net

Add some functions to utils_net
Adjust compress as optional argument
Add APIs: file_architecture, filesize, stat, lstat, lstatlist
Merge pull request #1633 from shi2wei3/file_dir_APIs

Add APIs:tar_in_opts, chmod, chown, lchown, du, file; fix mount-options ...
fix conflicts
Merge pull request #1636 from shi2wei3/file_dir_APIs_2

Add APIs: file_architecture, filesize, stat, lstat, lstatlist