Scrolling text fields

Let text fields scroll back and forth normally instead of
truncating.

Change-Id: I09a0428425db911bdfb155c25ffc0a3883b59c08
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981189
Signed-off-by: Ryan Barry <rbarry@redhat.com>
setup: IP for tagged and bridged NIC

Previously the IP informations weren't shown correctly on the
status page, because the logic handled tagged and bridged NICs
incorrectly.
Now the logic has been updated and IP informations can be correctly
displayed for tagged and bridged NICs.

Change-Id: I8cf1bb292ffe3c578f4690a55feea22a926f1918
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1051745
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
network: Remove biosdevname conversion code

In the beginning of biosdevname, affected NICs names had to be
converted from their "old" name to the "new" biosdevname name.

But as biosdevname is out of the door for a long itme, we can drop that
code path.

A note on RHEV-H: Only upgrades from the previously released version are
supported, that menas we don't need to support an upgrade from 6.3 to
6.5.

Change-Id: I780dd0770d9f43be6ca0882341bb9fa97d179f96
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1065256
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
kdump:Fix not enough arguments given exception

Change-Id: Ib93c7c99990a9f622ba2d38345d1ff5adfcdbe03
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1065867
Signed-off-by: hadong <hadong0720@gmail.com>
installer: Require input on custom device dialog

Previously the user could save the custom device dialog even if he
didn't input a device path, this lead to an exception.
Now the user is required to input a valid device path before he can save
the dialog.

Change-Id: I075dd7c5643b7b8ec716166699e21f8f273e55f3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1065894
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Don't persist collectd.conf by default

… only persist it when it's used.

Change-Id: I66358fd7f65dbf27676bffa5a01ef3c273d449d0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=951024
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Insert iptables rules, don't append them

Since the last rule set it to REJECT everything which hasn't
previously matched, appending rules after that does not work. We
should put them at the top instead.

Change-Id: If2a7ae8f94f192c953fced52693cffba680affc3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1064255
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Add a property expose mechanism

This new tool is inteded to make the discovery of relevant nodes easier.
The tool provides a framework for the registration of "features" and
"methods".
Features are used to state the presence of a specific high-level feature
e.g. presence of VDSM, or Gluster.
Methods are actually a simple RPC mechanism to trigger methods on the
Node.

This tool could also be used to e.g. trigger configurations using the
cmdline, e.g.:

    $ ovirt-node-features run config SSH.configure_local

Demo
----
This tech demo includes a tool which either dumps the feature-registry
in XML to stdout or acts as a daemon which offers this API via http.

The following cmd can be used to dump all know features to stdout:

    $ ovirt-node-features dumpxml

The following cmdline launches the http daemon on port 8082:

    $ ovirt-node-features -d

The daemon can then be accessed using any http tool, e.g. curl:

    $ curl http://127.0.0.1:8082

There is also a web-view, basically the XML data plus a stylesheet.

To trigger a method the daemon can also be used:

    $ curl 127.0.0.1:8082/methods/foo/bar?paramA=1&paramB=2

This will trigger the method bar in the namespace foo with the
params paramA and paramB, so something like:

    foo.bar(paramA=1, paramB=2)

Concepts
--------
A feature or method is always owned by someone and is always sitting in
some namespace.
The registration mechanism is intended to work well with Node's current
plugin mechanism.

The documentation is still sparse. Mabye the name feature should be
replaced by property. But those are details.

Change-Id: If081e5cd5fc9d038c9afaef0c97349f83e6f3a39
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=999325
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
plugins: Let some plugins publish their features

Change-Id: I164f5038c6e68cdf8faf56061a74bd07dc1a86a6
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
config: Add chainability for update() calls

Previously the following pattern was needed to activate configurations:

    cfg = defaults.Keyboard()
    cfg.update(layout="de")
    cfg.transaction().run()

or
    cfg = defaults.Keyboard()
    cfg.update(layout="de")
    cfg.commit()

now it's possible to chain this up to

    defaults.Keyboard().update(layout="de").commit()

This patch also includes a testcase for this (tiny) feature.

Change-Id: I36a101a7ee6f729241cc99663f2a6986c964dcdd
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
spec: Relax dracut

Just include the dir, don't care about individual files

Change-Id: I1d1d18a5a71b1fd4b8dfe2e67b5f0cf257577de0
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Build oVirt Node on F20

Account for unversioned docfiles, /usr/bin/ changes, and prep
for more changes with new systemd RPM macros.

Change-Id: I8a60d4c42fa30c4a7bd009b2e4437d8213b6305e
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
spec: Add python-lxml dependency

Change-Id: Ie3a299d5f14902f72b36de18556049aeab401e51
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
utils: Add iadd for Transaction

To allow convenience extension of transactions using += []

Change-Id: Iad78d952ba05ef17557fbf159341ae4805f6a684
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
[DRAFT] Docker build support for Node

To make Node building less troublesome, provide Dockerfiles and
images in the Docker index which build from master by default but
can grab a change from Gerrit and build from there.

Change-Id: Ied2ebfdc53ebe76636aa5a7553b750be67e58312
Signed-off-by: Ryan Barry <rbarry@redhat.com>
service: Fix plymouth path

Change-Id: I96481356f5193bf12bdbf6707042e6e855dbd096
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>