]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2750] convert KB diagram into ascii
authorAndrei Pavel <andrei@isc.org>
Mon, 25 Sep 2023 13:05:02 +0000 (16:05 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 6 Oct 2023 07:07:14 +0000 (10:07 +0300)
The atxt are meant to be used in KB.

doc/sphinx/uml/option-data-priority.atxt [new file with mode: 0644]
doc/sphinx/uml/priority-of-lease-lifetimes-and-dhcpv4-fields.atxt [new file with mode: 0644]

diff --git a/doc/sphinx/uml/option-data-priority.atxt b/doc/sphinx/uml/option-data-priority.atxt
new file mode 100644 (file)
index 0000000..2a630cd
--- /dev/null
@@ -0,0 +1,51 @@
+                                    Option Precedence
+
+                |    _                    _                           _
+                |   / \                  / \                         / \
+Globals         |  |   |                |   |                       |   |
+                |   \_/                  \_/                         \_/
+                |                                                     |
+                |                  _                           _      |
+                |                 / \                         / \     |
+Class-N         |                |   |                       |   |    |
+                |                 \_/                         \_/     |
+[More classes   |                                              |      |
+in reverse      |                                              |      |
+order of        |                                              |      |
+definition]     |                  _                           |      |
+                |                 / \                          |      |
+Class-1         |                |   |                         |      |
+                |                 \_/                          |      |
+                |                  |                           |      |
+                |    _      _      |                    _      |      |
+                |   / \    / \     |                   / \     |      |
+Network         |  |   |  |   |    |                  |   |    |      |
+                |   \_/    \_/     |                   \_/     |      |
+                |                  |                    |      |      |
+                |    _             |      _             |      |      |      _
+                |   / \            |     / \            |      |      |     / \
+Subnet          |  |   |           |    |   |           |      |      |    |   |
+                |   \_/            |     \_/            |      |      |     \_/
+                |    |             |      |             |      |      |      |
+                |    |      _      |      |      _      |      |      |      |
+                |    |     / \     |      |     / \     |      |      |      |
+Pool            |    |    |   |    |      |    |   |    |      |      |      |
+                |    |     \_/     |      |     \_/     |      |      |      |
+                |    |             |      |      |      |      |      |      |
+                |    |      _      |      |      |      |      |      |      |      _
+                |    |     / \     |      |      |      |      |      |     /|\    / \
+Global Host     |    |    |   |    |      |      |      |      |      |    | | |  |   |
+                |    |     \_/     |      |      |      |      |      |     \|/    \_/
+                |    |             |      |      |      |      |      |      |
+                |    |      _      |      |      |      |      |      |      |
+                |    |     / \     |      |      |      |      |      |      |
+Subnet Host     |    |    |   |    |      |      |      |      |      |      |
+                |    |     \_/     |      |      |      |      |      |      |
+                |    |      |      |      |      |      |      |      |      |
+----------------+----+------+------+------+------+------+------+------+------+------+
+                |    |      |      |      |      |      |      |      |      |
+                |    V      V      V      V      V      V      V      V      V
+                |    _      _      _      _      _      _      _      _      _
+                |   / \    / \    / \    / \    / \    / \    / \    / \    / \
+DHCP Response   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |
+                |   \_/    \_/    \_/    \_/    \_/    \_/    \_/    \_/    \_/
diff --git a/doc/sphinx/uml/priority-of-lease-lifetimes-and-dhcpv4-fields.atxt b/doc/sphinx/uml/priority-of-lease-lifetimes-and-dhcpv4-fields.atxt
new file mode 100644 (file)
index 0000000..a5512c6
--- /dev/null
@@ -0,0 +1,36 @@
+              Precedence of Lease Lifetimes and DHCPv4 Fields
+
+                |    _                     _                   _
+                |   / \                   / \                 / \
+Globals         |  |   |                 |   |               |   |
+                |   \_/                   \_/                 \_/
+                |                                              |
+                |    _      _                    _             |
+                |   / \    / \                  / \            |
+Network         |  |   |  |   |                |   |           |
+                |   \_/    \_/                  \_/            |
+                |           |                    |             |
+                |    _      |             _      |             |
+                |   / \     |            / \     |             |
+Subnet          |  |   |    |           |   |    |             |
+                |   \_/     |            \_/     |             |
+                |           |             |      |             |
+                |    _      |      _      |      |      _      |
+                |   / \     |     / \     |      |     / \     |
+Class-N         |  |   |    |    |   |    |      |    |   |    |
+                |   \_/     |     \_/     |      |     \_/     |
+[More classes   |    |      |             |      |      |      |
+in reverse      |    |      |             |      |      |      |
+order of        |    |      |             |      |      |      |
+definition]     |    |      |      _      |      |      |      |
+                |    |      |     / \     |      |      |      |
+Class-1         |    |      |    |   |    |      |      |      |
+                |    |      |     \_/     |      |      |      |
+                |    |      |      |      |      |      |      |
+----------------+----+------+------+------+------+------+------+
+                |    |      |      |      |      |      |      |
+                |    V      V      V      V      V      V      V
+                |    _      _      _      _      _      _      _
+                |   / \    / \    / \    / \    / \    / \    / \
+DHCP Response   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |
+                |   \_/    \_/    \_/    \_/    \_/    \_/    \_/