Skip to content

Commit

Permalink
Merge pull request #399 from open-traffic-generator/dhcp_iapd
Browse files Browse the repository at this point in the history
Dhcp iapd, change configured prefix len default from 64 to 128
  • Loading branch information
SouravSinhaRoy authored Dec 13, 2024
2 parents 6a2436f + 016b18d commit dcb4bef
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 30 deletions.
2 changes: 1 addition & 1 deletion artifacts/openapi.html

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions artifacts/otg.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions device/dhcp/servers/v6/dhcpv6server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ components:
x-field-uid: 1
prefix_len:
description: >-
The IPv6 network prefix length is used for incrementing the lease address within the lease pool where multiple
addresses are configured by using the size field. The address is incremented using the configured Prefix Length and Step.
The prefix_len ( in conjunction with the step) can be used to increment the IPv6 lease addresses
to be assigned to the requested clients when multiple addresses are configured by using the size field
in the pool. The address is incremented using the prefix_len and step.
type: integer
format: uint32
default: 64
Expand All @@ -148,9 +149,8 @@ components:
x-field-uid: 3
step:
description: >-
The increment value for the lease address within the lease pool where multiple
addresses are present. The value is incremented according to the configured Prefix
Length and Step.
The increment value for the lease address within the lease pool where multiple addresses are present.
The value of the advertised IPv6 prefixes are incremented according to the prefix_len and step.
type: integer
format: uint32
default: 1
Expand All @@ -170,11 +170,13 @@ components:
x-field-uid: 1
configured_prefix_len:
description: >-
The IPv6 network prefix length is used for incrementing the lease address within the lease pool where multiple
addresses are configured by using the size field. The address is incremented using the configured Prefix Length and Step.
The configured_prefix_len ( in conjunction with the prefix_step) can be used to increment the IPv6 lease addresses
to be assigned to the requested clients when multiple addresses are configured by using the size field in the pool.
e.g. This can be used to assign multiple IPv6 host addresses within the same IPv6 subnet ( defined by advertised_prefix_len )
to multiple requesting clients.
type: integer
format: uint32
default: 64
default: 128
maximum: 128
x-field-uid: 2
prefix_size:
Expand All @@ -188,9 +190,8 @@ components:
x-field-uid: 3
prefix_step:
description: >-
The increment value for the lease address within the lease pool where multiple
addresses are present. The value is incremented according to the Prefix
Length and Step.
The increment value for the lease address within the lease pool where multiple addresses are present.
The value of the advertised IPv6 prefixes are incremented according to the configured_prefix_len and prefix_step.
type: integer
format: uint32
default: 1
Expand Down

0 comments on commit dcb4bef

Please sign in to comment.