Skip to content

Commit

Permalink
Merge pull request #38 from open-traffic-generator/dhcp_li
Browse files Browse the repository at this point in the history
Dhcpv6 li- dhcp client lease time added to per iapd, ia address array
  • Loading branch information
SouravSinhaRoy authored Aug 30, 2024
2 parents 72a3536 + 1845e64 commit d5eda68
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 22 deletions.
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

0 comments on commit d5eda68

Please sign in to comment.