wicked:wicked.git
6 years agoFix a crash in the lease handling code
Olaf Kirch [Thu, 22 Dec 2011 15:26:46 +0000 (16:26 +0100)]
Fix a crash in the lease handling code

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoWhen deserializing a route, we forgot to set config_method
Olaf Kirch [Thu, 22 Dec 2011 15:00:47 +0000 (16:00 +0100)]
When deserializing a route, we forgot to set config_method

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFixed a compile error in some (usually disabled) debugging code
Olaf Kirch [Thu, 22 Dec 2011 15:00:32 +0000 (16:00 +0100)]
Fixed a compile error in some (usually disabled) debugging code

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd wicked-convert to .gitignore
Olaf Kirch [Thu, 22 Dec 2011 14:46:29 +0000 (15:46 +0100)]
Add wicked-convert to .gitignore

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of the syntax abstraction, step 3
Olaf Kirch [Thu, 22 Dec 2011 13:47:09 +0000 (14:47 +0100)]
Get rid of the syntax abstraction, step 3

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of the syntax abstraction, step 3
Olaf Kirch [Thu, 22 Dec 2011 13:47:09 +0000 (14:47 +0100)]
Get rid of the syntax abstraction, step 3

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of the syntax abstraction, step 2
Olaf Kirch [Thu, 22 Dec 2011 13:38:40 +0000 (14:38 +0100)]
Get rid of the syntax abstraction, step 2

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of the syntax abstraction, step 1
Olaf Kirch [Thu, 22 Dec 2011 13:29:29 +0000 (14:29 +0100)]
Get rid of the syntax abstraction, step 1

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd two functions to netcf backend for direct access
Olaf Kirch [Thu, 22 Dec 2011 12:38:15 +0000 (13:38 +0100)]
Add two functions to netcf backend for direct access

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdded ni_netinfo_{new,free}
Olaf Kirch [Thu, 22 Dec 2011 12:19:26 +0000 (13:19 +0100)]
Added ni_netinfo_{new,free}

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoChanged ni_sysconfig_scandir to take a simplistic glob pattern rather than a match...
Olaf Kirch [Thu, 22 Dec 2011 12:14:23 +0000 (13:14 +0100)]
Changed ni_sysconfig_scandir to take a simplistic glob pattern rather than a match prefix

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoChanged ni_scandir from straightforward prefix matching to some simple globbing pattern
Olaf Kirch [Thu, 22 Dec 2011 12:05:22 +0000 (13:05 +0100)]
Changed ni_scandir from straightforward prefix matching to some simple globbing pattern

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMake wicked client transmit the right ifflags in ifup
Olaf Kirch [Thu, 22 Dec 2011 11:51:23 +0000 (12:51 +0100)]
Make wicked client transmit the right ifflags in ifup

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agowicked ifup understands just netcf files going forward
Olaf Kirch [Thu, 22 Dec 2011 11:46:08 +0000 (12:46 +0100)]
wicked ifup understands just netcf files going forward

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoPut the sysconfig->xml conversion into a separate utility program
Olaf Kirch [Thu, 22 Dec 2011 11:27:39 +0000 (12:27 +0100)]
Put the sysconfig->xml conversion into a separate utility program

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoImplemented missing ctor/dtor for netconfig
Olaf Kirch [Thu, 22 Dec 2011 11:25:44 +0000 (12:25 +0100)]
Implemented missing ctor/dtor for netconfig

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdded FIXME
Olaf Kirch [Thu, 22 Dec 2011 11:25:26 +0000 (12:25 +0100)]
Added FIXME

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoUse ni_error instead of perror() when unable to open sysconfig file
Olaf Kirch [Thu, 22 Dec 2011 11:24:53 +0000 (12:24 +0100)]
Use ni_error instead of perror() when unable to open sysconfig file

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoUse the interface index for object path rather than the interface name
Olaf Kirch [Thu, 22 Dec 2011 11:24:26 +0000 (12:24 +0100)]
Use the interface index for object path rather than the interface name

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMissed a conversion earlier on when changing DBUS_PROPERTY macro
Olaf Kirch [Wed, 21 Dec 2011 20:53:02 +0000 (21:53 +0100)]
Missed a conversion earlier on when changing DBUS_PROPERTY macro

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoConvert VLAN objects to use generic properties
Olaf Kirch [Wed, 21 Dec 2011 16:18:26 +0000 (17:18 +0100)]
Convert VLAN objects to use generic properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd support for generic uint16 property
Olaf Kirch [Wed, 21 Dec 2011 16:17:43 +0000 (17:17 +0100)]
Add support for generic uint16 property

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoChanged Interface dbus objects to use generic properties as much as possible
Olaf Kirch [Wed, 21 Dec 2011 16:08:52 +0000 (17:08 +0100)]
Changed Interface dbus objects to use generic properties as much as possible

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdded support functions for generic string properties
Olaf Kirch [Wed, 21 Dec 2011 15:55:38 +0000 (16:55 +0100)]
Added support functions for generic string properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoDeliver LeaseLost signal if dhcp was unable to obtain a lease
Olaf Kirch [Wed, 21 Dec 2011 14:00:25 +0000 (15:00 +0100)]
Deliver LeaseLost signal if dhcp was unable to obtain a lease

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years ago__ni_dbus_object_set_properties_from_dict assumed that all dict properties
Olaf Kirch [Wed, 21 Dec 2011 13:52:48 +0000 (14:52 +0100)]
__ni_dbus_object_set_properties_from_dict assumed that all dict properties
were generic; but that is not the case.

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoConvert dbus Bridge interface to use generic properties
Olaf Kirch [Tue, 20 Dec 2011 09:57:58 +0000 (10:57 +0100)]
Convert dbus Bridge interface to use generic properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoConvert Ethernet interface to use generic attributes
Olaf Kirch [Tue, 20 Dec 2011 09:57:23 +0000 (10:57 +0100)]
Convert Ethernet interface to use generic attributes

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoIntroduce ni_objectmodel_interface_path() helper
Olaf Kirch [Tue, 20 Dec 2011 09:56:43 +0000 (10:56 +0100)]
Introduce ni_objectmodel_interface_path() helper

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd dbus_variant_get/set functions for object_path types.
Olaf Kirch [Tue, 20 Dec 2011 09:50:47 +0000 (10:50 +0100)]
Add dbus_variant_get/set functions for object_path types.
Fix the dbus_dict_get_* functions to do proper type checking.

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd dbus config files
Olaf Kirch [Mon, 19 Dec 2011 16:28:20 +0000 (17:28 +0100)]
Add dbus config files

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoIntroduce ni_dbus_dict_delete_entry, and use it in interface creation code to fix...
Olaf Kirch [Mon, 19 Dec 2011 16:17:41 +0000 (17:17 +0100)]
Introduce ni_dbus_dict_delete_entry, and use it in interface creation code to fix up the args dict

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoImprove interface creation support
Olaf Kirch [Mon, 19 Dec 2011 14:02:14 +0000 (15:02 +0100)]
Improve interface creation support

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoni_system_bond_create didn't return the newly created interface - fixed
Olaf Kirch [Mon, 19 Dec 2011 10:43:18 +0000 (11:43 +0100)]
ni_system_bond_create didn't return the newly created interface - fixed

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoEnable ni_dbus_object_{get,set}_properties_{as,from}_dict to deal with dict properties
Olaf Kirch [Sun, 18 Dec 2011 20:12:19 +0000 (21:12 +0100)]
Enable ni_dbus_object_{get,set}_properties_{as,from}_dict to deal with dict properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMinor fixlets
Olaf Kirch [Sun, 18 Dec 2011 20:11:55 +0000 (21:11 +0100)]
Minor fixlets

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMore work on generic properties
Olaf Kirch [Sun, 18 Dec 2011 11:34:56 +0000 (12:34 +0100)]
More work on generic properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoReduce dependencies on dbus.h
Olaf Kirch [Fri, 16 Dec 2011 04:02:37 +0000 (05:02 +0100)]
Reduce dependencies on dbus.h

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoIntroduce support for generic properties
Olaf Kirch [Fri, 16 Dec 2011 03:27:21 +0000 (04:27 +0100)]
Introduce support for generic properties

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of obsolete .id field in dbus_property
Olaf Kirch [Thu, 15 Dec 2011 10:23:09 +0000 (11:23 +0100)]
Get rid of obsolete .id field in dbus_property

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoActually enable bonding support in dbus interface factory
Olaf Kirch [Thu, 15 Dec 2011 10:16:49 +0000 (11:16 +0100)]
Actually enable bonding support in dbus interface factory

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMove NI_DBUS_DICT_SIGNATURE into dbus-common.h
Olaf Kirch [Thu, 15 Dec 2011 10:16:34 +0000 (11:16 +0100)]
Move NI_DBUS_DICT_SIGNATURE into dbus-common.h

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoIntroduce ni_bonding_new() constructor
Olaf Kirch [Thu, 15 Dec 2011 10:15:37 +0000 (11:15 +0100)]
Introduce ni_bonding_new() constructor

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoImplement dbus support fr bonding devices
Olaf Kirch [Thu, 15 Dec 2011 09:16:42 +0000 (10:16 +0100)]
Implement dbus support fr bonding devices

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFix a problem in wickedd - we did no enumerate all devices at startup
Olaf Kirch [Thu, 15 Dec 2011 03:14:49 +0000 (04:14 +0100)]
Fix a problem in wickedd - we did no enumerate all devices at startup

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMove all ni_interface handling functions from netinfo.c to their own file
Olaf Kirch [Thu, 15 Dec 2011 01:30:23 +0000 (02:30 +0100)]
Move all ni_interface handling functions from netinfo.c to their own file

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoClean out some old crap
Olaf Kirch [Thu, 15 Dec 2011 01:15:46 +0000 (02:15 +0100)]
Clean out some old crap

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMoved name/constant mapping functions to names.c
Olaf Kirch [Thu, 15 Dec 2011 01:09:45 +0000 (02:09 +0100)]
Moved name/constant mapping functions to names.c

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMoved some system related function declrs to separate header file
Olaf Kirch [Thu, 15 Dec 2011 01:06:32 +0000 (02:06 +0100)]
Moved some system related function declrs to separate header file

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMove vlan definitions into separate header file
Olaf Kirch [Thu, 15 Dec 2011 01:03:08 +0000 (02:03 +0100)]
Move vlan definitions into separate header file

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRenamed a bunch of functions
Olaf Kirch [Thu, 15 Dec 2011 00:58:21 +0000 (01:58 +0100)]
Renamed a bunch of functions

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoClean up ifconfig.c
Olaf Kirch [Thu, 15 Dec 2011 00:44:21 +0000 (01:44 +0100)]
Clean up ifconfig.c

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_interface_by_name temp hack
Olaf Kirch [Thu, 15 Dec 2011 00:27:28 +0000 (01:27 +0100)]
Get rid of ni_interface_by_name temp hack

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMore ni_handle cleanups
Olaf Kirch [Thu, 15 Dec 2011 00:16:03 +0000 (01:16 +0100)]
More ni_handle cleanups

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of ni_handle type
Olaf Kirch [Thu, 15 Dec 2011 00:12:41 +0000 (01:12 +0100)]
Got rid of ni_handle type

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMore ni_handle changes
Olaf Kirch [Thu, 15 Dec 2011 00:11:04 +0000 (01:11 +0100)]
More ni_handle changes

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemove more obsolete ni_handle arguments in ifevent code
Olaf Kirch [Wed, 14 Dec 2011 11:53:57 +0000 (12:53 +0100)]
Remove more obsolete ni_handle arguments in ifevent code

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemove more obsolete ni_handle arguments
Olaf Kirch [Wed, 14 Dec 2011 11:44:40 +0000 (12:44 +0100)]
Remove more obsolete ni_handle arguments

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved some more useless ni_handle arguments from some wireless calls
Olaf Kirch [Wed, 14 Dec 2011 11:33:07 +0000 (12:33 +0100)]
Removed some more useless ni_handle arguments from some wireless calls

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved some more useless ni_handl arguments from some rtnetlink calls
Olaf Kirch [Wed, 14 Dec 2011 11:32:16 +0000 (12:32 +0100)]
Removed some more useless ni_handl arguments from some rtnetlink calls

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved netlink from ni_handle and made it a global var
Olaf Kirch [Wed, 14 Dec 2011 11:28:29 +0000 (12:28 +0100)]
Removed netlink from ni_handle and made it a global var

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved iocfd from ni_handle and made it a global var
Olaf Kirch [Wed, 14 Dec 2011 11:25:22 +0000 (12:25 +0100)]
Removed iocfd from ni_handle and made it a global var

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoChange all ni_interface_by* functions to take a netconfig rather than a handle
Olaf Kirch [Wed, 14 Dec 2011 11:13:20 +0000 (12:13 +0100)]
Change all ni_interface_by* functions to take a netconfig rather than a handle

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of some obsolete functions
Olaf Kirch [Wed, 14 Dec 2011 11:03:02 +0000 (12:03 +0100)]
Get rid of some obsolete functions

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of temporary hack nc_interface_new
Olaf Kirch [Wed, 14 Dec 2011 10:59:38 +0000 (11:59 +0100)]
Get rid of temporary hack nc_interface_new

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoChange ni_interface_new to take a netconfig ptr rather than a handle
Olaf Kirch [Wed, 14 Dec 2011 10:58:31 +0000 (11:58 +0100)]
Change ni_interface_new to take a netconfig ptr rather than a handle

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoEncapsulate ni_handle.iflist and routes in a netconfig struct
Olaf Kirch [Wed, 14 Dec 2011 10:56:11 +0000 (11:56 +0100)]
Encapsulate ni_handle.iflist and routes in a netconfig struct

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMove the definition of __ni_netlink to kernel.h
Olaf Kirch [Wed, 14 Dec 2011 10:53:12 +0000 (11:53 +0100)]
Move the definition of __ni_netlink to kernel.h

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_handle.ops
Olaf Kirch [Wed, 14 Dec 2011 10:50:25 +0000 (11:50 +0100)]
Get rid of ni_handle.ops

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_handle.seqno
Olaf Kirch [Wed, 14 Dec 2011 10:48:56 +0000 (11:48 +0100)]
Get rid of ni_handle.seqno

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved some obsolete files
Olaf Kirch [Wed, 14 Dec 2011 10:47:19 +0000 (11:47 +0100)]
Removed some obsolete files

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of a few generic ni_handle related functions
Olaf Kirch [Wed, 14 Dec 2011 10:46:41 +0000 (11:46 +0100)]
Get rid of a few generic ni_handle related functions

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of rest api functions
Olaf Kirch [Wed, 14 Dec 2011 10:35:02 +0000 (11:35 +0100)]
Get rid of rest api functions

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of some ni_handle opening functions
Olaf Kirch [Wed, 14 Dec 2011 10:32:08 +0000 (11:32 +0100)]
Get rid of some ni_handle opening functions

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_ops.refresh and ni_refresh
Olaf Kirch [Wed, 14 Dec 2011 10:17:05 +0000 (11:17 +0100)]
Get rid of ni_ops.refresh and ni_refresh

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of ni_ops.interface_refresh_one
Olaf Kirch [Wed, 14 Dec 2011 09:41:34 +0000 (10:41 +0100)]
Got rid of ni_ops.interface_refresh_one

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of ni_ops.delete_interface
Olaf Kirch [Wed, 14 Dec 2011 09:40:45 +0000 (10:40 +0100)]
Got rid of ni_ops.delete_interface

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of ni_ops.configure_interface
Olaf Kirch [Wed, 14 Dec 2011 09:38:51 +0000 (10:38 +0100)]
Got rid of ni_ops.configure_interface

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_ops.interface_stats_refresh
Olaf Kirch [Wed, 14 Dec 2011 09:36:13 +0000 (10:36 +0100)]
Get rid of ni_ops.interface_stats_refresh

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of ni_ops.update_lease
Olaf Kirch [Wed, 14 Dec 2011 09:34:25 +0000 (10:34 +0100)]
Get rid of ni_ops.update_lease

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemoved some more functions from ni_ops
Olaf Kirch [Wed, 14 Dec 2011 09:29:05 +0000 (10:29 +0100)]
Removed some more functions from ni_ops

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoNext step in ni_handle removal: moved update functions for system files out of ni_ops
Olaf Kirch [Wed, 14 Dec 2011 09:05:53 +0000 (10:05 +0100)]
Next step in ni_handle removal: moved update functions for system files out of ni_ops

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMore cleanups - get rid of old netinfo handle
Olaf Kirch [Wed, 14 Dec 2011 08:41:17 +0000 (09:41 +0100)]
More cleanups - get rid of old netinfo handle

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGet rid of indirect handle for now
Olaf Kirch [Wed, 14 Dec 2011 08:29:46 +0000 (09:29 +0100)]
Get rid of indirect handle for now

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of a bunch of dummy netconfig structs in backend-netcf.c
Olaf Kirch [Wed, 14 Dec 2011 08:28:25 +0000 (09:28 +0100)]
Got rid of a bunch of dummy netconfig structs in backend-netcf.c

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGetting rid of netconfig.seqno
Olaf Kirch [Wed, 14 Dec 2011 08:18:43 +0000 (09:18 +0100)]
Getting rid of netconfig.seqno

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFirst pass for ni_handle->ni_backend conversion
Olaf Kirch [Wed, 14 Dec 2011 08:11:52 +0000 (09:11 +0100)]
First pass for ni_handle->ni_backend conversion

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoStarting to rewrite backend handling
Olaf Kirch [Wed, 14 Dec 2011 07:14:34 +0000 (08:14 +0100)]
Starting to rewrite backend handling

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemove obsolete ipv6 RA listener
Olaf Kirch [Wed, 14 Dec 2011 06:21:38 +0000 (07:21 +0100)]
Remove obsolete ipv6 RA listener

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRemove obsolete ipv6 RA listener
Olaf Kirch [Wed, 14 Dec 2011 06:21:38 +0000 (07:21 +0100)]
Remove obsolete ipv6 RA listener

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFirst stab at handling RTM_NEWPREFIX messages to detect IPv6 autoconf prefixes
Olaf Kirch [Wed, 14 Dec 2011 05:19:09 +0000 (06:19 +0100)]
First stab at handling RTM_NEWPREFIX messages to detect IPv6 autoconf prefixes

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoRenamed the last remaining file out of src/dhcp subdir
Olaf Kirch [Wed, 14 Dec 2011 04:20:48 +0000 (05:20 +0100)]
Renamed the last remaining file out of src/dhcp subdir

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoGot rid of xml_node argument in ni_addrconf_acquire_lease()
Olaf Kirch [Wed, 14 Dec 2011 04:18:04 +0000 (05:18 +0100)]
Got rid of xml_node argument in ni_addrconf_acquire_lease()

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFix a bug when parsing the device path in a Lease event
Olaf Kirch [Wed, 14 Dec 2011 04:06:19 +0000 (05:06 +0100)]
Fix a bug when parsing the device path in a Lease event

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoIn the dhcp supplicant, after releasing a lease, set its state to
Olaf Kirch [Wed, 14 Dec 2011 04:05:40 +0000 (05:05 +0100)]
In the dhcp supplicant, after releasing a lease, set its state to
NI_ADDRCONF_STATE_RELEASED before sending the event.

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoFixed definition of WICKED_DBUS_AUTO4_INTERFACE
Olaf Kirch [Wed, 14 Dec 2011 03:59:37 +0000 (04:59 +0100)]
Fixed definition of WICKED_DBUS_AUTO4_INTERFACE

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoSimplified definition of ipv4ll addrconf hooks
Olaf Kirch [Wed, 14 Dec 2011 03:57:34 +0000 (04:57 +0100)]
Simplified definition of ipv4ll addrconf hooks

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoAdd some extra checks in ni_objectmodel_dhcp4_acquire
Olaf Kirch [Wed, 14 Dec 2011 03:50:57 +0000 (04:50 +0100)]
Add some extra checks in ni_objectmodel_dhcp4_acquire

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoMade the dhcp addrconf flow of control a little less confusing
Olaf Kirch [Wed, 14 Dec 2011 03:47:29 +0000 (04:47 +0100)]
Made the dhcp addrconf flow of control a little less confusing

Signed-off-by: Olaf Kirch <okir@suse.de>
6 years agoSimplified addrconf acquire/release objectmodel interface
Olaf Kirch [Wed, 14 Dec 2011 03:24:20 +0000 (04:24 +0100)]
Simplified addrconf acquire/release objectmodel interface

Signed-off-by: Olaf Kirch <okir@suse.de>