Giter VIP home page Giter VIP logo

dhcp-omapi's Introduction

DHCP-OMAPI

DHCP::OMAPI - A perl module for manipulating DHCP via the OMAPI interface

Initially written in 2004, converted to a library in 2007

INSTALLATION

To install this module type the following:

perl Makefile.PL make make test make install

USAGE

    use DHCP::OMAPI;
    my $connection = new DHCP::OMAPI::Connection(  host    => $host,
                                                   port    => 50004,
                                                   keyfile => "dhcp_monitor.key" );

    if($connection) {

           my $failover = DHCP::OMAPI::Object::Failover->fetch(    $connection,
                                                                   "name" => "dhcpd_failover"
                                                              );

           if($failover) {
                   foreach my $a ($failover->attributes()) {
                           printf "%s: %s\n",$a,$failover->get($a);
                   }

           }
    }

COPYRIGHT AND LICENCE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

STRUCTURE

DHCP::OMAPI - contains omapi functionality DHCP::OMAPI::... - all the rest below...

dhcp-omapi's People

Contributors

rgc avatar

Watchers

Jonathan avatar James Cloos avatar Paul Seward-Prior avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.