User Tools

Site Tools


extensions:teemip-dhcp-mgmt

This is an old revision of the document!


DHCP Management

name:
DHCP Management
description:
Adds DHCP options management features to TeemIp
version:
0.1.1
release:
2018-11-30
TeemIp:
2.3
code:
teemip-dhcp-mgmt
state:
pilot
keyword:
dhcp
dependencies:
teemip-ip-mgmt, teemip-ipv6-mgmt, teemip-network-mgmt
download:
teemip-dhcp-mgmt-0.1.1-427.zip

DHCP is a network protocol that allows clients to automatically retrieve their network configuration from a local or remote server infrastructure. During the negotiation phase with the server, the client will receive different network parameters, like the mandatory IP address. These parameters are encapsulated into what DHCP calls Options. The TeemIp DHCP Management extension precisely allows network administrators to define and register the DHCP options that are used within their DHCP infrastructure.

Vocabulary: by “TeemIp solution” or “TeemIP”, it should be understood: TeemIp standalone or the iTop solution on top of which TeemIp as a module has been installed.

Revision History

Version Release Date Comments
0.2.0 2020-11-xx Add DHCP options tab on DHCP pools
0.1.1 2019-01-29 Corrects presentation issue
0.1.0 2018-11-30 Initial revision

Features

As described by the ISC, the Dynamic Host Configuration Protocol allows the client to receive options from the DHCP server describing the network configuration and various services that are available on the network. In order to structure its configuration file, the ISC DHCP server groups client options into scopes that cover different segments of the network, from a global coverage down to a unique host: Global, Shared-network, Subnet, Pool, Class, Sub-class and Host.

The purpose of TeemIp DHCP Management is to define DHCP options, to link them with different scopes defined in the application and, of course, to register them in TeemIp database. Though some of the ISC scopes are new objects of the datamodel, some of them reuse objects already defined in that datamodel, as listed below:

ISC Scope TeemIp corresponding class Created by the extension
Global Organization No
Shared-network VLAN No
Subnet IP Subnet No
Pool IP Range No
Class DHCP Class Yes
Sub-class DHCP Subclass Yes
Host PhysicalDevice No

Once registered in the application, these options can be retrieved through the REST/JSON API in order to build the configuration file of an ISC DHCP server.

Licensing

The TeemIp DHCP Management extension is licensed under the terms of the GNU Affero General Public License Version 3 as published by the Free Software Foundation. This gives you legal permission to copy, distribute and/or modify TeemIp under certain conditions. Read the ’license.txt’ file in the TeemIp distribution. TeemIp is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.

Limitations

The extension just allows DHCP Managers to store DHCP Options within TeemIp. It doesn't handle scope or server configuration.

Requirements

There is no specific requirements with TeemIp standalone. TeemIp DHCP Management is anyway already embedded in it starting with TeemIp 2.4.

When installed on an iTop application, make sure that 'IPAM for iTop' is installed as well.

Installation

Installation on a TeemIp standalone is done with the application itself, through the setup.

When adding the module on an iTop application, the process will depends on the iTop version:

Configuration

No specific configuration is required for this extension.

DHCP Management Menu

Once installed, the module will add a menu group called DHCP Management where DHCP Options will be managed from.

The DHCP Space menu summarizes the different registered options under 7 badges:

  • Global DHCP Option
  • Shared Network DHCP Option
  • Subnet DHCP Option
  • Pool DHCP Option
  • Class DHCP Option
  • SubClass DHCP Option
  • Host DHCP Option

DHCP options

TeemIp is implementing the DHCP Options through objects that refer to scopes. All these objects share the same attributes but the ones specific to the scope definition. These common attributes are:

Name Type (default) Mandatory?
DHCP4 Yes or No No
Code Integer Yes
Name Alphanumeric string Yes
ISC Name Alphanumeric string Yes
Type ip-address, ip6-address, int32, uint32, int16, uint16, int8, uint8, text, domain-name, domain-list, flag, string Yes
Description Multiline character string No
Value Alphanumeric string Yes
Organization Foreign key to a(n) Organization Yes

Global Options

This object is used to document the Global DHCP Options. It has no other attributes than the ones listed above.

Details

Details of a DHCP Global Option can be accessed from the specific “Global Options” shortcut menu of the DHCP Management module.

Shared Network Options

This object is used to document the Shared Network DHCP Options. Shared networks in TeemIp are implemented through the VLAN object.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
VLAN Foreign key to a(n) VLAN Yes

Details

A new DHCP Shared Network Option may be created from the specific “Shared Network Options” shortcut menu of the DHCP Management module. It refers to an organization and to a VLAN within that organization.

Subnet Options

This object is used to document the Subnet DHCP Options. The Subnet scope in TeemIp is implemented through the IP Subnet object.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
Subnet Foreign key to a(n) IP Subnet Yes

Details

Details of a DHCP Subnet Option can be accessed from the specific “Subnet Options” shortcut menu of the DHCP Management module. It refers to an organization and to an IP Subnet within that organization.

Pool Options

This object is used to document the Pool DHCP Options. The Pool scope in TeemIp is implemented through the IP Range object.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
Subnet Foreign key to a(n) IP Range Yes

Details

Details of a DHCP Pool Option can be accessed from the specific “Pool Options” shortcut menu of the DHCP Management module. It refers to an organization and to an IP Range within that organization.

Class Options

This object is used to document the Class DHCP Options. It refers to a new typological TeemIp object that models DHCP classes.

DHCP Class object

This is a typological object defined through the Typology configuration menu in the Data administration chapter.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
Subnet Foreign key to a(n) DHCP Class Yes

Details

A new DHCP Class Option may be created from the specific “Class Options” shortcut menu of the DHCP Management module. It refers to an organization and to a DHCP Class.

Sub Class Options

This object is used to document the SubClass DHCP Options. It refers to a new typological TeemIp object that models DHCP sub-classes.

DHCP SubClass object

This is another typological object defined through the Typology configuration menu of the Data administration chapter.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
Subnet Foreign key to a(n) DHCP SubClass Yes

Details

Details of a DHCP SubClass Option can be accessed from the specific “SubClass Options” shortcut menu of the DHCP Management module. It refers to an organization and to a DHCP SubClass.

Host Options

This object is used to document the Host DHCP Options. The Host scope in TeemIp is implemented through the Physical Device object.

Properties

Next to all common attributes listed above:

Name Type Mandatory?
Subnet Foreign key to a(n) Physical Device Yes

Details

Details of a DHCP Hosts Option can be accessed from the specific “Host Options” shortcut menu of the DHCP Management module. It refers to an organization and to a Physical Device within that organization.

User Profiles

The TeemIp DHCP Management extension brings a new profile dedicated to the management of DHCP objects: “DHCP Manager”, a “Person handling the DHCP space”. It has all rights on the DHCP related objects.

This profile extends capabilities and must be used together with other profiles like ConfigurationManager.

The DHCP management menu is hidden to the users that don't have the administrator or the DHCP manager profile.
extensions/teemip-dhcp-mgmt.1604851918.txt.gz · Last modified: 2020/11/08 17:11 by cnaud