Kea 2.7.6
ncr_msg.h File Reference

This file provides the classes needed to embody, compose, and decompose DNS update requests that are sent by DHCP-DDNS clients to DHCP-DDNS. More...

#include <cc/data.h>
#include <dhcp/duid.h>
#include <dhcp/hwaddr.h>
#include <dns/name.h>
#include <dns/time_utils.h>
#include <exceptions/exceptions.h>
#include <util/buffer.h>
#include <time.h>
#include <string>
+ Include dependency graph for ncr_msg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::dhcp_ddns::D2Dhcid
 Container class for handling the DHCID value within a NameChangeRequest. More...
 
class  isc::dhcp_ddns::DhcidRdataComputeError
 Exception thrown when there is an error occurred during computation of the DHCID. More...
 
class  isc::dhcp_ddns::NameChangeRequest
 Represents a DHCP-DDNS client request. More...
 
class  isc::dhcp_ddns::NcrMessageError
 Exception thrown when NameChangeRequest marshalling error occurs. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::dhcp_ddns
 

Typedefs

typedef std::map< std::string, isc::data::ConstElementPtrisc::dhcp_ddns::ElementMap
 Defines a map of Elements, keyed by their string name.
 
typedef boost::shared_ptr< NameChangeRequestisc::dhcp_ddns::NameChangeRequestPtr
 Defines a pointer to a NameChangeRequest.
 

Enumerations

enum  isc::dhcp_ddns::ConflictResolutionMode { isc::dhcp_ddns::CHECK_WITH_DHCID , isc::dhcp_ddns::NO_CHECK_WITH_DHCID , isc::dhcp_ddns::CHECK_EXISTS_WITH_DHCID , isc::dhcp_ddns::NO_CHECK_WITHOUT_DHCID }
 
enum  isc::dhcp_ddns::NameChangeFormat { isc::dhcp_ddns::FMT_JSON }
 Defines the list of data wire formats supported. More...
 
enum  isc::dhcp_ddns::NameChangeStatus { isc::dhcp_ddns::ST_NEW , isc::dhcp_ddns::ST_PENDING , isc::dhcp_ddns::ST_COMPLETED , isc::dhcp_ddns::ST_FAILED }
 Defines the runtime processing status values for requests. More...
 
enum  isc::dhcp_ddns::NameChangeType { isc::dhcp_ddns::CHG_ADD , isc::dhcp_ddns::CHG_REMOVE }
 Defines the types of DNS updates that can be requested. More...
 

Functions

std::string isc::dhcp_ddns::ConflictResolutionModeToString (const ConflictResolutionMode &mode)
 Function which converts ConflictResolutionMode enums to text labels.
 
std::string isc::dhcp_ddns::ncrFormatToString (NameChangeFormat format)
 Function which converts NameChangeFormat enums to text labels.
 
std::ostream & isc::dhcp_ddns::operator<< (std::ostream &os, const D2Dhcid &dhcid)
 
ConflictResolutionMode isc::dhcp_ddns::StringToConflictResolutionMode (const std::string &mode_str)
 Function which converts string to ConflictResolutionMode enum values.
 
NameChangeFormat isc::dhcp_ddns::stringToNcrFormat (const std::string &fmt_str)
 Function which converts labels to NameChangeFormat enum values.
 

Detailed Description

This file provides the classes needed to embody, compose, and decompose DNS update requests that are sent by DHCP-DDNS clients to DHCP-DDNS.

These requests are referred to as NameChangeRequests.

Definition in file ncr_msg.h.