From 35332d2878dece3928194a48e86b8a0a4f9f18e0 Mon Sep 17 00:00:00 2001 From: Sourav Sinha-Roy Date: Tue, 27 Aug 2024 13:05:15 +0530 Subject: [PATCH 1/6] review changes --- result/dhcpv6interface.yaml | 39 ++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/result/dhcpv6interface.yaml b/result/dhcpv6interface.yaml index f297e213..4c744ffb 100644 --- a/result/dhcpv6interface.yaml +++ b/result/dhcpv6interface.yaml @@ -25,27 +25,38 @@ components: The name of a DHCPv6 Client. type: string x-field-uid: 1 - ipv6_iapd_address: + ipv6_iapd_addresses: description: >- - The IPv6 IAPD address associated with this DHCP Client session. - type: string + The IPv6 IAPD addresses associated with this DHCP Client session. + type: array + items: + type: string + format: ipv6 x-field-uid: 2 - iapd_prefix_length: + iapd_prefix_lengths: description: >- - The prefix length of the IPv6 IAPD address associated with this DHCP Client session. - type: integer - format: uint32 - maximum: 128 + The prefix lengths of the IPv6 IAPD addresses associated with this DHCP Client session. + type: array + items: + type: integer + format: uint32 + maximum: 128 x-field-uid: 3 - ipv6_address: + ipv6_addresses: description: >- - The IPv6 address associated with this DHCP Client session. - type: string + The IPv6 addresses associated with this DHCP Client session. + type: array + items: + type: string + format: ipv6 x-field-uid: 4 - gateway_address: + gateway_addresses: description: >- - The Gateway IPV6 address associated with this DHCP Client session. - type: string + The Gateway IPV6 addresses associated with this DHCP Client session. + type: array + items: + type: string + format: ipv6 x-field-uid: 5 lease_time: description: >- From 253092249e96c42a07db161a2f85049472deb85f Mon Sep 17 00:00:00 2001 From: Github Actions Bot Date: Tue, 27 Aug 2024 07:37:51 +0000 Subject: [PATCH 2/6] Update auto generated content --- artifacts/openapi.html | 4 ++-- artifacts/openapi.yaml | 39 +++++++++++++++++++++++++-------------- artifacts/otg.proto | 16 ++++++++-------- 3 files changed, 35 insertions(+), 24 deletions(-) diff --git a/artifacts/openapi.html b/artifacts/openapi.html index 9d2e6ed9..b1a3d44f 100644 --- a/artifacts/openapi.html +++ b/artifacts/openapi.html @@ -602,7 +602,7 @@
object (Dhcpv6Lease.State.Request)

The request to retrieve DHCP Server host allocated status.

Responses

Request samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": {
    },
  • "ipv6_neighbors": {
    },
  • "bgp_prefixes": {
    },
  • "isis_lsps": {
    },
  • "lldp_neighbors": {
    },
  • "rsvp_lsps": {
    },
  • "dhcpv4_interfaces": {
    },
  • "dhcpv4_leases": {
    },
  • "dhcpv6_interfaces": {
    },
  • "dhcpv6_leases": {
    }
}

Response samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": [
    ],
  • "ipv6_neighbors": [
    ],
  • "bgp_prefixes": [
    ],
  • "isis_lsps": [
    ],
  • "lldp_neighbors": [
    ],
  • "rsvp_lsps": [
    ],
  • "dhcpv4_interfaces": [
    ],
  • "dhcpv4_leases": [
    ],
  • "dhcpv6_interfaces": [
    ],
  • "dhcpv6_leases": [
    ]
}

get_capture

Request Body schema: application/json

Capture results request to the traffic generator.

+

Request samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": {
    },
  • "ipv6_neighbors": {
    },
  • "bgp_prefixes": {
    },
  • "isis_lsps": {
    },
  • "lldp_neighbors": {
    },
  • "rsvp_lsps": {
    },
  • "dhcpv4_interfaces": {
    },
  • "dhcpv4_leases": {
    },
  • "dhcpv6_interfaces": {
    },
  • "dhcpv6_leases": {
    }
}

Response samples

Content type
application/json
{
  • "choice": "ipv4_neighbors",
  • "ipv4_neighbors": [
    ],
  • "ipv6_neighbors": [
    ],
  • "bgp_prefixes": [
    ],
  • "isis_lsps": [
    ],
  • "lldp_neighbors": [
    ],
  • "rsvp_lsps": [
    ],
  • "dhcpv4_interfaces": [
    ],
  • "dhcpv4_leases": [
    ],
  • "dhcpv6_interfaces": [
    ],
  • "dhcpv6_leases": [
    ]
}

get_capture

Request Body schema: application/json

Capture results request to the traffic generator.

port_name
required
string

The name of a port a capture is started on.

x-constraint:

    @@ -614,7 +614,7 @@

Response samples

Content type
application/json
{
  • "api_spec_version": "",
  • "sdk_version": "",
  • "app_version": ""
}