Skip to content

Commit

Permalink
confd: bump infix-dhcp-client YANG model version for release
Browse files Browse the repository at this point in the history
The DHCP client YANG model saw a lot of changes added in the 23.12
sprint, fortunately there was never an official release.

This commit bumps the model version for v24.01.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit authored and wkz committed Jan 30, 2024
1 parent fbe6acc commit 307cdb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/confd/bin/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ sysrepoctl -s $SEARCH \
-e vlan-filtering \
-i [email protected] -g wheel -p 0660 \
-i [email protected] -g wheel -p 0660 \
-i infix-dhcp-client@2023-05-22.yang -g wheel -p 0660 \
-i infix-dhcp-client@2024-01-30.yang -g wheel -p 0660 \
-i [email protected] -g wheel -p 0660 \
-i [email protected] -g wheel -p 0660 \
-i [email protected] -g wheel -p 0660 \
Expand Down
2 changes: 1 addition & 1 deletion src/confd/src/infix-dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define XPATH "/infix-dhcp-client:dhcp-client"

static const struct srx_module_requirement reqs[] = {
{ .dir = YANG_PATH_, .name = MODULE, .rev = "2023-05-22" },
{ .dir = YANG_PATH_, .name = MODULE, .rev = "2024-01-30" },
{ NULL }
};

Expand Down
11 changes: 8 additions & 3 deletions ...fd/yang/[email protected] → ...fd/yang/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ module infix-dhcp-client {
contact "[email protected]";
description "This module implements an IPv4 DHCP client";

revision 2024-01-30 {
description "Add DHCP client options, arping, and route preference.";
reference "internal";
}

revision 2023-05-22 {
description "Initial revision.";
reference "rfc2131 rfc7950";
Expand Down Expand Up @@ -123,9 +128,9 @@ module infix-dhcp-client {
key "name";
description
"List of DHCP options to request (and accept). The default is an
empty list, meaning all supported options. To restrict the
client to only get IP address and default route, set this to:
'subnet router'";
empty list, meaning all supported options. To restrict the
client to only get IP address and default route, set this to:
'subnet router'";
leaf name {
type dhcp-options;
description "DHCP option to request from, or inform server of.";
Expand Down

0 comments on commit 307cdb0

Please sign in to comment.