2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 18:08:16 +00:00
kea/doc/sphinx/uml/buildCfgOptionList.uml
2020-08-21 14:03:38 +00:00

53 lines
996 B
Plaintext

@startuml
title buildCfgOptionList: build configured option list algorithm (Kea 1.8.0)
start
:Get (empty) configured option list;
if (no subnet) then (yes)
:return;
stop
else (no)
endif
if (current host reservation) then (yes)
:push back host configured options;
else (no)
endif
if (assigned address) then (yes)
:get pool of assigned address;
if (pool) then (yes)
:push back pool configured options;
else (no)
endif
else (no)
endif
:push back subnet configured options;
:get shared network from subnet;
if (shared network) then (yes)
:push back shared network configured options;
else (no)
endif
while (for each query client class)
:get client class definition from current configuration;
if (found) then (no)
if (built-in client class) then (yes)
else (no)
:log debug "class unconfigured";
endif
else (yes)
:push back client class definition configured options;
endif
endwhile
:push back global configured options;
:return;
stop
@enduml