Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dhcpv6 li- dhcp client lease time added to per iapd, ia address array #38

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions artifacts/open-traffic-generator-dhcpv6client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ module: open-traffic-generator-dhcpv6client
| +--ro iapd-address* []
| +--ro address? otg-types:ipv6-address
| +--ro prefix-length? uint32
| +--ro lease-time? uint32
+--ro ia-addresses
| +--ro ia-address* []
| +--ro address? otg-types:ipv6-address
| +--ro gateway? otg-types:ipv6-address
+--ro lease-time? uint32
+--ro renew-time? uint32
+--ro rebind-time? uint32
+--ro ia-address* []
+--ro address? otg-types:ipv6-address
+--ro gateway? otg-types:ipv6-address
+--ro lease-time? uint32
26 changes: 10 additions & 16 deletions models/dhcp/v6client/open-traffic-generator-dhcpv6client.yang
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ module open-traffic-generator-dhcpv6client {
description
"The prefix length of the IPv6 IAPD address";
}
leaf lease-time {
type uint32;
description
"The duration of the IP address lease, in seconds.";
}
}
}

Expand All @@ -204,24 +209,13 @@ module open-traffic-generator-dhcpv6client {
description
"The Gateway address associated with the DHCP Client session.";
}
leaf lease-time {
type uint32;
description
"The duration of the IP address lease, in seconds.";
}
}
}

leaf lease-time {
type uint32;
description
"The duration of the IP address lease, in seconds.";
}
leaf renew-time {
type uint32;
description
"Time in seconds until the DHCPv6 client starts renewing the lease.";
}
leaf rebind-time {
type uint32;
description
"Time in seconds until the DHCPv6 client starts rebinding.";
}
}

uses dhcpv6clients-top;
Expand Down
Loading