Skip to content

Commit

Permalink
[master] Servers store and emit configured global scalar parameters
Browse files Browse the repository at this point in the history
    Merge branch 'trac5378'
  • Loading branch information
tmarkwalder committed Jun 11, 2018
2 parents c985671 + 50c308d commit 4d05122
Show file tree
Hide file tree
Showing 7 changed files with 562 additions and 105 deletions.
3 changes: 3 additions & 0 deletions src/bin/dhcp4/json_config_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,

SrvConfigPtr srv_cfg = CfgMgr::instance().getStagingCfg();

// Preserve all scalar global parameters
srv_cfg->extractConfiguredGlobals(config_set);

// This is a way to convert ConstElementPtr to ElementPtr.
// We need a config that can be edited, because we will insert
// default values and will insert derived values as well.
Expand Down
Loading

0 comments on commit 4d05122

Please sign in to comment.