Skip to content

Commit

Permalink
Merge pull request #386 from open-traffic-generator/dhvcpv6_l1
Browse files Browse the repository at this point in the history
Dhcpv6 l1 fixes to make client learned infos as array
  • Loading branch information
SouravSinhaRoy authored Aug 27, 2024
2 parents 2fb67e6 + af34401 commit 01c5418
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 58 deletions.
4 changes: 2 additions & 2 deletions artifacts/openapi.html

Large diffs are not rendered by default.

70 changes: 49 additions & 21 deletions artifacts/openapi.yaml

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

40 changes: 27 additions & 13 deletions artifacts/otg.proto

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

75 changes: 53 additions & 22 deletions result/dhcpv6interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,53 +15,84 @@ components:
x-constraint:
- "/components/schemas/Device.Dhcpv6client/properties/name"
x-field-uid: 1

Dhcpv6Interface.State:
description: >-
The IPv6 address associated with this DHCP Client session.
The IPv6 address associated with this DHCP Client session.
type: object
properties:
dhcp_client_name:
description: >-
The name of a DHCPv6 Client.
type: string
x-field-uid: 1
ipv6_iapd_address:
iapds:
description: >-
The IPv6 IAPD address associated with this DHCP Client session.
type: string
The IPv6 IAPD addresses and prefixes associated with this DHCP Client session.
type: array
items:
$ref: '#/components/schemas/Dhcpv6Interface.Iapd'
x-field-uid: 2
iapd_prefix_length:
addresses:
description: >-
The prefix length of the IPv6 IAPD address associated with this DHCP Client session.
type: integer
format: uint32
maximum: 128
The IPv6 addresses and gateways associated with this DHCP Client session.
type: array
items:
$ref: '#/components/schemas/Dhcpv6Interface.AddressInfo'
x-field-uid: 3
ipv6_address:
description: >-
The IPv6 address associated with this DHCP Client session.
type: string
x-field-uid: 4
gateway_address:
description: >-
The Gateway IPV6 address associated with this DHCP Client session.
type: string
x-field-uid: 5
lease_time:
description: >-
The duration of the IPv6 address lease, in seconds.
type: integer
format: uint32
x-field-uid: 6
x-field-uid: 4
renew_time:
description: >-
Time in seconds until the DHCPv6 client starts renewing the lease.
type: integer
format: uint32
x-field-uid: 7
x-field-uid: 5
rebind_time:
description: >-
Time in seconds until the DHCPv6 client starts rebinding.
type: integer
format: uint32
x-field-uid: 8
x-field-uid: 6

Dhcpv6Interface.Iapd:
description: >-
The IPv6 IAPD address and prefix length associated with this DHCP Client session.
type: object
properties:
address:
description: >-
The IAPD address associated with this DHCPv6 Client session.
type: string
format: ipv6
x-field-uid: 1
prefix_length:
description: >-
The prefix length of the IAPD address associated with this DHCPv6 Client session.
type: integer
format: uint32
maximum: 128
x-field-uid: 2

Dhcpv6Interface.AddressInfo:
description: >-
The IPv6 address and gateway associated with this DHCP Client session.
type: object
properties:
address:
description: >-
The address associated with this DHCPv6 Client session.
type: string
format: ipv6
x-field-uid: 1
gateway:
description: >-
The Gateway address associated with this DHCPv6 Client session.
type: integer
format: uint32
maximum: 128
x-field-uid: 2

0 comments on commit 01c5418

Please sign in to comment.