summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX/Export/DHCP/ISC.pm
blob: 18cc1fe74bde564cfea8d17201e3eb5c7204cb67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ISC.pm - provides ISC-specific implementation of DHCP export.
#
# (c) 2006 - OpenSLX.com
#
# Oliver Tappe <ot@openslx.com>
#
package OpenSLX::Export::DHCP::ISC;

use vars qw(@ISA $VERSION);
$VERSION = 1.01;		# API-version . implementation-version

################################################################################
### This class provides an ISC specific implementation for DHCP export.
################################################################################
use strict;
use Carp;
use OpenSLX::Basics;

################################################################################
### implementation
################################################################################
sub new
{
	my $class = shift;
	my $self = {};
	return bless $self, $class;
}

sub execute
{
	my $self = shift;
	my $clients = shift;

	vlog 1, _tr("writing dhcp-config for %s clients", scalar(@$clients));
	foreach my $client (@$clients) {
print "ISC-DHCP: $client->{name}\n";
	}
}