summaryrefslogtreecommitdiffstats
path: root/doc/sphinx/uml/appendRequestedOptions.uml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:15:43 +0000
commitf5f56e1a1c4d9e9496fcb9d81131066a964ccd23 (patch)
tree49e44c6f87febed37efb953ab5485aa49f6481a7 /doc/sphinx/uml/appendRequestedOptions.uml
parentInitial commit. (diff)
downloadisc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.tar.xz
isc-kea-f5f56e1a1c4d9e9496fcb9d81131066a964ccd23.zip
Adding upstream version 2.4.1.upstream/2.4.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/sphinx/uml/appendRequestedOptions.uml')
-rw-r--r--doc/sphinx/uml/appendRequestedOptions.uml31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/sphinx/uml/appendRequestedOptions.uml b/doc/sphinx/uml/appendRequestedOptions.uml
new file mode 100644
index 0000000..80a21d9
--- /dev/null
+++ b/doc/sphinx/uml/appendRequestedOptions.uml
@@ -0,0 +1,31 @@
+@startuml
+
+Title Append requested options algorithm (Kea 1.8.0)
+
+:get configured option list;
+
+:get parameter request list (PRL) from query;
+
+while (for each item from configured option list)
+ :get configured options in dhcp4 space;
+ while (for each persistent option)
+ :push back option code to PRL;
+ endwhile
+endwhile
+
+while (for each code in PRL)
+ if (option is not set in response) then (yes)
+ while (for each item from configured option list)
+ :get configured options in dhcp4 space;
+ if (found) then (first)
+ :add option to response;
+ else (not found or already found)
+ endif
+ endwhile
+ else (no)
+ endif
+endwhile
+->done;
+stop
+
+@enduml