nanny: reset fsm on rearm
Merge pull request #404 from pwieczorkiewicz/nanny-reset2

nanny: reset fsm on rearm
dbus: add master reference to netdev request
ifconfig: enslave devices referencing a master on linkUp
fsm: Generate master relation for child config
ifconfig: just set masterdev on enslave success
fsm: Do not advance state on DEVICE_DELETE event
objectmodel: drop state file on destroy call
Merge pull request #405 from mtomaschewski/hotplug-bond-slaves

hotplug bond slaves (bnc#884012,bnc#880515)
Merge pull request #406 from pwieczorkiewicz/bond-hotplug

fsm: Do not advance the state on DEVICE_DELETE but remove worker if still there
version 0.6.5
ifconfig: delete address first if address differs

When replacing a lease address and e.g. the prefix length
differs (change from IP/32 to IP/24), delete the old lease
address first, as replace does not cover this (bnc#890406).
Remove unused function ni_local_socket_listen()

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Remove unused function ni_local_socket_connect

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Remove unused function ni_local_socket_pair

This function goes back to the early days of wicked when it was
using a REST interface served via an AF_LOCAL socket. This stuff
has been for a few years, so it's time to say goodbye to some of
its supporting functions.

Signed-off-by: Olaf Kirch <okir@suse.de>
Add comment/caveat to __ni_process_output_recv

The socket recv buffer can grow without bounds here. No immediate idea
what to do about this, but flag this as a potential source of trouble.

Signed-off-by: Olaf Kirch <okir@suse.de>
ni_config_t: remove recv_max member

This member variable was used by ni_local_socket_listen(), which is gone
now.

Signed-off-by: Olaf Kirch <okir@suse.de>
Small clean-up of config file syntax: group dbus related options together

Old-school:

  <dbus name="org.opensuse.Network" />
  <schema name="/some/path/wicked.xml" />

New school:

  <dbus>
    <service name="org.opensuse.Network" />
    <schema name="/some/path/wicked.xml" />
  </dbus>

For the time being, both old-school and new-school options
will be recognized. No warnings are issued.

Signed-off-by: Olaf Kirch <okir@suse.de>
config: support a local.xml to override settings w/o getting in trouble with maintenance updates

If a user modifies one of the wicked xml config files, we're running
into trouble on the next maintenance update. Either the poor guy/gal is
using all modifications, or we're not applying our change.

One way around that is to have a dangling <include> element in common.xml:

  <!-- If you want to override configuration options
       in this file, consider putting them into
       local.xml rather than here.
    -->
  <include name="local.xml" optional="true"/>

We don't ship that local.xml. If it doesn't exist, we don't complain,
but if the user does create it, we parse it like any other config file.

Signed-off-by: Olaf Kirch <okir@suse.de>
utils: filter out alias names in ni_format_bitmap