Skip to content

Commit b2a7efb

Browse files
committed
Add DHCP client ID document
Signed-off-by: Gris Ge <fge@redhat.com>
1 parent 03a00ba commit b2a7efb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

devel/yaml_api.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
* [Auto Gateway](#auto-gateway)
3131
* [Auto Route Table ID](#auto-route-table-id)
3232
* [Auto Route Metric](#auto-route-metric)
33+
* [DHCPv4 Client ID](#dhcpv4-client-id)
34+
* [DHCPv6 Unique Identifier](#dhcpv6-unique-identifier)
3335
* [Multipath TCP](#multipath-tcp)
3436
* [Ethtool](#ethtool)
3537
* [Ethtool feature](#ethtool-feature)
@@ -503,6 +505,7 @@ interfaces:
503505
auto-routes: true
504506
auto-route-table-id: 0
505507
auto-route-metric: 101
508+
dhcp-client-id: ll
506509
ipv6:
507510
enabled: true
508511
dhcp: true
@@ -512,6 +515,7 @@ interfaces:
512515
auto-routes: true
513516
auto-route-table-id: 0
514517
auto-route-metric: 102
518+
dhcp-duid: ll
515519
```
516520

517521
#### IP Enable
@@ -536,6 +540,7 @@ not fail the verification:
536540
* `auto-routes`
537541
* `auto-route-table-id`
538542
* `auto-route-metric`
543+
* `dhcp-client-id`
539544

540545
When dynamic configuration disabled(IPv4 dhcp off, IPv6 dhcp off and autoconf
541546
off), these properties will be ignored and will not fail the verification:
@@ -604,6 +609,27 @@ the routes retried from dynamic configuration method.
604609
If not mentioned in desire state or set to -1, nmstate will let network backend
605610
to determine the metric.
606611

612+
#### DHCPv4 Client ID
613+
614+
Available since nmstate 2.1.1.
615+
616+
The `dhcp-client-id` property accepts string as arbitrary value, these special
617+
value are treat specially:
618+
* `ll` or `LL`: Use link layer address as DHCPv4 client ID.
619+
* `iaid+duid` or `IAID+DUID`: RFC 4361 type 255, 32 bits IAID followed by
620+
DUID.
621+
622+
#### DHCPv6 Unique Identifier
623+
624+
Available since nmstate 2.1.1.
625+
626+
The `dhcp-duid` property accepts string as arbitrary value, these special
627+
value are treat specially:
628+
* `ll` or `LL`: Use link layer address
629+
* `llt` or `LLT`: DUID Based on Link-Layer Address Plus Time
630+
* `en` or `EN`: DUID Assigned by Vendor Based on Enterprise Number
631+
* `uuid` or `UUID`: DUID Based on Universally Unique Identifier
632+
607633
### Multipath TCP
608634

609635
Available since nmstate 2.2.0.

0 commit comments

Comments
 (0)