mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
confd: improve DHCPv4 YANG model descriptions
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
987ec779d3
commit
e57616fe3a
@@ -25,31 +25,24 @@ module infix-dhcp-client {
|
||||
leaf enabled {
|
||||
type boolean;
|
||||
default "true";
|
||||
description
|
||||
"Globally enables the DHCP client function.";
|
||||
description "Globally enables the DHCP client function.";
|
||||
}
|
||||
list client-if {
|
||||
key "if-name";
|
||||
description
|
||||
"The list of interfaces for which the client will
|
||||
be requesting DHCPv4 configuration.";
|
||||
description "List of interfaces requesting DHCPv4 configuration.";
|
||||
leaf if-name {
|
||||
type if:interface-ref;
|
||||
mandatory true;
|
||||
description
|
||||
"Reference to the interface entry that the requested
|
||||
configuration is relevant to.";
|
||||
description "Name of the interface.";
|
||||
}
|
||||
leaf enabled {
|
||||
type boolean;
|
||||
default "true";
|
||||
description
|
||||
"Enables the DHCP client function for this interface.";
|
||||
description "Enable DHCP client for this interface.";
|
||||
}
|
||||
leaf client-id {
|
||||
type string;
|
||||
description
|
||||
"DHCP client identifier. When unset, the MAC address is used.";
|
||||
description "Optional Client ID, option 61, default: MAC address.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user